QuantumExtensions.GetProviderOfferings Method

Definition

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

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