From efc3584097fc3b8c062a19bf55d6e50f1682b9e0 Mon Sep 17 00:00:00 2001 From: Manish Wadhwani Date: Fri, 23 Dec 2022 13:22:38 +0530 Subject: [PATCH] Add new properties for email/sms rules to access rule API. --- .../examples/NspAccessRuleGet.json | 4 +++- .../examples/NspAccessRuleList.json | 8 ++++++-- .../examples/NspAccessRulePut.json | 8 ++++++-- .../networkSecurityPerimeter.json | 14 ++++++++++++++ 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleGet.json index 81a2a1631a4c..df8b54e3fc34 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleGet.json @@ -23,7 +23,9 @@ "paasrp2.contoso.org" ], "subscriptions": [], - "networkSecurityPerimeters": [] + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleList.json index d83abc555628..fc7151f1e756 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleList.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRuleList.json @@ -24,7 +24,9 @@ ], "fullyQualifiedDomainNames": [], "subscriptions": [], - "networkSecurityPerimeters": [] + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] } }, { @@ -40,7 +42,9 @@ "paasrp2.contoso.org" ], "subscriptions": [], - "networkSecurityPerimeters": [] + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] } } ], diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRulePut.json index 23f4fa7a8db8..7a0165c6a85d 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRulePut.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/examples/NspAccessRulePut.json @@ -32,7 +32,9 @@ ], "fullyQualifiedDomainNames": [], "subscriptions": [], - "networkSecurityPerimeters": [] + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] } } }, @@ -50,7 +52,9 @@ ], "fullyQualifiedDomainNames": [], "subscriptions": [], - "networkSecurityPerimeters": [] + "networkSecurityPerimeters": [], + "emailAddresses": [], + "phoneNumbers": [] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkSecurityPerimeter.json b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkSecurityPerimeter.json index 40065b96bf9d..a9e90c164a0e 100644 --- a/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkSecurityPerimeter.json +++ b/specification/network/resource-manager/Microsoft.Network/preview/2021-02-01-preview/networkSecurityPerimeter.json @@ -1528,6 +1528,20 @@ "$ref": "#/definitions/PerimeterBasedAccessRule" }, "description": "Inbound rule specified by the perimeter id." + }, + "emailAddresses": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules email address format." + }, + "phoneNumbers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Outbound rules phone number format." } }, "description": "Properties of NSP access rule."