Share via


DataProtectionBackupExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DataProtectionBackup.

public static class DataProtectionBackupExtensions
type DataProtectionBackupExtensions = class
Public Module DataProtectionBackupExtensions
Inheritance
DataProtectionBackupExtensions

Methods

CheckDataProtectionBackupFeatureSupport(SubscriptionResource, AzureLocation, BackupFeatureValidationContentBase, CancellationToken)

Validates if a feature is supported

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/checkFeatureSupport
  • Operation Id: DataProtection_CheckFeatureSupport
  • Default Api Version: 2024-04-01
CheckDataProtectionBackupFeatureSupportAsync(SubscriptionResource, AzureLocation, BackupFeatureValidationContentBase, CancellationToken)

Validates if a feature is supported

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/checkFeatureSupport
  • Operation Id: DataProtection_CheckFeatureSupport
  • Default Api Version: 2024-04-01
CheckDataProtectionBackupVaultNameAvailability(ResourceGroupResource, AzureLocation, DataProtectionBackupNameAvailabilityContent, CancellationToken)

API to check for resource name availability

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability
  • Operation Id: BackupVaults_CheckNameAvailability
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupVaultResource
CheckDataProtectionBackupVaultNameAvailabilityAsync(ResourceGroupResource, AzureLocation, DataProtectionBackupNameAvailabilityContent, CancellationToken)

API to check for resource name availability

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability
  • Operation Id: BackupVaults_CheckNameAvailability
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupVaultResource
GetCrossRegionRestoreJob(ResourceGroupResource, AzureLocation, CrossRegionRestoreJobContent, CancellationToken)

Fetches the Cross Region Restore Job

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob
  • Operation Id: FetchCrossRegionRestoreJob_Get
  • Default Api Version: 2024-04-01
GetCrossRegionRestoreJobAsync(ResourceGroupResource, AzureLocation, CrossRegionRestoreJobContent, CancellationToken)

Fetches the Cross Region Restore Job

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob
  • Operation Id: FetchCrossRegionRestoreJob_Get
  • Default Api Version: 2024-04-01
GetCrossRegionRestoreJobs(ResourceGroupResource, AzureLocation, CrossRegionRestoreJobsContent, String, CancellationToken)

Fetches list of Cross Region Restore job belonging to the vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs
  • Operation Id: FetchCrossRegionRestoreJobs_List
  • Default Api Version: 2024-04-01
GetCrossRegionRestoreJobsAsync(ResourceGroupResource, AzureLocation, CrossRegionRestoreJobsContent, String, CancellationToken)

Fetches list of Cross Region Restore job belonging to the vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs
  • Operation Id: FetchCrossRegionRestoreJobs_List
  • Default Api Version: 2024-04-01
GetDataProtectionBackupInstanceResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataProtectionBackupInstanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DataProtectionBackupInstanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataProtectionBackupInstanceResource(ResourceIdentifier) instead.

GetDataProtectionBackupInstances(ArmClient, ResourceIdentifier, CancellationToken)

Gets a list of backup instances associated with a tracked resource

  • Request Path: /{resourceId}/providers/Microsoft.DataProtection/backupInstances
  • Operation Id: BackupInstancesExtensionRouting_List
  • Default Api Version: 2024-04-01
GetDataProtectionBackupInstancesAsync(ArmClient, ResourceIdentifier, CancellationToken)

Gets a list of backup instances associated with a tracked resource

  • Request Path: /{resourceId}/providers/Microsoft.DataProtection/backupInstances
  • Operation Id: BackupInstancesExtensionRouting_List
  • Default Api Version: 2024-04-01
GetDataProtectionBackupJobResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataProtectionBackupJobResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DataProtectionBackupJobResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataProtectionBackupJobResource(ResourceIdentifier) instead.

GetDataProtectionBackupPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataProtectionBackupPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DataProtectionBackupPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataProtectionBackupPolicyResource(ResourceIdentifier) instead.

GetDataProtectionBackupRecoveryPointResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataProtectionBackupRecoveryPointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DataProtectionBackupRecoveryPointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataProtectionBackupRecoveryPointResource(ResourceIdentifier) instead.

GetDataProtectionBackupVault(ResourceGroupResource, String, CancellationToken)

Returns a resource belonging to a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupVaultResource
GetDataProtectionBackupVaultAsync(ResourceGroupResource, String, CancellationToken)

Returns a resource belonging to a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupVaultResource
GetDataProtectionBackupVaultResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataProtectionBackupVaultResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DataProtectionBackupVaultResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDataProtectionBackupVaultResource(ResourceIdentifier) instead.

GetDataProtectionBackupVaults(ResourceGroupResource)

Gets a collection of DataProtectionBackupVaultResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataProtectionBackupVaults() instead.

GetDataProtectionBackupVaults(SubscriptionResource, CancellationToken)

Returns resource collection belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults
  • Operation Id: BackupVaults_GetInSubscription
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupVaultResource
GetDataProtectionBackupVaultsAsync(SubscriptionResource, CancellationToken)

Returns resource collection belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults
  • Operation Id: BackupVaults_GetInSubscription
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupVaultResource
GetDeletedDataProtectionBackupInstanceResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeletedDataProtectionBackupInstanceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DeletedDataProtectionBackupInstanceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeletedDataProtectionBackupInstanceResource(ResourceIdentifier) instead.

GetResourceGuard(ResourceGroupResource, String, CancellationToken)

Returns a ResourceGuard belonging to a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}
  • Operation Id: ResourceGuards_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardResource
GetResourceGuardAsync(ResourceGroupResource, String, CancellationToken)

Returns a ResourceGuard belonging to a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}
  • Operation Id: ResourceGuards_Get
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardResource
GetResourceGuardProxyBaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceGuardProxyBaseResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ResourceGuardProxyBaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceGuardProxyBaseResource(ResourceIdentifier) instead.

GetResourceGuardResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceGuardResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ResourceGuardResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceGuardResource(ResourceIdentifier) instead.

GetResourceGuards(ResourceGroupResource)

Gets a collection of ResourceGuardResources in the ResourceGroupResource. MockingTo mock this method, please mock GetResourceGuards() instead.

GetResourceGuards(SubscriptionResource, CancellationToken)

Returns ResourceGuards collection belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards
  • Operation Id: ResourceGuards_GetResourcesInSubscription
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardResource
GetResourceGuardsAsync(SubscriptionResource, CancellationToken)

Returns ResourceGuards collection belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards
  • Operation Id: ResourceGuards_GetResourcesInSubscription
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardResource
GetSecondaryRecoveryPoints(ResourceGroupResource, AzureLocation, FetchSecondaryRPsRequestContent, String, String, CancellationToken)

Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints
  • Operation Id: FetchSecondaryRecoveryPoints_List
  • Default Api Version: 2024-04-01
GetSecondaryRecoveryPointsAsync(ResourceGroupResource, AzureLocation, FetchSecondaryRPsRequestContent, String, String, CancellationToken)

Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints
  • Operation Id: FetchSecondaryRecoveryPoints_List
  • Default Api Version: 2024-04-01
TriggerCrossRegionRestoreBackupInstance(ResourceGroupResource, WaitUntil, AzureLocation, CrossRegionRestoreRequestObject, CancellationToken)

Triggers Cross Region Restore for BackupInstance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore
  • Operation Id: BackupInstances_TriggerCrossRegionRestore
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupInstanceResource
TriggerCrossRegionRestoreBackupInstanceAsync(ResourceGroupResource, WaitUntil, AzureLocation, CrossRegionRestoreRequestObject, CancellationToken)

Triggers Cross Region Restore for BackupInstance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore
  • Operation Id: BackupInstances_TriggerCrossRegionRestore
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupInstanceResource
ValidateCrossRegionRestoreBackupInstance(ResourceGroupResource, WaitUntil, AzureLocation, ValidateCrossRegionRestoreRequestObject, CancellationToken)

Validates whether Cross Region Restore can be triggered for DataSource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore
  • Operation Id: BackupInstances_ValidateCrossRegionRestore
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupInstanceResource
ValidateCrossRegionRestoreBackupInstanceAsync(ResourceGroupResource, WaitUntil, AzureLocation, ValidateCrossRegionRestoreRequestObject, CancellationToken)

Validates whether Cross Region Restore can be triggered for DataSource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore
  • Operation Id: BackupInstances_ValidateCrossRegionRestore
  • Default Api Version: 2024-04-01
  • Resource: DataProtectionBackupInstanceResource

Applies to