次の方法で共有


PSRecoveryServicesClient Class

Definition

Recovery services convenience client.

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

Constructors

PSRecoveryServicesClient(IAzureContextContainer)

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

PSRecoveryServicesClient(IAzureContextContainer)

Fields

asrVaultCreds

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

idPrefixtillvaultName
TimeToSleepBeforeFetchingJobDetailsAgain

Amount of time to sleep before fetching job details again.

Properties

ClientRequestId

client request id.

GetRecoveryServicesVaultClient

Gets the value of recovery services vault management client.

Methods

AddDisks(String, String, String, AddDisksInput)

Add disks to replicated protected item.

CancelAzureSiteRecoveryJob(String)

Cancel Azure Site Recovery Job.

ConfigureProtection(String, String, String, CreateProtectionContainerMappingInput)

Pair Cloud

ConvertReplicationFrequencyToUshort(String)

Converts the Parameter set string of Replication Frequency in seconds to UShort.

CreateAzureSiteRecoveryFabric(String, FabricCreationInput)

Creates Azure Site Recovery Fabric.

CreateAzureSiteRecoveryRecoveryPlan(String, CreateRecoveryPlanInput)

Starts Creating Recovery Plan.

CreatePolicy(String, CreatePolicyInput)

Creates Azure Site Recovery Policy.

CreateProtectionContainer(String, String, CreateProtectionContainerInput)

Create protection container.

DeleteAzureSiteRecoveryFabric(String)

Deletes Azure Site Recovery Fabric.

DeletePolicy(String)

Deletes Azure Site Recovery Policy.

DisableProtection(String, String, String, DisableProtectionInput)

Removes Replicated Protected Item.

EnableProtection(String, String, String, EnableProtectionInput)

Creates Replicated Protected Item.

GenerateAgentAuthenticationHeader(String, Nullable<DateTime>)

Site Recovery requests that go to on-premise components (like the Provider installed in VMM) require an authentication token that is signed with the vault key to indicate that the request indeed originated from the end-user client. Generating that authentication token here and sending it via http headers.

GetAzureRmSiteRecoveryEvent(String)

Gets the events.

GetAzureRmSiteRecoveryvCenter(String, String)

Gets Azure Site Recovery vCenter server.

GetAzureSiteRecoveryAlertSetting()

Gets azure site recovery alertSettings.

GetAzureSiteRecoveryFabric()

Gets Azure Site Recovery Fabrics.

GetAzureSiteRecoveryFabric(String)

Gets Azure Site Recovery Fabrics.

GetAzureSiteRecoveryJob(JobQueryParameter)

Get Azure Site Recovery Job.

GetAzureSiteRecoveryJobDetails(String)

Gets Azure Site Recovery Job details.

GetAzureSiteRecoveryNetwork(String, String)

Gets a particular Azure Site Recovery Network under a Server

GetAzureSiteRecoveryNetworkMappings()

Gets all Azure Site Recovery Network mappings.

GetAzureSiteRecoveryNetworkMappings(String, String, String)

Get Azure Site Recovery Network mappings.

GetAzureSiteRecoveryNetworkMappings(String, String)

List Azure Site Recovery Network mappings by network.

GetAzureSiteRecoveryNetworks()

Gets all Azure Site Recovery Networks.

GetAzureSiteRecoveryNetworks(String)

Gets all Azure Site Recovery Networks under a Server

GetAzureSiteRecoveryPolicy()

Gets Azure Site Recovery Policy.

GetAzureSiteRecoveryPolicy(String)

Gets Azure Site Recovery Policy given the ID.

GetAzureSiteRecoveryProtectableItem(String, String, String)

Retrieves Protectable Item.

GetAzureSiteRecoveryProtectableItem(String, String)

Retrieves Protectable Items.

GetAzureSiteRecoveryProtectionContainer()

Gets Azure Site Recovery Protection Container.

GetAzureSiteRecoveryProtectionContainer(String, String)

Gets Azure Site Recovery Protection Container.

GetAzureSiteRecoveryProtectionContainer(String)

Gets Azure Site Recovery Protection Container.

GetAzureSiteRecoveryProtectionContainerMapping(String, String, String)

Gets Azure Site Recovery Protection Container Mapping.

GetAzureSiteRecoveryProtectionContainerMapping(String, String)

Gets Azure Site Recovery Protection Container Mapping.

GetAzureSiteRecoveryProvider(String, String)

Gets Azure Site Recovery Providers.

GetAzureSiteRecoveryProvider(String)

Gets Azure Site Recovery Providers.

GetAzureSiteRecoveryRecoveryPlan()

Gets Azure Site Recovery Plans.

GetAzureSiteRecoveryRecoveryPlan(String)

Gets Azure Site Recovery Recovery Plan.

GetAzureSiteRecoveryRecoveryPoint(String, String, String, String)

Gets recovery point for a replicationProtectedItem and recovery point name.

GetAzureSiteRecoveryRecoveryPoint(String, String, String)

Gets the list of recovery points for a replicationProtectedItem.

GetAzureSiteRecoveryReplicationProtectedItem(String, String, String)

Retrieves Replicated Protected Item.

GetAzureSiteRecoveryReplicationProtectedItem(String, String)

Retrieves Replicated Protected Item.

GetAzureSiteRecoveryReplicationProtectedItemInRP(String)

Retrieves Protected Items.

GetAzureSiteRecoveryStorageClassification()

Gets Azure Site Recovery Storage Classification.

GetAzureSiteRecoveryStorageClassificationMapping()

Gets Azure Site Recovery Storage Classification Mappings.

GetJobIdFromReponseLocation(String)
GetRequestHeaders(Boolean)

Gets request headers.

GetResourceGroup(String)
GetSubscriptionId(String)
GetVaultExtendedInfo(String, String)

Get extendVault Info.

ListAzureRmSiteRecoveryEvents(EventQueryParameter)

Gets all the Events with Event Query Params.

ListAzureRmSiteRecoveryvCenter(String)

Gets all the vCenters in Fabric.

MapStorageClassification(ASRStorageClassification, StorageClassificationMappingInput, String)

Starts job for mapping storage classification.

NewAzureRmSiteRecoveryvCenter(String, String, AddVCenterRequest)

Adds the vCenter to Fabric and discovery its VMs.

NewAzureSiteRecoveryNetworkMapping(String, String, String, CreateNetworkMappingInput)

Creates a new Azure Site Recovery Network mapping.

NewAzureSiteRecoveryProtectableItem(String, String, DiscoverProtectableItemRequest)

Discovers Protectable Items.

PurgeAzureSiteRecoveryFabric(String)

Purge Azure Site Recovery Fabric.

PurgeAzureSiteRecoveryProvider(String, String)

Purge Azure Site Recovery Providers.

PurgeCloudMapping(String, String, String)

Purge Cloud Mapping

PurgeProtection(String, String, String)

Purges Replicated Protected Item.

ReassociateProcessServer(String, FailoverProcessServerRequest)

Reassociate replicated items with another Process Server.

RefreshAzureSiteRecoveryProvider(String, String)

Refresh Azure Site Recovery Provider.

RemoveAzureRmSiteRecoveryvCenter(String, String)

Remove Azure Site Recovery vCenter.

RemoveAzureSiteRecoveryNetworkMapping(String, String, String)

Removes Azure Site Recovery Network Mapping.

RemoveAzureSiteRecoveryProvider(String, String)

Remove Azure Site Recovery Providers.

RemoveAzureSiteRecoveryRecoveryPlan(String)

Remove Azure Site Recovery recovery plan.

RemoveDisks(String, String, String, RemoveDisksInput)

Remove disks from replication protected item.

RemoveProtectionContainer(String, String)

Remove protection container.

RestartAzureSiteRecoveryJob(String)

Restart Azure Site Recovery Job.

ResumeAzureSiteRecoveryJob(String, ResumeJobParams)

Resumes Azure Site Recovery Job.

SetAzureSiteRecoveryAlertSetting(ConfigureAlertRequest)

Set the alert settings.

StartAzureSiteRecoveryApplyRecoveryPoint(String, String, String, ApplyRecoveryPointInput)

Start applying Recovery Point.

StartAzureSiteRecoveryCancelFailover(String, String, String)

Starts cancel failover.

StartAzureSiteRecoveryCancelFailover(String)

Starts Azure Site Recovery cancel failover.

StartAzureSiteRecoveryCommitFailover(String, String, String)

Starts Commit Failover

StartAzureSiteRecoveryCommitFailover(String)

Starts Azure Site Recovery Commit failover.

StartAzureSiteRecoveryPlannedFailover(String, RecoveryPlanPlannedFailoverInput)

Starts Azure Site Recovery Planned failover.

StartAzureSiteRecoveryPlannedFailover(String, String, String, PlannedFailoverInput)

Starts Planned Failover

StartAzureSiteRecoveryReprotection(String, String, String, ReverseReplicationInput)

Re-protects the Azure Site Recovery protection entity.

StartAzureSiteRecoveryResynchronizeReplication(String, String, String)

Resyncs / Repairs Replication.

StartAzureSiteRecoveryTestFailover(String, RecoveryPlanTestFailoverInput)

Starts Azure Site Recovery test failover.

StartAzureSiteRecoveryTestFailover(String, String, String, TestFailoverInput)

Starts Test Failover

StartAzureSiteRecoveryTestFailoverCleanup(String, RecoveryPlanTestFailoverCleanupInput)

Starts Azure Site Recovery test failover cleanup.

StartAzureSiteRecoveryTestFailoverCleanup(String, String, String, TestFailoverCleanupInput)

Starts Test Failover Cleanup.

StartAzureSiteRecoveryUnplannedFailover(String, RecoveryPlanUnplannedFailoverInput)

Starts Azure Site Recovery Unplanned failover.

StartAzureSiteRecoveryUnplannedFailover(String, String, String, UnplannedFailoverInput)

Starts Unplanned Failover

StartSwitchProtection(String, String, SwitchProtectionInput)

Switch the Azure Site Recovery protection entity replication direction.

SwitchAppliance(String, String, String, UpdateApplianceForReplicationProtectedItemInput)

Switch appliance of a replication protected item.

UnConfigureProtection(String, String, String, RemoveProtectionContainerMappingInput)

UnPair Cloud

UnmapStorageClassifications(String, String, String)

Starts job for unmapping classifications

UpdateAzureRmSiteRecoveryvCenter(String, String, UpdateVCenterRequest)

Update the vCenter server.

UpdateAzureSiteRecoveryMobilityService(String, String, String, UpdateMobilityServiceRequest)

Updates Mobility Service.

UpdateAzureSiteRecoveryNetworkMapping(String, String, String, UpdateNetworkMappingInput)

Updates an existing Azure Site Recovery Network mapping.

UpdateAzureSiteRecoveryProtection(String)

Reprotect Recovery Plan

UpdateAzureSiteRecoveryProtectionContainerMapping(String, String, String, UpdateProtectionContainerMappingInput)

Update Azure Site Recovery Protection Container Mapping.

UpdateAzureSiteRecoveryRecoveryPlan(String, UpdateRecoveryPlanInput)

Update Azure Site Recovery Recovery Plan.

UpdatePolicy(String, UpdatePolicyInput)

Update Azure Site Recovery Policy.

UpdateVmProperties(String, String, String, UpdateReplicationProtectedItemInput)

Update Azure VM Properties

ValidateReplicationStartTime(Nullable<TimeSpan>)

Validates if the time span object has a valid value.

ValidateVaultSettings(String, String)

Validates current in-memory Vault Settings.

Applies to