NetworkInterfacePropertiesFormatInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. NetworkInterfacePropertiesFormatInner
- com.
Implements
public final class NetworkInterfacePropertiesFormatInner
implements JsonSerializable<NetworkInterfacePropertiesFormatInner>
NetworkInterface properties.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkInterfacePropertiesFormatInner() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Network |
auxiliaryMode()
Get the auxiliary |
|
Network |
auxiliarySku()
Get the auxiliary |
| Boolean |
defaultOutboundConnectivityEnabled()
Get the default |
| Boolean |
disableTcpStateTracking()
Get the disable |
|
Network |
dnsSettings()
Get the dns |
|
Sub |
dscpConfiguration()
Get the dscp |
| Boolean |
enableAcceleratedNetworking()
Get the enable |
| Boolean |
enableIpForwarding()
Get the enable |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| List<String> |
hostedWorkloads()
Get the hosted |
|
List<Network |
ipConfigurations()
Get the ip |
| String |
macAddress()
Get the mac |
|
Network |
migrationPhase()
Get the migration |
|
Network |
networkSecurityGroup()
Get the network |
|
Network |
nicType()
Get the nic |
| Boolean |
primary()
Get the primary property: Whether this is a primary network interface on a virtual machine. |
|
Private |
privateEndpoint()
Get the private |
|
Private |
privateLinkService()
Get the private |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
List<Network |
tapConfigurations()
Get the tap |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sub |
virtualMachine()
Get the virtual |
| Boolean |
vnetEncryptionSupported()
Get the vnet |
|
Network |
withAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode)
Set the auxiliary |
|
Network |
withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku)
Set the auxiliary |
|
Network |
withDisableTcpStateTracking(Boolean disableTcpStateTracking)
Set the disable |
|
Network |
withDnsSettings(NetworkInterfaceDnsSettings dnsSettings)
Set the dns |
|
Network |
withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
Set the enable |
|
Network |
withEnableIpForwarding(Boolean enableIpForwarding)
Set the enable |
|
Network |
withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations)
Set the ip |
|
Network |
withMigrationPhase(NetworkInterfaceMigrationPhase migrationPhase)
Set the migration |
|
Network |
withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)
Set the network |
|
Network |
withNicType(NetworkInterfaceNicType nicType)
Set the nic |
|
Network |
withPrivateLinkService(PrivateLinkServiceInner privateLinkService)
Set the private |
|
Network |
withWorkloadType(String workloadType)
Set the workload |
| String |
workloadType()
Get the workload |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfacePropertiesFormatInner
public NetworkInterfacePropertiesFormatInner()
Creates an instance of NetworkInterfacePropertiesFormatInner class.
Method Details
auxiliaryMode
public NetworkInterfaceAuxiliaryMode auxiliaryMode()
Get the auxiliaryMode property: Auxiliary mode of Network Interface resource.
Returns:
auxiliarySku
public NetworkInterfaceAuxiliarySku auxiliarySku()
Get the auxiliarySku property: Auxiliary sku of Network Interface resource.
Returns:
defaultOutboundConnectivityEnabled
public Boolean defaultOutboundConnectivityEnabled()
Get the defaultOutboundConnectivityEnabled property: Whether default outbound connectivity for nic was configured or not.
Returns:
disableTcpStateTracking
public Boolean disableTcpStateTracking()
Get the disableTcpStateTracking property: Indicates whether to disable tcp state tracking.
Returns:
dnsSettings
public NetworkInterfaceDnsSettings dnsSettings()
Get the dnsSettings property: The DNS settings in network interface.
Returns:
dscpConfiguration
public SubResource dscpConfiguration()
Get the dscpConfiguration property: A reference to the dscp configuration to which the network interface is linked.
Returns:
enableAcceleratedNetworking
public Boolean enableAcceleratedNetworking()
Get the enableAcceleratedNetworking property: If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
Returns:
enableIpForwarding
public Boolean enableIpForwarding()
Get the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.
Returns:
fromJson
public static NetworkInterfacePropertiesFormatInner fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfacePropertiesFormatInner from the JsonReader.
Parameters:
Returns:
Throws:
hostedWorkloads
public List<String> hostedWorkloads()
Get the hostedWorkloads property: A list of references to linked BareMetal resources.
Returns:
ipConfigurations
public List<NetworkInterfaceIpConfigurationInner> ipConfigurations()
Get the ipConfigurations property: A list of IPConfigurations of the network interface.
Returns:
macAddress
public String macAddress()
Get the macAddress property: The MAC address of the network interface.
Returns:
migrationPhase
public NetworkInterfaceMigrationPhase migrationPhase()
Get the migrationPhase property: Migration phase of Network Interface resource.
Returns:
networkSecurityGroup
public NetworkSecurityGroupInner networkSecurityGroup()
Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
Returns:
nicType
public NetworkInterfaceNicType nicType()
Get the nicType property: Type of Network Interface resource.
Returns:
primary
public Boolean primary()
Get the primary property: Whether this is a primary network interface on a virtual machine.
Returns:
privateEndpoint
public PrivateEndpointInner privateEndpoint()
Get the privateEndpoint property: A reference to the private endpoint to which the network interface is linked.
Returns:
privateLinkService
public PrivateLinkServiceInner privateLinkService()
Get the privateLinkService property: Privatelinkservice of the network interface resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the network interface resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the network interface resource.
Returns:
tapConfigurations
public List<NetworkInterfaceTapConfigurationInner> tapConfigurations()
Get the tapConfigurations property: A list of TapConfigurations of the network interface.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualMachine
public SubResource virtualMachine()
Get the virtualMachine property: The reference to a virtual machine.
Returns:
vnetEncryptionSupported
public Boolean vnetEncryptionSupported()
Get the vnetEncryptionSupported property: Whether the virtual machine this nic is attached to supports encryption.
Returns:
withAuxiliaryMode
public NetworkInterfacePropertiesFormatInner withAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode)
Set the auxiliaryMode property: Auxiliary mode of Network Interface resource.
Parameters:
Returns:
withAuxiliarySku
public NetworkInterfacePropertiesFormatInner withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku)
Set the auxiliarySku property: Auxiliary sku of Network Interface resource.
Parameters:
Returns:
withDisableTcpStateTracking
public NetworkInterfacePropertiesFormatInner withDisableTcpStateTracking(Boolean disableTcpStateTracking)
Set the disableTcpStateTracking property: Indicates whether to disable tcp state tracking.
Parameters:
Returns:
withDnsSettings
public NetworkInterfacePropertiesFormatInner withDnsSettings(NetworkInterfaceDnsSettings dnsSettings)
Set the dnsSettings property: The DNS settings in network interface.
Parameters:
Returns:
withEnableAcceleratedNetworking
public NetworkInterfacePropertiesFormatInner withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)
Set the enableAcceleratedNetworking property: If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.
Parameters:
Returns:
withEnableIpForwarding
public NetworkInterfacePropertiesFormatInner withEnableIpForwarding(Boolean enableIpForwarding)
Set the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.
Parameters:
Returns:
withIpConfigurations
public NetworkInterfacePropertiesFormatInner withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations)
Set the ipConfigurations property: A list of IPConfigurations of the network interface.
Parameters:
Returns:
withMigrationPhase
public NetworkInterfacePropertiesFormatInner withMigrationPhase(NetworkInterfaceMigrationPhase migrationPhase)
Set the migrationPhase property: Migration phase of Network Interface resource.
Parameters:
Returns:
withNetworkSecurityGroup
public NetworkInterfacePropertiesFormatInner withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)
Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.
Parameters:
Returns:
withNicType
public NetworkInterfacePropertiesFormatInner withNicType(NetworkInterfaceNicType nicType)
Set the nicType property: Type of Network Interface resource.
Parameters:
Returns:
withPrivateLinkService
public NetworkInterfacePropertiesFormatInner withPrivateLinkService(PrivateLinkServiceInner privateLinkService)
Set the privateLinkService property: Privatelinkservice of the network interface resource.
Parameters:
Returns:
withWorkloadType
public NetworkInterfacePropertiesFormatInner withWorkloadType(String workloadType)
Set the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.
Parameters:
Returns:
workloadType
public String workloadType()
Get the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.
Returns: