Skip to content

Commit 03fcd07

Browse files
PublicNetworkAccess Swagger Change (#19352)
* add publicNetworkAccess property in site for swagger * add suppression to fix Model Validation CI * Add allowed values in the description
1 parent b5e1ee6 commit 03fcd07

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/CommonDefinitions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3001,6 +3001,10 @@
30013001
"readOnly": true,
30023002
"example": "00000000-0000-0000-0000-000000000000"
30033003
},
3004+
"publicNetworkAccess": {
3005+
"description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
3006+
"type": "string"
3007+
},
30043008
"storageAccountRequired": {
30053009
"description": "Checks if Customer provided storage account is required",
30063010
"type": "boolean"

specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/StaticSites.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3516,6 +3516,10 @@
35163516
"name": "EnterpriseGradeCdnStatus",
35173517
"modelAsString": true
35183518
}
3519+
},
3520+
"publicNetworkAccess": {
3521+
"description": "State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
3522+
"type": "string"
35193523
}
35203524
}
35213525
},

specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/WebApps.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25822,6 +25822,10 @@
2582225822
"readOnly": true,
2582325823
"example": "00000000-0000-0000-0000-000000000000"
2582425824
},
25825+
"publicNetworkAccess": {
25826+
"description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
25827+
"type": "string"
25828+
},
2582525829
"storageAccountRequired": {
2582625830
"description": "Checks if Customer provided storage account is required",
2582725831
"type": "boolean"

specification/web/resource-manager/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ directive:
6767
- suppress: XMS_EXAMPLE_NOTFOUND_ERROR
6868
from: WebApps.json
6969
reason: Retroactive addition of missing examples out of scope at this time.
70+
- suppress: RESPONSE_STATUS_CODE_NOT_IN_SPEC
71+
from: StaticSites.json
72+
reason: Retroactive addition of missing examples out of scope at this time.
73+
- suppress: RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE
74+
from: StaticSites.json
75+
reason: Retroactive addition of missing examples out of scope at this time.
7076
```
7177
7278

0 commit comments

Comments
 (0)