public class NetworkInterfaceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
NetworkInterfaceInner() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterfaceDnsSettings |
dnsSettings()
Get the dnsSettings property: The DNS settings in network interface.
|
Boolean |
enableAcceleratedNetworking()
Get the enableAcceleratedNetworking property: If the network interface is accelerated networking enabled.
|
Boolean |
enableIpForwarding()
Get the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
List<String> |
hostedWorkloads()
Get the hostedWorkloads property: A list of references to linked BareMetal resources.
|
String |
id()
Get the id property: Resource ID.
|
List<NetworkInterfaceIpConfigurationInner> |
ipConfigurations()
Get the ipConfigurations property: A list of IPConfigurations of the network interface.
|
String |
macAddress()
Get the macAddress property: The MAC address of the network interface.
|
NetworkSecurityGroupInner |
networkSecurityGroup()
Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
|
Boolean |
primary()
Get the primary property: Whether this is a primary network interface on a virtual machine.
|
PrivateEndpointInner |
privateEndpoint()
Get the privateEndpoint property: A reference to the private endpoint to which the network interface is linked.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the network interface resource.
|
String |
resourceGuid()
Get the resourceGuid property: The resource GUID property of the network interface resource.
|
List<NetworkInterfaceTapConfigurationInner> |
tapConfigurations()
Get the tapConfigurations property: A list of TapConfigurations of the network interface.
|
void |
validate()
Validates the instance.
|
com.azure.core.management.SubResource |
virtualMachine()
Get the virtualMachine property: The reference to a virtual machine.
|
NetworkInterfaceInner |
withDnsSettings(NetworkInterfaceDnsSettings dnsSettings)
Set the dnsSettings property: The DNS settings in network interface.
|
NetworkInterfaceInner |
withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
Set the enableAcceleratedNetworking property: If the network interface is accelerated networking enabled.
|
NetworkInterfaceInner |
withEnableIpForwarding(Boolean enableIpForwarding)
Set the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.
|
NetworkInterfaceInner |
withId(String id)
Set the id property: Resource ID.
|
NetworkInterfaceInner |
withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations)
Set the ipConfigurations property: A list of IPConfigurations of the network interface.
|
NetworkInterfaceInner |
withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)
Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
|
public String etag()
public com.azure.core.management.SubResource virtualMachine()
public NetworkSecurityGroupInner networkSecurityGroup()
public NetworkInterfaceInner withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)
networkSecurityGroup - the networkSecurityGroup value to set.public PrivateEndpointInner privateEndpoint()
public List<NetworkInterfaceIpConfigurationInner> ipConfigurations()
public NetworkInterfaceInner withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations)
ipConfigurations - the ipConfigurations value to set.public List<NetworkInterfaceTapConfigurationInner> tapConfigurations()
public NetworkInterfaceDnsSettings dnsSettings()
public NetworkInterfaceInner withDnsSettings(NetworkInterfaceDnsSettings dnsSettings)
dnsSettings - the dnsSettings value to set.public String macAddress()
public Boolean primary()
public Boolean enableAcceleratedNetworking()
public NetworkInterfaceInner withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
enableAcceleratedNetworking - the enableAcceleratedNetworking value to set.public Boolean enableIpForwarding()
public NetworkInterfaceInner withEnableIpForwarding(Boolean enableIpForwarding)
enableIpForwarding - the enableIpForwarding value to set.public List<String> hostedWorkloads()
public String resourceGuid()
public ProvisioningState provisioningState()
public String id()
id in class com.azure.core.management.ProxyResourcepublic NetworkInterfaceInner withId(String id)
id - the id value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.