ResourceGroupsOperationsExtensions.ExportTemplateAsync(IResourceGroupsOperations, String, ExportTemplateRequestInner, CancellationToken) Method
Definition
Captures the specified resource group as a template.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ResourceGroupExportResultInner> ExportTemplateAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroupsOperations operations, string resourceGroupName, Microsoft.Azure.Management.ResourceManager.Fluent.Models.ExportTemplateRequestInner parameters, System.Threading.CancellationToken cancellationToken = null);
static member ExportTemplateAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroupsOperations * string * Microsoft.Azure.Management.ResourceManager.Fluent.Models.ExportTemplateRequestInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ResourceGroupExportResultInner>
Parameters
- operations
- IResourceGroupsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group to be created or updated.
- parameters
- ExportTemplateRequestInner
Parameters supplied to the export template resource group operation.
- cancellationToken
- CancellationToken
The cancellation token.