Update Security Policy (PUT)
Published: July 13, 2016
Updated: July 12, 2016
Updates the security policy for the subscription.
Method | Request Uri |
|---|---|
PUT | https://<endpoint>/subscriptions/{subscriptionId}/providers/microsoft.Security/policies/{policy-name}?api-version={api-version} |
Parameter | Description |
|---|---|
subscriptionId | The subscription id |
Policy-name | The unique name of the security policy |
Api-version | The version of the Security RP protocol used for this request |
Common request headers only.
{
“properties” :
{
"dataCollection": "Off",
"recommendations": {
"patch": "On",
"baseline": "On",
"antimalware": "On",
"acls": "On",
"waf": "On"
}
}
}
As above
If successful, the operation returns HTTP status code of 200 (OK).
{
“properties” :
{
"dataCollection": "Off",
"recommendations": {
"patch": "On",
"baseline": "On",
"antimalware": "On",
"acls": "On",
"waf": "On"
}
}
}
Show: