@@ -35651,21 +35651,6 @@ components:
3565135651 format: int64
3565235652 type: integer
3565335653 type: object
35654- DeviceTagsBySource:
35655- description: Tags associated with a device from a specific source.
35656- properties:
35657- source:
35658- description: The source of the tags.
35659- example: user
35660- type: string
35661- tags:
35662- description: The list of tags for the source.
35663- example: ["tag:test", "tag:testbis"]
35664- items:
35665- description: A tag string in `key:value` format.
35666- type: string
35667- type: array
35668- type: object
3566935654 DevicesListData:
3567035655 description: The devices list data
3567135656 properties:
@@ -66483,12 +66468,6 @@ components:
6648366468 ListTagsResponseDataAttributes:
6648466469 description: The definition of ListTagsResponseDataAttributes object.
6648566470 properties:
66486- by_source:
66487- description: The list of device tags grouped by source.
66488- items:
66489- $ref: "#/components/schemas/DeviceTagsBySource"
66490- readOnly: true
66491- type: array
6649266471 tags:
6649366472 description: The list of tags
6649466473 example: ["tag:test", "tag:testbis"]
@@ -71358,6 +71337,32 @@ components:
7135871337 required:
7135971338 - data
7136071339 type: object
71340+ MonitorConfigPolicyDowntimePolicy:
71341+ additionalProperties: false
71342+ description: Downtime duration attributes of a monitor configuration policy.
71343+ properties:
71344+ max_duration_ms:
71345+ description: The maximum allowed downtime duration, in milliseconds.
71346+ example: 3600000
71347+ format: int64
71348+ minimum: 1
71349+ type: integer
71350+ required:
71351+ - max_duration_ms
71352+ type: object
71353+ MonitorConfigPolicyDowntimePolicyCreateRequest:
71354+ additionalProperties: false
71355+ description: Downtime duration attributes of a monitor configuration policy.
71356+ properties:
71357+ max_duration_ms:
71358+ description: The maximum allowed downtime duration, in milliseconds.
71359+ example: 3600000
71360+ format: int64
71361+ minimum: 1
71362+ type: integer
71363+ required:
71364+ - max_duration_ms
71365+ type: object
7136171366 MonitorConfigPolicyEditData:
7136271367 description: A monitor configuration policy data.
7136371368 properties:
@@ -71395,10 +71400,12 @@ components:
7139571400 description: Configuration for the policy.
7139671401 oneOf:
7139771402 - $ref: "#/components/schemas/MonitorConfigPolicyTagPolicy"
71403+ - $ref: "#/components/schemas/MonitorConfigPolicyDowntimePolicy"
7139871404 MonitorConfigPolicyPolicyCreateRequest:
7139971405 description: Configuration for the policy.
7140071406 oneOf:
7140171407 - $ref: "#/components/schemas/MonitorConfigPolicyTagPolicyCreateRequest"
71408+ - $ref: "#/components/schemas/MonitorConfigPolicyDowntimePolicyCreateRequest"
7140271409 MonitorConfigPolicyResourceType:
7140371410 default: monitor-config-policy
7140471411 description: Monitor configuration policy resource type.
@@ -71427,6 +71434,7 @@ components:
7142771434 $ref: "#/components/schemas/MonitorConfigPolicyResourceType"
7142871435 type: object
7142971436 MonitorConfigPolicyTagPolicy:
71437+ additionalProperties: false
7143071438 description: Tag attributes of a monitor configuration policy.
7143171439 properties:
7143271440 tag_key:
@@ -71448,6 +71456,7 @@ components:
7144871456 type: array
7144971457 type: object
7145071458 MonitorConfigPolicyTagPolicyCreateRequest:
71459+ additionalProperties: false
7145171460 description: Tag attributes of a monitor configuration policy.
7145271461 properties:
7145371462 tag_key:
@@ -71474,13 +71483,18 @@ components:
7147471483 type: object
7147571484 MonitorConfigPolicyType:
7147671485 default: tag
71477- description: The monitor configuration policy type.
71486+ description: |-
71487+ The monitor configuration policy type.
71488+ `tag` enforces required tags on monitors.
71489+ `downtime` sets a maximum downtime duration for the organization.
7147871490 enum:
7147971491 - tag
71492+ - downtime
7148071493 example: "tag"
7148171494 type: string
7148271495 x-enum-varnames:
7148371496 - TAG
71497+ - DOWNTIME
7148471498 MonitorDowntimeMatchResourceType:
7148571499 default: downtime_match
7148671500 description: Monitor Downtime Match resource type.
@@ -181964,6 +181978,16 @@ paths:
181964181978 policy_type: tag
181965181979 id: "00000000-0000-1234-0000-000000000000"
181966181980 type: monitor-config-policy
181981+ downtime:
181982+ summary: Downtime duration policy
181983+ value:
181984+ data:
181985+ - attributes:
181986+ policy:
181987+ max_duration_ms: 3600000
181988+ policy_type: downtime
181989+ id: "00000000-0000-1234-0000-000000000000"
181990+ type: monitor-config-policy
181967181991 schema:
181968181992 $ref: "#/components/schemas/MonitorConfigPolicyListResponse"
181969181993 description: OK
@@ -182006,6 +182030,15 @@ paths:
182006182030 - staging
182007182031 policy_type: tag
182008182032 type: monitor-config-policy
182033+ downtime:
182034+ summary: Downtime duration policy
182035+ value:
182036+ data:
182037+ attributes:
182038+ policy:
182039+ max_duration_ms: 3600000
182040+ policy_type: downtime
182041+ type: monitor-config-policy
182009182042 schema:
182010182043 $ref: "#/components/schemas/MonitorConfigPolicyCreateRequest"
182011182044 description: Create a monitor configuration policy request body.
@@ -182028,6 +182061,16 @@ paths:
182028182061 policy_type: tag
182029182062 id: "00000000-0000-1234-0000-000000000000"
182030182063 type: monitor-config-policy
182064+ downtime:
182065+ summary: Downtime duration policy
182066+ value:
182067+ data:
182068+ attributes:
182069+ policy:
182070+ max_duration_ms: 3600000
182071+ policy_type: downtime
182072+ id: "00000000-0000-1234-0000-000000000000"
182073+ type: monitor-config-policy
182031182074 schema:
182032182075 $ref: "#/components/schemas/MonitorConfigPolicyResponse"
182033182076 description: OK
@@ -182124,6 +182167,16 @@ paths:
182124182167 policy_type: tag
182125182168 id: "00000000-0000-1234-0000-000000000000"
182126182169 type: monitor-config-policy
182170+ downtime:
182171+ summary: Downtime duration policy
182172+ value:
182173+ data:
182174+ attributes:
182175+ policy:
182176+ max_duration_ms: 3600000
182177+ policy_type: downtime
182178+ id: "00000000-0000-1234-0000-000000000000"
182179+ type: monitor-config-policy
182127182180 schema:
182128182181 $ref: "#/components/schemas/MonitorConfigPolicyResponse"
182129182182 description: OK
@@ -182181,6 +182234,16 @@ paths:
182181182234 policy_type: tag
182182182235 id: 00000000-0000-1234-0000-000000000000
182183182236 type: monitor-config-policy
182237+ downtime:
182238+ summary: Downtime duration policy
182239+ value:
182240+ data:
182241+ attributes:
182242+ policy:
182243+ max_duration_ms: 3600000
182244+ policy_type: downtime
182245+ id: 00000000-0000-1234-0000-000000000000
182246+ type: monitor-config-policy
182184182247 schema:
182185182248 $ref: "#/components/schemas/MonitorConfigPolicyEditRequest"
182186182249 description: Description of the update.
@@ -182203,6 +182266,16 @@ paths:
182203182266 policy_type: tag
182204182267 id: "00000000-0000-1234-0000-000000000000"
182205182268 type: monitor-config-policy
182269+ downtime:
182270+ summary: Downtime duration policy
182271+ value:
182272+ data:
182273+ attributes:
182274+ policy:
182275+ max_duration_ms: 3600000
182276+ policy_type: downtime
182277+ id: "00000000-0000-1234-0000-000000000000"
182278+ type: monitor-config-policy
182206182279 schema:
182207182280 $ref: "#/components/schemas/MonitorConfigPolicyResponse"
182208182281 description: OK
@@ -182907,20 +182980,6 @@ paths:
182907182980 content:
182908182981 application/json:
182909182982 examples:
182910- by_source:
182911- value:
182912- data:
182913- attributes:
182914- by_source:
182915- - source: user
182916- tags:
182917- - "tag:test"
182918- - "tag:testbis"
182919- - source: snmp
182920- tags:
182921- - "device_ip:1.2.3.4"
182922- id: foiwf7rgw38fh
182923- type: tags
182924182983 default:
182925182984 value:
182926182985 data:
0 commit comments