diff --git a/packages/@azure/arm-security/lib/models/index.ts b/packages/@azure/arm-security/lib/models/index.ts index 78a3b7ecb605..491aee7cc5ab 100644 --- a/packages/@azure/arm-security/lib/models/index.ts +++ b/packages/@azure/arm-security/lib/models/index.ts @@ -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: diff --git a/packages/@azure/arm-security/lib/models/mappers.ts b/packages/@azure/arm-security/lib/models/mappers.ts index 40229399b748..898a47ac8882 100644 --- a/packages/@azure/arm-security/lib/models/mappers.ts +++ b/packages/@azure/arm-security/lib/models/mappers.ts @@ -76,7 +76,6 @@ export const SecurityContact: msRest.CompositeMapper = { } }, phone: { - required: true, serializedName: "properties.phone", type: { name: "String"