다음을 통해 공유


HciVmNetworkingSubnet Class

Definition

Properties of the subnet.

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

Constructors

HciVmNetworkingSubnet()

Initializes a new instance of HciVmNetworkingSubnet.

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

IPConfigurationReferences

IPConfigurationReferences - list of IPConfigurationReferences.

IPPools

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.

NetworkSecurityGroupId

Gets or sets Id.

RouteTable

Route table resource.

Vlan

Vlan to use for the subnet.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HciVmNetworkingSubnet>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmNetworkingSubnet>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmNetworkingSubnet>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmNetworkingSubnet>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmNetworkingSubnet>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to