Delen via


ServiceOperationsExtensions.ListAvailableSkusByResourceGroupAsync Method

Definition

This method provides the list of available skus for the given subscription, resource group and location.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBox.Models.SkuInformation>> ListAvailableSkusByResourceGroupAsync (this Microsoft.Azure.Management.DataBox.IServiceOperations operations, string resourceGroupName, string location, Microsoft.Azure.Management.DataBox.Models.AvailableSkuRequest availableSkuRequest, System.Threading.CancellationToken cancellationToken = default);
static member ListAvailableSkusByResourceGroupAsync : Microsoft.Azure.Management.DataBox.IServiceOperations * string * string * Microsoft.Azure.Management.DataBox.Models.AvailableSkuRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBox.Models.SkuInformation>>
<Extension()>
Public Function ListAvailableSkusByResourceGroupAsync (operations As IServiceOperations, resourceGroupName As String, location As String, availableSkuRequest As AvailableSkuRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SkuInformation))

Parameters

operations
IServiceOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name

location
String

The location of the resource

availableSkuRequest
AvailableSkuRequest

Filters for showing the available skus.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to