Share via


DeploymentsOperationsExtensions.CreateOrUpdate Method

Definition

Update the state of specified deployments associated with the Cognitive Services account.

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

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The name of Cognitive Services account.

deploymentName
String

The name of the deployment associated with the Cognitive Services Account

deployment
Deployment

The deployment properties.

Returns

Applies to