DeploymentsOperationsExtensions.BeginCreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update the state of specified deployments associated with the Cognitive Services account.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.Deployment> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.CognitiveServices.IDeploymentsOperations operations, string resourceGroupName, string accountName, string deploymentName, Microsoft.Azure.Management.CognitiveServices.Models.Deployment deployment, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.CognitiveServices.IDeploymentsOperations * string * string * string * Microsoft.Azure.Management.CognitiveServices.Models.Deployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CognitiveServices.Models.Deployment>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IDeploymentsOperations, resourceGroupName As String, accountName As String, deploymentName As String, deployment As Deployment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET