Share via


VirtualMachineNetworkProfile Class

Definition

Specifies the network interfaces or the networking configuration of the virtual machine.

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

Constructors

VirtualMachineNetworkProfile()

Initializes a new instance of VirtualMachineNetworkProfile.

Properties

NetworkApiVersion

specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations.

NetworkInterfaceConfigurations

Specifies the networking configurations that will be used to create the virtual machine networking resources.

NetworkInterfaces

Specifies the list of resource Ids for the network interfaces associated with the virtual machine.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineNetworkProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineNetworkProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineNetworkProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineNetworkProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineNetworkProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to