MockableDataBoxResourceGroupResource.GetAvailableSkusAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/locations/{location}/availableSkus
  • Operation Id: Service_ListAvailableSkusByResourceGroup
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataBox.Models.DataBoxSkuInformation> GetAvailableSkusAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.AvailableSkusContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableSkusAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.AvailableSkusContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataBox.Models.DataBoxSkuInformation>
override this.GetAvailableSkusAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.AvailableSkusContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataBox.Models.DataBoxSkuInformation>
Public Overridable Function GetAvailableSkusAsync (location As AzureLocation, content As AvailableSkusContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataBoxSkuInformation)

Parameters

location
AzureLocation

The location of the resource.

content
AvailableSkusContent

Filters for showing the available skus.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DataBoxSkuInformation that may take multiple service requests to iterate over.

Exceptions

content is null.

Applies to