C# Class Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVirtualMachine

Inheritance: ASRProtectionEntity
Mostra file Open project: Azure/azure-powershell

Public Methods

Method Description
ASRVirtualMachine ( ) : System

Initializes a new instance of the ASRVirtualMachine class.

ASRVirtualMachine ( Microsoft.WindowsAzure.Management.SiteRecovery.Models.VirtualMachine vm ) : System

Initializes a new instance of the ASRVirtualMachine class.

ASRVirtualMachine ( string id, string serverId, string protectionContainerId, string name, string type, string fabricObjectId, bool protectedOrNot, bool canCommit, bool canFailover, bool canReverseReplicate, string activeLocation, string protectionStateDescription, string testFailoverStateDescription, string replicationHealth, string replicationProvider ) : System

Initializes a new instance of the ASRVirtualMachine class with required parameters.

Method Details

ASRVirtualMachine() public method

Initializes a new instance of the ASRVirtualMachine class.
public ASRVirtualMachine ( ) : System
return System

ASRVirtualMachine() public method

Initializes a new instance of the ASRVirtualMachine class.
public ASRVirtualMachine ( Microsoft.WindowsAzure.Management.SiteRecovery.Models.VirtualMachine vm ) : System
vm Microsoft.WindowsAzure.Management.SiteRecovery.Models.VirtualMachine Virtual Machine
return System

ASRVirtualMachine() public method

Initializes a new instance of the ASRVirtualMachine class with required parameters.
public ASRVirtualMachine ( string id, string serverId, string protectionContainerId, string name, string type, string fabricObjectId, bool protectedOrNot, bool canCommit, bool canFailover, bool canReverseReplicate, string activeLocation, string protectionStateDescription, string testFailoverStateDescription, string replicationHealth, string replicationProvider ) : System
id string Virtual Machine ID
serverId string Server ID
protectionContainerId string Protection Container ID
name string Name of the Virtual Machine
type string Virtual Machine type
fabricObjectId string Fabric object ID
protectedOrNot bool Can protected or not
canCommit bool Can commit or not
canFailover bool Can failover or not
canReverseReplicate bool Can reverse replicate or not
activeLocation string Active location
protectionStateDescription string Protection state
testFailoverStateDescription string Test fail over state
replicationHealth string Replication health
replicationProvider string Replication provider
return System