diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/CreateSecurityContact_example.json b/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/CreateSecurityContact_example.json index 253eda8038ee..c308225b7aee 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/CreateSecurityContact_example.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/CreateSecurityContact_example.json @@ -4,9 +4,6 @@ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", "securityContactName": "default", "securityContact": { - "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default", - "name": "default", - "type": "Microsoft.Security/securityContacts", "properties": { "notificationsByRole": { "state": "On", @@ -44,6 +41,27 @@ } } } + }, + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default", + "name": "default", + "type": "Microsoft.Security/securityContact", + "properties": { + "notificationsByRole": { + "state": "On", + "roles": [ + "Owner" + ] + }, + "emails": "john@microsoft.com;jane@microsoft.com", + "phone": "(214)275-4038", + "alertNotifications": { + "state": "On", + "minimalSeverity": "Low" + } + } + } } } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/securityContacts.json b/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/securityContacts.json index 3fbed20bac58..ba8c3dda845b 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/securityContacts.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/securityContacts.json @@ -131,10 +131,19 @@ }, { "$ref": "#/parameters/SecurityContactName" + }, + { + "$ref": "#/parameters/SecurityContact" } ], "responses": { "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/SecurityContact" + } + }, + "200": { "description": "OK", "schema": { "$ref": "#/definitions/SecurityContact" @@ -157,7 +166,7 @@ "tags": [ "Security Contacts" ], - "description": "Security contact configurations for the subscription", + "description": "Delete security contact configurations for the subscription", "operationId": "SecurityContacts_Delete", "parameters": [ {