Share via


MockableCognitiveServicesSubscriptionResource.CalculateModelCapacity Method

Definition

Model capacity calculator.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/calculateModelCapacity
  • Operation Id: CalculateModelCapacity
  • Default Api Version: 2024-10-01
public virtual Azure.Response<Azure.ResourceManager.CognitiveServices.Models.CalculateModelCapacityResult> CalculateModelCapacity (Azure.ResourceManager.CognitiveServices.Models.CalculateModelCapacityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CalculateModelCapacity : Azure.ResourceManager.CognitiveServices.Models.CalculateModelCapacityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.Models.CalculateModelCapacityResult>
override this.CalculateModelCapacity : Azure.ResourceManager.CognitiveServices.Models.CalculateModelCapacityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.Models.CalculateModelCapacityResult>
Public Overridable Function CalculateModelCapacity (content As CalculateModelCapacityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CalculateModelCapacityResult)

Parameters

content
CalculateModelCapacityContent

Check Domain Availability parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to