IResourceGroup.ExportTemplateAsync 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.
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 the export options
- cancellationToken
- CancellationToken
Returns
the exported template result
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET