Deployments - Export Template
Hiermee exporteert u de sjabloon die wordt gebruikt voor de opgegeven implementatie.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate?api-version=2025-04-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
deployment
|
path | True |
string minLength: 1maxLength: 64 pattern: ^[-\w\._\(\)]+$ |
De naam van de implementatie. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
De naam van de resourcegroep. De naam is hoofdletterongevoelig. |
|
subscription
|
path | True |
string |
De microsoft Azure-abonnements-id. |
|
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK: retourneert de sjabloon. |
|
| Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
| Name | Description |
|---|---|
| user_impersonation | Uw gebruikersaccount imiteren |
Definities
| Name | Description |
|---|---|
|
Cloud |
Een foutbericht voor een aanvraag voor resourcebeheer. |
|
Deployment |
Het exportresultaat van de implementatie. |
|
Error |
Aanvullende informatie over de resourcebeheerfout. |
|
Error |
Foutreactie |
CloudError
Een foutbericht voor een aanvraag voor resourcebeheer.
| Name | Type | Description |
|---|---|---|
| error |
Foutreactie |
DeploymentExportResult
Het exportresultaat van de implementatie.
| Name | Type | Description |
|---|---|---|
| template |
object |
De sjablooninhoud. |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
| Name | Type | Description |
|---|---|---|
| info |
object |
De aanvullende informatie. |
| type |
string |
Het extra informatietype. |
ErrorResponse
Foutreactie
| Name | Type | Description |
|---|---|---|
| additionalInfo |
De fout bevat aanvullende informatie. |
|
| code |
string |
De foutcode. |
| details |
De foutdetails. |
|
| message |
string |
Het foutbericht. |
| target |
string |
Het foutdoel. |