MockableDataBoxResourceGroupResource.GetAvailableSkusAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET