共用方式為


MockableCognitiveServicesSubscriptionResource.CalculateModelCapacityAsync Method

Definition

Model capacity calculator.

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

Parameters

content
CalculateModelCapacityContent

Check Domain Availability parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to