Language

ArmComputeBulkActionsModelFactory.NetworkInterfaceReferenceProperties Method

Definition

Describes a network interface reference properties.

public static Azure.ResourceManager.Compute.BulkActions.Models.NetworkInterfaceReferenceProperties NetworkInterfaceReferenceProperties(bool? isPrimary = default, Azure.ResourceManager.Compute.BulkActions.Models.DeleteConfig? deleteOption = default);
static member NetworkInterfaceReferenceProperties : Nullable<bool> * Nullable<Azure.ResourceManager.Compute.BulkActions.Models.DeleteConfig> -> Azure.ResourceManager.Compute.BulkActions.Models.NetworkInterfaceReferenceProperties
Public Shared Function NetworkInterfaceReferenceProperties (Optional isPrimary As Nullable(Of Boolean) = Nothing, Optional deleteOption As Nullable(Of DeleteConfig) = Nothing) As NetworkInterfaceReferenceProperties

Parameters

isPrimary
Nullable<Boolean>

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

deleteOption
Nullable<DeleteConfig>

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

Returns

A new NetworkInterfaceReferenceProperties instance for mocking.

Applies to