Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryFabricProperties Method

Definition

Initializes a new instance of SiteRecoveryFabricProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryFabricProperties SiteRecoveryFabricProperties (string friendlyName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEncryptionDetails encryptionDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEncryptionDetails rolloverEncryptionDetails = default, string internalIdentifier = default, string bcdrState = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FabricSpecificDetails customDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrorDetails = default, string health = default);
static member SiteRecoveryFabricProperties : string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEncryptionDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEncryptionDetails * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FabricSpecificDetails * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryFabricProperties
Public Shared Function SiteRecoveryFabricProperties (Optional friendlyName As String = Nothing, Optional encryptionDetails As SiteRecoveryEncryptionDetails = Nothing, Optional rolloverEncryptionDetails As SiteRecoveryEncryptionDetails = Nothing, Optional internalIdentifier As String = Nothing, Optional bcdrState As String = Nothing, Optional customDetails As FabricSpecificDetails = Nothing, Optional healthErrorDetails As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional health As String = Nothing) As SiteRecoveryFabricProperties

Parameters

friendlyName
String

Friendly name of the fabric.

encryptionDetails
SiteRecoveryEncryptionDetails

Encryption details for the fabric.

rolloverEncryptionDetails
SiteRecoveryEncryptionDetails

Rollover encryption details for the fabric.

internalIdentifier
String

Dra Registration Id.

bcdrState
String

BCDR state of the fabric.

customDetails
FabricSpecificDetails

Fabric specific settings. Please note FabricSpecificDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SiteRecoveryFabricProviderSpecificDetails, HyperVSiteDetails, InMageRcmFabricSpecificDetails, VmmFabricDetails, VMwareDetails and VMwareV2FabricSpecificDetails.

healthErrorDetails
IEnumerable<SiteRecoveryHealthError>

Fabric health error details.

health
String

Health of fabric.

Returns

A new SiteRecoveryFabricProperties instance for mocking.

Applies to