Subnet Class

Definition

Subnets of the network.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.SubnetTypeConverter))]
public class Subnet : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.ISubnet
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.SubnetTypeConverter))>]
type Subnet = class
    interface ISubnet
    interface IJsonSerializable
Public Class Subnet
Implements ISubnet
Inheritance
Subnet
Attributes
Implements

Constructors

Name Description
Subnet()

Creates an new Subnet instance.

Properties

Name Description
AddressList

The list of addresses for the subnet.

FriendlyName

The subnet friendly name.

Name

The subnet name.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Subnet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Subnet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20250801.ISubnet.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Subnet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to