Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Microsoft.Resources swagger to include new alias contract #10243

Merged
merged 3 commits into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
{
"parameters": {
"$expand": "resourceTypes/aliases",
"resourceProviderNamespace": "Microsoft.Storage",
"api-version": "2020-06-01"
},
"responses": {
"200": {
"body": {
"namespace": "Microsoft.Storage",
"resourceTypes": [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a partial API response. The full response with the full set of resource types and aliases is huge. LMK if that's a problem

{
"resourceType": "storageAccounts",
"locations": [
"East US",
"East US 2",
"East US 2 (Stage)",
"West US",
"West Europe",
"East Asia",
"Southeast Asia",
"Japan East",
"Japan West",
"North Central US",
"South Central US",
"Central US",
"North Europe",
"Brazil South",
"Australia East",
"Australia Southeast",
"South India",
"Central India",
"West India",
"Canada East",
"Canada Central",
"West US 2",
"West Central US",
"UK South",
"UK West",
"Korea Central",
"Korea South",
"East US 2 EUAP",
"Central US EUAP",
"France Central",
"France South",
"Australia Central",
"Australia Central 2",
"South Africa West",
"South Africa North",
"UAE Central",
"UAE North",
"Switzerland North",
"Switzerland West",
"Germany West Central",
"Germany North",
"Norway East",
"Norway West",
"South Central US STG",
"Brazil Southeast"
],
"apiVersions": [
"2019-06-01",
"2019-04-01",
"2018-11-01",
"2018-07-01",
"2018-03-01-preview",
"2018-02-01",
"2017-10-01",
"2017-06-01",
"2016-12-01",
"2016-05-01",
"2016-01-01",
"2015-06-15",
"2015-05-01-preview"
],
"defaultApiVersion": "2019-06-01",
"apiProfiles": [
{
"profileVersion": "2019-03-01-hybrid",
"apiVersion": "2017-10-01"
},
{
"profileVersion": "2017-03-09-profile",
"apiVersion": "2016-01-01"
},
{
"profileVersion": "2018-03-01-hybrid",
"apiVersion": "2016-01-01"
},
{
"profileVersion": "2018-06-01-profile",
"apiVersion": "2017-10-01"
}
],
"aliases": [
{
"name": "Microsoft.Storage/storageAccounts/accountType",
"paths": [
{
"path": "properties.accountType",
"apiVersions": [
"2015-06-15",
"2015-05-01-preview"
]
},
{
"path": "sku.name",
"apiVersions": [
"2018-11-01",
"2018-11-09",
"2018-07-01",
"2018-03-01-Preview",
"2018-02-01",
"2017-10-01",
"2017-06-01",
"2016-12-01",
"2016-05-01",
"2016-01-01"
]
}
],
"defaultPath": "sku.name"
},
{
"name": "Microsoft.Storage/storageAccounts/sku.name",
"paths": [
{
"path": "properties.accountType",
"apiVersions": [
"2015-06-15",
"2015-05-01-preview"
]
},
{
"path": "sku.name",
"apiVersions": [
"2018-11-01",
"2018-11-09",
"2018-07-01",
"2018-03-01-Preview",
"2018-02-01",
"2017-10-01",
"2017-06-01",
"2016-12-01",
"2016-05-01",
"2016-01-01"
]
}
],
"defaultPath": "sku.name"
},
{
"name": "Microsoft.Storage/storageAccounts/accessTier",
"paths": [
{
"path": "properties.accessTier",
"apiVersions": [
"2018-11-01",
"2018-11-09",
"2018-07-01",
"2018-03-01-Preview",
"2018-02-01",
"2017-10-01",
"2017-06-01",
"2016-12-01",
"2016-05-01",
"2016-01-01",
"2015-06-15",
"2015-05-01-preview"
]
}
],
"defaultPath": "properties.accessTier"
},
{
"name": "Microsoft.Storage/storageAccounts/enableBlobEncryption",
"paths": [
{
"path": "properties.encryption.services.blob.enabled",
"apiVersions": [
"2018-11-01",
"2018-11-09",
"2018-07-01",
"2018-03-01-Preview",
"2018-02-01",
"2017-10-01",
"2017-06-01",
"2016-12-01",
"2016-05-01",
"2016-01-01",
"2015-06-15",
"2015-05-01-preview"
]
}
],
"defaultPath": "properties.encryption.services.blob.enabled"
},
{
"name": "Microsoft.Storage/storageAccounts/enableFileEncryption",
"paths": [
{
"path": "properties.encryption.services.file.enabled",
"apiVersions": [
"2018-11-01",
"2018-11-09",
"2018-07-01",
"2018-03-01-Preview",
"2018-02-01",
"2017-10-01",
"2017-06-01",
"2016-12-01",
"2016-05-01",
"2016-01-01",
"2015-06-15",
"2015-05-01-preview"
]
}
],
"defaultPath": "properties.encryption.services.file.enabled"
},
{
"name": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly",
"paths": [
{
"path": "properties.supportsHttpsTrafficOnly",
"apiVersions": [
"2018-11-09",
"2018-03-01-Preview",
"2016-05-01",
"2016-01-01",
"2015-06-15",
"2015-05-01-preview"
],
"metadata": {
"type": "NotSpecified",
"attributes": "None"
}
}
],
"defaultPath": "properties.supportsHttpsTrafficOnly",
"defaultMetadata": {
"type": "Boolean",
"attributes": "Modifiable"
}
}
],
"capabilities": "SupportsTags, SupportsLocation"
}
]
}
}
}
}
Loading