Trigger für die Wiederherstellung einer BackupInstance
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore?api-version=2026-06-01
URI-Parameter
| Name |
In |
Erforderlich |
Typ |
Beschreibung |
|
backupInstanceName
|
path |
True
|
string
|
Der Name der BackupInstanceResource
|
|
resourceGroupName
|
path |
True
|
string
minLength: 1 maxLength: 90
|
Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.
|
|
subscriptionId
|
path |
True
|
string
(uuid)
|
Die ID des Zielabonnements. Der Wert muss eine UUID sein.
|
|
vaultName
|
path |
True
|
string
minLength: 2 maxLength: 50 pattern: ^[A-Za-z][-A-Za-z0-9]*[A-Za-z0-9]$
|
Der Name des Backup-Tresors.
|
|
api-version
|
query |
True
|
string
minLength: 1
|
Die API-Version, die für diesen Vorgang verwendet werden soll.
|
| Name |
Erforderlich |
Typ |
Beschreibung |
|
x-ms-authorization-auxiliary
|
|
string
|
|
Anforderungstext
Beim Anforderungstext kann es sich um eines der folgenden Elemente handeln:
AzureBackupRecoveryPointBasedRestoreRequest
Azure Backup RecoveryPoint-basierte Wiederherstellungsanforderung
| Name |
Erforderlich |
Typ |
Beschreibung |
|
objectType
|
True
|
string:
AzureBackupRecoveryPointBasedRestoreRequest
|
|
|
recoveryPointId
|
True
|
string
|
|
|
restoreTargetInfo
|
True
|
RestoreTargetInfoBase:
|
Ruft die Wiederherstellungszielinformationen ab oder legt diese fest.
|
|
sourceDataStoreType
|
True
|
SourceDataStoreType
|
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
|
|
identityDetails
|
|
IdentityDetails
|
Enthält Informationen zu den Identitätsdetails für die BI.
Wenn er null ist, wird der Standardwert als "System zugewiesen" betrachtet.
|
|
resourceGuardOperationRequests
|
|
string[]
|
ResourceGuardOperationRequests, für die LAC-Überprüfung ausgeführt wird
|
|
sourceResourceId
|
|
string
|
Vollqualifizierte Azure Resource Manager-ID der Datenquelle, die wiederhergestellt wird.
|
AzureBackupRecoveryTimeBasedRestoreRequest
AzureBackup RecoveryPointTime-basierte Wiederherstellungsanforderung
| Name |
Erforderlich |
Typ |
Beschreibung |
|
objectType
|
True
|
string:
AzureBackupRecoveryTimeBasedRestoreRequest
|
|
|
recoveryPointTime
|
True
|
string
|
Die Wiederherstellungszeit im ISO 8601-Formatbeispiel - 2020-08-14T17:30:00.0000000Z.
|
|
restoreTargetInfo
|
True
|
RestoreTargetInfoBase:
|
Ruft die Wiederherstellungszielinformationen ab oder legt diese fest.
|
|
sourceDataStoreType
|
True
|
SourceDataStoreType
|
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
|
|
identityDetails
|
|
IdentityDetails
|
Enthält Informationen zu den Identitätsdetails für die BI.
Wenn er null ist, wird der Standardwert als "System zugewiesen" betrachtet.
|
|
resourceGuardOperationRequests
|
|
string[]
|
ResourceGuardOperationRequests, für die LAC-Überprüfung ausgeführt wird
|
|
sourceResourceId
|
|
string
|
Vollqualifizierte Azure Resource Manager-ID der Datenquelle, die wiederhergestellt wird.
|
AzureBackupRestoreWithRehydrationRequest
AzureBackup Restore mit Rehydration-Anforderung
| Name |
Erforderlich |
Typ |
Beschreibung |
|
objectType
|
True
|
string:
AzureBackupRestoreWithRehydrationRequest
|
|
|
recoveryPointId
|
True
|
string
|
|
|
rehydrationPriority
|
True
|
RehydrationPriority
|
Priorität, die für die Rehydratation verwendet werden soll. Werte hoch oder Standard
|
|
rehydrationRetentionDuration
|
True
|
string
|
Aufbewahrungsdauer im ISO 8601-Format, d. h. P10D.
|
|
restoreTargetInfo
|
True
|
RestoreTargetInfoBase:
|
Ruft die Wiederherstellungszielinformationen ab oder legt diese fest.
|
|
sourceDataStoreType
|
True
|
SourceDataStoreType
|
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
|
|
identityDetails
|
|
IdentityDetails
|
Enthält Informationen zu den Identitätsdetails für die BI.
Wenn er null ist, wird der Standardwert als "System zugewiesen" betrachtet.
|
|
resourceGuardOperationRequests
|
|
string[]
|
ResourceGuardOperationRequests, für die LAC-Überprüfung ausgeführt wird
|
|
sourceResourceId
|
|
string
|
Vollqualifizierte Azure Resource Manager-ID der Datenquelle, die wiederhergestellt wird.
|
Antworten
| Name |
Typ |
Beschreibung |
|
200 OK
|
OperationJobExtendedInfo
|
Der Azure-Vorgang wurde erfolgreich abgeschlossen.
|
|
202 Accepted
|
|
Ressourcenvorgang akzeptiert.
Header
- Azure-AsyncOperation: string
- Location: string
|
|
Other Status Codes
|
CloudError
|
Unerwartete Fehlerantwort.
|
Sicherheit
azure_auth
Azure Active Directory OAuth2 Flow.
Typ:
oauth2
Ablauf:
implicit
Autorisierungs-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiche
| Name |
Beschreibung |
|
user_impersonation
|
Sich als Ihr Benutzerkonto ausgeben
|
Beispiele
Trigger Restore
Beispielanforderung
POST https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/restore?api-version=2026-06-01
{
"identityDetails": {
"useSystemAssignedIdentity": false,
"userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami"
},
"objectType": "AzureBackupRecoveryPointBasedRestoreRequest",
"recoveryPointId": "hardcodedRP",
"restoreTargetInfo": {
"datasourceAuthCredentials": {
"objectType": "SecretStoreBasedAuthCredentials",
"secretStoreResource": {
"secretStoreType": "AzureKeyVault",
"uri": "https://samplevault.vault.azure.net/secrets/credentials"
}
},
"datasourceInfo": {
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"objectType": "Datasource",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb",
"resourceLocation": "",
"resourceName": "targetdb",
"resourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"resourceUri": ""
},
"datasourceSetInfo": {
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"objectType": "DatasourceSet",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceLocation": "",
"resourceName": "viveksipgtest",
"resourceType": "Microsoft.DBforPostgreSQL/servers",
"resourceUri": ""
},
"objectType": "RestoreTargetInfo",
"recoveryOption": "FailIfExists",
"restoreLocation": "southeastasia"
},
"sourceDataStoreType": "VaultStore",
"sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"
}
import com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryPointBasedRestoreRequest;
import com.azure.resourcemanager.dataprotection.models.Datasource;
import com.azure.resourcemanager.dataprotection.models.DatasourceSet;
import com.azure.resourcemanager.dataprotection.models.IdentityDetails;
import com.azure.resourcemanager.dataprotection.models.RecoveryOption;
import com.azure.resourcemanager.dataprotection.models.RestoreTargetInfo;
import com.azure.resourcemanager.dataprotection.models.SecretStoreBasedAuthCredentials;
import com.azure.resourcemanager.dataprotection.models.SecretStoreResource;
import com.azure.resourcemanager.dataprotection.models.SecretStoreType;
import com.azure.resourcemanager.dataprotection.models.SourceDataStoreType;
import java.util.HashMap;
import java.util.Map;
/**
* Samples for BackupInstances TriggerRestore.
*/
public final class Main {
/*
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestore.json
*/
/**
* Sample code: Trigger Restore.
*
* @param manager Entry point to DataProtectionManager.
*/
public static void triggerRestore(com.azure.resourcemanager.dataprotection.DataProtectionManager manager) {
manager.backupInstances().triggerRestore("000pikumar", "PratikPrivatePreviewVault1", "testInstance1",
new AzureBackupRecoveryPointBasedRestoreRequest().withRestoreTargetInfo(new RestoreTargetInfo()
.withRecoveryOption(RecoveryOption.FAIL_IF_EXISTS).withRestoreLocation("southeastasia")
.withDatasourceInfo(new Datasource().withDatasourceType("Microsoft.DBforPostgreSQL/servers/databases")
.withObjectType("Datasource")
.withResourceId(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb")
.withResourceLocation("").withResourceName("targetdb")
.withResourceType("Microsoft.DBforPostgreSQL/servers/databases").withResourceUri(""))
.withDatasourceSetInfo(new DatasourceSet()
.withDatasourceType("Microsoft.DBforPostgreSQL/servers/databases").withObjectType("DatasourceSet")
.withResourceId(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest")
.withResourceLocation("").withResourceName("viveksipgtest")
.withResourceType("Microsoft.DBforPostgreSQL/servers").withResourceUri(""))
.withDatasourceAuthCredentials(new SecretStoreBasedAuthCredentials().withSecretStoreResource(
new SecretStoreResource().withUri("https://samplevault.vault.azure.net/secrets/credentials")
.withSecretStoreType(SecretStoreType.AZURE_KEY_VAULT))))
.withSourceDataStoreType(SourceDataStoreType.VAULT_STORE)
.withSourceResourceId(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb")
.withIdentityDetails(
new IdentityDetails().withUseSystemAssignedIdentity(false).withUserAssignedIdentityArmUrl(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami"))
.withRecoveryPointId("hardcodedRP"),
com.azure.core.util.Context.NONE);
}
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
for (int i = 0; i < inputs.length; i += 2) {
String key = (String) inputs[i];
T value = (T) inputs[i + 1];
map.put(key, value);
}
return map;
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.dataprotection import DataProtectionMgmtClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-dataprotection
# USAGE
python trigger_restore.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = DataProtectionMgmtClient(
credential=DefaultAzureCredential(),
subscription_id="SUBSCRIPTION_ID",
)
response = client.backup_instances.begin_trigger_restore(
resource_group_name="000pikumar",
vault_name="PratikPrivatePreviewVault1",
backup_instance_name="testInstance1",
parameters={
"identityDetails": {
"useSystemAssignedIdentity": False,
"userAssignedIdentityArmUrl": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami",
},
"objectType": "AzureBackupRecoveryPointBasedRestoreRequest",
"recoveryPointId": "hardcodedRP",
"restoreTargetInfo": {
"datasourceAuthCredentials": {
"objectType": "SecretStoreBasedAuthCredentials",
"secretStoreResource": {
"secretStoreType": "AzureKeyVault",
"uri": "https://samplevault.vault.azure.net/secrets/credentials",
},
},
"datasourceInfo": {
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"objectType": "Datasource",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb",
"resourceLocation": "",
"resourceName": "targetdb",
"resourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"resourceUri": "",
},
"datasourceSetInfo": {
"datasourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"objectType": "DatasourceSet",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceLocation": "",
"resourceName": "viveksipgtest",
"resourceType": "Microsoft.DBforPostgreSQL/servers",
"resourceUri": "",
},
"objectType": "RestoreTargetInfo",
"recoveryOption": "FailIfExists",
"restoreLocation": "southeastasia",
},
"sourceDataStoreType": "VaultStore",
"sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
},
).result()
print(response)
# x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestore.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armdataprotection_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection/v4"
)
// Generated from example definition: 2026-06-01/BackupInstanceOperations/TriggerRestore.json
func ExampleBackupInstancesClient_BeginTriggerRestore_triggerRestore() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armdataprotection.NewClientFactory("04cf684a-d41f-4550-9f70-7708a3a2283b", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewBackupInstancesClient().BeginTriggerRestore(ctx, "000pikumar", "PratikPrivatePreviewVault1", "testInstance1", &armdataprotection.AzureBackupRecoveryPointBasedRestoreRequest{
IdentityDetails: &armdataprotection.IdentityDetails{
UseSystemAssignedIdentity: to.Ptr(false),
UserAssignedIdentityArmURL: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami"),
},
ObjectType: to.Ptr("AzureBackupRecoveryPointBasedRestoreRequest"),
RecoveryPointID: to.Ptr("hardcodedRP"),
RestoreTargetInfo: &armdataprotection.RestoreTargetInfo{
DatasourceAuthCredentials: &armdataprotection.SecretStoreBasedAuthCredentials{
ObjectType: to.Ptr("SecretStoreBasedAuthCredentials"),
SecretStoreResource: &armdataprotection.SecretStoreResource{
SecretStoreType: to.Ptr(armdataprotection.SecretStoreTypeAzureKeyVault),
URI: to.Ptr("https://samplevault.vault.azure.net/secrets/credentials"),
},
},
DatasourceInfo: &armdataprotection.Datasource{
DatasourceType: to.Ptr("Microsoft.DBforPostgreSQL/servers/databases"),
ObjectType: to.Ptr("Datasource"),
ResourceID: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb"),
ResourceLocation: to.Ptr(""),
ResourceName: to.Ptr("targetdb"),
ResourceType: to.Ptr("Microsoft.DBforPostgreSQL/servers/databases"),
ResourceURI: to.Ptr(""),
},
DatasourceSetInfo: &armdataprotection.DatasourceSet{
DatasourceType: to.Ptr("Microsoft.DBforPostgreSQL/servers/databases"),
ObjectType: to.Ptr("DatasourceSet"),
ResourceID: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest"),
ResourceLocation: to.Ptr(""),
ResourceName: to.Ptr("viveksipgtest"),
ResourceType: to.Ptr("Microsoft.DBforPostgreSQL/servers"),
ResourceURI: to.Ptr(""),
},
ObjectType: to.Ptr("RestoreTargetInfo"),
RecoveryOption: to.Ptr(armdataprotection.RecoveryOptionFailIfExists),
RestoreLocation: to.Ptr("southeastasia"),
},
SourceDataStoreType: to.Ptr(armdataprotection.SourceDataStoreTypeVaultStore),
SourceResourceID: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"),
}, nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
res, err := poller.PollUntilDone(ctx, nil)
if err != nil {
log.Fatalf("failed to poll the result: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res = armdataprotection.BackupInstancesClientTriggerRestoreResponse{
// OperationJobExtendedInfo: armdataprotection.OperationJobExtendedInfo{
// JobID: to.Ptr("c60cb49-63e8-4b21-b9bd-26277b3fdfae"),
// ObjectType: to.Ptr("OperationJobExtendedInfo"),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { DataProtectionClient } = require("@azure/arm-dataprotection");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to triggers restore for a BackupInstance
*
* @summary triggers restore for a BackupInstance
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestore.json
*/
async function triggerRestore() {
const credential = new DefaultAzureCredential();
const subscriptionId = "04cf684a-d41f-4550-9f70-7708a3a2283b";
const client = new DataProtectionClient(credential, subscriptionId);
const result = await client.backupInstances.triggerRestore(
"000pikumar",
"PratikPrivatePreviewVault1",
"testInstance1",
{
identityDetails: {
useSystemAssignedIdentity: false,
userAssignedIdentityArmUrl:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testUami",
},
objectType: "AzureBackupRecoveryPointBasedRestoreRequest",
recoveryPointId: "hardcodedRP",
restoreTargetInfo: {
datasourceAuthCredentials: {
objectType: "SecretStoreBasedAuthCredentials",
secretStoreResource: {
secretStoreType: "AzureKeyVault",
uri: "https://samplevault.vault.azure.net/secrets/credentials",
},
},
datasourceInfo: {
datasourceType: "Microsoft.DBforPostgreSQL/servers/databases",
objectType: "Datasource",
resourceID:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/targetdb",
resourceLocation: "",
resourceName: "targetdb",
resourceType: "Microsoft.DBforPostgreSQL/servers/databases",
resourceUri: "",
},
datasourceSetInfo: {
datasourceType: "Microsoft.DBforPostgreSQL/servers/databases",
objectType: "DatasourceSet",
resourceID:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
resourceLocation: "",
resourceName: "viveksipgtest",
resourceType: "Microsoft.DBforPostgreSQL/servers",
resourceUri: "",
},
objectType: "RestoreTargetInfo",
recoveryOption: "FailIfExists",
restoreLocation: "southeastasia",
},
sourceDataStoreType: "VaultStore",
sourceResourceId:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
},
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Beispiel für eine Antwort
{
"jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae",
"objectType": "OperationJobExtendedInfo"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01
Location: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01
Retry-After: 60
Trigger Restore As Files
Beispielanforderung
POST https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault1/backupInstances/testInstance1/restore?api-version=2026-06-01
{
"objectType": "AzureBackupRecoveryPointBasedRestoreRequest",
"recoveryPointId": "hardcodedRP",
"restoreTargetInfo": {
"objectType": "RestoreFilesTargetInfo",
"recoveryOption": "FailIfExists",
"restoreLocation": "southeastasia",
"targetDetails": {
"filePrefix": "restoredblob",
"restoreTargetLocationType": "AzureBlobs",
"url": "https://teststorage.blob.core.windows.net/restoretest"
}
},
"sourceDataStoreType": "VaultStore",
"sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"
}
import com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryPointBasedRestoreRequest;
import com.azure.resourcemanager.dataprotection.models.RecoveryOption;
import com.azure.resourcemanager.dataprotection.models.RestoreFilesTargetInfo;
import com.azure.resourcemanager.dataprotection.models.RestoreTargetLocationType;
import com.azure.resourcemanager.dataprotection.models.SourceDataStoreType;
import com.azure.resourcemanager.dataprotection.models.TargetDetails;
import java.util.HashMap;
import java.util.Map;
/**
* Samples for BackupInstances TriggerRestore.
*/
public final class Main {
/*
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreAsFiles.json
*/
/**
* Sample code: Trigger Restore As Files.
*
* @param manager Entry point to DataProtectionManager.
*/
public static void triggerRestoreAsFiles(com.azure.resourcemanager.dataprotection.DataProtectionManager manager) {
manager.backupInstances().triggerRestore("000pikumar", "PrivatePreviewVault1", "testInstance1",
new AzureBackupRecoveryPointBasedRestoreRequest()
.withRestoreTargetInfo(new RestoreFilesTargetInfo().withRecoveryOption(RecoveryOption.FAIL_IF_EXISTS)
.withRestoreLocation("southeastasia")
.withTargetDetails(new TargetDetails().withFilePrefix("restoredblob")
.withRestoreTargetLocationType(RestoreTargetLocationType.AZURE_BLOBS)
.withUrl("https://teststorage.blob.core.windows.net/restoretest")))
.withSourceDataStoreType(SourceDataStoreType.VAULT_STORE)
.withSourceResourceId(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb")
.withRecoveryPointId("hardcodedRP"),
com.azure.core.util.Context.NONE);
}
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
for (int i = 0; i < inputs.length; i += 2) {
String key = (String) inputs[i];
T value = (T) inputs[i + 1];
map.put(key, value);
}
return map;
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.dataprotection import DataProtectionMgmtClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-dataprotection
# USAGE
python trigger_restore_as_files.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = DataProtectionMgmtClient(
credential=DefaultAzureCredential(),
subscription_id="SUBSCRIPTION_ID",
)
response = client.backup_instances.begin_trigger_restore(
resource_group_name="000pikumar",
vault_name="PrivatePreviewVault1",
backup_instance_name="testInstance1",
parameters={
"objectType": "AzureBackupRecoveryPointBasedRestoreRequest",
"recoveryPointId": "hardcodedRP",
"restoreTargetInfo": {
"objectType": "RestoreFilesTargetInfo",
"recoveryOption": "FailIfExists",
"restoreLocation": "southeastasia",
"targetDetails": {
"filePrefix": "restoredblob",
"restoreTargetLocationType": "AzureBlobs",
"url": "https://teststorage.blob.core.windows.net/restoretest",
},
},
"sourceDataStoreType": "VaultStore",
"sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
},
).result()
print(response)
# x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreAsFiles.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armdataprotection_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection/v4"
)
// Generated from example definition: 2026-06-01/BackupInstanceOperations/TriggerRestoreAsFiles.json
func ExampleBackupInstancesClient_BeginTriggerRestore_triggerRestoreAsFiles() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armdataprotection.NewClientFactory("04cf684a-d41f-4550-9f70-7708a3a2283b", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewBackupInstancesClient().BeginTriggerRestore(ctx, "000pikumar", "PrivatePreviewVault1", "testInstance1", &armdataprotection.AzureBackupRecoveryPointBasedRestoreRequest{
ObjectType: to.Ptr("AzureBackupRecoveryPointBasedRestoreRequest"),
RecoveryPointID: to.Ptr("hardcodedRP"),
RestoreTargetInfo: &armdataprotection.RestoreFilesTargetInfo{
ObjectType: to.Ptr("RestoreFilesTargetInfo"),
RecoveryOption: to.Ptr(armdataprotection.RecoveryOptionFailIfExists),
RestoreLocation: to.Ptr("southeastasia"),
TargetDetails: &armdataprotection.TargetDetails{
FilePrefix: to.Ptr("restoredblob"),
RestoreTargetLocationType: to.Ptr(armdataprotection.RestoreTargetLocationTypeAzureBlobs),
URL: to.Ptr("https://teststorage.blob.core.windows.net/restoretest"),
},
},
SourceDataStoreType: to.Ptr(armdataprotection.SourceDataStoreTypeVaultStore),
SourceResourceID: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"),
}, nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
res, err := poller.PollUntilDone(ctx, nil)
if err != nil {
log.Fatalf("failed to poll the result: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res = armdataprotection.BackupInstancesClientTriggerRestoreResponse{
// OperationJobExtendedInfo: armdataprotection.OperationJobExtendedInfo{
// JobID: to.Ptr("c60cb49-63e8-4b21-b9bd-26277b3fdfae"),
// ObjectType: to.Ptr("OperationJobExtendedInfo"),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { DataProtectionClient } = require("@azure/arm-dataprotection");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to triggers restore for a BackupInstance
*
* @summary triggers restore for a BackupInstance
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreAsFiles.json
*/
async function triggerRestoreAsFiles() {
const credential = new DefaultAzureCredential();
const subscriptionId = "04cf684a-d41f-4550-9f70-7708a3a2283b";
const client = new DataProtectionClient(credential, subscriptionId);
const result = await client.backupInstances.triggerRestore(
"000pikumar",
"PrivatePreviewVault1",
"testInstance1",
{
objectType: "AzureBackupRecoveryPointBasedRestoreRequest",
recoveryPointId: "hardcodedRP",
restoreTargetInfo: {
objectType: "RestoreFilesTargetInfo",
recoveryOption: "FailIfExists",
restoreLocation: "southeastasia",
targetDetails: {
filePrefix: "restoredblob",
restoreTargetLocationType: "AzureBlobs",
url: "https://teststorage.blob.core.windows.net/restoretest",
},
},
sourceDataStoreType: "VaultStore",
sourceResourceId:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
},
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Beispiel für eine Antwort
{
"jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae",
"objectType": "OperationJobExtendedInfo"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01
Location: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/testInstance1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01
Retry-After: 60
Trigger Restore with GenericRestoreDatasourceCriteria
Beispielanforderung
POST https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PrivatePreviewVault1/backupInstances/testInstance1/restore?api-version=2026-06-01
{
"objectType": "AzureBackupRecoveryPointBasedRestoreRequest",
"recoveryPointId": "hardcodedRP",
"sourceDataStoreType": "OperationalStore",
"restoreTargetInfo": {
"restoreLocation": "southeastasia",
"recoveryOption": "FailIfExists",
"objectType": "ItemLevelRestoreTargetInfo",
"datasourceInfo": {
"resourceID": "/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc/volumeGroups/target-esan-volgroup",
"resourceUri": "SampleresourceUri123",
"datasourceType": "Microsoft.ElasticSan/elasticSans/volumeGroups",
"resourceName": "target-esan-volgroup",
"resourceType": "Microsoft.ElasticSan/elasticSans/volumeGroups",
"resourceLocation": "eastus2euap",
"objectType": "Datasource"
},
"datasourceSetInfo": {
"resourceID": "/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc",
"datasourceType": "Microsoft.ElasticSan/elasticSans/volumeGroups",
"resourceType": "Microsoft.ElasticSan/elasticSans",
"resourceLocation": "eastus2euap",
"objectType": "DatasourceSet"
},
"restoreCriteria": [
{
"objectType": "GenericRestoreDatasourceCriteria",
"resourceSelectors": {
"objectType": "resourceListSelectionCriteria",
"resourceIdentifiers": [
"source-vol1",
"source-vol2",
"source-vol3"
],
"resourceNameOverrides": {
"source-vol1": "target-vol1",
"source-vol2": "target-vol2"
}
}
}
]
}
}
import com.azure.resourcemanager.dataprotection.models.AzureBackupRecoveryPointBasedRestoreRequest;
import com.azure.resourcemanager.dataprotection.models.Datasource;
import com.azure.resourcemanager.dataprotection.models.DatasourceSet;
import com.azure.resourcemanager.dataprotection.models.GenericRestoreDatasourceCriteria;
import com.azure.resourcemanager.dataprotection.models.ItemLevelRestoreTargetInfo;
import com.azure.resourcemanager.dataprotection.models.RecoveryOption;
import com.azure.resourcemanager.dataprotection.models.ResourceListSelectionCriteria;
import com.azure.resourcemanager.dataprotection.models.SourceDataStoreType;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* Samples for BackupInstances TriggerRestore.
*/
public final class Main {
/*
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithGenericParameters.json
*/
/**
* Sample code: Trigger Restore with GenericRestoreDatasourceCriteria.
*
* @param manager Entry point to DataProtectionManager.
*/
public static void triggerRestoreWithGenericRestoreDatasourceCriteria(
com.azure.resourcemanager.dataprotection.DataProtectionManager manager) {
manager.backupInstances()
.triggerRestore("000pikumar", "PrivatePreviewVault1", "testInstance1",
new AzureBackupRecoveryPointBasedRestoreRequest()
.withRestoreTargetInfo(new ItemLevelRestoreTargetInfo()
.withRecoveryOption(RecoveryOption.FAIL_IF_EXISTS).withRestoreLocation("southeastasia")
.withRestoreCriteria(
Arrays.asList(new GenericRestoreDatasourceCriteria().withResourceSelectors(
new ResourceListSelectionCriteria().withObjectType("resourceListSelectionCriteria")
.withResourceIdentifiers(Arrays
.asList("source-vol1", "source-vol2", "source-vol3"))
.withResourceNameOverrides(
mapOf("source-vol1", "target-vol1", "source-vol2", "target-vol2")))))
.withDatasourceInfo(new Datasource()
.withDatasourceType("Microsoft.ElasticSan/elasticSans/volumeGroups")
.withObjectType("Datasource")
.withResourceId(
"/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc/volumeGroups/target-esan-volgroup")
.withResourceLocation("eastus2euap").withResourceName("target-esan-volgroup")
.withResourceType(
"Microsoft.ElasticSan/elasticSans/volumeGroups")
.withResourceUri("SampleresourceUri123"))
.withDatasourceSetInfo(new DatasourceSet()
.withDatasourceType("Microsoft.ElasticSan/elasticSans/volumeGroups")
.withObjectType("DatasourceSet")
.withResourceId(
"/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc")
.withResourceLocation("eastus2euap").withResourceType("Microsoft.ElasticSan/elasticSans")))
.withSourceDataStoreType(SourceDataStoreType.OPERATIONAL_STORE).withRecoveryPointId("hardcodedRP"),
com.azure.core.util.Context.NONE);
}
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
for (int i = 0; i < inputs.length; i += 2) {
String key = (String) inputs[i];
T value = (T) inputs[i + 1];
map.put(key, value);
}
return map;
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.dataprotection import DataProtectionMgmtClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-dataprotection
# USAGE
python trigger_restore_with_generic_parameters.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = DataProtectionMgmtClient(
credential=DefaultAzureCredential(),
subscription_id="SUBSCRIPTION_ID",
)
response = client.backup_instances.begin_trigger_restore(
resource_group_name="000pikumar",
vault_name="PrivatePreviewVault1",
backup_instance_name="testInstance1",
parameters={
"objectType": "AzureBackupRecoveryPointBasedRestoreRequest",
"recoveryPointId": "hardcodedRP",
"restoreTargetInfo": {
"datasourceInfo": {
"datasourceType": "Microsoft.ElasticSan/elasticSans/volumeGroups",
"objectType": "Datasource",
"resourceID": "/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc/volumeGroups/target-esan-volgroup",
"resourceLocation": "eastus2euap",
"resourceName": "target-esan-volgroup",
"resourceType": "Microsoft.ElasticSan/elasticSans/volumeGroups",
"resourceUri": "SampleresourceUri123",
},
"datasourceSetInfo": {
"datasourceType": "Microsoft.ElasticSan/elasticSans/volumeGroups",
"objectType": "DatasourceSet",
"resourceID": "/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc",
"resourceLocation": "eastus2euap",
"resourceType": "Microsoft.ElasticSan/elasticSans",
},
"objectType": "ItemLevelRestoreTargetInfo",
"recoveryOption": "FailIfExists",
"restoreCriteria": [
{
"objectType": "GenericRestoreDatasourceCriteria",
"resourceSelectors": {
"objectType": "resourceListSelectionCriteria",
"resourceIdentifiers": ["source-vol1", "source-vol2", "source-vol3"],
"resourceNameOverrides": {"source-vol1": "target-vol1", "source-vol2": "target-vol2"},
},
}
],
"restoreLocation": "southeastasia",
},
"sourceDataStoreType": "OperationalStore",
},
).result()
print(response)
# x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithGenericParameters.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armdataprotection_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection/v4"
)
// Generated from example definition: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithGenericParameters.json
func ExampleBackupInstancesClient_BeginTriggerRestore_triggerRestoreWithGenericRestoreDatasourceCriteria() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armdataprotection.NewClientFactory("04cf684a-d41f-4550-9f70-7708a3a2283b", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewBackupInstancesClient().BeginTriggerRestore(ctx, "000pikumar", "PrivatePreviewVault1", "testInstance1", &armdataprotection.AzureBackupRecoveryPointBasedRestoreRequest{
ObjectType: to.Ptr("AzureBackupRecoveryPointBasedRestoreRequest"),
RecoveryPointID: to.Ptr("hardcodedRP"),
SourceDataStoreType: to.Ptr(armdataprotection.SourceDataStoreTypeOperationalStore),
RestoreTargetInfo: &armdataprotection.ItemLevelRestoreTargetInfo{
RestoreLocation: to.Ptr("southeastasia"),
RecoveryOption: to.Ptr(armdataprotection.RecoveryOptionFailIfExists),
ObjectType: to.Ptr("ItemLevelRestoreTargetInfo"),
DatasourceInfo: &armdataprotection.Datasource{
ResourceID: to.Ptr("/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc/volumeGroups/target-esan-volgroup"),
ResourceURI: to.Ptr("SampleresourceUri123"),
DatasourceType: to.Ptr("Microsoft.ElasticSan/elasticSans/volumeGroups"),
ResourceName: to.Ptr("target-esan-volgroup"),
ResourceType: to.Ptr("Microsoft.ElasticSan/elasticSans/volumeGroups"),
ResourceLocation: to.Ptr("eastus2euap"),
ObjectType: to.Ptr("Datasource"),
},
DatasourceSetInfo: &armdataprotection.DatasourceSet{
ResourceID: to.Ptr("/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc"),
DatasourceType: to.Ptr("Microsoft.ElasticSan/elasticSans/volumeGroups"),
ResourceType: to.Ptr("Microsoft.ElasticSan/elasticSans"),
ResourceLocation: to.Ptr("eastus2euap"),
ObjectType: to.Ptr("DatasourceSet"),
},
RestoreCriteria: []armdataprotection.ItemLevelRestoreCriteriaClassification{
&armdataprotection.GenericRestoreDatasourceCriteria{
ObjectType: to.Ptr("GenericRestoreDatasourceCriteria"),
ResourceSelectors: &armdataprotection.ResourceListSelectionCriteria{
ObjectType: to.Ptr("resourceListSelectionCriteria"),
ResourceIdentifiers: []*string{
to.Ptr("source-vol1"),
to.Ptr("source-vol2"),
to.Ptr("source-vol3"),
},
ResourceNameOverrides: map[string]*string{
"source-vol1": to.Ptr("target-vol1"),
"source-vol2": to.Ptr("target-vol2"),
},
},
},
},
},
}, nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
res, err := poller.PollUntilDone(ctx, nil)
if err != nil {
log.Fatalf("failed to poll the result: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res = armdataprotection.BackupInstancesClientTriggerRestoreResponse{
// OperationJobExtendedInfo: armdataprotection.OperationJobExtendedInfo{
// JobID: to.Ptr("c60cb49-63e8-4b21-b9bd-26277b3fdfae"),
// ObjectType: to.Ptr("OperationJobExtendedInfo"),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { DataProtectionClient } = require("@azure/arm-dataprotection");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to triggers restore for a BackupInstance
*
* @summary triggers restore for a BackupInstance
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithGenericParameters.json
*/
async function triggerRestoreWithGenericRestoreDatasourceCriteria() {
const credential = new DefaultAzureCredential();
const subscriptionId = "04cf684a-d41f-4550-9f70-7708a3a2283b";
const client = new DataProtectionClient(credential, subscriptionId);
const result = await client.backupInstances.triggerRestore(
"000pikumar",
"PrivatePreviewVault1",
"testInstance1",
{
objectType: "AzureBackupRecoveryPointBasedRestoreRequest",
recoveryPointId: "hardcodedRP",
sourceDataStoreType: "OperationalStore",
restoreTargetInfo: {
restoreLocation: "southeastasia",
recoveryOption: "FailIfExists",
objectType: "ItemLevelRestoreTargetInfo",
datasourceInfo: {
resourceID:
"/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc/volumeGroups/target-esan-volgroup",
resourceUri: "SampleresourceUri123",
datasourceType: "Microsoft.ElasticSan/elasticSans/volumeGroups",
resourceName: "target-esan-volgroup",
resourceType: "Microsoft.ElasticSan/elasticSans/volumeGroups",
resourceLocation: "eastus2euap",
objectType: "Datasource",
},
datasourceSetInfo: {
resourceID:
"/subscriptions/97cda027-4279-4cde-b4ff-19afa0021d87/resourceGroups/ESAN-ECYBVTRG/providers/Microsoft.ElasticSan/elasticSans/ecy-bvt-adhoc",
datasourceType: "Microsoft.ElasticSan/elasticSans/volumeGroups",
resourceType: "Microsoft.ElasticSan/elasticSans",
resourceLocation: "eastus2euap",
objectType: "DatasourceSet",
},
restoreCriteria: [
{
objectType: "GenericRestoreDatasourceCriteria",
resourceSelectors: {
objectType: "resourceListSelectionCriteria",
resourceIdentifiers: ["source-vol1", "source-vol2", "source-vol3"],
resourceNameOverrides: { "source-vol1": "target-vol1", "source-vol2": "target-vol2" },
},
},
],
},
},
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Beispiel für eine Antwort
Location: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/testInstance1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2026-06-01
Azure-AsyncOperation: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2026-06-01
Retry-After: 60
{
"jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae",
"objectType": "OperationJobExtendedInfo"
}
Trigger Restore With Rehydration
Beispielanforderung
POST https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/restore?api-version=2026-06-01
{
"objectType": "AzureBackupRestoreWithRehydrationRequest",
"recoveryPointId": "hardcodedRP",
"rehydrationPriority": "High",
"rehydrationRetentionDuration": "7D",
"restoreTargetInfo": {
"datasourceInfo": {
"datasourceType": "OssDB",
"objectType": "Datasource",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceLocation": "",
"resourceName": "testdb",
"resourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"resourceUri": ""
},
"datasourceSetInfo": {
"datasourceType": "OssDB",
"objectType": "DatasourceSet",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceLocation": "",
"resourceName": "viveksipgtest",
"resourceType": "Microsoft.DBforPostgreSQL/servers",
"resourceUri": ""
},
"objectType": "RestoreTargetInfo",
"recoveryOption": "FailIfExists",
"restoreLocation": "southeastasia"
},
"sourceDataStoreType": "VaultStore",
"sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"
}
import com.azure.resourcemanager.dataprotection.models.AzureBackupRestoreWithRehydrationRequest;
import com.azure.resourcemanager.dataprotection.models.Datasource;
import com.azure.resourcemanager.dataprotection.models.DatasourceSet;
import com.azure.resourcemanager.dataprotection.models.RecoveryOption;
import com.azure.resourcemanager.dataprotection.models.RehydrationPriority;
import com.azure.resourcemanager.dataprotection.models.RestoreTargetInfo;
import com.azure.resourcemanager.dataprotection.models.SourceDataStoreType;
import java.util.HashMap;
import java.util.Map;
/**
* Samples for BackupInstances TriggerRestore.
*/
public final class Main {
/*
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithRehydration.json
*/
/**
* Sample code: Trigger Restore With Rehydration.
*
* @param manager Entry point to DataProtectionManager.
*/
public static void
triggerRestoreWithRehydration(com.azure.resourcemanager.dataprotection.DataProtectionManager manager) {
manager.backupInstances().triggerRestore("000pikumar", "PratikPrivatePreviewVault1", "testInstance1",
new AzureBackupRestoreWithRehydrationRequest().withRestoreTargetInfo(new RestoreTargetInfo()
.withRecoveryOption(RecoveryOption.FAIL_IF_EXISTS).withRestoreLocation("southeastasia")
.withDatasourceInfo(new Datasource().withDatasourceType("OssDB").withObjectType("Datasource")
.withResourceId(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb")
.withResourceLocation("").withResourceName("testdb")
.withResourceType("Microsoft.DBforPostgreSQL/servers/databases").withResourceUri(""))
.withDatasourceSetInfo(new DatasourceSet().withDatasourceType("OssDB").withObjectType("DatasourceSet")
.withResourceId(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest")
.withResourceLocation("").withResourceName("viveksipgtest")
.withResourceType("Microsoft.DBforPostgreSQL/servers").withResourceUri("")))
.withSourceDataStoreType(SourceDataStoreType.VAULT_STORE)
.withSourceResourceId(
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb")
.withRecoveryPointId("hardcodedRP").withRehydrationPriority(RehydrationPriority.HIGH)
.withRehydrationRetentionDuration("7D"),
com.azure.core.util.Context.NONE);
}
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
for (int i = 0; i < inputs.length; i += 2) {
String key = (String) inputs[i];
T value = (T) inputs[i + 1];
map.put(key, value);
}
return map;
}
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
from azure.identity import DefaultAzureCredential
from azure.mgmt.dataprotection import DataProtectionMgmtClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-dataprotection
# USAGE
python trigger_restore_with_rehydration.py
Before run the sample, please set the values of the client ID, tenant ID and client secret
of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID,
AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
"""
def main():
client = DataProtectionMgmtClient(
credential=DefaultAzureCredential(),
subscription_id="SUBSCRIPTION_ID",
)
response = client.backup_instances.begin_trigger_restore(
resource_group_name="000pikumar",
vault_name="PratikPrivatePreviewVault1",
backup_instance_name="testInstance1",
parameters={
"objectType": "AzureBackupRestoreWithRehydrationRequest",
"recoveryPointId": "hardcodedRP",
"rehydrationPriority": "High",
"rehydrationRetentionDuration": "7D",
"restoreTargetInfo": {
"datasourceInfo": {
"datasourceType": "OssDB",
"objectType": "Datasource",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceLocation": "",
"resourceName": "testdb",
"resourceType": "Microsoft.DBforPostgreSQL/servers/databases",
"resourceUri": "",
},
"datasourceSetInfo": {
"datasourceType": "OssDB",
"objectType": "DatasourceSet",
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceLocation": "",
"resourceName": "viveksipgtest",
"resourceType": "Microsoft.DBforPostgreSQL/servers",
"resourceUri": "",
},
"objectType": "RestoreTargetInfo",
"recoveryOption": "FailIfExists",
"restoreLocation": "southeastasia",
},
"sourceDataStoreType": "VaultStore",
"sourceResourceId": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
},
).result()
print(response)
# x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithRehydration.json
if __name__ == "__main__":
main()
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
package armdataprotection_test
import (
"context"
"log"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection/v4"
)
// Generated from example definition: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithRehydration.json
func ExampleBackupInstancesClient_BeginTriggerRestore_triggerRestoreWithRehydration() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armdataprotection.NewClientFactory("04cf684a-d41f-4550-9f70-7708a3a2283b", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
poller, err := clientFactory.NewBackupInstancesClient().BeginTriggerRestore(ctx, "000pikumar", "PratikPrivatePreviewVault1", "testInstance1", &armdataprotection.AzureBackupRestoreWithRehydrationRequest{
ObjectType: to.Ptr("AzureBackupRestoreWithRehydrationRequest"),
RecoveryPointID: to.Ptr("hardcodedRP"),
RehydrationPriority: to.Ptr(armdataprotection.RehydrationPriorityHigh),
RehydrationRetentionDuration: to.Ptr("7D"),
RestoreTargetInfo: &armdataprotection.RestoreTargetInfo{
DatasourceInfo: &armdataprotection.Datasource{
DatasourceType: to.Ptr("OssDB"),
ObjectType: to.Ptr("Datasource"),
ResourceID: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"),
ResourceLocation: to.Ptr(""),
ResourceName: to.Ptr("testdb"),
ResourceType: to.Ptr("Microsoft.DBforPostgreSQL/servers/databases"),
ResourceURI: to.Ptr(""),
},
DatasourceSetInfo: &armdataprotection.DatasourceSet{
DatasourceType: to.Ptr("OssDB"),
ObjectType: to.Ptr("DatasourceSet"),
ResourceID: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest"),
ResourceLocation: to.Ptr(""),
ResourceName: to.Ptr("viveksipgtest"),
ResourceType: to.Ptr("Microsoft.DBforPostgreSQL/servers"),
ResourceURI: to.Ptr(""),
},
ObjectType: to.Ptr("RestoreTargetInfo"),
RecoveryOption: to.Ptr(armdataprotection.RecoveryOptionFailIfExists),
RestoreLocation: to.Ptr("southeastasia"),
},
SourceDataStoreType: to.Ptr(armdataprotection.SourceDataStoreTypeVaultStore),
SourceResourceID: to.Ptr("/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb"),
}, nil)
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
res, err := poller.PollUntilDone(ctx, nil)
if err != nil {
log.Fatalf("failed to poll the result: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
// res = armdataprotection.BackupInstancesClientTriggerRestoreResponse{
// OperationJobExtendedInfo: armdataprotection.OperationJobExtendedInfo{
// JobID: to.Ptr("c60cb49-63e8-4b21-b9bd-26277b3fdfae"),
// ObjectType: to.Ptr("OperationJobExtendedInfo"),
// },
// }
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
const { DataProtectionClient } = require("@azure/arm-dataprotection");
const { DefaultAzureCredential } = require("@azure/identity");
/**
* This sample demonstrates how to triggers restore for a BackupInstance
*
* @summary triggers restore for a BackupInstance
* x-ms-original-file: 2026-06-01/BackupInstanceOperations/TriggerRestoreWithRehydration.json
*/
async function triggerRestoreWithRehydration() {
const credential = new DefaultAzureCredential();
const subscriptionId = "04cf684a-d41f-4550-9f70-7708a3a2283b";
const client = new DataProtectionClient(credential, subscriptionId);
const result = await client.backupInstances.triggerRestore(
"000pikumar",
"PratikPrivatePreviewVault1",
"testInstance1",
{
objectType: "AzureBackupRestoreWithRehydrationRequest",
recoveryPointId: "hardcodedRP",
rehydrationPriority: "High",
rehydrationRetentionDuration: "7D",
restoreTargetInfo: {
datasourceInfo: {
datasourceType: "OssDB",
objectType: "Datasource",
resourceID:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
resourceLocation: "",
resourceName: "testdb",
resourceType: "Microsoft.DBforPostgreSQL/servers/databases",
resourceUri: "",
},
datasourceSetInfo: {
datasourceType: "OssDB",
objectType: "DatasourceSet",
resourceID:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
resourceLocation: "",
resourceName: "viveksipgtest",
resourceType: "Microsoft.DBforPostgreSQL/servers",
resourceUri: "",
},
objectType: "RestoreTargetInfo",
recoveryOption: "FailIfExists",
restoreLocation: "southeastasia",
},
sourceDataStoreType: "VaultStore",
sourceResourceId:
"/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
},
);
console.log(result);
}
To use the Azure SDK library in your project, see this documentation. To provide feedback on this code sample, open a GitHub issue
Beispiel für eine Antwort
{
"jobId": "c60cb49-63e8-4b21-b9bd-26277b3fdfae",
"objectType": "OperationJobExtendedInfo"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01
Location: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==2026-06-01
Retry-After: 60
Definitionen
| Name |
Beschreibung |
|
AzureBackupRecoveryPointBasedRestoreRequest
|
Azure Backup RecoveryPoint-basierte Wiederherstellungsanforderung
|
|
AzureBackupRecoveryTimeBasedRestoreRequest
|
AzureBackup RecoveryPointTime-basierte Wiederherstellungsanforderung
|
|
AzureBackupRestoreWithRehydrationRequest
|
AzureBackup Restore mit Rehydration-Anforderung
|
|
CloudError
|
Eine Fehlerantwort von Azure Backup.
|
|
Datasource
|
Zu sichernde Datenquelle
|
|
DatasourceSet
|
DatasourceSet-Details der zu sichernden Datenquelle
|
|
DefaultResourceProperties
|
Standardquelleigenschaften
|
|
Error
|
Die Fehlerantwort für die Ressourcenverwaltung.
|
|
ErrorAdditionalInfo
|
Zusätzliche Informationen zum Fehler bei der Ressourcenverwaltung.
|
|
ExistingResourcePolicy
|
Dient zum Abrufen oder Festlegen der Conflict Policy -Eigenschaft. Diese Eigenschaft legt die Richtlinie während des Konflikts von Ressourcen während der Wiederherstellung fest.
|
|
GenericRestoreDatasourceCriteria
|
Generische Kriterien, die während der Wiederherstellung zu verwenden sind
|
|
IdentityDetails
|
|
|
ItemLevelRestoreTargetInfo
|
Wiederherstellen von Zielinformationen für Wiederherstellungsvorgang auf Elementebene
|
|
ItemPathBasedRestoreCriteria
|
Präfixkriterien, die während der Wiederherstellung verwendet werden sollen
|
|
KubernetesClusterRestoreCriteria
|
Kubernetes Cluster Backup-Zielinformationen für den Wiederherstellungsvorgang
|
|
KubernetesClusterVaultTierRestoreCriteria
|
Kubernetes Cluster Backup-Zielinformationen für den Wiederherstellungsvorgang aus dem Tresor
|
|
KubernetesPVRestoreCriteria
|
Informationen zum persistenten Volumeziel auf Elementebene für den Wiederherstellungsvorgang
|
|
KubernetesStorageClassRestoreCriteria
|
Zielinformationen zur Speicherklasse auf Elementebene für den Wiederherstellungsvorgang
|
|
NamespacedNameResource
|
Klasse zum Verweisen auf Ressourcen, die Namespace und Name enthalten
|
|
OperationJobExtendedInfo
|
Erweiterte Informationen zum Vorgangsauftrag
|
|
PersistentVolumeRestoreMode
|
Dient zum Abrufen oder Festlegen der Pv-Eigenschaft (Persistent Volume) Restore Mode. Diese Eigenschaft legt fest, ob Volumes wiederhergestellt werden müssen.
|
|
RangeBasedItemLevelRestoreCriteria
|
Zielinformationen auf Elementebene für den Wiederherstellungsvorgang
|
|
RecoveryOption
|
Wiederherstellungsoption
|
|
RehydrationPriority
|
Priorität, die für die Rehydratation verwendet werden soll. Werte hoch oder Standard
|
|
ResourceListSelectionCriteria
|
Spezifiziert die Liste der zu wiederherstellenden Ressourcen
|
|
ResourcePropertiesObjectType
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
|
RestoreFilesTargetInfo
|
Klassenkapselung als Zielparameter für Dateien
|
|
RestoreTargetInfo
|
Klassenkapselung von Wiederherstellungszielparametern
|
|
RestoreTargetLocationType
|
Gibt den Zielspeicherort an, an dem die Daten wiederhergestellt werden, Zeichenfolgenwert für die Enumeration {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}
|
|
SecretStoreBasedAuthCredentials
|
Anmeldeinformationen für geheimen Speicherspeicher.
|
|
SecretStoreResource
|
Klasse, die eine Geheimspeicherressource darstellt.
|
|
SecretStoreType
|
Dient zum Abrufen oder Festlegen des Typs des geheimen Speichers.
|
|
SourceDataStoreType
|
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
|
|
TargetDetails
|
Klassenkapselung von Zieldetails, die verwendet werden, wenn das Ziel keine Datenquelle ist
|
AzureBackupRecoveryPointBasedRestoreRequest
Objekt
Azure Backup RecoveryPoint-basierte Wiederherstellungsanforderung
| Name |
Typ |
Beschreibung |
|
identityDetails
|
IdentityDetails
|
Enthält Informationen zu den Identitätsdetails für die BI.
Wenn er null ist, wird der Standardwert als "System zugewiesen" betrachtet.
|
|
objectType
|
string:
AzureBackupRecoveryPointBasedRestoreRequest
|
|
|
recoveryPointId
|
string
|
|
|
resourceGuardOperationRequests
|
string[]
|
ResourceGuardOperationRequests, für die LAC-Überprüfung ausgeführt wird
|
|
restoreTargetInfo
|
RestoreTargetInfoBase:
|
Ruft die Wiederherstellungszielinformationen ab oder legt diese fest.
|
|
sourceDataStoreType
|
SourceDataStoreType
|
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
|
|
sourceResourceId
|
string
|
Vollqualifizierte Azure Resource Manager-ID der Datenquelle, die wiederhergestellt wird.
|
AzureBackupRecoveryTimeBasedRestoreRequest
Objekt
AzureBackup RecoveryPointTime-basierte Wiederherstellungsanforderung
| Name |
Typ |
Beschreibung |
|
identityDetails
|
IdentityDetails
|
Enthält Informationen zu den Identitätsdetails für die BI.
Wenn er null ist, wird der Standardwert als "System zugewiesen" betrachtet.
|
|
objectType
|
string:
AzureBackupRecoveryTimeBasedRestoreRequest
|
|
|
recoveryPointTime
|
string
|
Die Wiederherstellungszeit im ISO 8601-Formatbeispiel - 2020-08-14T17:30:00.0000000Z.
|
|
resourceGuardOperationRequests
|
string[]
|
ResourceGuardOperationRequests, für die LAC-Überprüfung ausgeführt wird
|
|
restoreTargetInfo
|
RestoreTargetInfoBase:
|
Ruft die Wiederherstellungszielinformationen ab oder legt diese fest.
|
|
sourceDataStoreType
|
SourceDataStoreType
|
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
|
|
sourceResourceId
|
string
|
Vollqualifizierte Azure Resource Manager-ID der Datenquelle, die wiederhergestellt wird.
|
AzureBackupRestoreWithRehydrationRequest
Objekt
AzureBackup Restore mit Rehydration-Anforderung
| Name |
Typ |
Beschreibung |
|
identityDetails
|
IdentityDetails
|
Enthält Informationen zu den Identitätsdetails für die BI.
Wenn er null ist, wird der Standardwert als "System zugewiesen" betrachtet.
|
|
objectType
|
string:
AzureBackupRestoreWithRehydrationRequest
|
|
|
recoveryPointId
|
string
|
|
|
rehydrationPriority
|
RehydrationPriority
|
Priorität, die für die Rehydratation verwendet werden soll. Werte hoch oder Standard
|
|
rehydrationRetentionDuration
|
string
|
Aufbewahrungsdauer im ISO 8601-Format, d. h. P10D.
|
|
resourceGuardOperationRequests
|
string[]
|
ResourceGuardOperationRequests, für die LAC-Überprüfung ausgeführt wird
|
|
restoreTargetInfo
|
RestoreTargetInfoBase:
|
Ruft die Wiederherstellungszielinformationen ab oder legt diese fest.
|
|
sourceDataStoreType
|
SourceDataStoreType
|
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
|
|
sourceResourceId
|
string
|
Vollqualifizierte Azure Resource Manager-ID der Datenquelle, die wiederhergestellt wird.
|
CloudError
Objekt
Eine Fehlerantwort von Azure Backup.
| Name |
Typ |
Beschreibung |
|
error
|
Error
|
Die Fehlerantwort für die Ressourcenverwaltung.
|
Datasource
Objekt
Zu sichernde Datenquelle
| Name |
Typ |
Beschreibung |
|
datasourceType
|
string
|
DatasourceType der Ressource.
|
|
objectType
|
string
|
Typ des Datasource-Objekts, der zum Initialisieren des richtigen geerbten Typs verwendet wird
|
|
resourceID
|
string
|
Vollständige ARM-ID der Ressource. Bei Azure-Ressourcen ist dies ARM-ID. Für Nicht-Azure-Ressourcen ist dies die ID, die vom Backup-Service über Fabric/Vault erstellt wird.
|
|
resourceLocation
|
string
|
Speicherort der Datenquelle.
|
|
resourceName
|
string
|
Eindeutiger Bezeichner der Ressource im Kontext des übergeordneten Elements.
|
|
resourceProperties
|
BaseResourceProperties:
DefaultResourceProperties
|
Eigenschaften, die für die Datenquelle spezifisch sind
|
|
resourceType
|
string
|
Ressourcentyp der Datenquelle.
|
|
resourceUri
|
string
|
URI der Ressource.
|
DatasourceSet
Objekt
DatasourceSet-Details der zu sichernden Datenquelle
| Name |
Typ |
Beschreibung |
|
datasourceType
|
string
|
DatasourceType der Ressource.
|
|
objectType
|
string
|
Typ des Datasource-Objekts, der zum Initialisieren des richtigen geerbten Typs verwendet wird
|
|
resourceID
|
string
|
Vollständige ARM-ID der Ressource. Bei Azure-Ressourcen ist dies ARM-ID. Für Nicht-Azure-Ressourcen ist dies die ID, die vom Backup-Service über Fabric/Vault erstellt wird.
|
|
resourceLocation
|
string
|
Speicherort der Datenquelle.
|
|
resourceName
|
string
|
Eindeutiger Bezeichner der Ressource im Kontext des übergeordneten Elements.
|
|
resourceProperties
|
BaseResourceProperties:
DefaultResourceProperties
|
Eigenschaften, die für datenquellenspezifischen Satz spezifisch sind
|
|
resourceType
|
string
|
Ressourcentyp der Datenquelle.
|
|
resourceUri
|
string
|
URI der Ressource.
|
DefaultResourceProperties
Objekt
Standardquelleigenschaften
| Name |
Typ |
Beschreibung |
|
objectType
|
string:
DefaultResourceProperties
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
Error
Objekt
Die Fehlerantwort für die Ressourcenverwaltung.
| Name |
Typ |
Beschreibung |
|
additionalInfo
|
ErrorAdditionalInfo[]
|
Die Zusatzinformationen zum Fehler.
|
|
code
|
string
|
Der Fehlercode.
|
|
details
|
Error[]
|
Die Fehlerdetails.
|
|
message
|
string
|
Die Fehlermeldung.
|
|
target
|
string
|
Der Fehlerzielwert.
|
ErrorAdditionalInfo
Objekt
Zusätzliche Informationen zum Fehler bei der Ressourcenverwaltung.
| Name |
Typ |
Beschreibung |
|
info
|
object
|
Zusätzliche Informationen.
|
|
type
|
string
|
Typ der Zusatzinformationen.
|
ExistingResourcePolicy
Enumeration
Dient zum Abrufen oder Festlegen der Conflict Policy -Eigenschaft. Diese Eigenschaft legt die Richtlinie während des Konflikts von Ressourcen während der Wiederherstellung fest.
| Wert |
Beschreibung |
|
Skip
|
|
|
Patch
|
|
GenericRestoreDatasourceCriteria
Objekt
Generische Kriterien, die während der Wiederherstellung zu verwenden sind
IdentityDetails
Objekt
| Name |
Typ |
Beschreibung |
|
useSystemAssignedIdentity
|
boolean
|
Gibt an, ob die BI durch Systemidentität geschützt ist.
|
|
userAssignedIdentityArmUrl
|
string
|
ARM-URL für Benutzer zugewiesene Identität.
|
ItemLevelRestoreTargetInfo
Objekt
Wiederherstellen von Zielinformationen für Wiederherstellungsvorgang auf Elementebene
| Name |
Typ |
Beschreibung |
|
datasourceAuthCredentials
|
AuthCredentials:
SecretStoreBasedAuthCredentials
|
Anmeldeinformationen, die für die Authentifizierung beim Datenquellenanbieter verwendet werden sollen.
|
|
datasourceInfo
|
Datasource
|
Informationen zu Ziel-DS
|
|
datasourceSetInfo
|
DatasourceSet
|
Informationen zum Ziel-DS-Satz
|
|
objectType
|
string:
ItemLevelRestoreTargetInfo
|
Typ des Datasource-Objekts, der zum Initialisieren des richtigen geerbten Typs verwendet wird
|
|
recoveryOption
|
RecoveryOption
|
Wiederherstellungsoption
|
|
restoreCriteria
|
ItemLevelRestoreCriteria[]:
|
Wiederherstellungskriterien
|
|
restoreLocation
|
string
|
Zielbereich wiederherstellen
|
ItemPathBasedRestoreCriteria
Objekt
Präfixkriterien, die während der Wiederherstellung verwendet werden sollen
| Name |
Typ |
Beschreibung |
|
isPathRelativeToBackupItem
|
boolean
|
Kennzeichnen, um anzugeben, ob der Pfad relativ zum Sicherungselement oder vollständigen Pfad ist
|
|
itemPath
|
string
|
Der Pfad des elements, das wiederhergestellt werden soll. Es könnte der vollständige Pfad des Elements oder der Pfad relativ zum Sicherungselement sein.
|
|
objectType
|
string:
ItemPathBasedRestoreCriteria
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
|
renameTo
|
string
|
Benennen Sie das wiederherzustellende Element um. Bei der Wiederherstellung wird der itemPath in diesen neuen Namen umbenannt, wenn der Wert angegeben wird, andernfalls wird der itemPath unter demselben Namen wiederhergestellt.
|
|
subItemPathPrefix
|
string[]
|
Die Liste der Präfixzeichenfolgen, die während der Wiederherstellung als Filterkriterien verwendet werden sollen. Diese sind relativ zum angegebenen Elementpfad.
|
KubernetesClusterRestoreCriteria
Objekt
Kubernetes Cluster Backup-Zielinformationen für den Wiederherstellungsvorgang
| Name |
Typ |
Beschreibung |
|
conflictPolicy
|
ExistingResourcePolicy
|
Dient zum Abrufen oder Festlegen der Conflict Policy -Eigenschaft. Diese Eigenschaft legt die Richtlinie während des Konflikts von Ressourcen während der Wiederherstellung fest.
|
|
excludedNamespaces
|
string[]
|
Dient zum Abrufen oder Festlegen der Exclude Namespaces -Eigenschaft. Diese Eigenschaft legt fest, dass die Namespaces während der Wiederherstellung ausgeschlossen werden.
|
|
excludedResourceTypes
|
string[]
|
Dient zum Abrufen oder Festlegen der Eigenschaft "Ausschließen von Ressourcentypen". Diese Eigenschaft legt die Ressourcentypen fest, die während der Wiederherstellung ausgeschlossen werden sollen.
|
|
includeClusterScopeResources
|
boolean
|
Dient zum Abrufen oder Festlegen der Include-Clusterressourcen-Eigenschaft. Diese Eigenschaft, wenn aktiviert, enthält Clusterbereichsressourcen während der Wiederherstellung.
|
|
includedNamespaces
|
string[]
|
Dient zum Abrufen oder Festlegen der Include-Namespaces-Eigenschaft. Diese Eigenschaft legt die Namespaces fest, die während der Wiederherstellung eingeschlossen werden sollen.
|
|
includedResourceTypes
|
string[]
|
Dient zum Abrufen oder Festlegen der Include-Ressourcentypen-Eigenschaft. Diese Eigenschaft legt die Ressourcentypen fest, die während der Wiederherstellung eingeschlossen werden sollen.
|
|
labelSelectors
|
string[]
|
Dient zum Abrufen oder Festlegen der LabelSelectors -Eigenschaft. Diese Eigenschaft legt die Ressource mit solchen Bezeichnungsmarkierern fest, die während der Wiederherstellung eingeschlossen werden sollen.
|
|
namespaceMappings
|
object
|
Dient zum Abrufen oder Festlegen der Namespace Mappings -Eigenschaft. Diese Eigenschaft legt fest, ob der Namespace während der Wiederherstellung geändert werden muss.
|
|
objectType
|
string:
KubernetesClusterRestoreCriteria
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
|
persistentVolumeRestoreMode
|
PersistentVolumeRestoreMode
|
Dient zum Abrufen oder Festlegen der Pv-Eigenschaft (Persistent Volume) Restore Mode. Diese Eigenschaft legt fest, ob Volumes wiederhergestellt werden müssen.
|
|
resourceModifierReference
|
NamespacedNameResource
|
Ruft den Ressourcenmodifiziererverweis ab oder legt diese fest. Diese Eigenschaft legt den Verweis für den Ressourcenmodifizierer während der Wiederherstellung fest.
|
|
restoreHookReferences
|
NamespacedNameResource[]
|
Dient zum Abrufen oder Festlegen der Wiederherstellungshakenverweise. Diese Eigenschaft legt den Hook-Verweis fest, der während der Wiederherstellung ausgeführt werden soll.
|
KubernetesClusterVaultTierRestoreCriteria
Objekt
Kubernetes Cluster Backup-Zielinformationen für den Wiederherstellungsvorgang aus dem Tresor
| Name |
Typ |
Beschreibung |
|
conflictPolicy
|
ExistingResourcePolicy
|
Dient zum Abrufen oder Festlegen der Conflict Policy -Eigenschaft. Diese Eigenschaft legt die Richtlinie während des Konflikts von Ressourcen während der Wiederherstellung aus dem Tresor fest.
|
|
excludedNamespaces
|
string[]
|
Dient zum Abrufen oder Festlegen der Exclude Namespaces -Eigenschaft. Diese Eigenschaft legt die Namespaces fest, die während der Wiederherstellung vom Tresor ausgeschlossen werden sollen.
|
|
excludedResourceTypes
|
string[]
|
Dient zum Abrufen oder Festlegen der Eigenschaft "Ausschließen von Ressourcentypen". Diese Eigenschaft legt die Ressourcentypen fest, die während der Wiederherstellung aus dem Tresor ausgeschlossen werden sollen.
|
|
includeClusterScopeResources
|
boolean
|
Dient zum Abrufen oder Festlegen der Include-Clusterressourcen-Eigenschaft. Diese Eigenschaft, wenn diese Option aktiviert ist, enthält Clusterbereichsressourcen während der Wiederherstellung aus dem Tresor.
|
|
includedNamespaces
|
string[]
|
Dient zum Abrufen oder Festlegen der Include-Namespaces-Eigenschaft. Diese Eigenschaft legt die Namespaces fest, die während der Wiederherstellung aus dem Tresor eingeschlossen werden sollen.
|
|
includedResourceTypes
|
string[]
|
Dient zum Abrufen oder Festlegen der Include-Ressourcentypen-Eigenschaft. Diese Eigenschaft legt die Ressourcentypen fest, die während der Wiederherstellung aus dem Tresor eingeschlossen werden sollen.
|
|
labelSelectors
|
string[]
|
Dient zum Abrufen oder Festlegen der LabelSelectors -Eigenschaft. Diese Eigenschaft legt die Ressource mit solchen Bezeichnungsmarkierern fest, die während der Wiederherstellung aus dem Tresor eingeschlossen werden sollen.
|
|
namespaceMappings
|
object
|
Dient zum Abrufen oder Festlegen der Namespace Mappings -Eigenschaft. Diese Eigenschaft legt fest, ob der Namespace während der Wiederherstellung aus dem Tresor geändert werden muss.
|
|
objectType
|
string:
KubernetesClusterVaultTierRestoreCriteria
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
|
persistentVolumeRestoreMode
|
PersistentVolumeRestoreMode
|
Dient zum Abrufen oder Festlegen der Pv-Eigenschaft (Persistent Volume) Restore Mode. Diese Eigenschaft legt fest, ob Volumes aus dem Tresor wiederhergestellt werden müssen.
|
|
resourceModifierReference
|
NamespacedNameResource
|
Ruft den Ressourcenmodifiziererverweis ab oder legt diese fest. Diese Eigenschaft legt den Verweis für den Ressourcenmodifizierer während der Wiederherstellung fest.
|
|
restoreHookReferences
|
NamespacedNameResource[]
|
Dient zum Abrufen oder Festlegen der Wiederherstellungshakenverweise. Diese Eigenschaft legt den Hook-Verweis fest, der während der Wiederherstellung aus dem Tresor ausgeführt werden soll.
|
|
stagingResourceGroupId
|
string
(arm-id)
|
Dient zum Abrufen oder Festlegen der Staging-RG-ID zum Erstellen von Stagingdatenträgern und Momentaufnahmen während der Wiederherstellung aus dem Tresor.
|
|
stagingStorageAccountId
|
string
(arm-id)
|
Dient zum Abrufen oder Festlegen der Staging-Speicherkonto-ID zum Erstellen von Sicherungserweiterungsobjektspeicherdaten während der Wiederherstellung aus dem Tresor.
|
KubernetesPVRestoreCriteria
Objekt
Informationen zum persistenten Volumeziel auf Elementebene für den Wiederherstellungsvorgang
| Name |
Typ |
Beschreibung |
|
name
|
string
|
Ausgewählter Name des dauerhaften Volumeanspruchs
|
|
objectType
|
string:
KubernetesPVRestoreCriteria
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
|
storageClassName
|
string
|
Ausgewählter Speicherklassenname für den Wiederherstellungsvorgang
|
KubernetesStorageClassRestoreCriteria
Objekt
Zielinformationen zur Speicherklasse auf Elementebene für den Wiederherstellungsvorgang
| Name |
Typ |
Beschreibung |
|
objectType
|
string:
KubernetesStorageClassRestoreCriteria
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
|
provisioner
|
string
|
Provisioner der Speicherklasse
|
|
selectedStorageClassName
|
string
|
Ausgewählter Speicherklassenname
|
NamespacedNameResource
Objekt
Klasse zum Verweisen auf Ressourcen, die Namespace und Name enthalten
| Name |
Typ |
Beschreibung |
|
name
|
string
|
Name der Ressource
|
|
namespace
|
string
|
Namespace, in dem die Ressource vorhanden ist
|
OperationJobExtendedInfo
Objekt
Erweiterte Informationen zum Vorgangsauftrag
| Name |
Typ |
Beschreibung |
|
jobId
|
string
|
Der Name oder die Arm-ID des Auftrags, der für diesen Vorgang erstellt wurde.
|
|
objectType
|
string:
OperationJobExtendedInfo
|
Diese Eigenschaft wird als Diskriminator für die Entscheidung der spezifischen Typen in der polymorphen Kette von Typen verwendet.
|
PersistentVolumeRestoreMode
Enumeration
Dient zum Abrufen oder Festlegen der Pv-Eigenschaft (Persistent Volume) Restore Mode. Diese Eigenschaft legt fest, ob Volumes wiederhergestellt werden müssen.
| Wert |
Beschreibung |
|
RestoreWithVolumeData
|
|
|
RestoreWithoutVolumeData
|
|
RangeBasedItemLevelRestoreCriteria
Objekt
Zielinformationen auf Elementebene für den Wiederherstellungsvorgang
| Name |
Typ |
Beschreibung |
|
maxMatchingValue
|
string
|
Maximalwert für Bereichspräfix-Übereinstimmung
|
|
minMatchingValue
|
string
|
Mindestwert für die Übereinstimmung des Bereichspräfixes
|
|
objectType
|
string:
RangeBasedItemLevelRestoreCriteria
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
RecoveryOption
Enumeration
Wiederherstellungsoption
| Wert |
Beschreibung |
|
FailIfExists
|
|
RehydrationPriority
Enumeration
Priorität, die für die Rehydratation verwendet werden soll. Werte hoch oder Standard
| Wert |
Beschreibung |
|
Invalid
|
|
|
High
|
|
|
Standard
|
|
ResourceListSelectionCriteria
Objekt
Spezifiziert die Liste der zu wiederherstellenden Ressourcen
| Name |
Typ |
Beschreibung |
|
objectType
|
string
|
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
|
|
resourceIdentifiers
|
string[]
|
Liste der Ressourcenkennungen zur Wiederherstellung
|
|
resourceNameOverrides
|
object
|
Dies ist eine Karte von Quellressourcennamen, um gezielte Ressourcennamen zu verwenden, in die man wiederherstellen kann. Jeder Quellname, der nicht in der Karte enthalten ist, wird mit einem Standard-Namensformat wiederhergestellt
|
ResourcePropertiesObjectType
Enumeration
Typ des spezifischen Objekts – wird für die Deserialisierung verwendet
| Wert |
Beschreibung |
|
DefaultResourceProperties
|
|
RestoreFilesTargetInfo
Objekt
Klassenkapselung als Zielparameter für Dateien
| Name |
Typ |
Beschreibung |
|
objectType
|
string:
RestoreFilesTargetInfo
|
Typ des Datasource-Objekts, der zum Initialisieren des richtigen geerbten Typs verwendet wird
|
|
recoveryOption
|
RecoveryOption
|
Wiederherstellungsoption
|
|
restoreLocation
|
string
|
Zielbereich wiederherstellen
|
|
targetDetails
|
TargetDetails
|
Ziel des RestoreAsFiles-Vorgangs, wenn das Ziel keine Datenquelle ist
|
RestoreTargetInfo
Objekt
Klassenkapselung von Wiederherstellungszielparametern
| Name |
Typ |
Beschreibung |
|
datasourceAuthCredentials
|
AuthCredentials:
SecretStoreBasedAuthCredentials
|
Anmeldeinformationen, die für die Authentifizierung beim Datenquellenanbieter verwendet werden sollen.
|
|
datasourceInfo
|
Datasource
|
Informationen zu Ziel-DS
|
|
datasourceSetInfo
|
DatasourceSet
|
Informationen zum Ziel-DS-Satz
|
|
objectType
|
string:
RestoreTargetInfo
|
Typ des Datasource-Objekts, der zum Initialisieren des richtigen geerbten Typs verwendet wird
|
|
recoveryOption
|
RecoveryOption
|
Wiederherstellungsoption
|
|
restoreLocation
|
string
|
Zielbereich wiederherstellen
|
RestoreTargetLocationType
Enumeration
Gibt den Zielspeicherort an, an dem die Daten wiederhergestellt werden, Zeichenfolgenwert für die Enumeration {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}
| Wert |
Beschreibung |
|
Invalid
|
|
|
AzureBlobs
|
|
|
AzureFiles
|
|
SecretStoreBasedAuthCredentials
Objekt
Anmeldeinformationen für geheimen Speicherspeicher.
SecretStoreResource
Objekt
Klasse, die eine Geheimspeicherressource darstellt.
| Name |
Typ |
Beschreibung |
|
secretStoreType
|
SecretStoreType
|
Dient zum Abrufen oder Festlegen des Typs des geheimen Speichers.
|
|
uri
|
string
|
URI zum Abrufen der Ressource
|
|
value
|
string
|
Dient zum Abrufen oder Festlegen des Werts, der in der Ressource für den geheimen Speicher gespeichert ist.
|
SecretStoreType
Enumeration
Dient zum Abrufen oder Festlegen des Typs des geheimen Speichers.
| Wert |
Beschreibung |
|
Invalid
|
|
|
AzureKeyVault
|
|
SourceDataStoreType
Enumeration
Dient zum Abrufen oder Festlegen des Typs des Quelldatenspeichers.
| Wert |
Beschreibung |
|
ArchiveStore
|
|
|
SnapshotStore
|
|
|
OperationalStore
|
|
|
VaultStore
|
|
TargetDetails
Objekt
Klassenkapselung von Zieldetails, die verwendet werden, wenn das Ziel keine Datenquelle ist
| Name |
Typ |
Beschreibung |
|
filePrefix
|
string
|
Der Wiederherstellungsvorgang kann mehrere Dateien innerhalb des Speicherorts erstellen, auf den die folgende URL verweist, ist das allgemeine Präfix für alle Dateien.
|
|
restoreTargetLocationType
|
RestoreTargetLocationType
|
Gibt den Zielspeicherort an, an dem die Daten wiederhergestellt werden, Zeichenfolgenwert für die Enumeration {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}
|
|
targetResourceArmId
|
string
|
Vollständige ARM-ID, die das Wiederherstellungsziel angibt. Es handelt sich um die ARM-ID, die auf container-/Dateifreigabe verweist. Dies ist optional, wenn das Zielabonnement mit dem URL-Feld identifiziert werden kann. Wenn dies nicht erforderlich ist, wenn sich das Feld CrossSubscriptionRestore von BackupVault in einem der deaktivierten Zustände befindet
|
|
url
|
string
|
URL, die das Wiederherstellungsziel angibt. Er kann auf Container/Dateifreigabe verweisen usw.
|