Bagikan melalui


IComputeSkus.ListbyRegionAndResourceTypeAsync Method

Definition

Lists all the skus with the specified resource type in the given region.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Compute.Fluent.IComputeSku>> ListbyRegionAndResourceTypeAsync (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region, Microsoft.Azure.Management.Compute.Fluent.ComputeResourceType resourceType, System.Threading.CancellationToken cancellationToken = default);
abstract member ListbyRegionAndResourceTypeAsync : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region * Microsoft.Azure.Management.Compute.Fluent.ComputeResourceType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Compute.Fluent.IComputeSku>>
Public Function ListbyRegionAndResourceTypeAsync (region As Region, resourceType As ComputeResourceType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IComputeSku))

Parameters

region
Region

The region.

resourceType
ComputeResourceType

The resource type.

cancellationToken
CancellationToken

Returns

Applies to