-
Notifications
You must be signed in to change notification settings - Fork 5.5k
SRP Swagger Updates for Sep21 [2021-09-01] Api Version GA #18070
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
3daf08c
Full copy from 2021-08-01 to 2021-09-01 without any changes
HimanshuChhabra 7acc96b
Updating API version for Service types, Updating readme files
HimanshuChhabra d734db4
Feature: Premium Access Tier for PBB accounts, with example, prettier…
HimanshuChhabra d6c10ab
Feature: Add LastTierChangeTime LCM Action support, Added Examples, R…
HimanshuChhabra f47fb72
Feature: Add LCM BaseBlob daysAfterCreationTime actions with example
HimanshuChhabra 9114a87
Feature : Async Sku Conversion Status Object for Customer controlled …
HimanshuChhabra 5368f7c
Feature: AllowPermanentDelete property to allow deletion for soft del…
HimanshuChhabra edd8353
Linting S360 - Enum Mismatch, https://portal.azure-devex-tools.com/am…
HimanshuChhabra 769c216
S365 Swagger Linting, Blob Invnetory, Add destination container back …
HimanshuChhabra c74a964
Move SignedIdentifiers to Common.json, Add SI to Table, Add Examples,…
HimanshuChhabra b624969
update the api version for the test
HimanshuChhabra 4ae3e40
S365: Return CMK version expiration time with example, Return TenantI…
HimanshuChhabra a57dee5
Feature: DnsEndpointType For Account Level PDNS
HimanshuChhabra b082e6e
SpellCheck, Move Location header to 202 response for existing example…
HimanshuChhabra 1a6bda5
Feature: Add ExcludePrefix, IncludeDeleted and Additional Scheams for…
HimanshuChhabra 44c9914
remove asunc location header from example, latest model validation re…
HimanshuChhabra 27ccd1e
Account PDNS Updates Change AzureDnsZone type, Address comment for al…
HimanshuChhabra 9b5374b
update the description and x-ms-clientname for currentCmkVersion
HimanshuChhabra dc1ea05
Update the Description for the DnsEndpointType.
HimanshuChhabra 4d862e0
Add input parameter to the Table API
HimanshuChhabra e0003e6
Create separate definition for Table Signed Identifiers, Update Tests
HimanshuChhabra b43c62e
Feature: Change daysAfterLastTierChangeTimeGreaterThan To daysAfterLa…
HimanshuChhabra 66fb88b
Add type=object and description for TableAccessPolicy, Update descrip…
HimanshuChhabra 05f9dbb
Spell correction for file shares
HimanshuChhabra b25ba7c
Updating descriptions
HimanshuChhabra 4cc7725
Remove tenantId from the UAI
HimanshuChhabra 927029a
Change Header to Headers for failing check
HimanshuChhabra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,576 changes: 1,576 additions & 0 deletions
1,576
specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/blob.json
Large diffs are not rendered by default.
Oops, something went wrong.
206 changes: 206 additions & 0 deletions
206
specification/storage/resource-manager/Microsoft.Storage/stable/2021-09-01/common.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "Storage", | ||
"description": "Storage Resource Provider API Common Types", | ||
"version": "2021-09-01" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"CorsRules": { | ||
"properties": { | ||
"corsRules": { | ||
"type": "array", | ||
"items": { | ||
"description": "Specifies a CORS rule for the Blob service. ", | ||
"$ref": "#/definitions/CorsRule" | ||
}, | ||
"description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " | ||
} | ||
}, | ||
"description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " | ||
}, | ||
"CorsRule": { | ||
"properties": { | ||
"allowedOrigins": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains" | ||
}, | ||
"allowedMethods": { | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"DELETE", | ||
"GET", | ||
"HEAD", | ||
"MERGE", | ||
"POST", | ||
"OPTIONS", | ||
"PUT", | ||
"PATCH" | ||
] | ||
}, | ||
"description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin." | ||
}, | ||
"maxAgeInSeconds": { | ||
"type": "integer", | ||
"description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response." | ||
}, | ||
"exposedHeaders": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients." | ||
}, | ||
"allowedHeaders": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request." | ||
} | ||
}, | ||
"required": [ | ||
"allowedOrigins", | ||
"allowedMethods", | ||
"maxAgeInSeconds", | ||
"exposedHeaders", | ||
"allowedHeaders" | ||
], | ||
"description": "Specifies a CORS rule for the Blob service." | ||
}, | ||
"DeleteRetentionPolicy": { | ||
"properties": { | ||
"enabled": { | ||
"type": "boolean", | ||
"description": "Indicates whether DeleteRetentionPolicy is enabled." | ||
}, | ||
"days": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 365, | ||
"description": "Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365." | ||
}, | ||
"allowPermanentDelete": { | ||
"type": "boolean", | ||
"description": "This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy." | ||
} | ||
}, | ||
"description": "The service properties for soft delete." | ||
}, | ||
"Sku": { | ||
"properties": { | ||
"name": { | ||
"$ref": "#/definitions/SkuName" | ||
}, | ||
"tier": { | ||
"$ref": "#/definitions/Tier" | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], | ||
"description": "The SKU of the storage account." | ||
}, | ||
"SkuName": { | ||
"type": "string", | ||
"description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.", | ||
"enum": [ | ||
"Standard_LRS", | ||
"Standard_GRS", | ||
"Standard_RAGRS", | ||
"Standard_ZRS", | ||
"Premium_LRS", | ||
"Premium_ZRS", | ||
"Standard_GZRS", | ||
"Standard_RAGZRS" | ||
], | ||
"x-ms-enum": { | ||
"name": "SkuName", | ||
"modelAsString": true | ||
} | ||
}, | ||
"Tier": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "The SKU tier. This is based on the SKU name.", | ||
"enum": [ | ||
"Standard", | ||
"Premium" | ||
], | ||
"x-ms-enum": { | ||
"name": "SkuTier", | ||
"modelAsString": false | ||
} | ||
}, | ||
"CloudError": { | ||
"x-ms-external": true, | ||
"properties": { | ||
"error": { | ||
"$ref": "#/definitions/CloudErrorBody" | ||
} | ||
}, | ||
"description": "An error response from the Storage service." | ||
}, | ||
"CloudErrorBody": { | ||
"x-ms-external": true, | ||
"properties": { | ||
"code": { | ||
"type": "string", | ||
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." | ||
}, | ||
"message": { | ||
"type": "string", | ||
"description": "A message describing the error, intended to be suitable for display in a user interface." | ||
}, | ||
"target": { | ||
"type": "string", | ||
"description": "The target of the particular error. For example, the name of the property in error." | ||
}, | ||
"details": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/CloudErrorBody" | ||
}, | ||
"description": "A list of additional details about the error." | ||
} | ||
}, | ||
"description": "An error response from the Storage service." | ||
}, | ||
"SignedIdentifier": { | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "An unique identifier of the stored access policy." | ||
}, | ||
"accessPolicy": { | ||
"$ref": "#/definitions/AccessPolicy", | ||
"description": "Access policy" | ||
} | ||
} | ||
}, | ||
"AccessPolicy": { | ||
"properties": { | ||
"startTime": { | ||
"type": "string", | ||
"format": "date-time", | ||
"description": "Start time of the access policy" | ||
}, | ||
"expiryTime": { | ||
"type": "string", | ||
"format": "date-time", | ||
"description": "Expiry time of the access policy" | ||
}, | ||
"permission": { | ||
"type": "string", | ||
"description": "List of abbreviated permissions." | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ce-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersClearLegalHold.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res4303", | ||
"accountName": "sto7280", | ||
"containerName": "container8723", | ||
"api-version": "2020-08-01-preview", | ||
"monitor": "true", | ||
"LegalHold": { | ||
"tags": [ | ||
"tag1", | ||
"tag2", | ||
"tag3" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"hasLegalHold": false, | ||
"tags": [] | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...e/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDelete.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res4079", | ||
"accountName": "sto4506", | ||
"containerName": "container9689", | ||
"api-version": "2020-08-01-preview", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
.../Microsoft.Storage/stable/2021-09-01/examples/BlobContainersDeleteImmutabilityPolicy.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res1581", | ||
"accountName": "sto9621", | ||
"containerName": "container4910", | ||
"immutabilityPolicyName": "default", | ||
"If-Match": "\"8d59f81a7fa7be0\"", | ||
"api-version": "2020-08-01-preview", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default", | ||
"name": "default", | ||
"type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", | ||
"etag": "\"8d59f81a87b40c0\"", | ||
"properties": { | ||
"immutabilityPeriodSinceCreationInDays": 0, | ||
"state": "Unlocked" | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
.../Microsoft.Storage/stable/2021-09-01/examples/BlobContainersExtendImmutabilityPolicy.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res6238", | ||
"accountName": "sto232", | ||
"containerName": "container5023", | ||
"If-Match": "\"8d59f830d0c3bf9\"", | ||
"api-version": "2020-08-01-preview", | ||
"monitor": "true", | ||
"parameters": { | ||
"properties": { | ||
"immutabilityPeriodSinceCreationInDays": 100 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default", | ||
"name": "default", | ||
"type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", | ||
"etag": "\"8d57a8b2ff50332\"", | ||
"properties": { | ||
"immutabilityPeriodSinceCreationInDays": 100, | ||
"state": "Locked" | ||
} | ||
} | ||
} | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...rage/resource-manager/Microsoft.Storage/stable/2021-09-01/examples/BlobContainersGet.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"accountName": "sto6217", | ||
"containerName": "container1634", | ||
"api-version": "2020-08-01-preview", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", | ||
"name": "container1634", | ||
"type": "Microsoft.Storage/storageAccounts/blobServices/containers", | ||
"etag": "\"0x8D592D74CC20EBA\"", | ||
"properties": { | ||
"publicAccess": "None", | ||
"leaseStatus": "Unlocked", | ||
"leaseState": "Available", | ||
"lastModifiedTime": "2018-03-26T05:06:14Z", | ||
"immutabilityPolicy": { | ||
"etag": "\"8d592d74cb3011a\"", | ||
"properties": { | ||
"immutabilityPeriodSinceCreationInDays": 100, | ||
"state": "Locked" | ||
}, | ||
"updateHistory": [ | ||
{ | ||
"update": "put", | ||
"immutabilityPeriodSinceCreationInDays": 3, | ||
"timestamp": "2018-03-26T05:06:11.431403Z", | ||
"objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" | ||
}, | ||
{ | ||
"update": "lock", | ||
"immutabilityPeriodSinceCreationInDays": 3, | ||
"timestamp": "2018-03-26T05:06:13.0907641Z", | ||
"objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" | ||
}, | ||
{ | ||
"update": "extend", | ||
"immutabilityPeriodSinceCreationInDays": 100, | ||
"timestamp": "2018-03-26T05:06:14.7097716Z", | ||
"objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" | ||
} | ||
] | ||
}, | ||
"legalHold": { | ||
"hasLegalHold": true, | ||
"tags": [ | ||
{ | ||
"tag": "tag1", | ||
"timestamp": "2018-03-26T05:06:09.6964643Z", | ||
"objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" | ||
}, | ||
{ | ||
"tag": "tag2", | ||
"timestamp": "2018-03-26T05:06:09.6964643Z", | ||
"objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" | ||
}, | ||
{ | ||
"tag": "tag3", | ||
"timestamp": "2018-03-26T05:06:09.6964643Z", | ||
"objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", | ||
"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" | ||
} | ||
] | ||
}, | ||
"hasImmutabilityPolicy": true, | ||
"hasLegalHold": true | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.