You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_kind_description: ClassVar[str] ="Azure Metric Alert is a monitoring service in Microsoft Azure that tracks specified metrics for resources. It evaluates data against predefined thresholds and triggers notifications when these thresholds are breached. Users can configure alerts for various metrics, set custom conditions, and define actions such as sending emails or executing automated responses when alert conditions are met."# fmt: skip
@@ -915,6 +932,19 @@ class AzureMetricAlert(MicrosoftResource):
915
932
target_resource_type: Optional[str] =field(default=None, metadata={'description': 'the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.'}) # fmt: skip
916
933
window_size: Optional[str] =field(default=None, metadata={'description': 'the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.'}) # fmt: skip
@@ -1322,6 +1355,15 @@ class AzureMonitorScheduledQueryRule(MicrosoftResource):
1322
1355
target_resource_types: Optional[List[str]] =field(default=None, metadata={'description': 'List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria. Relevant only for rules of the kind LogAlert'}) # fmt: skip
1323
1356
window_size: Optional[str] =field(default=None, metadata={'description': 'The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size). Relevant and required only for rules of the kind LogAlert.'}) # fmt: skip
0 commit comments