ArmRecoveryServicesDataReplicationModelFactory.DataReplicationFabricProperties Method
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.
Initializes a new instance of DataReplicationFabricProperties.
public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricProperties DataReplicationFabricProperties (Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState? provisioningState = default, string serviceEndpoint = default, Azure.Core.ResourceIdentifier serviceResourceId = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthStatus? health = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo> healthErrors = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.FabricModelCustomProperties customProperties = default);
static member DataReplicationFabricProperties : Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthStatus> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.FabricModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricProperties
Public Shared Function DataReplicationFabricProperties (Optional provisioningState As Nullable(Of DataReplicationProvisioningState) = Nothing, Optional serviceEndpoint As String = Nothing, Optional serviceResourceId As ResourceIdentifier = Nothing, Optional health As Nullable(Of DataReplicationHealthStatus) = Nothing, Optional healthErrors As IEnumerable(Of DataReplicationHealthErrorInfo) = Nothing, Optional customProperties As FabricModelCustomProperties = Nothing) As DataReplicationFabricProperties
Parameters
- provisioningState
- Nullable<DataReplicationProvisioningState>
Gets or sets the provisioning state of the fabric.
- serviceEndpoint
- String
Gets or sets the service endpoint.
- serviceResourceId
- ResourceIdentifier
Gets or sets the service resource Id.
- health
- Nullable<DataReplicationHealthStatus>
Gets or sets the fabric health.
- healthErrors
- IEnumerable<DataReplicationHealthErrorInfo>
Gets or sets the list of health errors.
- customProperties
- FabricModelCustomProperties
Fabric model custom properties. Please note FabricModelCustomProperties 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 AzStackHciFabricModelCustomProperties, GeneralFabricModelCustomProperties, HyperVMigrateFabricModelCustomProperties and VMwareMigrateFabricModelCustomProperties.
Returns
A new DataReplicationFabricProperties instance for mocking.
Applies to
Azure SDK for .NET