ConnectionOperations interface

Interface représentant une opération de connexion.

Propriétés

beginCreateOrUpdateDeployment
beginCreateOrUpdateDeploymentAndWait
beginDeleteDeployment
beginDeleteDeploymentAndWait
createOrUpdateDeployment

Créez ou mettez à jour la ressource de déploiement de connexion Azure OpenAI avec les paramètres spécifiés

deleteDeployment

Supprimer la ressource de déploiement de connexion Azure OpenAI par nom

getAllModels

Obtenez des modèles sous l’espace de travail Azure ML pour toutes les connexions Azure OpenAI que l’utilisateur peut déployer.

getDeployment

Obtenez les déploiements sous la connexion Azure OpenAI par nom.

getModels

Obtenez les modèles disponibles sous la connexion Azure OpenAI.

listDeployments

Obtenez tous les déploiements sous la connexion Azure OpenAI.

Détails de la propriété

beginCreateOrUpdateDeployment

Avertissement

Cette API est à présent déconseillée.

use createOrUpdateDeployment instead

beginCreateOrUpdateDeployment: (resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams) => Promise<SimplePollerLike<OperationState<EndpointDeploymentResourcePropertiesBasicResource>, EndpointDeploymentResourcePropertiesBasicResource>>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams) => Promise<SimplePollerLike<OperationState<EndpointDeploymentResourcePropertiesBasicResource>, EndpointDeploymentResourcePropertiesBasicResource>>

beginCreateOrUpdateDeploymentAndWait

Avertissement

Cette API est à présent déconseillée.

use createOrUpdateDeployment instead

beginCreateOrUpdateDeploymentAndWait: (resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams) => Promise<EndpointDeploymentResourcePropertiesBasicResource>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams) => Promise<EndpointDeploymentResourcePropertiesBasicResource>

beginDeleteDeployment

Avertissement

Cette API est à présent déconseillée.

use deleteDeployment instead

beginDeleteDeployment: (resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteDeploymentAndWait

Avertissement

Cette API est à présent déconseillée.

use deleteDeployment instead

beginDeleteDeploymentAndWait: (resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams) => Promise<void>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams) => Promise<void>

createOrUpdateDeployment

Créez ou mettez à jour la ressource de déploiement de connexion Azure OpenAI avec les paramètres spécifiés

createOrUpdateDeployment: (resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams) => PollerLike<OperationState<EndpointDeploymentResourcePropertiesBasicResource>, EndpointDeploymentResourcePropertiesBasicResource>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, body: EndpointDeploymentResourcePropertiesBasicResource, options?: ConnectionCreateOrUpdateDeploymentOptionalParams) => PollerLike<OperationState<EndpointDeploymentResourcePropertiesBasicResource>, EndpointDeploymentResourcePropertiesBasicResource>

deleteDeployment

Supprimer la ressource de déploiement de connexion Azure OpenAI par nom

deleteDeployment: (resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams) => PollerLike<OperationState<void>, void>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionDeleteDeploymentOptionalParams) => PollerLike<OperationState<void>, void>

getAllModels

Obtenez des modèles sous l’espace de travail Azure ML pour toutes les connexions Azure OpenAI que l’utilisateur peut déployer.

getAllModels: (resourceGroupName: string, workspaceName: string, options?: ConnectionGetAllModelsOptionalParams) => Promise<EndpointModels>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, options?: ConnectionGetAllModelsOptionalParams) => Promise<EndpointModels>

getDeployment

Obtenez les déploiements sous la connexion Azure OpenAI par nom.

getDeployment: (resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionGetDeploymentOptionalParams) => Promise<EndpointDeploymentResourcePropertiesBasicResource>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, deploymentName: string, options?: ConnectionGetDeploymentOptionalParams) => Promise<EndpointDeploymentResourcePropertiesBasicResource>

getModels

Obtenez les modèles disponibles sous la connexion Azure OpenAI.

getModels: (resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionGetModelsOptionalParams) => PagedAsyncIterableIterator<EndpointModelProperties, EndpointModelProperties[], PageSettings>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionGetModelsOptionalParams) => PagedAsyncIterableIterator<EndpointModelProperties, EndpointModelProperties[], PageSettings>

listDeployments

Obtenez tous les déploiements sous la connexion Azure OpenAI.

listDeployments: (resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionListDeploymentsOptionalParams) => PagedAsyncIterableIterator<EndpointDeploymentResourcePropertiesBasicResource, EndpointDeploymentResourcePropertiesBasicResource[], PageSettings>

Valeur de propriété

(resourceGroupName: string, workspaceName: string, connectionName: string, options?: ConnectionListDeploymentsOptionalParams) => PagedAsyncIterableIterator<EndpointDeploymentResourcePropertiesBasicResource, EndpointDeploymentResourcePropertiesBasicResource[], PageSettings>