Share via


Subnet Class

Definition

Subnet of container group

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

Specifies ARM resource id of the subnet.

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