共用方式為


BlobContainerCollection.GetAll Method

Definition

Overloads

GetAll(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
GetAll(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

GetAll(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.Pageable<Azure.ResourceManager.Storage.BlobContainerResource> GetAll (int? maxpagesize = default, string filter = default, Azure.ResourceManager.Storage.Models.BlobContainerState? include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.BlobContainerResource>
override this.GetAll : Nullable<int> * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.BlobContainerResource>
Public Overridable Function GetAll (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 Pageable(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

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

Applies to

GetAll(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.Pageable<Azure.ResourceManager.Storage.BlobContainerResource> GetAll (string maxpagesize, string filter, Azure.ResourceManager.Storage.Models.BlobContainerState? include, System.Threading.CancellationToken cancellationToken);
public virtual Azure.Pageable<Azure.ResourceManager.Storage.BlobContainerResource> GetAll (string maxpagesize = default, string filter = default, Azure.ResourceManager.Storage.Models.BlobContainerState? include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.BlobContainerResource>
override this.GetAll : string * string * Nullable<Azure.ResourceManager.Storage.Models.BlobContainerState> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Storage.BlobContainerResource>
Public Overridable Function GetAll (maxpagesize As String, filter As String, include As Nullable(Of BlobContainerState), cancellationToken As CancellationToken) As Pageable(Of BlobContainerResource)
Public Overridable Function GetAll (Optional maxpagesize As String = Nothing, Optional filter As String = Nothing, Optional include As Nullable(Of BlobContainerState) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to