Share via


DeploymentStacksOperationsExtensions.ExportTemplateAtManagementGroupAsync Method

Definition

Exports the template used to create the Deployment stack at Management Group scope.

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

Parameters

operations
IDeploymentStacksOperations

The operations group for this extension method.

managementGroupId
String

Management Group id.

deploymentStackName
String

Name of the deployment stack.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to