ModelsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

CognitiveServicesManagementClient's

models attribute.

Inheritance
builtins.object
ModelsOperations

Constructor

ModelsOperations(*args, **kwargs)

Methods

list

List Models.

list

List Models.

list(location: str, **kwargs: Any) -> Iterable[Model]

Parameters

Name Description
location
Required
str

Resource location. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.cognitiveservices.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\cognitiveservices\\models\\__init__.py'>