Share via


ModelCapacitiesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CognitiveServicesManagementClient's

<xref:model_capacities> attribute.

Constructor

ModelCapacitiesOperations(*args, **kwargs)

Methods

list

List ModelCapacities.

list

List ModelCapacities.

list(model_format: str, model_name: str, model_version: str, **kwargs: Any) -> ItemPaged[ModelCapacityListResultValueItem]

Parameters

Name Description
model_format
Required
str

The format of the Model. Required.

model_name
Required
str

The name of the Model. Required.

model_version
Required
str

The version of the Model. Required.

Returns

Type Description

An iterator like instance of either ModelCapacityListResultValueItem or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.cognitiveservices.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv86\\Lib\\site-packages\\azure\\mgmt\\cognitiveservices\\models\\__init__.py'>