共用方式為


ArmDeploymentResource.ExportTemplate(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 Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentExportResult> ExportTemplate (System.Threading.CancellationToken cancellationToken = default);
abstract member ExportTemplate : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentExportResult>
override this.ExportTemplate : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentExportResult>
Public Overridable Function ExportTemplate (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArmDeploymentExportResult)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to