Skip to content

Commit

Permalink
PublicNetworkAccess Swagger Change (#19352)
Browse files Browse the repository at this point in the history
* add publicNetworkAccess property in site for swagger

* add suppression to fix Model Validation CI

* Add allowed values in the description
  • Loading branch information
jiansong-msft authored Jun 8, 2022
1 parent b5e1ee6 commit 03fcd07
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3001,6 +3001,10 @@
"readOnly": true,
"example": "00000000-0000-0000-0000-000000000000"
},
"publicNetworkAccess": {
"description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
"type": "string"
},
"storageAccountRequired": {
"description": "Checks if Customer provided storage account is required",
"type": "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3516,6 +3516,10 @@
"name": "EnterpriseGradeCdnStatus",
"modelAsString": true
}
},
"publicNetworkAccess": {
"description": "State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
"type": "string"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25822,6 +25822,10 @@
"readOnly": true,
"example": "00000000-0000-0000-0000-000000000000"
},
"publicNetworkAccess": {
"description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
"type": "string"
},
"storageAccountRequired": {
"description": "Checks if Customer provided storage account is required",
"type": "boolean"
Expand Down
6 changes: 6 additions & 0 deletions specification/web/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ directive:
- suppress: XMS_EXAMPLE_NOTFOUND_ERROR
from: WebApps.json
reason: Retroactive addition of missing examples out of scope at this time.
- suppress: RESPONSE_STATUS_CODE_NOT_IN_SPEC
from: StaticSites.json
reason: Retroactive addition of missing examples out of scope at this time.
- suppress: RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE
from: StaticSites.json
reason: Retroactive addition of missing examples out of scope at this time.
```
Expand Down

0 comments on commit 03fcd07

Please sign in to comment.