共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryNetworkMappingProperties Method

Definition

Initializes a new instance of SiteRecoveryNetworkMappingProperties.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryNetworkMappingProperties SiteRecoveryNetworkMappingProperties (string state = default, string primaryNetworkFriendlyName = default, Azure.Core.ResourceIdentifier primaryNetworkId = default, string primaryFabricFriendlyName = default, string recoveryNetworkFriendlyName = default, Azure.Core.ResourceIdentifier recoveryNetworkId = default, Azure.Core.ResourceIdentifier recoveryFabricArmId = default, string recoveryFabricFriendlyName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.NetworkMappingFabricSpecificSettings fabricSpecificSettings = default);
static member SiteRecoveryNetworkMappingProperties : string * string * Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.NetworkMappingFabricSpecificSettings -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryNetworkMappingProperties
Public Shared Function SiteRecoveryNetworkMappingProperties (Optional state As String = Nothing, Optional primaryNetworkFriendlyName As String = Nothing, Optional primaryNetworkId As ResourceIdentifier = Nothing, Optional primaryFabricFriendlyName As String = Nothing, Optional recoveryNetworkFriendlyName As String = Nothing, Optional recoveryNetworkId As ResourceIdentifier = Nothing, Optional recoveryFabricArmId As ResourceIdentifier = Nothing, Optional recoveryFabricFriendlyName As String = Nothing, Optional fabricSpecificSettings As NetworkMappingFabricSpecificSettings = Nothing) As SiteRecoveryNetworkMappingProperties

Parameters

state
String

The pairing state for network mapping.

primaryNetworkFriendlyName
String

The primary network friendly name.

primaryNetworkId
ResourceIdentifier

The primary network id for network mapping.

primaryFabricFriendlyName
String

The primary fabric friendly name.

recoveryNetworkFriendlyName
String

The recovery network friendly name.

recoveryNetworkId
ResourceIdentifier

The recovery network id for network mapping.

recoveryFabricArmId
ResourceIdentifier

The recovery fabric ARM id.

recoveryFabricFriendlyName
String

The recovery fabric friendly name.

fabricSpecificSettings
NetworkMappingFabricSpecificSettings

The fabric specific settings. Please note NetworkMappingFabricSpecificSettings 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 A2ANetworkMappingSettings, VmmToAzureNetworkMappingSettings and VmmToVmmNetworkMappingSettings.

Returns

A new SiteRecoveryNetworkMappingProperties instance for mocking.

Applies to