Skip to main content

restores

Creates, updates, deletes, gets or lists a restores resource.

Overview

Namerestores
TypeResource
Idazure.recovery_services_backup.restores

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
triggerexecvaultName, resourceGroupName, subscriptionId, fabricName, containerName, protectedItemName, recoveryPointIdapi-version, x-ms-authorization-auxiliaryRestores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
GetProtectedItemOperationResult API.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
containerNamestringContainer name associated with the backed up items.
fabricNamestringFabric name associated with the backed up items.
protectedItemNamestringBacked up item to be restored.
recoveryPointIdstringRecovery point ID which represents the backed up data to be restored.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
subscriptionIdstringThe subscription Id.
vaultNamestringThe name of the recovery services vault.
api-versionstringClient Api Version.
x-ms-authorization-auxiliarystring

Lifecycle Methods

Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use
GetProtectedItemOperationResult API.

EXEC azure.recovery_services_backup.restores.trigger 
@vaultName='{{ vaultName }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@fabricName='{{ fabricName }}' --required,
@containerName='{{ containerName }}' --required,
@protectedItemName='{{ protectedItemName }}' --required,
@recoveryPointId='{{ recoveryPointId }}' --required,
@api-version='{{ api-version }}',
@x-ms-authorization-auxiliary='{{ x-ms-authorization-auxiliary }}'
@@json=
'{
"properties": "{{ properties }}"
}'
;