v6

latestSwagger 2.0raw.githubusercontent.com2020-12-2161019.1 KB
SmartDetectorAlertRules

Create or update a Smart Detector alert rule.

put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}

Path parameters

subscriptionIdstring required

The ID of the target subscription.

resourceGroupNamestring required

The name of the resource group.

alertRuleNamestring required

The name of the alert rule.

Query parameters

api-versionstring required

Client Api Version.

Request body

idstring

The resource ID.

typestring

The resource type.

namestring

The resource name.

locationstring

The resource location.

tagsobject

The resource tags.

Response

Successful request to update a Smart Detector alert rule.

idstring

The resource ID.

typestring

The resource type.

namestring

The resource name.

locationstring

The resource location.

tagsobject

The resource tags.