ResourceGroups

Captures the specified resource group as a template.

post/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate

Parameters

../../../../../common-types/resource-management/v1/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref
../../../../../common-types/resource-management/v1/types.json#/components/parameters/ResourceGroupNameParameter — unresolved $ref
../../../../../common-types/resource-management/v1/types.json#/components/parameters/ApiVersionParameter — unresolved $ref

Request body

resourcesstring[]

The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.

optionsstring

The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'

Response

OK - Returns the result of the export.

templateobject

The template content.

errorErrorResponse — unresolved $ref

Changes