Skip to main content

activity_log_alerts

Overview

Nameactivity_log_alerts
TypeResource
Idazure.monitor.activity_log_alerts

Fields

NameDatatypeDescription
idstringThe resource Id.
namestringThe name of the resource.
locationstringThe location of the resource. Since Azure Activity Log Alerts is a global service, the location of the rules should always be 'global'.
propertiesobjectAn Azure Activity Log Alert rule.
tagsobjectThe tags of the resource.
typestringThe type of the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTactivityLogAlertName, resourceGroupName, subscriptionIdGet an Activity Log Alert rule.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet a list of all Activity Log Alert rules in a resource group.
list_by_subscription_idSELECTsubscriptionIdGet a list of all Activity Log Alert rules in a subscription.
create_or_updateINSERTactivityLogAlertName, resourceGroupName, subscriptionIdCreate a new Activity Log Alert rule or update an existing one.
deleteDELETEactivityLogAlertName, resourceGroupName, subscriptionIdDelete an Activity Log Alert rule.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdGet a list of all Activity Log Alert rules in a resource group.
_list_by_subscription_idEXECsubscriptionIdGet a list of all Activity Log Alert rules in a subscription.
updateEXECactivityLogAlertName, resourceGroupName, subscriptionIdUpdates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.