ContainerGroupsOperationsExtensions.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.
Get a list of container groups in the specified subscription.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner>> ListAsync (this Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroupsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroupsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner>>
<Extension()>
Public Function ListAsync (operations As IContainerGroupsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ContainerGroupInner))
Parameters
- operations
- IContainerGroupsOperations
The operations group for this extension method.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
Applies to
Azure SDK for .NET