Dela via


ArmDeploymentResource.ExportTemplateAsync(CancellationToken) Method

Definition

Exports the template used for specified deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
  • Operation Id: Deployments_ExportTemplateAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentExportResult>> ExportTemplateAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ExportTemplateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentExportResult>>
override this.ExportTemplateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentExportResult>>
Public Overridable Function ExportTemplateAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentExportResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to