共用方式為


RegionsOperationsExtensions.ListBySkuAsync Method

Definition

Gets the available Regions for a given sku

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.MessagingRegions>> ListBySkuAsync (this Microsoft.Azure.Management.EventHub.Fluent.IRegionsOperations operations, string sku, System.Threading.CancellationToken cancellationToken = default);
static member ListBySkuAsync : Microsoft.Azure.Management.EventHub.Fluent.IRegionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.MessagingRegions>>
<Extension()>
Public Function ListBySkuAsync (operations As IRegionsOperations, sku As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of MessagingRegions))

Parameters

operations
IRegionsOperations

The operations group for this extension method.

sku
String

The sku type.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to