ConnectionOperations interface

Интерфейс, представляющий операции соединения.

Свойства

beginCreateOrUpdateDeployment
beginCreateOrUpdateDeploymentAndWait
beginDeleteDeployment
beginDeleteDeploymentAndWait
createOrUpdateDeployment

Создание или обновление ресурса развертывания подключения Azure OpenAI с указанными параметрами

deleteDeployment

Удаление ресурса развертывания подключения Azure OpenAI по имени

getAllModels

Получите модели в рабочей области Azure ML для всех подключений Azure OpenAI, которые может развернуть пользователь.

getDeployment

Получите развертывания в рамках подключения Azure OpenAI по имени.

getModels

Получите доступные модели при подключении Azure OpenAI.

listDeployments

Получите все развертывания с помощью подключения Azure OpenAI.

Сведения о свойстве

beginCreateOrUpdateDeployment

Предупреждение

Теперь этот API является нерекомендуемым.

use createOrUpdateDeployment instead

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

Значение свойства

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

beginCreateOrUpdateDeploymentAndWait

Предупреждение

Теперь этот API является нерекомендуемым.

use createOrUpdateDeployment instead

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

Значение свойства

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

beginDeleteDeployment

Предупреждение

Теперь этот API является нерекомендуемым.

use deleteDeployment instead

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

Значение свойства

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

beginDeleteDeploymentAndWait

Предупреждение

Теперь этот API является нерекомендуемым.

use deleteDeployment instead

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

Значение свойства

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

createOrUpdateDeployment

Создание или обновление ресурса развертывания подключения Azure OpenAI с указанными параметрами

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

Значение свойства

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

deleteDeployment

Удаление ресурса развертывания подключения Azure OpenAI по имени

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

Значение свойства

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

getAllModels

Получите модели в рабочей области Azure ML для всех подключений Azure OpenAI, которые может развернуть пользователь.

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

Значение свойства

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

getDeployment

Получите развертывания в рамках подключения Azure OpenAI по имени.

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

Значение свойства

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

getModels

Получите доступные модели при подключении Azure OpenAI.

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

Значение свойства

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

listDeployments

Получите все развертывания с помощью подключения Azure OpenAI.

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

Значение свойства

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