Compartilhar via


DeploymentStacksOperationsExtensions.CreateOrUpdateAtSubscriptionAsync Method

Definition

Creates or updates a Deployment stack at Subscription scope.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStack> CreateOrUpdateAtSubscriptionAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string deploymentStackName, Microsoft.Azure.Management.Resources.Models.DeploymentStack deploymentStack, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAtSubscriptionAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * Microsoft.Azure.Management.Resources.Models.DeploymentStack * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStack>
<Extension()>
Public Function CreateOrUpdateAtSubscriptionAsync (operations As IDeploymentStacksOperations, deploymentStackName As String, deploymentStack As DeploymentStack, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentStack)

Parameters

operations
IDeploymentStacksOperations

The operations group for this extension method.

deploymentStackName
String

Name of the deployment stack.

deploymentStack
DeploymentStack
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to