共用方式為


ContainerInstanceManagementClientExtensions.ListCapabilitiesAsync Method

Definition

Get the list of capabilities of the location.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.CapabilitiesListResultInner> ListCapabilitiesAsync (this Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerInstanceManagementClient operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListCapabilitiesAsync : Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerInstanceManagementClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.CapabilitiesListResultInner>
<Extension()>
Public Function ListCapabilitiesAsync (operations As IContainerInstanceManagementClient, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapabilitiesListResultInner)

Parameters

operations
IContainerInstanceManagementClient

The operations group for this extension method.

location
String

The identifier for the physical azure location.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get the list of CPU/memory/GPU capabilities of a region.

Applies to