DataBoxExtensions.GetAvailableSkus 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 static Azure.Pageable<Azure.ResourceManager.DataBox.Models.DataBoxSkuInformation> GetAvailableSkus (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.AvailableSkusContent content, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableSkus : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.AvailableSkusContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataBox.Models.DataBoxSkuInformation>
<Extension()>
Public Function GetAvailableSkus (resourceGroupResource As ResourceGroupResource, location As AzureLocation, content As AvailableSkusContent, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataBoxSkuInformation)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

location
AzureLocation

The location of the resource.

content
AvailableSkusContent

Filters for showing the available skus.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

resourceGroupResource or content is null.

Applies to