MockableCognitiveServicesSubscriptionResource.GetAll Method

Definition

Overloads

Name Description
GetAll(AzureLocation, CancellationToken)

List managed compute quota usages for a subscription and location.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/managedComputeUsages.
  • Operation Id. : ManagedComputeUsagesOperationGroup_List.
  • Default Api Version. : 2026-03-15-preview.
GetAll(String, String, String, CancellationToken)

Gets the managed compute capacities for a subscription. Returns available capacity per accelerator type, including deployment size information.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/managedComputeCapacities.
  • Operation Id. : ManagedComputeCapacities_List.
  • Default Api Version. : 2026-03-15-preview.

GetAll(AzureLocation, CancellationToken)

Source:
MockableCognitiveServicesSubscriptionResource.cs

List managed compute quota usages for a subscription and location.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/managedComputeUsages.
  • Operation Id. : ManagedComputeUsagesOperationGroup_List.
  • Default Api Version. : 2026-03-15-preview.
public virtual Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.ManagedComputeUsage> GetAll(Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.ManagedComputeUsage>
override this.GetAll : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.ManagedComputeUsage>
Public Overridable Function GetAll (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedComputeUsage)

Parameters

location
AzureLocation

The location name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to

GetAll(String, String, String, CancellationToken)

Source:
MockableCognitiveServicesSubscriptionResource.cs

Gets the managed compute capacities for a subscription. Returns available capacity per accelerator type, including deployment size information.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/managedComputeCapacities.
  • Operation Id. : ManagedComputeCapacities_List.
  • Default Api Version. : 2026-03-15-preview.
public virtual Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.ManagedComputeCapacity> GetAll(string offer, string acceleratorType = default, string deploymentId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.ManagedComputeCapacity>
override this.GetAll : string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.Models.ManagedComputeCapacity>
Public Overridable Function GetAll (offer As String, Optional acceleratorType As String = Nothing, Optional deploymentId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedComputeCapacity)

Parameters

offer
String

The offer name to query capacity for (required).

acceleratorType
String

Optional accelerator type filter to narrow results to a specific accelerator type.

deploymentId
String

Optional deployment resource ID. When provided, returns capacity for the specific region where the deployment is hosted rather than the best available region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

offer is null.

offer is an empty string, and was expected to be non-empty.

Applies to