HciVmNetworkInterfaceProperties Class

Definition

Properties under the network interface resource.

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

Constructors

Name Description
HciVmNetworkInterfaceProperties()

Initializes a new instance of HciVmNetworkInterfaceProperties.

Properties

Name Description
CreateFromLocal

Boolean indicating whether this is a existing local network interface or if one should be created.

DnsServers

List of DNS server IP Addresses for the interface.

IPConfigurations

IPConfigurations - A list of IPConfigurations of the network interface.

IsSdnPoliciesBypassed

This setting is applicable only when SDN is supported and enabled in the environment. Indicates whether SDN policies should be bypassed for this network interface. By default, SDN is enabled. Set this value to true only if you want to disable SDN for the network interface.

MacAddress

MacAddress - The MAC address of the network interface.

NetworkSecurityGroupId

The Azure Resource ID for a Network Security Group.

ProvisioningState

Provisioning state of the network interface.

Status

The observed state of network interfaces.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<HciVmNetworkInterfaceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmNetworkInterfaceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmNetworkInterfaceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmNetworkInterfaceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmNetworkInterfaceProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to