Delen via


BlobContainerCollection.GetAllAsync Method

Definition

Overloads

GetAllAsync(Nullable<Int32>, String, Nullable<BlobContainerState>, CancellationToken)

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers
  • Operation Id: BlobContainers_List
  • Default Api Version: 2023-05-01
  • Resource: BlobContainerResource
GetAllAsync(String, String, Nullable<BlobContainerState>, CancellationToken)

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers
  • Operation Id: BlobContainers_List
  • Default Api Version: 2022-09-01
  • Resource: BlobContainerResource

GetAllAsync(Nullable<Int32>, String, Nullable<BlobContainerState>, CancellationToken)

Source:
BlobContainerCollection.cs

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers
  • Operation Id: BlobContainers_List
  • Default Api Version: 2023-05-01
  • Resource: BlobContainerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.BlobContainerResource> GetAllAsync (int? maxpagesize = default, string filter = default, Azure.ResourceManager.Storage.Models.BlobContainerState? include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.BlobContainerResource>
override this.GetAllAsync : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.BlobContainerResource>
Public Overridable Function GetAllAsync (Optional maxpagesize As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional include As Nullable(Of BlobContainerState) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BlobContainerResource)

Parameters

maxpagesize
Nullable<Int32>

Optional. Specified maximum number of containers that can be included in the list.

filter
String

Optional. When specified, only container names starting with the filter will be listed.

include
Nullable<BlobContainerState>

Optional, used to include the properties for soft deleted blob containers.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BlobContainerResource that may take multiple service requests to iterate over.

Applies to

GetAllAsync(String, String, Nullable<BlobContainerState>, CancellationToken)

Source:
BlobContainerCollection.cs
Source:
BlobContainerCollection.cs

Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers
  • Operation Id: BlobContainers_List
  • Default Api Version: 2022-09-01
  • Resource: BlobContainerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.BlobContainerResource> GetAllAsync (string maxpagesize, string filter, Azure.ResourceManager.Storage.Models.BlobContainerState? include, System.Threading.CancellationToken cancellationToken);
public virtual Azure.AsyncPageable<Azure.ResourceManager.Storage.BlobContainerResource> GetAllAsync (string maxpagesize = default, string filter = default, Azure.ResourceManager.Storage.Models.BlobContainerState? include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.BlobContainerResource>
override this.GetAllAsync : string * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Storage.BlobContainerResource>
Public Overridable Function GetAllAsync (maxpagesize As String, filter As String, include As Nullable(Of BlobContainerState), cancellationToken As CancellationToken) As AsyncPageable(Of BlobContainerResource)
Public Overridable Function GetAllAsync (Optional maxpagesize As String = Nothing, Optional filter As String = Nothing, Optional include As Nullable(Of BlobContainerState) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BlobContainerResource)

Parameters

maxpagesize
String

Optional. Specified maximum number of containers that can be included in the list.

filter
String

Optional. When specified, only container names starting with the filter will be listed.

include
Nullable<BlobContainerState>

Optional, used to include the properties for soft deleted blob containers.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BlobContainerResource that may take multiple service requests to iterate over.

Applies to