Dela via


IResourceGroup.ExportTemplateAsync Method

Definition

Captures the specified resource group as a template.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroupExportResult> ExportTemplateAsync (Microsoft.Azure.Management.ResourceManager.Fluent.ResourceGroupExportTemplateOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member ExportTemplateAsync : Microsoft.Azure.Management.ResourceManager.Fluent.ResourceGroupExportTemplateOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroupExportResult>
Public Function ExportTemplateAsync (options As ResourceGroupExportTemplateOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IResourceGroupExportResult)

Parameters

options
ResourceGroupExportTemplateOptions

options the export options

cancellationToken
CancellationToken

Returns

the exported template result

Applies to