你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeploymentsOperationsExtensions.CreateOrUpdate 方法

定义

更新与认知服务帐户关联的指定部署的状态。

public static Microsoft.Azure.Management.CognitiveServices.Models.Deployment CreateOrUpdate(this Microsoft.Azure.Management.CognitiveServices.IDeploymentsOperations operations, string resourceGroupName, string accountName, string deploymentName, Microsoft.Azure.Management.CognitiveServices.Models.Deployment deployment);
static member CreateOrUpdate : Microsoft.Azure.Management.CognitiveServices.IDeploymentsOperations * string * string * string * Microsoft.Azure.Management.CognitiveServices.Models.Deployment -> Microsoft.Azure.Management.CognitiveServices.Models.Deployment
<Extension()>
Public Function CreateOrUpdate (operations As IDeploymentsOperations, resourceGroupName As String, accountName As String, deploymentName As String, deployment As Deployment) As Deployment

参数

operations
IDeploymentsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

accountName
String

认知服务帐户的名称。

deploymentName
String

与认知服务帐户关联的部署的名称

deployment
Deployment

部署属性。

返回

适用于