public class NetworkInterfaceReference
extends com.microsoft.azure.SubResource
| Constructor and Description |
|---|
NetworkInterfaceReference() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
primary()
Get specifies the primary network interface in case the virtual machine has more than 1 network interface.
|
NetworkInterfaceReference |
withPrimary(Boolean primary)
Set specifies the primary network interface in case the virtual machine has more than 1 network interface.
|
public Boolean primary()
public NetworkInterfaceReference withPrimary(Boolean primary)
primary - the primary value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/