DeploymentsOperationsExtensions.UpdateAsync(IDeploymentsOperations, String, String, String, String, DeploymentResource, CancellationToken) Method

Definition

Operation to update an exiting Deployment.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.DeploymentResource> UpdateAsync (this Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations operations, string resourceGroupName, string serviceName, string appName, string deploymentName, Microsoft.Azure.Management.AppPlatform.Models.DeploymentResource deploymentResource, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations * string * string * string * string * Microsoft.Azure.Management.AppPlatform.Models.DeploymentResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.DeploymentResource>
<Extension()>
Public Function UpdateAsync (operations As IDeploymentsOperations, resourceGroupName As String, serviceName As String, appName As String, deploymentName As String, deploymentResource As DeploymentResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentResource)

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

appName
String

The name of the App resource.

deploymentName
String

The name of the Deployment resource.

deploymentResource
DeploymentResource

Parameters for the update operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<DeploymentResource>

Applies to