public class NetworkInterfaceReference
extends com.azure.core.management.SubResource
Constructor and Description |
---|
NetworkInterfaceReference() |
Modifier and Type | Method and Description |
---|---|
Boolean |
primary()
Get the primary property: Specifies the primary network interface in case the virtual machine has more than 1
network interface.
|
void |
validate()
Validates the instance.
|
NetworkInterfaceReference |
withPrimary(Boolean primary)
Set the primary property: 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.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.