Share via


NetworkInterfaceReference Class

Definition

Describes a network interface reference.

[Microsoft.Rest.Serialization.JsonTransformation]
public class NetworkInterfaceReference : Microsoft.Azure.Management.Compute.Models.SubResource, Microsoft.Rest.Azure.IResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type NetworkInterfaceReference = class
    inherit SubResource
    interface IResource
Public Class NetworkInterfaceReference
Inherits SubResource
Implements IResource
Inheritance
NetworkInterfaceReference
Attributes
Implements

Constructors

NetworkInterfaceReference()

Initializes a new instance of the NetworkInterfaceReference class.

NetworkInterfaceReference(Nullable<Boolean>, String)

Initializes a new instance of the NetworkInterfaceReference class.

NetworkInterfaceReference(String, Nullable<Boolean>, String)

Initializes a new instance of the NetworkInterfaceReference class.

Properties

DeleteOption

Gets or sets specify what happens to the network interface when the VM is deleted. Possible values include: 'Delete', 'Detach'

Id

Gets or sets resource Id

(Inherited from SubResource)
Primary

Gets or sets specifies the primary network interface in case the virtual machine has more than 1 network interface.

Applies to