Share via


NetworkMapping Class

Definition

Network Mapping model. Ideally it should have been possible to inherit this class from prev version in InheritedModels as long as there is no difference in structure or method signature. Since there were no base Models for certain fields and methods viz NetworkMappingProperties and Load with required return type, the class has been introduced in its entirety with references to base models to facilitate extensions in subsequent versions.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.NetworkMappingTypeConverter))]
public class NetworkMapping : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.INetworkMapping, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.NetworkMappingTypeConverter))>]
type NetworkMapping = class
    interface INetworkMapping
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class NetworkMapping
Implements INetworkMapping, IValidates
Inheritance
NetworkMapping
Attributes
Implements

Constructors

NetworkMapping()

Creates an new NetworkMapping instance.

Properties

FabricSpecificSettingInstanceType

Gets the Instance type.

Id

Resource Id

Location

Resource Location

Name

Resource Name

PrimaryFabricFriendlyName

The primary fabric friendly name.

PrimaryNetworkFriendlyName

The primary network friendly name.

PrimaryNetworkId

The primary network id for network mapping.

RecoveryFabricArmId

The recovery fabric ARM id.

RecoveryFabricFriendlyName

The recovery fabric friendly name.

RecoveryNetworkFriendlyName

The recovery network friendly name.

RecoveryNetworkId

The recovery network id for network mapping.

State

The pairing state for network mapping.

Type

Resource Type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkMapping.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkMapping.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.INetworkMapping.

FromJsonString(String)

Creates a new instance of NetworkMapping, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkMapping into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to