{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-list-by-subscription":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alert_processing_rules_list_by_subscription","summary":"List all alert processing rules in a subscription.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2021-08-08","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alert_processing_rules_list_by_resource_group","summary":"List all alert processing rules in a resource group.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2021-08-08","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-get-by-name":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alert_processing_rules_get_by_name","summary":"Get an alert processing rule by name.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2021-08-08","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}},{"name":"alertProcessingRuleName","in":"query","required":true,"description":"The name of the alert processing rule that needs to be fetched.","schema":{"type":"string","description":"The name of the alert processing rule that needs to be fetched."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-create-or-update":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_alert_processing_rules_create_or_update","summary":"Create or update an alert processing rule.","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","alertProcessingRuleName","body"],"properties":{"api-version":{"type":"string","default":"2021-08-08","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"alertProcessingRuleName":{"type":"string","description":"The name of the alert processing rule that needs to be fetched."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-update":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_alert_processing_rules_update","summary":"Enable, disable, or update tags for an alert processing rule.","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","alertProcessingRuleName","body"],"properties":{"api-version":{"type":"string","default":"2021-08-08","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"alertProcessingRuleName":{"type":"string","description":"The name of the alert processing rule that needs to be fetched."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alert-processing-rules-delete":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_alert_processing_rules_delete","summary":"Delete an alert processing rule.","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","alertProcessingRuleName"],"properties":{"api-version":{"type":"string","default":"2021-08-08","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"alertProcessingRuleName":{"type":"string","description":"The name of the alert processing rule that needs to be fetched."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-list":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_smart_detector_alert_rules_list","summary":"List all the existing Smart Detector alert rules within the subscription.","description":"GET /subscriptions/{subscriptionId}/providers/microsoft.alertsManagement/smartDetectorAlertRules","tags":["cloud"],"parameters":[{"name":"subscriptionId","in":"query","required":true,"description":"The Azure subscription Id.","schema":{"type":"string","description":"The Azure subscription Id."}},{"name":"api-version","in":"query","required":false,"description":"Client Api Version.","schema":{"type":"string","default":"2021-04-01","description":"Client Api Version."}},{"name":"expandDetector","in":"query","required":false,"description":"Indicates if Smart Detector should be expanded.","schema":{"type":"boolean","description":"Indicates if Smart Detector should be expanded."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_smart_detector_alert_rules_list_by_resource_group","summary":"List all the existing Smart Detector alert rules within the subscription and resource group.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules","tags":["cloud"],"parameters":[{"name":"subscriptionId","in":"query","required":true,"description":"The Azure subscription Id.","schema":{"type":"string","description":"The Azure subscription Id."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}},{"name":"api-version","in":"query","required":false,"description":"Client Api Version.","schema":{"type":"string","default":"2021-04-01","description":"Client Api Version."}},{"name":"expandDetector","in":"query","required":false,"description":"Indicates if Smart Detector should be expanded.","schema":{"type":"boolean","description":"Indicates if Smart Detector should be expanded."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-get":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_smart_detector_alert_rules_get","summary":"Get a specific Smart Detector alert rule.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}","tags":["cloud"],"parameters":[{"name":"subscriptionId","in":"query","required":true,"description":"The Azure subscription Id.","schema":{"type":"string","description":"The Azure subscription Id."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}},{"name":"alertRuleName","in":"query","required":true,"description":"The name of the alert rule.","schema":{"type":"string","description":"The name of the alert rule."}},{"name":"api-version","in":"query","required":false,"description":"Client Api Version.","schema":{"type":"string","default":"2021-04-01","description":"Client Api Version."}},{"name":"expandDetector","in":"query","required":false,"description":"Indicates if Smart Detector should be expanded.","schema":{"type":"boolean","description":"Indicates if Smart Detector should be expanded."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-create-or-update":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_smart_detector_alert_rules_create_or_update","summary":"Create or update a Smart Detector alert rule.","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","alertRuleName","body"],"properties":{"subscriptionId":{"type":"string","description":"The Azure subscription Id."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"alertRuleName":{"type":"string","description":"The name of the alert rule."},"api-version":{"type":"string","default":"2021-04-01","description":"Client Api Version."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-patch":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_smart_detector_alert_rules_patch","summary":"Patch a specific Smart Detector alert rule.","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","alertRuleName","body"],"properties":{"subscriptionId":{"type":"string","description":"The Azure subscription Id."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"alertRuleName":{"type":"string","description":"The name of the alert rule."},"api-version":{"type":"string","default":"2021-04-01","description":"Client Api Version."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/smart-detector-alert-rules-delete":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_smart_detector_alert_rules_delete","summary":"Delete an existing Smart Detector alert rule.","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","alertRuleName"],"properties":{"subscriptionId":{"type":"string","description":"The Azure subscription Id."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"alertRuleName":{"type":"string","description":"The name of the alert rule."},"api-version":{"type":"string","default":"2021-04-01","description":"Client Api Version."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/operations-list":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_operations_list","summary":"List all operations available through Azure Alerts Management Resource Provider.","description":"GET /providers/Microsoft.AlertsManagement/operations","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"API version.","schema":{"type":"string","enum":["2019-03-01"],"default":"2019-03-01","description":"API version."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alerts-meta-data":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alerts_meta_data","summary":"List alerts meta data information based on value of identifier parameter.","description":"GET /providers/Microsoft.AlertsManagement/alertsMetaData","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"API version.","schema":{"type":"string","enum":["2019-03-01"],"default":"2019-03-01","description":"API version."}},{"name":"identifier","in":"query","required":true,"description":"Identification of the information to be retrieved by API call.","schema":{"type":"string","enum":["MonitorServiceList"],"description":"Identification of the information to be retrieved by API call."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alerts-get-all":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alerts_get_all","summary":"List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time…","description":"GET /{scope}/providers/Microsoft.AlertsManagement/alerts","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"scope here is resourceId for which alert is created.","schema":{"type":"string","description":"scope here is resourceId for which alert is created."}},{"name":"targetResource","in":"query","required":false,"description":"Filter by target resource( which is full ARM ID) Default value is select all.","schema":{"type":"string","description":"Filter by target resource( which is full ARM ID) Default value is select all."}},{"name":"targetResourceType","in":"query","required":false,"description":"Filter by target resource type. Default value is select all.","schema":{"type":"string","description":"Filter by target resource type. Default value is select all."}},{"name":"targetResourceGroup","in":"query","required":false,"description":"Filter by target resource group name. Default value is select all.","schema":{"type":"string","description":"Filter by target resource group name. Default value is select all."}},{"name":"monitorService","in":"query","required":false,"description":"Filter by monitor service which generates the alert instance. Default value is select all.","schema":{"type":"string","enum":["Application Insights","ActivityLog Administrative","ActivityLog Security","ActivityLog Recommendation","ActivityLog Policy","ActivityLog Autoscale","Log Analytics","Nagios","Platform","SCOM","ServiceHealth","SmartDetector","VM Insights","Zabbix","Resource Health"],"description":"Filter by monitor service which generates the alert instance. Default value is select all."}},{"name":"monitorCondition","in":"query","required":false,"description":"Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.","schema":{"type":"string","enum":["Fired","Resolved"],"description":"Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all."}},{"name":"severity","in":"query","required":false,"description":"Filter by severity. Default value is select all.","schema":{"type":"string","enum":["Sev0","Sev1","Sev2","Sev3","Sev4"],"description":"Filter by severity. Default value is select all."}},{"name":"alertState","in":"query","required":false,"description":"Filter by state of the alert instance. Default value is to select all.","schema":{"type":"string","enum":["New","Acknowledged","Closed"],"description":"Filter by state of the alert instance. Default value is to select all."}},{"name":"alertRule","in":"query","required":false,"description":"Filter by specific alert rule. Default value is to select all.","schema":{"type":"string","description":"Filter by specific alert rule. Default value is to select all."}},{"name":"smartGroupId","in":"query","required":false,"description":"Filter the alerts list by the Smart Group Id. Default value is none.","schema":{"type":"string","description":"Filter the alerts list by the Smart Group Id. Default value is none."}},{"name":"includeContext","in":"query","required":false,"description":"Include context which has contextual data specific to the monitor service. Default value is false'","schema":{"type":"boolean","description":"Include context which has contextual data specific to the monitor service. Default value is false'"}},{"name":"includeEgressConfig","in":"query","required":false,"description":"Include egress config which would be used for displaying the content in portal. Default value is 'false'.","schema":{"type":"boolean","description":"Include egress config which would be used for displaying the content in portal. Default value is 'false'."}},{"name":"pageCount","in":"query","required":false,"description":"Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the \"includeContent\" filter is…","schema":{"type":"integer","description":"Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the \"includeContent\" filter is…"}},{"name":"sortBy","in":"query","required":false,"description":"Sort the query results by input field, Default value is 'lastModifiedDateTime'.","schema":{"type":"string","enum":["name","severity","alertState","monitorCondition","targetResource","targetResourceName","targetResourceGroup","targetResourceType","startDateTime","lastModifiedDateTime"],"description":"Sort the query results by input field, Default value is 'lastModifiedDateTime'."}},{"name":"sortOrder","in":"query","required":false,"description":"Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others.","schema":{"type":"string","enum":["asc","desc"],"description":"Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others."}},{"name":"select","in":"query","required":false,"description":"This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project…","schema":{"type":"string","description":"This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project…"}},{"name":"timeRange","in":"query","required":false,"description":"Filter by time range by below listed values. Default value is 1 day.","schema":{"type":"string","enum":["1h","1d","7d","30d"],"description":"Filter by time range by below listed values. Default value is 1 day."}},{"name":"customTimeRange","in":"query","required":false,"description":"Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time.…","schema":{"type":"string","description":"Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time.…"}},{"name":"api-version","in":"query","required":false,"description":"API version.","schema":{"type":"string","enum":["2019-03-01"],"default":"2019-03-01","description":"API version."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alerts-get-by-id":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alerts_get_by_id","summary":"Get a specific alert.","description":"GET /{scope}/providers/Microsoft.AlertsManagement/alerts/{alertId}","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"scope here is resourceId for which alert is created.","schema":{"type":"string","description":"scope here is resourceId for which alert is created."}},{"name":"alertId","in":"query","required":true,"description":"Unique ID of an alert instance.","schema":{"type":"string","description":"Unique ID of an alert instance."}},{"name":"api-version","in":"query","required":false,"description":"API version.","schema":{"type":"string","enum":["2019-03-01"],"default":"2019-03-01","description":"API version."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alerts-change-state":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_alerts_change_state","summary":"Change the state of an alert. If scope is a deleted resource then please use scope as parent resource of the…","description":"POST /{scope}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["scope","alertId","newState"],"properties":{"scope":{"type":"string","description":"scope here is resourceId for which alert is created."},"alertId":{"type":"string","description":"Unique ID of an alert instance."},"api-version":{"type":"string","enum":["2019-03-01"],"default":"2019-03-01","description":"API version."},"newState":{"type":"string","enum":["New","Acknowledged","Closed"],"description":"New state of the alert."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alerts-get-history":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alerts_get_history","summary":"Get the history of an alert, which captures any monitor condition changes (Fired/Resolved), alert state…","description":"GET /{scope}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"scope here is resourceId for which alert is created.","schema":{"type":"string","description":"scope here is resourceId for which alert is created."}},{"name":"alertId","in":"query","required":true,"description":"Unique ID of an alert instance.","schema":{"type":"string","description":"Unique ID of an alert instance."}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2019-03-01","description":"The API version to use for this operation."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/alerts-get-summary":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_alerts_get_summary","summary":"Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the…","description":"GET /{scope}/providers/Microsoft.AlertsManagement/alertsSummary","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"scope here is resourceId for which alert is created.","schema":{"type":"string","description":"scope here is resourceId for which alert is created."}},{"name":"groupby","in":"query","required":true,"description":"This parameter allows the result set to be grouped by input fields. For example, groupby=severity,alertstate.","schema":{"type":"string","enum":["severity","alertState","monitorCondition","monitorService","signalType","alertRule"],"description":"This parameter allows the result set to be grouped by input fields. For example, groupby=severity,alertstate."}},{"name":"includeSmartGroupsCount","in":"query","required":false,"description":"Include count of the SmartGroups as part of the summary. Default value is 'false'.","schema":{"type":"boolean","description":"Include count of the SmartGroups as part of the summary. Default value is 'false'."}},{"name":"targetResource","in":"query","required":false,"description":"Filter by target resource( which is full ARM ID) Default value is select all.","schema":{"type":"string","description":"Filter by target resource( which is full ARM ID) Default value is select all."}},{"name":"targetResourceType","in":"query","required":false,"description":"Filter by target resource type. Default value is select all.","schema":{"type":"string","description":"Filter by target resource type. Default value is select all."}},{"name":"targetResourceGroup","in":"query","required":false,"description":"Filter by target resource group name. Default value is select all.","schema":{"type":"string","description":"Filter by target resource group name. Default value is select all."}},{"name":"monitorService","in":"query","required":false,"description":"Filter by monitor service which generates the alert instance. Default value is select all.","schema":{"type":"string","enum":["Application Insights","ActivityLog Administrative","ActivityLog Security","ActivityLog Recommendation","ActivityLog Policy","ActivityLog Autoscale","Log Analytics","Nagios","Platform","SCOM","ServiceHealth","SmartDetector","VM Insights","Zabbix","Resource Health"],"description":"Filter by monitor service which generates the alert instance. Default value is select all."}},{"name":"monitorCondition","in":"query","required":false,"description":"Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.","schema":{"type":"string","enum":["Fired","Resolved"],"description":"Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all."}},{"name":"severity","in":"query","required":false,"description":"Filter by severity. Default value is select all.","schema":{"type":"string","enum":["Sev0","Sev1","Sev2","Sev3","Sev4"],"description":"Filter by severity. Default value is select all."}},{"name":"alertState","in":"query","required":false,"description":"Filter by state of the alert instance. Default value is to select all.","schema":{"type":"string","enum":["New","Acknowledged","Closed"],"description":"Filter by state of the alert instance. Default value is to select all."}},{"name":"alertRule","in":"query","required":false,"description":"Filter by specific alert rule. Default value is to select all.","schema":{"type":"string","description":"Filter by specific alert rule. Default value is to select all."}},{"name":"timeRange","in":"query","required":false,"description":"Filter by time range by below listed values. Default value is 1 day.","schema":{"type":"string","enum":["1h","1d","7d","30d"],"description":"Filter by time range by below listed values. Default value is 1 day."}},{"name":"customTimeRange","in":"query","required":false,"description":"Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time.…","schema":{"type":"string","description":"Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time.…"}},{"name":"api-version","in":"query","required":false,"description":"API version.","schema":{"type":"string","enum":["2019-03-01"],"default":"2019-03-01","description":"API version."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-list-by-subscription":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_prometheus_rule_groups_list_by_subscription","summary":"Retrieve Prometheus all rule group definitions in a subscription.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/prometheusRuleGroups","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-03-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_prometheus_rule_groups_list_by_resource_group","summary":"Retrieve Prometheus rule group definitions in a resource group.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-03-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-get":{"get":{"operationId":"cloud_azure_arm_alertsmanagement_prometheus_rule_groups_get","summary":"Retrieve a Prometheus rule group definition.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-03-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}},{"name":"ruleGroupName","in":"query","required":true,"description":"The name of the rule group.","schema":{"type":"string","description":"The name of the rule group."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-create-or-update":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_prometheus_rule_groups_create_or_update","summary":"Create or update a Prometheus rule group definition.","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","ruleGroupName","body"],"properties":{"api-version":{"type":"string","default":"2023-03-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"ruleGroupName":{"type":"string","description":"The name of the rule group."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-update":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_prometheus_rule_groups_update","summary":"Update an Prometheus rule group definition.","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","ruleGroupName","body"],"properties":{"api-version":{"type":"string","default":"2023-03-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"ruleGroupName":{"type":"string","description":"The name of the rule group."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-alertsmanagement/prometheus-rule-groups-delete":{"post":{"operationId":"cloud_azure_arm_alertsmanagement_prometheus_rule_groups_delete","summary":"Delete a Prometheus rule group definition.","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/prometheusRuleGroups/{ruleGroupName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","ruleGroupName"],"properties":{"api-version":{"type":"string","default":"2023-03-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"ruleGroupName":{"type":"string","description":"The name of the rule group."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}