ArmDeploymentResource.ExportTemplateAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.