DeploymentsOperations.ExportTemplate(String, String, CancellationToken) Method

Definition

Exports the template used for specified deployment.

public virtual Azure.Response<Azure.ResourceManager.Resources.Models.DeploymentExportResult> ExportTemplate (string resourceGroupName, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExportTemplate : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.DeploymentExportResult>
override this.ExportTemplate : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.DeploymentExportResult>
Public Overridable Function ExportTemplate (resourceGroupName As String, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeploymentExportResult)

Parameters

resourceGroupName
System.String

The name of the resource group. The name is case insensitive.

deploymentName
System.String

The name of the deployment.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<DeploymentExportResult>

Applies to