BlobContainersOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Storage.Models.ListContainerItem>> ListAsync (this Microsoft.Azure.Management.Storage.IBlobContainersOperations operations, string resourceGroupName, string accountName, string maxpagesize = default, string filter = default, string include = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Storage.IBlobContainersOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Storage.Models.ListContainerItem>>
<Extension()>
Public Function ListAsync (operations As IBlobContainersOperations, resourceGroupName As String, accountName As String, Optional maxpagesize As String = Nothing, Optional filter As String = Nothing, Optional include As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ListContainerItem))
Parameters
- operations
- IBlobContainersOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
- String
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- 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
- String
Optional, used to include the properties for soft deleted blob containers. Possible values include: 'deleted'
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET