Resources/Schema/New-CmAzMonitorServiceHealthAlerts.Schema.json
{
"$schema": "http://json-schema.org/draft-07/schema", "$id": "New-CmAzMonitorServiceHealthAlerts", "type": "object", "title": "New-CmAzMonitorServiceHealthAlerts", "description": "Settings Root.", "required": [ "component", "alerts" ], "properties": { "component": { "$id": "#/component", "type": ["string", "null"], "title": "Component", "description": "Value to determine what cmdlet should be dynamically loaded for these settings." }, "location": { "$id": "#/location", "type": ["string", "null"], "title": "location", "description": "Deployment location which is also used for created dedicated resource group if required." }, "service": { "$id": "#/service", "type": "object", "title": "Service", "description": "Contains dependency and publish details for service location.", "properties": { "dependencies": { "$id": "#/service/dependencies", "type": "object", "title": "Dependencies", "description": "Contains dependency details for service location.", "properties": { "actionGroups": { "$id": "#/service/dependencies/actionGroups", "type": ["array", "null"], "title": "Action Groups", "description": "Global default dependency value to fetch existing resource type." }, "resourceGroup": { "$id": "#/service/dependencies/resourceGroup", "type": ["string", "null"], "title": "ResourceGroup", "description": "Dependency value to fetch existing resource type. Alerts are deployed in compelete mode." } }, "additionalProperties": false }, "publish": { "$id": "#/service/publish", "type": ["object", "null"], "title": "Publish", "description": "Contains publish details for service location.", "properties": { "serviceHealthAlert": { "$id": "#/service/publish/serviceHealthAlert", "type": ["string", "null"], "title": "Service Health Alert", "description": "Global default value to publish on deployed resource type." }, "resourceGroup": { "$id": "#/service/publish/resourceGroup", "type": ["string", "null"], "title": "ResourceGroup", "description": "Global default value to publish on deployed resource type. Alerts are deployed in compelete mode." } }, "additionalProperties": false } }, "additionalProperties": false }, "alerts": { "$id": "#/alerts", "type": "array", "title": "Groups", "description": "Contains all details pertaining to logical groupings of alert sets.", "items": { "$id": "#/alerts/items", "minItems": 1, "allOf": [ { "$id": "#/alerts/items/allOf", "type": "object", "properties": { "name": { "$id": "#/alerts/items/allOf/name", "name": "string", "title": "Name", "description": "Becomes part of service health alert rule generated name." }, "description": { "$id": "#/alerts/items/allOf/description", "type": ["string", "null"], "title": "Description", "description": "Description of the service health alert rule." }, "enabled": { "$id": "#/alerts/items/allOf/severity", "type": ["boolean", "null"], "title": "Enabled", "description": "If the alert rule is enabled or not.", "default": true }, "services": { "$id": "#/alerts/items/allOf/services", "type": ["array", "null"], "title": "Services", "default": null, "description": "Filter with services.", "items": { "$id": "#/alerts/items/allOf/services/items" } }, "eventTypes": { "$id": "#/alerts/items/allOf/eventTypes", "type": ["array", "null"], "title": "EventTypes", "default": null, "description": "Filter with event types.", "items": { "$id": "#/alerts/items/allOf/eventTypes/items" } }, "regions": { "$id": "#/alerts/items/allOf/regions", "type": "array", "title": "Regions", "description": "Filter with regions.", "minItems": 1, "items": { "$id": "#/alerts/items/allOf/regions/items" } }, "service": { "$id": "#/alerts/items/allOf/service", "type": ["object", "null"], "title": "Service", "description": "Contains dependency and publish details for service location.", "properties": { "dependencies": { "$id": "#/alerts/items/allOf/service/dependencies", "type": ["object", "null"], "title": "Dependencies", "description": "Contains dependency details for service location.", "default": "Defaults to current subscription if all targets are null.", "properties": { "actionGroups": { "$id": "#/alerts/items/allOf/service/dependencies/actionGroups", "type": ["array", "null"], "title": "Action Groups", "description": "Local overriding dependency value to fetch existing resource type.", "items": { "$id": "#/alerts/items/allOf/service/dependencies/actionGroups/items" } } }, "additonalProperties": false }, "publish": { "$id": "#/alerts/items/allOf/service/publish", "type": ["object", "null"], "title": "Publish", "description": "Contains publish details for service location.", "properties": { "serviceHealthAlert": { "$id": "#/alerts/items/allOf/service/publish/serviceHealthAlert", "type": ["string", "null"], "title": "Service Health Alert", "description": "Local overriding value to publish on deployed existing resource type." } }, "additionalProperties": false } }, "additonalProperties": false } }, "additonalProperties": false } ] } } }, "additonalProperties": false } |