PSRecoveryServicesClient Class

Definition

Recovery services convenience client.

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

Constructors

PSRecoveryServicesClient(IAzureContext)

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

Fields

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

ClientRequestId

client request id.

GetRecoveryServicesBackupClient

Gets the value of recovery services backup client.

GetRecoveryServicesClient

Gets the value of recovery services management client.

RmClient

Methods

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

GetRequestHeaders()

Gets request headers.

GetResouceGroups()
GetResourceGroup(String)
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)
PatchVaultStorageConfigProperties(String, String, BackupResourceConfigResource)

Method to Patch Azure Recovery Services Vault Backup Properties

UpdateRSVault(String, String, PatchVault)

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