QuantumExtensions.GetProviderOfferingsAsync Method

Definition

Returns the list of all provider offerings available for the given location. <item> Mocking. To mock this method, please mock GetProviderOfferingsAsync(AzureLocation, String, CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.Quantum.Models.QuantumProviderOffer> GetProviderOfferingsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetProviderOfferingsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quantum.Models.QuantumProviderOffer>
<Extension()>
Public Function GetProviderOfferingsAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of QuantumProviderOffer)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

locationName
AzureLocation

Location.

filter
String

The filter to apply to the operation. Example: '$filter=kind eq 'v1'.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to