Skip to main content

scheduled_query_rules

Overview

Namescheduled_query_rules
TypeResource
Idazure.monitor.scheduled_query_rules

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
etagstringThe etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
identityobjectIdentity for the resource.
kindstringIndicates the type of scheduled query rule. The default is LogAlert.
locationstringThe geo-location where the resource lives
propertiesobjectscheduled query rule Definition
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, ruleName, subscriptionIdRetrieve an scheduled query rule definition.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdRetrieve scheduled query rule definitions in a resource group.
list_by_subscriptionSELECTsubscriptionIdRetrieve a scheduled query rule definitions in a subscription.
create_or_updateINSERTresourceGroupName, ruleName, subscriptionId, data__location, data__propertiesCreates or updates a scheduled query rule.
deleteDELETEresourceGroupName, ruleName, subscriptionIdDeletes a scheduled query rule.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdRetrieve scheduled query rule definitions in a resource group.
_list_by_subscriptionEXECsubscriptionIdRetrieve a scheduled query rule definitions in a subscription.
updateEXECresourceGroupName, ruleName, subscriptionIdUpdate a scheduled query rule.