IComputeSkus.ListByResourceTypeAsync Method

Definition

Lists all the skus with the specified resource type.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Compute.Fluent.IComputeSku>> ListByResourceTypeAsync (Microsoft.Azure.Management.Compute.Fluent.ComputeResourceType resourceType, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceTypeAsync : 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 ListByResourceTypeAsync (resourceType As ComputeResourceType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IComputeSku))

Parameters

resourceType
ComputeResourceType

The compute resource type.

cancellationToken
CancellationToken

Returns

Applies to