Skip to content

Commit

Permalink
[AutoPR security/resource-manager] Remove security contact phone fiel…
Browse files Browse the repository at this point in the history
…d mandatory fields (#427)

* Generated from 3f99e72342d5d4f194ff74c8c553657530955783

Remove security contact phone field mandatory fields

* Generated from e94d9f5b16a429a3f1d2270a981be7218f06fd36

Update security contact examples - refactored - second iteration
  • Loading branch information
AutorestCI authored Nov 12, 2018
1 parent 2db09fe commit 7ba03a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/@azure/arm-security/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export interface SecurityContact extends Resource {
*/
email: string;
/**
* @member {string} phone The phone number of this security contact
* @member {string} [phone] The phone number of this security contact
*/
phone: string;
phone?: string;
/**
* @member {AlertNotifications} alertNotifications Whether to send security
* alerts notifications to the security contact. Possible values include:
Expand Down
1 change: 0 additions & 1 deletion packages/@azure/arm-security/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export const SecurityContact: msRest.CompositeMapper = {
}
},
phone: {
required: true,
serializedName: "properties.phone",
type: {
name: "String"
Expand Down

0 comments on commit 7ba03a0

Please sign in to comment.