MockableCognitiveServicesSubscriptionResource.GetResourceSkusAsync 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.
Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/skus
- Operation Id: ResourceSkus_List
- Default Api Version: 2024-10-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku> GetResourceSkusAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
override this.GetResourceSkusAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
Public Overridable Function GetResourceSkusAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvailableCognitiveServicesSku)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of AvailableCognitiveServicesSku that may take multiple service requests to iterate over.