C# Class Microsoft.Azure.Commands.SiteRecovery.PSRecoveryServicesClient

Recovery services convenience client.
ファイルを表示 Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
ChangeVaultContext ( ASRVault vault ) : ASRVaultCreds

Changes the Vault context

ConfigureProtection ( string fabricName, string protectionContainerName, string mappingName, Microsoft.Azure.Management.SiteRecovery.Models.CreateProtectionContainerMappingInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Pair Cloud

ConvertReplicationFrequencyToUshort ( string replicationFrequencyString ) : ushort

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

CreateAzureSiteRecoveryFabric ( string fabricName, string fabricType = null ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Creates Azure Site Recovery Fabric.

CreateAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.CreateRecoveryPlanInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Starts Creating Recovery Plan.

CreateExtendedInfo ( Microsoft.Azure.Management.SiteRecovery.Models.ResourceExtendedInformationArgs extendedInfoArgs ) : AzureOperationResponse

Creates the extended information for the vault

CreatePolicy ( string policyName, Microsoft.Azure.Management.SiteRecovery.Models.CreatePolicyInput Policy ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Creates Azure Site Recovery Policy.

CreateVault ( string resouceGroupName, string vaultName, VaultCreateArgs vaultCreateInput ) : VaultCreateResponse

Method to create Azure Site Recovery Vault

DeleteAzureSiteRecoveryFabric ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Deletes Azure Site Recovery Fabric.

DeletePolicy ( string profile ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Deletes Azure Site Recovery Policy.

DeleteVault ( string resouceGroupName, string vaultName ) : RecoveryServicesOperationStatusResponse

Method to delete Azure Site Recovery Vault

EnumerateStorageClassificationMappingsAsync ( Action callback ) : Task

Gets all storage classifications associated with a vault.

EnumerateStorageClassificationsAsync ( Action callback ) : Task

Gets all storage classifications associated with a vault.

GenerateVaultCredential ( X509Certificate2 managementCert, ASRVault vault, ASRSite site ) : ASRVaultCreds

Gets the vault credential object

GetAzureSiteRecoveryFabric ( bool shouldSignRequest = true ) : Microsoft.Azure.Management.SiteRecovery.Models.FabricListResponse

Gets Azure Site Recovery Fabrics.

GetAzureSiteRecoveryFabric ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.FabricResponse

Gets Azure Site Recovery Fabrics.

GetAzureSiteRecoveryNetwork ( string fabricName, string networkName ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworkResponse

Gets a particular Azure Site Recovery Network under a Server

GetAzureSiteRecoveryNetworkMappings ( ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworkMappingsListResponse

Gets all Azure Site Recovery Network mappings.

GetAzureSiteRecoveryNetworks ( ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworksListResponse

Gets all Azure Site Recovery Networks.

GetAzureSiteRecoveryNetworks ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworksListResponse

Gets all Azure Site Recovery Networks under a Server

GetAzureSiteRecoveryPolicy ( ) : Microsoft.Azure.Management.SiteRecovery.Models.PolicyListResponse

Gets Azure Site Recovery Policy.

GetAzureSiteRecoveryPolicy ( string PolicyId ) : Microsoft.Azure.Management.SiteRecovery.Models.PolicyResponse

Gets Azure Site Recovery Policy given the ID.

GetAzureSiteRecoveryProtectableItem ( string fabricName, string protectionContainerName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectableItemListResponse

Retrieves Protectable Items.

GetAzureSiteRecoveryProtectableItem ( string fabricName, string protectionContainerName, string replicatedProtectedItemName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectableItemResponse

Retrieves Protectable Item.

GetAzureSiteRecoveryProtectionContainer ( ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerListResponse

Gets Azure Site Recovery Protection Container.

GetAzureSiteRecoveryProtectionContainer ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerListResponse

Gets Azure Site Recovery Protection Container.

GetAzureSiteRecoveryProtectionContainer ( string fabricName, string protectionContainerName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerResponse

Gets Azure Site Recovery Protection Container.

GetAzureSiteRecoveryProtectionContainerMapping ( string fabricName, string protectionContainerName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerMappingListResponse

Gets Azure Site Recovery Protection Container Mapping.

GetAzureSiteRecoveryProtectionContainerMapping ( string fabricName, string protectionContainerName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerMappingResponse

Gets Azure Site Recovery Protection Container Mapping.

GetAzureSiteRecoveryProvider ( string fabricId ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryServicesProviderListResponse

Gets Azure Site Recovery Providers.

GetAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryServicesProviderResponse

Gets Azure Site Recovery Providers.

GetAzureSiteRecoveryRecoveryPlan ( ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanListResponse

Gets Azure Site Recovery Plans.

GetAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanResponse

Gets Azure Site Recovery Recovery Plan.

GetAzureSiteRecoveryRecoveryPoint ( string fabricName, string protectionContainerName, string replicationProtectedItemName ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPointListResponse

Gets the list of recovery points for a replicationProtectedItem.

GetAzureSiteRecoveryRecoveryPoint ( string fabricName, string protectionContainerName, string replicationProtectedItemName, string recoveryPointName ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPointResponse

Gets recovery point for a replicationProtectedItem and recovery point name.

GetExtendedInfo ( ) : Task

Gets Vault Extended Information

GetResouceGroups ( ) : ResourceGroupListResponse

Method to list Azure resouce groups

GetVaultsInResouceGroup ( string resouceGroupName ) : VaultListResponse

Method to list Azure Site Recovery Vaults

MapStorageClassification ( ASRStorageClassification primaryClassification, Microsoft.Azure.Management.SiteRecovery.Models.StorageClassificationMappingInput input, string armName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Starts job for mapping storage classification.

NewAzureSiteRecoveryNetworkMapping ( string primaryFabricName, string primaryNetworkName, string mappingName, string recoveryFabricName, string recoveryNetworkId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Creates a new Azure Site Recovery Network mapping.

PurgeAzureSiteRecoveryFabric ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Purge Azure Site Recovery Fabric.

PurgeAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Purge Azure Site Recovery Providers.

PurgeCloudMapping ( string fabricName, string protectionContainerName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Purge Cloud Mapping

RefreshAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Refresh Azure Site Recovery Provider.

RemoveAzureSiteRecoveryNetworkMapping ( string primaryFabricName, string primaryNetworkName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Removes Azure Site Recovery Network Mapping.

RemoveAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Remove Azure Site Recovery Providers.

RemoveAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Remove Azure Site Recovery recovery plan.

StartAzureSiteRecoveryCommitFailover ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Starts Azure Site Recovery Commit failover.

StartAzureSiteRecoveryPlannedFailover ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanPlannedFailoverInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Starts Azure Site Recovery Planned failover.

StartAzureSiteRecoveryTestFailover ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanTestFailoverInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Starts Azure Site Recovery test failover.

StartAzureSiteRecoveryUnplannedFailover ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanUnplannedFailoverInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Starts Azure Site Recovery Unplanned failover.

UnConfigureProtection ( string fabricName, string protectionContainerName, string mappingName, Microsoft.Azure.Management.SiteRecovery.Models.RemoveProtectionContainerMappingInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

UnPair Cloud

UnmapStorageClassifications ( string fabricName, string storageClassificationName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Starts job for unmapping classifications

UpdateAzureSiteRecoveryProtection ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Reprotect Recovery Plan

UpdateAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.UpdateRecoveryPlanInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Update Azure Site Recovery Recovery Plan.

UpdatePolicy ( string policyName, Microsoft.Azure.Management.SiteRecovery.Models.UpdatePolicyInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Update Azure Site Recovery Policy.

UpdateVaultCertificate ( Microsoft.Azure.Management.SiteRecovery.Models.CertificateArgs args, string certFriendlyName ) : Task

Updates the vault certificate

UpdateVmProperties ( string fabricName, string protectionContainerName, string replicationProtectedItemName, Microsoft.Azure.Management.SiteRecovery.Models.UpdateReplicationProtectedItemInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

Update Azure VM Properties

ValidateReplicationStartTime ( TimeSpan timeSpan ) : void

Validates if the time span object has a valid value.

Private Methods

Method Description
CreateVaultExtendedInformation ( ) : ResourceExtendedInfo

Method to create the extended info for the vault.

GenerateCredentialObject ( X509Certificate2 managementCert, Microsoft.Azure.Management.SiteRecovery.Models.UploadCertificateResponse acsDetails, string channelIntegrityKey, ASRVault vault, ASRSite site ) : ASRVaultCreds

Method to generate the credential file content

GetChannelIntegrityKey ( ) : Task

Get the Integrity key

UpdateVaultCertificate ( X509Certificate2 cert ) : Task

Method to update vault certificate

Method Details

ChangeVaultContext() public method

Changes the Vault context
public ChangeVaultContext ( ASRVault vault ) : ASRVaultCreds
vault ASRVault vault object
return ASRVaultCreds

ConfigureProtection() public method

Pair Cloud
public ConfigureProtection ( string fabricName, string protectionContainerName, string mappingName, Microsoft.Azure.Management.SiteRecovery.Models.CreateProtectionContainerMappingInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string Fabric Name
protectionContainerName string Protection Container Input
mappingName string Mapping Name
input Microsoft.Azure.Management.SiteRecovery.Models.CreateProtectionContainerMappingInput Pairing input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

ConvertReplicationFrequencyToUshort() public static method

Converts the Parameter set string of Replication Frequency in seconds to UShort.
public static ConvertReplicationFrequencyToUshort ( string replicationFrequencyString ) : ushort
replicationFrequencyString string Replication frequency in seconds.
return ushort

CreateAzureSiteRecoveryFabric() public method

Creates Azure Site Recovery Fabric.
public CreateAzureSiteRecoveryFabric ( string fabricName, string fabricType = null ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string
fabricType string
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

CreateAzureSiteRecoveryRecoveryPlan() public method

Starts Creating Recovery Plan.
public CreateAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.CreateRecoveryPlanInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
input Microsoft.Azure.Management.SiteRecovery.Models.CreateRecoveryPlanInput Create Recovery Plan Input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

CreateExtendedInfo() public method

Creates the extended information for the vault
public CreateExtendedInfo ( Microsoft.Azure.Management.SiteRecovery.Models.ResourceExtendedInformationArgs extendedInfoArgs ) : AzureOperationResponse
extendedInfoArgs Microsoft.Azure.Management.SiteRecovery.Models.ResourceExtendedInformationArgs extended info to be created
return AzureOperationResponse

CreatePolicy() public method

Creates Azure Site Recovery Policy.
public CreatePolicy ( string policyName, Microsoft.Azure.Management.SiteRecovery.Models.CreatePolicyInput Policy ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
policyName string Policy name
Policy Microsoft.Azure.Management.SiteRecovery.Models.CreatePolicyInput
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

CreateVault() public method

Method to create Azure Site Recovery Vault
public CreateVault ( string resouceGroupName, string vaultName, VaultCreateArgs vaultCreateInput ) : VaultCreateResponse
resouceGroupName string name of the resouce group
vaultName string name of the vault
vaultCreateInput VaultCreateArgs vault creation input object
return VaultCreateResponse

DeleteAzureSiteRecoveryFabric() public method

Deletes Azure Site Recovery Fabric.
public DeleteAzureSiteRecoveryFabric ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

DeletePolicy() public method

Deletes Azure Site Recovery Policy.
public DeletePolicy ( string profile ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
profile string
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

DeleteVault() public method

Method to delete Azure Site Recovery Vault
public DeleteVault ( string resouceGroupName, string vaultName ) : RecoveryServicesOperationStatusResponse
resouceGroupName string name of the resouce group
vaultName string name of the vault
return RecoveryServicesOperationStatusResponse

EnumerateStorageClassificationMappingsAsync() public method

Gets all storage classifications associated with a vault.
public EnumerateStorageClassificationMappingsAsync ( Action callback ) : Task
callback Action Callback to execute on the result.
return Task

EnumerateStorageClassificationsAsync() public method

Gets all storage classifications associated with a vault.
public EnumerateStorageClassificationsAsync ( Action callback ) : Task
callback Action Callback to execute on the result.
return Task

GenerateVaultCredential() public method

Gets the vault credential object
public GenerateVaultCredential ( X509Certificate2 managementCert, ASRVault vault, ASRSite site ) : ASRVaultCreds
managementCert X509Certificate2 certificate to be uploaded
vault ASRVault vault object
site ASRSite
return ASRVaultCreds

GetAzureSiteRecoveryFabric() public method

Gets Azure Site Recovery Fabrics.
public GetAzureSiteRecoveryFabric ( bool shouldSignRequest = true ) : Microsoft.Azure.Management.SiteRecovery.Models.FabricListResponse
shouldSignRequest bool Boolean indicating if the request should be signed ACIK
return Microsoft.Azure.Management.SiteRecovery.Models.FabricListResponse

GetAzureSiteRecoveryFabric() public method

Gets Azure Site Recovery Fabrics.
public GetAzureSiteRecoveryFabric ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.FabricResponse
fabricName string Server ID
return Microsoft.Azure.Management.SiteRecovery.Models.FabricResponse

GetAzureSiteRecoveryNetwork() public method

Gets a particular Azure Site Recovery Network under a Server
public GetAzureSiteRecoveryNetwork ( string fabricName, string networkName ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworkResponse
fabricName string Fabric name
networkName string Network name
return Microsoft.Azure.Management.SiteRecovery.Models.NetworkResponse

GetAzureSiteRecoveryNetworkMappings() public method

Gets all Azure Site Recovery Network mappings.
public GetAzureSiteRecoveryNetworkMappings ( ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworkMappingsListResponse
return Microsoft.Azure.Management.SiteRecovery.Models.NetworkMappingsListResponse

GetAzureSiteRecoveryNetworks() public method

Gets all Azure Site Recovery Networks.
public GetAzureSiteRecoveryNetworks ( ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworksListResponse
return Microsoft.Azure.Management.SiteRecovery.Models.NetworksListResponse

GetAzureSiteRecoveryNetworks() public method

Gets all Azure Site Recovery Networks under a Server
public GetAzureSiteRecoveryNetworks ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.NetworksListResponse
fabricName string
return Microsoft.Azure.Management.SiteRecovery.Models.NetworksListResponse

GetAzureSiteRecoveryPolicy() public method

Gets Azure Site Recovery Policy.
public GetAzureSiteRecoveryPolicy ( ) : Microsoft.Azure.Management.SiteRecovery.Models.PolicyListResponse
return Microsoft.Azure.Management.SiteRecovery.Models.PolicyListResponse

GetAzureSiteRecoveryPolicy() public method

Gets Azure Site Recovery Policy given the ID.
public GetAzureSiteRecoveryPolicy ( string PolicyId ) : Microsoft.Azure.Management.SiteRecovery.Models.PolicyResponse
PolicyId string Policy ID
return Microsoft.Azure.Management.SiteRecovery.Models.PolicyResponse

GetAzureSiteRecoveryProtectableItem() public method

Retrieves Protectable Items.
public GetAzureSiteRecoveryProtectableItem ( string fabricName, string protectionContainerName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectableItemListResponse
fabricName string
protectionContainerName string Protection Container Name
return Microsoft.Azure.Management.SiteRecovery.Models.ProtectableItemListResponse

GetAzureSiteRecoveryProtectableItem() public method

Retrieves Protectable Item.
public GetAzureSiteRecoveryProtectableItem ( string fabricName, string protectionContainerName, string replicatedProtectedItemName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectableItemResponse
fabricName string
protectionContainerName string Protection Container Name
replicatedProtectedItemName string Virtual Machine Name
return Microsoft.Azure.Management.SiteRecovery.Models.ProtectableItemResponse

GetAzureSiteRecoveryProtectionContainer() public method

Gets Azure Site Recovery Protection Container.
public GetAzureSiteRecoveryProtectionContainer ( ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerListResponse
return Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerListResponse

GetAzureSiteRecoveryProtectionContainer() public method

Gets Azure Site Recovery Protection Container.
public GetAzureSiteRecoveryProtectionContainer ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerListResponse
fabricName string
return Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerListResponse

GetAzureSiteRecoveryProtectionContainer() public method

Gets Azure Site Recovery Protection Container.
public GetAzureSiteRecoveryProtectionContainer ( string fabricName, string protectionContainerName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerResponse
fabricName string
protectionContainerName string Protection Container ID
return Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerResponse

GetAzureSiteRecoveryProtectionContainerMapping() public method

Gets Azure Site Recovery Protection Container Mapping.
public GetAzureSiteRecoveryProtectionContainerMapping ( string fabricName, string protectionContainerName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerMappingListResponse
fabricName string Fabric Name
protectionContainerName string Protection Container Name
return Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerMappingListResponse

GetAzureSiteRecoveryProtectionContainerMapping() public method

Gets Azure Site Recovery Protection Container Mapping.
public GetAzureSiteRecoveryProtectionContainerMapping ( string fabricName, string protectionContainerName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerMappingResponse
fabricName string Fabric Name
protectionContainerName string Protection Container Name
mappingName string Mapping Name
return Microsoft.Azure.Management.SiteRecovery.Models.ProtectionContainerMappingResponse

GetAzureSiteRecoveryProvider() public method

Gets Azure Site Recovery Providers.
public GetAzureSiteRecoveryProvider ( string fabricId ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryServicesProviderListResponse
fabricId string Fabric ID
return Microsoft.Azure.Management.SiteRecovery.Models.RecoveryServicesProviderListResponse

GetAzureSiteRecoveryProvider() public method

Gets Azure Site Recovery Providers.
public GetAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryServicesProviderResponse
fabricId string Fabric ID
providerId string Provider ID
return Microsoft.Azure.Management.SiteRecovery.Models.RecoveryServicesProviderResponse

GetAzureSiteRecoveryRecoveryPlan() public method

Gets Azure Site Recovery Plans.
public GetAzureSiteRecoveryRecoveryPlan ( ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanListResponse
return Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanListResponse

GetAzureSiteRecoveryRecoveryPlan() public method

Gets Azure Site Recovery Recovery Plan.
public GetAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanResponse
recoveryPlanName string Recovery Plan Name
return Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanResponse

GetAzureSiteRecoveryRecoveryPoint() public method

Gets the list of recovery points for a replicationProtectedItem.
public GetAzureSiteRecoveryRecoveryPoint ( string fabricName, string protectionContainerName, string replicationProtectedItemName ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPointListResponse
fabricName string Fabric name.
protectionContainerName string Protection container name.
replicationProtectedItemName string Replication protected item name.
return Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPointListResponse

GetAzureSiteRecoveryRecoveryPoint() public method

Gets recovery point for a replicationProtectedItem and recovery point name.
public GetAzureSiteRecoveryRecoveryPoint ( string fabricName, string protectionContainerName, string replicationProtectedItemName, string recoveryPointName ) : Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPointResponse
fabricName string Fabric name.
protectionContainerName string Protection container name.
replicationProtectedItemName string Replication protected item name.
recoveryPointName string Recovery point name.
return Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPointResponse

GetExtendedInfo() public method

Gets Vault Extended Information
public GetExtendedInfo ( ) : Task
return Task

GetResouceGroups() public method

Method to list Azure resouce groups
public GetResouceGroups ( ) : ResourceGroupListResponse
return ResourceGroupListResponse

GetVaultsInResouceGroup() public method

Method to list Azure Site Recovery Vaults
public GetVaultsInResouceGroup ( string resouceGroupName ) : VaultListResponse
resouceGroupName string name of the resouce group
return VaultListResponse

MapStorageClassification() public method

Starts job for mapping storage classification.
public MapStorageClassification ( ASRStorageClassification primaryClassification, Microsoft.Azure.Management.SiteRecovery.Models.StorageClassificationMappingInput input, string armName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
primaryClassification ASRStorageClassification Primary classification.
input Microsoft.Azure.Management.SiteRecovery.Models.StorageClassificationMappingInput Mapping input.
armName string Optional. ARM name of the mapping.
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

NewAzureSiteRecoveryNetworkMapping() public method

Creates a new Azure Site Recovery Network mapping.
public NewAzureSiteRecoveryNetworkMapping ( string primaryFabricName, string primaryNetworkName, string mappingName, string recoveryFabricName, string recoveryNetworkId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
primaryFabricName string Primary fabric name
primaryNetworkName string Primary network name
mappingName string Mapping name
recoveryFabricName string Recovery fabric name
recoveryNetworkId string Recovery network id
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

PurgeAzureSiteRecoveryFabric() public method

Purge Azure Site Recovery Fabric.
public PurgeAzureSiteRecoveryFabric ( string fabricName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string Fabric name
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

PurgeAzureSiteRecoveryProvider() public method

Purge Azure Site Recovery Providers.
public PurgeAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricId string Fabric ID
providerId string Provider ID
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

PurgeCloudMapping() public method

Purge Cloud Mapping
public PurgeCloudMapping ( string fabricName, string protectionContainerName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string Fabric Name
protectionContainerName string Protection Container Input
mappingName string Mapping Name
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

RefreshAzureSiteRecoveryProvider() public method

Refresh Azure Site Recovery Provider.
public RefreshAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricId string Fabric ID
providerId string Provider ID
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

RemoveAzureSiteRecoveryNetworkMapping() public method

Removes Azure Site Recovery Network Mapping.
public RemoveAzureSiteRecoveryNetworkMapping ( string primaryFabricName, string primaryNetworkName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
primaryFabricName string Primary fabric name
primaryNetworkName string Primary network name
mappingName string mapping name
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

RemoveAzureSiteRecoveryProvider() public method

Remove Azure Site Recovery Providers.
public RemoveAzureSiteRecoveryProvider ( string fabricId, string providerId ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricId string Fabric ID
providerId string Provider ID
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

RemoveAzureSiteRecoveryRecoveryPlan() public method

Remove Azure Site Recovery recovery plan.
public RemoveAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

StartAzureSiteRecoveryCommitFailover() public method

Starts Azure Site Recovery Commit failover.
public StartAzureSiteRecoveryCommitFailover ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

StartAzureSiteRecoveryPlannedFailover() public method

Starts Azure Site Recovery Planned failover.
public StartAzureSiteRecoveryPlannedFailover ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanPlannedFailoverInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
input Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanPlannedFailoverInput Recovery Plan Planned Failover Input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

StartAzureSiteRecoveryTestFailover() public method

Starts Azure Site Recovery test failover.
public StartAzureSiteRecoveryTestFailover ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanTestFailoverInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
input Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanTestFailoverInput Recovery Plan Test Failover Input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

StartAzureSiteRecoveryUnplannedFailover() public method

Starts Azure Site Recovery Unplanned failover.
public StartAzureSiteRecoveryUnplannedFailover ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanUnplannedFailoverInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
input Microsoft.Azure.Management.SiteRecovery.Models.RecoveryPlanUnplannedFailoverInput Recovery Plan Unplanned Failover Input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

UnConfigureProtection() public method

UnPair Cloud
public UnConfigureProtection ( string fabricName, string protectionContainerName, string mappingName, Microsoft.Azure.Management.SiteRecovery.Models.RemoveProtectionContainerMappingInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string Fabric Name
protectionContainerName string Protection Container Input
mappingName string Mapping Name
input Microsoft.Azure.Management.SiteRecovery.Models.RemoveProtectionContainerMappingInput UnPairing input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

UnmapStorageClassifications() public method

Starts job for unmapping classifications
public UnmapStorageClassifications ( string fabricName, string storageClassificationName, string mappingName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string Fabric name name.
storageClassificationName string Storage classification name.
mappingName string Classification mapping name.
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

UpdateAzureSiteRecoveryProtection() public method

Reprotect Recovery Plan
public UpdateAzureSiteRecoveryProtection ( string recoveryPlanName ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

UpdateAzureSiteRecoveryRecoveryPlan() public method

Update Azure Site Recovery Recovery Plan.
public UpdateAzureSiteRecoveryRecoveryPlan ( string recoveryPlanName, Microsoft.Azure.Management.SiteRecovery.Models.UpdateRecoveryPlanInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
recoveryPlanName string Recovery Plan Name
input Microsoft.Azure.Management.SiteRecovery.Models.UpdateRecoveryPlanInput Update Recovery Plan Input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

UpdatePolicy() public method

Update Azure Site Recovery Policy.
public UpdatePolicy ( string policyName, Microsoft.Azure.Management.SiteRecovery.Models.UpdatePolicyInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
policyName string Policy Name
input Microsoft.Azure.Management.SiteRecovery.Models.UpdatePolicyInput
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

UpdateVaultCertificate() public method

Updates the vault certificate
public UpdateVaultCertificate ( Microsoft.Azure.Management.SiteRecovery.Models.CertificateArgs args, string certFriendlyName ) : Task
args Microsoft.Azure.Management.SiteRecovery.Models.CertificateArgs the certificate update arguments
certFriendlyName string
return Task

UpdateVmProperties() public method

Update Azure VM Properties
public UpdateVmProperties ( string fabricName, string protectionContainerName, string replicationProtectedItemName, Microsoft.Azure.Management.SiteRecovery.Models.UpdateReplicationProtectedItemInput input ) : Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse
fabricName string Fabric Name
protectionContainerName string Protection Container Name
replicationProtectedItemName string Replication Protected Item
input Microsoft.Azure.Management.SiteRecovery.Models.UpdateReplicationProtectedItemInput Update Replication Protected Item Input
return Microsoft.Azure.Management.SiteRecovery.Models.LongRunningOperationResponse

ValidateReplicationStartTime() public static method

Validates if the time span object has a valid value.
public static ValidateReplicationStartTime ( TimeSpan timeSpan ) : void
timeSpan TimeSpan Time span object to be validated
return void