MockableCognitiveServicesSubscriptionResource.GetResourceSkus 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.Pageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku> GetResourceSkus (System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
override this.GetResourceSkus : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.AvailableCognitiveServicesSku>
Public Overridable Function GetResourceSkus (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AvailableCognitiveServicesSku)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of AvailableCognitiveServicesSku that may take multiple service requests to iterate over.