Subnet Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.SubnetTypeConverter))]
public class Subnet : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ISubnet
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.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

AddressPrefix

The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6.

AddressPrefixes

List of address prefixes for the subnet.

IPAllocationMethod

IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'

IPConfigurationReference

IPConfigurationReferences - list of IPConfigurationReferences

IPPool

network associated pool of IP Addresses

Name

Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.

Route

Collection of routes contained within a route table.

RouteTableEtag

A unique read-only string that changes whenever the resource is updated.

RouteTableName

Resource name.

RouteTableType

Resource type.

Vlan

Vlan to use for the subnet

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.StackHCIVM.Models.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.

ToString()

Applies to