Skip to content
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
Expand Up @@ -149,6 +149,9 @@
"x-ms-examples": {
"ListContainers": {
"$ref": "./examples/BlobContainersList.json"
},
"ListDeletedContainers": {
"$ref": "./examples/DeletedBlobContainersList.json"
}
},
"description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.",
Expand Down Expand Up @@ -176,6 +179,20 @@
"in": "query",
"type": "string",
"description": "Optional. When specified, only container names starting with the filter will be listed."
},
{
"name": "$include",
"in": "query",
"required": false,
"type": "string",
"enum": [
"deleted"
],
"x-ms-enum": {
"name": "ListContainersInclude",
"modelAsString": true
},
"description": "Optional, used to include the properties for soft deleted blob containers."
}
],
"responses": {
Expand Down Expand Up @@ -800,6 +817,27 @@
"definitions": {
"ContainerProperties": {
"properties": {
"version": {
"type": "string",
"readOnly": true,
"description": "The version of the deleted blob container."
},
"deleted": {
"type": "boolean",
"readOnly": true,
"description": "Indicates whether the blob container was deleted."
},
"deletedTime": {
"type": "string",
"format": "date-time",
"readOnly": true,
"description": "Blob container deletion time."
},
"remainingRetentionDays": {
"type": "integer",
"readOnly": true,
"description": "Remaining retention days for soft deleted blob container."
},
"defaultEncryptionScope": {
"type": "string",
"description": "Default the container to use specified encryption scope for all writes."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "res9290",
"accountName": "sto1590",
"$include": "deleted",
"api-version": "2019-06-01",
"monitor": "true"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644",
"name": "container1644",
"type": "Microsoft.Storage/storageAccounts/blobServices/containers",
"etag": "\"0x8D589847D51C7DE\"",
"properties": {
"publicAccess": "Container",
"leaseStatus": "Unlocked",
"leaseState": "Available",
"lastModifiedTime": "2018-03-14T08:20:47Z",
"hasImmutabilityPolicy": false,
"hasLegalHold": false
}
},
{
"id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052",
"name": "container4052",
"type": "Microsoft.Storage/storageAccounts/blobServices/containers",
"etag": "\"0x8D589847DAB5AF9\"",
"properties": {
"publicAccess": "None",
"leaseStatus": "Unlocked",
"leaseState": "Expired",
"lastModifiedTime": "2018-03-14T08:20:47Z",
"hasImmutabilityPolicy": false,
"hasLegalHold": false,
"version": "1234567890",
"deleted": true,
"deletedTime": "2019-12-14T08:20:47Z",
"remainingRetentionDays": 30
}
}
]
}
}
}
}