Partilhar via


AzureOpenAIDeploymentOperations Class

AzureOpenAIDeploymentOperations.

You should not instantiate this class directly. Instead, you should create an MLClient instance that instantiates it for you and attaches it as an attribute.

Inheritance
azure.ai.ml._scope_dependent_operations._ScopeDependentOperations
AzureOpenAIDeploymentOperations

Constructor

AzureOpenAIDeploymentOperations(operation_scope: OperationScope, operation_config: OperationConfig, service_client: AzureMachineLearningWorkspaces, connections_operations: WorkspaceConnectionsOperations)

Parameters

Name Description
operation_scope
Required
operation_config
Required
service_client
Required
connections_operations
Required

Methods

list

List Azure OpenAI deployments of the workspace.

list

List Azure OpenAI deployments of the workspace.

list(connection_name: str, **kwargs) -> Iterable[AzureOpenAIDeployment]

Parameters

Name Description
connection_name
Required
str

Name of the connection from which to list deployments

Returns

Type Description

A list of Azure OpenAI deployments