-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove security contact phone field mandatory fields (#4417)
* Remove security contact phone field mandatory fields * Update security contact examples * Update security contact examples - refactored * Update security contact examples - refactored - second iteration
- Loading branch information
1 parent
2389da3
commit eaf464e
Showing
10 changed files
with
138 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...eview/2017-08-01-preview/examples/SecurityContacts/CreateSecurityContact_min_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-08-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"securityContactName": "default2", | ||
"securityContact": { | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2", | ||
"name": "default2", | ||
"type": "Microsoft.Security/securityContacts", | ||
"properties": { | ||
"email": "chen@contoso.com", | ||
"alertNotifications": "On", | ||
"alertsToAdmins": "On" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2", | ||
"name": "default2", | ||
"type": "Microsoft.Security/securityContacts", | ||
"properties": { | ||
"email": "chen@contoso.com", | ||
"alertNotifications": "On", | ||
"alertsToAdmins": "On" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
.../preview/2017-08-01-preview/examples/SecurityContacts/GetSecurityContact_min_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-08-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"securityContactName": "default2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2", | ||
"name": "default2", | ||
"type": "Microsoft.Security/securityContacts", | ||
"properties": { | ||
"email": "chen@contoso.com", | ||
"alertNotifications": "On", | ||
"alertsToAdmins": "On" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...-08-01-preview/examples/SecurityContacts/GetSecurityContactsSubscription_min_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-08-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [{ | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2", | ||
"name": "default2", | ||
"type": "Microsoft.Security/securityContacts", | ||
"properties": { | ||
"email": "chen@contoso.com", | ||
"alertNotifications": "On", | ||
"alertsToAdmins": "On" | ||
} | ||
}] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...eview/2017-08-01-preview/examples/SecurityContacts/UpdateSecurityContact_min_example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-08-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"securityContactName": "default2", | ||
"securityContact": { | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2", | ||
"name": "default2", | ||
"type": "Microsoft.Security/securityContacts", | ||
"properties": { | ||
"alertNotifications": "On" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default2", | ||
"name": "default2", | ||
"type": "Microsoft.Security/securityContacts", | ||
"properties": { | ||
"email": "chen@contoso.com", | ||
"alertNotifications": "On", | ||
"alertsToAdmins": "Off" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters