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>