<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: When will maintenance windows via the API for OneAgents will be available ? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Windows-via-the-API-for-OneAgents-availability/m-p/170270#M1487</link>
    <description>&lt;P&gt;I am not sure when a dedicated API endpoint will be available - but you are able to create OneAgent Update Maintenance Windows using the Dynatrace API Objects endpoint, 'api/v2/setting/objects'.&lt;/P&gt;&lt;P&gt;You simply need to provide the proper JSON input for the object and schemaId, here is an example that you can use and tweak for your needs (Which enables the OneAgents to update only on Sundays from 12pm-11pmEST - environment-wide):&lt;/P&gt;&lt;P&gt;"[ { "schemaId": "builtin:deployment.management.update-windows", "scope": "environment", "value": { "enabled": true, "name": "OneAgent Sunday Updates - 12pm-11pm EST", "recurrence": "WEEKLY", "weeklyRecurrence": { "selectedWeekDays": { "monday": false, "tuesday": false, "wednesday": false, "thursday": false, "friday": false, "saturday": false, "sunday": true }, "every": 1, "updateTime": { "startTime": "12:00", "timeZone": "GMT-04:00", "duration": 660 }, "recurrenceRange": { "start": "2021-05-25T00:00:00Z", "end": "2025-05-25T00:00:00Z" } } } } ]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 13:18:49 GMT</pubDate>
    <dc:creator>ryan_ott</dc:creator>
    <dc:date>2021-08-04T13:18:49Z</dc:date>
    <item>
      <title>Maintenance Windows via the API for OneAgents availability</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Windows-via-the-API-for-OneAgents-availability/m-p/170235#M1486</link>
      <description>&lt;P&gt;At the current time there is only an option for creating maintenance windows for&amp;nbsp;&lt;SPAN&gt;monitoring, alerting and availability.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 09:30:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Windows-via-the-API-for-OneAgents-availability/m-p/170235#M1486</guid>
      <dc:creator>maximk</dc:creator>
      <dc:date>2024-08-21T09:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: When will maintenance windows via the API for OneAgents will be available ?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Windows-via-the-API-for-OneAgents-availability/m-p/170270#M1487</link>
      <description>&lt;P&gt;I am not sure when a dedicated API endpoint will be available - but you are able to create OneAgent Update Maintenance Windows using the Dynatrace API Objects endpoint, 'api/v2/setting/objects'.&lt;/P&gt;&lt;P&gt;You simply need to provide the proper JSON input for the object and schemaId, here is an example that you can use and tweak for your needs (Which enables the OneAgents to update only on Sundays from 12pm-11pmEST - environment-wide):&lt;/P&gt;&lt;P&gt;"[ { "schemaId": "builtin:deployment.management.update-windows", "scope": "environment", "value": { "enabled": true, "name": "OneAgent Sunday Updates - 12pm-11pm EST", "recurrence": "WEEKLY", "weeklyRecurrence": { "selectedWeekDays": { "monday": false, "tuesday": false, "wednesday": false, "thursday": false, "friday": false, "saturday": false, "sunday": true }, "every": 1, "updateTime": { "startTime": "12:00", "timeZone": "GMT-04:00", "duration": 660 }, "recurrenceRange": { "start": "2021-05-25T00:00:00Z", "end": "2025-05-25T00:00:00Z" } } } } ]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 13:18:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Windows-via-the-API-for-OneAgents-availability/m-p/170270#M1487</guid>
      <dc:creator>ryan_ott</dc:creator>
      <dc:date>2021-08-04T13:18:49Z</dc:date>
    </item>
  </channel>
</rss>

