Share via


DeploymentStacksOperationsExtensions.ExportTemplateAtSubscriptionAsync Method

Definition

Exports the template used to create the Deployment stack at Subscription scope.

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

Parameters

operations
IDeploymentStacksOperations

The operations group for this extension method.

deploymentStackName
String

Name of the deployment stack.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to