共用方式為


DevTestLabSubnetOverride Class

Definition

Property overrides on a subnet of a virtual network.

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

Constructors

DevTestLabSubnetOverride()

Initializes a new instance of DevTestLabSubnetOverride.

Properties

LabSubnetName

The name given to the subnet within the lab.

ResourceId

The resource ID of the subnet.

SharedPublicIPAddressAllowedPorts

Backend ports that virtual machines on this subnet are allowed to expose.

UseInVmCreationPermission

Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).

UsePublicIPAddressPermission

Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).

VirtualNetworkPoolName

The virtual network pool associated with this subnet.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabSubnetOverride>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabSubnetOverride>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabSubnetOverride>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabSubnetOverride>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabSubnetOverride>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to