Create Maintenance Window
Create a maintenance window
{
"id": "string",
"reason": "string",
"createdEpochMillis": 0,
"updatedEpochMillis": 0,
"title": "string",
"customerId": "string",
"creatorId": "string",
"updaterId": "string",
"startTimeInSeconds": 0,
"endTimeInSeconds": 0,
"relevantCustomerTags": [
"string"
],
"relevantHostNames": [
"string"
],
"relevantHostTags": [
"string"
],
"relevantCustomerTagsAnded": false,
"relevantHostTagsAnded": false,
"hostTagGroupHostNamesGroupAnded": false,
"pointTagFilter": "string",
"pointTagFilterAnded": false,
"eventName": "string",
"targets": [
"string"
],
"sortAttr": 0,
"runningState": "string"
}
id
The purpose of this maintenance window
createdEpochMillis
updatedEpochMillis
Title of this maintenance window
customerId
creatorId
updaterId
The time in epoch seconds when this maintenance window will start
The time in epoch seconds when this maintenance window will end
List of alert tags whose matching alerts will be put into maintenance because of this maintenance window
List of source/host names that will be put into maintenance because of this maintenance window
List of source/host tags whose matching sources/hosts will be put into maintenance because of this maintenance window
Whether to AND customer tags listed in relevantCustomerTags. If true, a customer must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a customer must contain one of the tags. Default: false
Whether to AND source/host tags listed in relevantHostTags. If true, a source/host must contain all tags in order for the maintenance window to apply. If false, the tags are OR'ed, and a source/host must contain one of the tags. Default: false
If true, a source/host must be in 'relevantHostNames' and have tags matching the specification formed by 'relevantHostTags' and 'relevantHostTagsAnded' in order for this maintenance window to apply. If false, a source/host must either be in 'relevantHostNames' or match 'relevantHostTags' and 'relevantHostTagsAnded'. Default: false
Query that filters on point tags of timeseries scanned by alert.
Whether to AND point tags filter listed in pointTagFilter. If true, a timeseries must contain the point tags along with other filters in order for the maintenance window to apply.If false, the tags are OR'ed, the customer must contain one of the tags. Default: false
The name of an event associated with the creation/update of this maintenance window
List of targets to notify, overriding the alert's targets.
Numeric value used in default sorting
runningState
successful operation
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"id": "string",
"reason": "string",
"createdEpochMillis": 0,
"updatedEpochMillis": 0,
"title": "string",
"customerId": "string",
"creatorId": "string",
"updaterId": "string",
"startTimeInSeconds": 0,
"endTimeInSeconds": 0,
"relevantCustomerTags": [
"string"
],
"relevantHostNames": [
"string"
],
"relevantHostTags": [
"string"
],
"relevantCustomerTagsAnded": false,
"relevantHostTagsAnded": false,
"hostTagGroupHostNamesGroupAnded": false,
"pointTagFilter": "string",
"pointTagFilterAnded": false,
"eventName": "string",
"targets": [
"string"
],
"sortAttr": 0,
"runningState": "string"
}
}