diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json b/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json index b47510ee03bc..e1bda847104b 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json @@ -9,6 +9,7 @@ "serverVulnerabilityAssessment": "default" }, "responses": { + "202": {}, "200": {}, "204": {} } diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json b/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json index d21a7bca94c7..402846e94a0d 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/serverVulnerabilityAssessments.json @@ -242,6 +242,10 @@ "ServerVulnerabilityAssessment" ], "operationId": "ServerVulnerabilityAssessment_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "../../../common/v1/types.json#/parameters/SubscriptionId" @@ -285,11 +289,14 @@ } ], "responses": { + "202": { + "description": "Accepted - the asynchronous delete operation has started." + }, "200": { - "description": "OK" + "description": "OK - deleted successfully." }, "204": { - "description": "No Content - Resource does not exist" + "description": "No Content - the resource did not exist in the first place." }, "default": { "description": "Error response describing why the operation failed.",