MockableCognitiveServicesSubscriptionResource.CalculateModelCapacity 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.
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.