Partilhar via


Subnet Class

Definition

Subnets of the network.

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

Constructors

Subnet()

Creates an new Subnet instance.

Properties

AddressList

The list of addresses for the subnet.

FriendlyName

The subnet friendly name.

Name

The subnet name.

Methods

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.Api202301.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