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

The base class for all Windows Azure Recovery Services commands
Inheritance: Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet
Mostrar archivo Open project: Azure/azure-powershell

Private Properties

Property Type Description

Public Methods

Method Description
ExecuteCmdlet ( ) : void

Overriding base implementation go execute cmdlet.

ExecuteSiteRecoveryCmdlet ( ) : void

Virtual method to be implemented by Site Recovery cmdlets.

HandleException ( Exception ex ) : void

Exception handler.

WaitForJobCompletion ( string jobId ) : Microsoft.Azure.Management.SiteRecovery.Models.JobResponse

Waits for the job to complete.

Protected Methods

Method Description
GetCurrentVaultLocation ( ) : string

Gets the current vault location.

StopProcessing ( ) : void

Handles interrupts.

ValidateUsageById ( string replicationProvider, string paramName ) : void

Validates if the usage by ID is allowed or not.

Method Details

ExecuteCmdlet() public method

Overriding base implementation go execute cmdlet.
public ExecuteCmdlet ( ) : void
return void

ExecuteSiteRecoveryCmdlet() public method

Virtual method to be implemented by Site Recovery cmdlets.
public ExecuteSiteRecoveryCmdlet ( ) : void
return void

GetCurrentVaultLocation() protected method

Gets the current vault location.
protected GetCurrentVaultLocation ( ) : string
return string

HandleException() public method

Exception handler.
public HandleException ( Exception ex ) : void
ex System.Exception Exception to handle.
return void

StopProcessing() protected method

Handles interrupts.
protected StopProcessing ( ) : void
return void

ValidateUsageById() protected method

Validates if the usage by ID is allowed or not.
protected ValidateUsageById ( string replicationProvider, string paramName ) : void
replicationProvider string Replication provider.
paramName string Parameter name.
return void

WaitForJobCompletion() public method

Waits for the job to complete.
public WaitForJobCompletion ( string jobId ) : Microsoft.Azure.Management.SiteRecovery.Models.JobResponse
jobId string Id of the job to wait for.
return Microsoft.Azure.Management.SiteRecovery.Models.JobResponse