共用方式為


VirtualMachineNetworkInterfaceReference Class

Definition

Describes a network interface reference.

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

Constructors

VirtualMachineNetworkInterfaceReference()

Initializes a new instance of VirtualMachineNetworkInterfaceReference.

Properties

DeleteOption

Specify what happens to the network interface when the VM is deleted.

Id

Resource Id.

(Inherited from ComputeWriteableSubResourceData)
Primary

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ComputeWriteableSubResourceData)

Explicit Interface Implementations

IJsonModel<ComputeWriteableSubResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<ComputeWriteableSubResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeWriteableSubResourceData)
IJsonModel<VirtualMachineNetworkInterfaceReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineNetworkInterfaceReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeWriteableSubResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<ComputeWriteableSubResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ComputeWriteableSubResourceData)
IPersistableModel<VirtualMachineNetworkInterfaceReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineNetworkInterfaceReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineNetworkInterfaceReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to