你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ASRProtectableItem Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ASRProtectableItem() |
Initializes a new instance of the ASRProtectableItem class. |
ASRProtectableItem(ProtectableItem) |
Initializes a new instance of the ASRProtectableItem class when it is not protected |
ASRProtectableItem(ASRProtectionContainer, String, VMwareMachine) |
Initializes a new instance of the ASRProtectableItem class when it is not protected |
ASRProtectableItem()
Initializes a new instance of the ASRProtectableItem class.
public ASRProtectableItem ();
Public Sub New ()
Applies to
ASRProtectableItem(ProtectableItem)
Initializes a new instance of the ASRProtectableItem class when it is not protected
public ASRProtectableItem (Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ProtectableItem pi);
new Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectableItem : Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ProtectableItem -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectableItem
Public Sub New (pi As ProtectableItem)
Parameters
Protectable Item to read values from
Applies to
ASRProtectableItem(ASRProtectionContainer, String, VMwareMachine)
Initializes a new instance of the ASRProtectableItem class when it is not protected
public ASRProtectableItem (Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer container, string siteId, Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.VMwareMachine machine);
new Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectableItem : Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer * string * Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.VMwareMachine -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectableItem
Public Sub New (container As ASRProtectionContainer, siteId As String, machine As VMwareMachine)
Parameters
- container
- ASRProtectionContainer
Protection container.
- siteId
- String
Fabric discovery site Id.
- machine
- VMwareMachine
Fabric discovery machine details.