共用方式為


DevTestLabSubnet Class

Definition

Subnet information.

public class DevTestLabSubnet : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabSubnet>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabSubnet>
public class DevTestLabSubnet
type DevTestLabSubnet = class
    interface IJsonModel<DevTestLabSubnet>
    interface IPersistableModel<DevTestLabSubnet>
type DevTestLabSubnet = class
Public Class DevTestLabSubnet
Implements IJsonModel(Of DevTestLabSubnet), IPersistableModel(Of DevTestLabSubnet)
Public Class DevTestLabSubnet
Inheritance
DevTestLabSubnet
Implements

Constructors

DevTestLabSubnet()

Initializes a new instance of DevTestLabSubnet.

Properties

AllowPublicIP

The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).

LabSubnetName

The name of the subnet as seen in the lab.

ResourceId

The resource ID of the subnet.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabSubnet>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DevTestLabSubnet>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabSubnet>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabSubnet>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DevTestLabSubnet>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to