RecoveryServicesBackupExtensions Class

Definition

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

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

Methods

Name Description
ExportJob(ResourceGroupResource, String, String, CancellationToken)

Triggers export of jobs specified by filters and returns an OperationID to track. <item> Mocking. To mock this method, please mock ExportJob(String, String, CancellationToken) instead. </item>

ExportJobAsync(ResourceGroupResource, String, String, CancellationToken)

Triggers export of jobs specified by filters and returns an OperationID to track. <item> Mocking. To mock this method, please mock ExportJobAsync(String, String, CancellationToken) instead. </item>

GetBackupEngine(ResourceGroupResource, String, String, String, String, CancellationToken)

Returns backup management server registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetBackupEngine(String, String, String, String, CancellationToken) instead. </item>

GetBackupEngineAsync(ResourceGroupResource, String, String, String, String, CancellationToken)

Returns backup management server registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetBackupEngineAsync(String, String, String, String, CancellationToken) instead. </item>

GetBackupEngineResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupEngineResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupEngineResource(ResourceIdentifier) instead. </item>

GetBackupEngines(ResourceGroupResource, String)

Gets a collection of BackupEngines in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetBackupEngines(String) instead. </item>

GetBackupJob(ResourceGroupResource, String, String, CancellationToken)

Gets extended information associated with the job. <item> Mocking. To mock this method, please mock GetBackupJob(String, String, CancellationToken) instead. </item>

GetBackupJobAsync(ResourceGroupResource, String, String, CancellationToken)

Gets extended information associated with the job. <item> Mocking. To mock this method, please mock GetBackupJobAsync(String, String, CancellationToken) instead. </item>

GetBackupJobResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupJobResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupJobResource(ResourceIdentifier) instead. </item>

GetBackupJobs(ResourceGroupResource, String)

Gets a collection of BackupJobs in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetBackupJobs(String) instead. </item>

GetBackupPrivateEndpointConnection(ResourceGroupResource, String, String, CancellationToken)

Get Private Endpoint Connection. This call is made by Backup Admin. <item> Mocking. To mock this method, please mock GetBackupPrivateEndpointConnection(String, String, CancellationToken) instead. </item>

GetBackupPrivateEndpointConnectionAsync(ResourceGroupResource, String, String, CancellationToken)

Get Private Endpoint Connection. This call is made by Backup Admin. <item> Mocking. To mock this method, please mock GetBackupPrivateEndpointConnectionAsync(String, String, CancellationToken) instead. </item>

GetBackupPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupPrivateEndpointConnectionResource(ResourceIdentifier) instead. </item>

GetBackupPrivateEndpointConnections(ResourceGroupResource)

Gets a collection of BackupPrivateEndpointConnections in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetBackupPrivateEndpointConnections() instead. </item>

GetBackupProtectableItems(ResourceGroupResource, String, String, String, CancellationToken)

Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters. <item> Mocking. To mock this method, please mock GetBackupProtectableItems(String, String, String, CancellationToken) instead. </item>

GetBackupProtectableItemsAsync(ResourceGroupResource, String, String, String, CancellationToken)

Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters. <item> Mocking. To mock this method, please mock GetBackupProtectableItemsAsync(String, String, String, CancellationToken) instead. </item>

GetBackupProtectedItemResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupProtectedItemResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupProtectedItemResource(ResourceIdentifier) instead. </item>

GetBackupProtectedItems(ResourceGroupResource, String, String, String, CancellationToken)

Provides a pageable list of all items that are backed up within a vault. <item> Mocking. To mock this method, please mock GetBackupProtectedItems(String, String, String, CancellationToken) instead. </item>

GetBackupProtectedItemsAsync(ResourceGroupResource, String, String, String, CancellationToken)

Provides a pageable list of all items that are backed up within a vault. <item> Mocking. To mock this method, please mock GetBackupProtectedItemsAsync(String, String, String, CancellationToken) instead. </item>

GetBackupProtectionContainer(ResourceGroupResource, String, String, String, CancellationToken)

Gets details of the specific container registered to your Recovery Services Vault. <item> Mocking. To mock this method, please mock GetBackupProtectionContainer(String, String, String, CancellationToken) instead. </item>

GetBackupProtectionContainerAsync(ResourceGroupResource, String, String, String, CancellationToken)

Gets details of the specific container registered to your Recovery Services Vault. <item> Mocking. To mock this method, please mock GetBackupProtectionContainerAsync(String, String, String, CancellationToken) instead. </item>

GetBackupProtectionContainerResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupProtectionContainerResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupProtectionContainerResource(ResourceIdentifier) instead. </item>

GetBackupProtectionContainers(ResourceGroupResource, String, String, CancellationToken)

Lists the containers registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetBackupProtectionContainers(String, String, CancellationToken) instead. </item>

GetBackupProtectionContainers(ResourceGroupResource)

Gets a collection of BackupProtectionContainers in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetBackupProtectionContainers() instead. </item>

GetBackupProtectionContainersAsync(ResourceGroupResource, String, String, CancellationToken)

Lists the containers registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetBackupProtectionContainersAsync(String, String, CancellationToken) instead. </item>

GetBackupProtectionIntent(ResourceGroupResource, String, String, String, CancellationToken)

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API. <item> Mocking. To mock this method, please mock GetBackupProtectionIntent(String, String, String, CancellationToken) instead. </item>

GetBackupProtectionIntentAsync(ResourceGroupResource, String, String, String, CancellationToken)

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API. <item> Mocking. To mock this method, please mock GetBackupProtectionIntentAsync(String, String, String, CancellationToken) instead. </item>

GetBackupProtectionIntentResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupProtectionIntentResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupProtectionIntentResource(ResourceIdentifier) instead. </item>

GetBackupProtectionIntents(ResourceGroupResource, String, String, String, CancellationToken)

Provides a pageable list of all intents that are present within a vault. <item> Mocking. To mock this method, please mock GetBackupProtectionIntents(String, String, String, CancellationToken) instead. </item>

GetBackupProtectionIntents(ResourceGroupResource)

Gets a collection of BackupProtectionIntents in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetBackupProtectionIntents() instead. </item>

GetBackupProtectionIntentsAsync(ResourceGroupResource, String, String, String, CancellationToken)

Provides a pageable list of all intents that are present within a vault. <item> Mocking. To mock this method, please mock GetBackupProtectionIntentsAsync(String, String, String, CancellationToken) instead. </item>

GetBackupProtectionPolicies(ResourceGroupResource, String)

Gets a collection of BackupProtectionPolicies in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetBackupProtectionPolicies(String) instead. </item>

GetBackupProtectionPolicy(ResourceGroupResource, String, String, CancellationToken)

Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API. <item> Mocking. To mock this method, please mock GetBackupProtectionPolicy(String, String, CancellationToken) instead. </item>

GetBackupProtectionPolicyAsync(ResourceGroupResource, String, String, CancellationToken)

Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API. <item> Mocking. To mock this method, please mock GetBackupProtectionPolicyAsync(String, String, CancellationToken) instead. </item>

GetBackupProtectionPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupProtectionPolicyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupProtectionPolicyResource(ResourceIdentifier) instead. </item>

GetBackupRecoveryPointResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupRecoveryPointResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupRecoveryPointResource(ResourceIdentifier) instead. </item>

GetBackupResourceConfig(ResourceGroupResource)

Gets an object representing a BackupResourceConfigResource along with the instance operations that can be performed on it in the ResourceGroupResource. <item> Mocking. To mock this method, please mock GetBackupResourceConfig() instead. </item>

GetBackupResourceConfigResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupResourceConfigResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupResourceConfigResource(ResourceIdentifier) instead. </item>

GetBackupResourceEncryptionConfigExtended(ResourceGroupResource)

Gets an object representing a BackupResourceEncryptionConfigExtendedResource along with the instance operations that can be performed on it in the ResourceGroupResource. <item> Mocking. To mock this method, please mock GetBackupResourceEncryptionConfigExtended() instead. </item>

GetBackupResourceEncryptionConfigExtendedResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupResourceEncryptionConfigExtendedResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupResourceEncryptionConfigExtendedResource(ResourceIdentifier) instead. </item>

GetBackupResourceVaultConfig(ResourceGroupResource)

Gets an object representing a BackupResourceVaultConfigResource along with the instance operations that can be performed on it in the ResourceGroupResource. <item> Mocking. To mock this method, please mock GetBackupResourceVaultConfig() instead. </item>

GetBackupResourceVaultConfigResource(ArmClient, ResourceIdentifier)

Gets an object representing a BackupResourceVaultConfigResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetBackupResourceVaultConfigResource(ResourceIdentifier) instead. </item>

GetBackupStatus(SubscriptionResource, AzureLocation, BackupStatusContent, CancellationToken)

Get the container backup status <item> Mocking. To mock this method, please mock GetBackupStatus(AzureLocation, BackupStatusContent, CancellationToken) instead. </item>

GetBackupStatusAsync(SubscriptionResource, AzureLocation, BackupStatusContent, CancellationToken)

Get the container backup status <item> Mocking. To mock this method, please mock GetBackupStatusAsync(AzureLocation, BackupStatusContent, CancellationToken) instead. </item>

GetBackupUsageSummaries(ResourceGroupResource, String, String, String, CancellationToken)

Fetches the backup management usage summaries of the vault. <item> Mocking. To mock this method, please mock GetBackupUsageSummaries(String, String, String, CancellationToken) instead. </item>

GetBackupUsageSummariesAsync(ResourceGroupResource, String, String, String, CancellationToken)

Fetches the backup management usage summaries of the vault. <item> Mocking. To mock this method, please mock GetBackupUsageSummariesAsync(String, String, String, CancellationToken) instead. </item>

GetGetTieringCostOperationResult(ResourceGroupResource, String, String, CancellationToken)

Gets the result of async operation for tiering cost <item> Mocking. To mock this method, please mock GetGetTieringCostOperationResult(String, String, CancellationToken) instead. </item>

GetGetTieringCostOperationResultAsync(ResourceGroupResource, String, String, CancellationToken)

Gets the result of async operation for tiering cost <item> Mocking. To mock this method, please mock GetGetTieringCostOperationResultAsync(String, String, CancellationToken) instead. </item>

GetProtectableContainers(ResourceGroupResource, String, String, String, CancellationToken)

Lists the containers that can be registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetProtectableContainers(String, String, String, CancellationToken) instead. </item>

GetProtectableContainersAsync(ResourceGroupResource, String, String, String, CancellationToken)

Lists the containers that can be registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetProtectableContainersAsync(String, String, String, CancellationToken) instead. </item>

GetResourceGuardProxies(ResourceGroupResource, String)

Gets a collection of ResourceGuardProxies in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetResourceGuardProxies(String) instead. </item>

GetResourceGuardProxy(ResourceGroupResource, String, String, CancellationToken)

Returns ResourceGuardProxy under vault and with the name referenced in request <item> Mocking. To mock this method, please mock GetResourceGuardProxy(String, String, CancellationToken) instead. </item>

GetResourceGuardProxyAsync(ResourceGroupResource, String, String, CancellationToken)

Returns ResourceGuardProxy under vault and with the name referenced in request <item> Mocking. To mock this method, please mock GetResourceGuardProxyAsync(String, String, CancellationToken) instead. </item>

GetResourceGuardProxyResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceGuardProxyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetResourceGuardProxyResource(ResourceIdentifier) instead. </item>

GetSecurityPin(ResourceGroupResource, String, SecurityPinContent, String, CancellationToken)

Get the security PIN. <item> Mocking. To mock this method, please mock GetSecurityPin(String, SecurityPinContent, String, CancellationToken) instead. </item>

GetSecurityPinAsync(ResourceGroupResource, String, SecurityPinContent, String, CancellationToken)

Get the security PIN. <item> Mocking. To mock this method, please mock GetSecurityPinAsync(String, SecurityPinContent, String, CancellationToken) instead. </item>

GetSoftDeletedProtectionContainers(ResourceGroupResource, String, String, CancellationToken)

Lists the soft deleted containers registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetSoftDeletedProtectionContainers(String, String, CancellationToken) instead. </item>

GetSoftDeletedProtectionContainersAsync(ResourceGroupResource, String, String, CancellationToken)

Lists the soft deleted containers registered to Recovery Services Vault. <item> Mocking. To mock this method, please mock GetSoftDeletedProtectionContainersAsync(String, String, CancellationToken) instead. </item>

PostFetchTieringCost(ResourceGroupResource, WaitUntil, String, FetchTieringCostInfoContent, CancellationToken)

Provides the details of the tiering related sizes and cost. Status of the operation can be fetched using GetTieringCostOperationStatus API and result using GetTieringCostOperationResult API. <item> Mocking. To mock this method, please mock PostFetchTieringCost(WaitUntil, String, FetchTieringCostInfoContent, CancellationToken) instead. </item>

PostFetchTieringCostAsync(ResourceGroupResource, WaitUntil, String, FetchTieringCostInfoContent, CancellationToken)

Provides the details of the tiering related sizes and cost. Status of the operation can be fetched using GetTieringCostOperationStatus API and result using GetTieringCostOperationResult API. <item> Mocking. To mock this method, please mock PostFetchTieringCostAsync(WaitUntil, String, FetchTieringCostInfoContent, CancellationToken) instead. </item>

RefreshProtectionContainer(ResourceGroupResource, String, String, String, CancellationToken)

Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API. <item> Mocking. To mock this method, please mock RefreshProtectionContainer(String, String, String, CancellationToken) instead. </item>

RefreshProtectionContainerAsync(ResourceGroupResource, String, String, String, CancellationToken)

Discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API. <item> Mocking. To mock this method, please mock RefreshProtectionContainerAsync(String, String, String, CancellationToken) instead. </item>

ValidateFeatureSupport(SubscriptionResource, AzureLocation, FeatureSupportContent, CancellationToken)

It will validate if given feature with resource properties is supported in service <item> Mocking. To mock this method, please mock ValidateFeatureSupport(AzureLocation, FeatureSupportContent, CancellationToken) instead. </item>

ValidateFeatureSupportAsync(SubscriptionResource, AzureLocation, FeatureSupportContent, CancellationToken)

It will validate if given feature with resource properties is supported in service <item> Mocking. To mock this method, please mock ValidateFeatureSupportAsync(AzureLocation, FeatureSupportContent, CancellationToken) instead. </item>

ValidateProtectionIntent(SubscriptionResource, AzureLocation, PreValidateEnableBackupContent, CancellationToken)

It will validate followings

  1. Vault capacity
  2. VM is already protected
  3. Any VM related configuration passed in properties.
<item> Mocking. To mock this method, please mock ValidateProtectionIntent(AzureLocation, PreValidateEnableBackupContent, CancellationToken) instead. </item>
ValidateProtectionIntentAsync(SubscriptionResource, AzureLocation, PreValidateEnableBackupContent, CancellationToken)

It will validate followings

  1. Vault capacity
  2. VM is already protected
  3. Any VM related configuration passed in properties.
<item> Mocking. To mock this method, please mock ValidateProtectionIntentAsync(AzureLocation, PreValidateEnableBackupContent, CancellationToken) instead. </item>

Applies to