Share via


PSRecoveryServicesClient Class

Definition

Recovery services convenience client.

public class PSRecoveryServicesClient
type PSRecoveryServicesClient = class
Public Class PSRecoveryServicesClient
Inheritance
PSRecoveryServicesClient

Constructors

Name Description
PSRecoveryServicesClient(IAzureContext)

Initializes a new instance of the PSRecoveryServicesClient class with required current subscription.

Fields

Name Description
arsVault

Resource credentials holds vault, resource group name, location and other details.

arsVaultCreds

Resource credentials holds vault, cloud service name, vault key and other details.

ProductionRpNamespace

Properties

Name Description
ClientRequestId

client request id.

GetRecoveryServicesBackupClient

Gets the value of recovery services backup client.

GetRecoveryServicesClient

Gets the value of recovery services management client.

RmClient

Methods

Name Description
ChangeVaultContext(ARSVault)

Changes the Vault context

CreateExtendedInfo(VaultExtendedInfoResource)

Creates the extended information for the vault

CreateVault(String, String, Vault)

Method to create Azure Recovery Services Vault

DeleteVault(String, String)

Method to delete Azure Recovery Services Vault

GenerateVaultCredential(X509Certificate2, ARSVault, ASRSite, String)

Gets the vault credential object

GetCurrentVaultChannelIntegrityKey()

Get the Integrity key

GetExtendedInfo()

Gets Vault Extended Information

GetLocationFromDeletedVaultId(String)

Helper method to extract location from deleted vault ID

GetRequestHeaders()

Gets request headers.

GetResouceGroups()
GetResourceGroup(String)
GetSoftDeletedVault(String, String)

Method to get a specific soft deleted Azure Recovery Services Vault

GetSoftDeletedVaultsByLocation(String)

Method to list soft deleted Azure Recovery Services Vaults by location

GetSubscriptionId(String)
GetVault(String, String)

Method to get Azure Recovery Services Vault

getVaultAuthType(String, String)

Changes the Vault context

GetVaultsInResouceGroup(String)

Method to list Azure Recovery Services Vaults

GetVaultStorageConfig(String, String)

Method to Get Azure Recovery Services Vault Backup Properties

GetVaultStorageType(String, String)
ListResourceGuardMapping(String, String)

Method to fetch resource guard proxy list.

PatchVaultStorageConfigProperties(String, String, BackupResourceConfigResource)

Method to Patch Azure Recovery Services Vault Backup Properties

UndeleteSoftDeletedVault(String, String, String)

Method to undelete a soft deleted Azure Recovery Services Vault

UpdateRSVault(String, String, PatchVault, String, Boolean)

Method to create or update Recovery Services Vault.

UpdateVaultCertificate(CertificateRequest, String)

Updates the vault certificate

UpdateVaultStorageType(String, String, BackupResourceConfigResource)

Method to Update Azure Recovery Services Vault Backup Properties

UpdateVaultStorageType(String, String, BackupStorageConfig)
UploadCertificate(X509Certificate2, ARSVault)

Upload cert to idmgmt

Applies to