Partager via


VirtualMachineNetworkInterfaceIPConfiguration Class

Definition

Describes a virtual machine network profile's IP configuration.

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

Constructors

VirtualMachineNetworkInterfaceIPConfiguration(String)

Initializes a new instance of VirtualMachineNetworkInterfaceIPConfiguration.

Properties

ApplicationGatewayBackendAddressPools

Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.

ApplicationSecurityGroups

Specifies an array of references to application security group.

LoadBalancerBackendAddressPools

Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].

Name

The IP configuration name.

Primary

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

PrivateIPAddressVersion

Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.

PublicIPAddressConfiguration

The publicIPAddressConfiguration.

SubnetId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineNetworkInterfaceIPConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineNetworkInterfaceIPConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineNetworkInterfaceIPConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineNetworkInterfaceIPConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineNetworkInterfaceIPConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to