Partager via


ASRProtectionContainer Constructors

Definition

Overloads

ASRProtectionContainer()

Initializes a new instance of the ASRProtectionContainer class.

ASRProtectionContainer(ProtectionContainer, List<ASRPolicy>, List<ASRProtectionContainerMapping>)

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

ASRProtectionContainer()

Initializes a new instance of the ASRProtectionContainer class.

public ASRProtectionContainer ();
Public Sub New ()

Applies to

ASRProtectionContainer(ProtectionContainer, List<ASRPolicy>, List<ASRProtectionContainerMapping>)

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

public ASRProtectionContainer (Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ProtectionContainer pc, System.Collections.Generic.List<Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRPolicy> availablePolicies, System.Collections.Generic.List<Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainerMapping> protectionContainerMappings);
new Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer : Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ProtectionContainer * System.Collections.Generic.List<Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRPolicy> * System.Collections.Generic.List<Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainerMapping> -> Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRProtectionContainer
Public Sub New (pc As ProtectionContainer, availablePolicies As List(Of ASRPolicy), protectionContainerMappings As List(Of ASRProtectionContainerMapping))

Parameters

pc
ProtectionContainer

Protection container object

availablePolicies
List<ASRPolicy>
protectionContainerMappings
List<ASRProtectionContainerMapping>

Applies to