NetworkInterfacePropertiesFormatInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.NetworkInterfacePropertiesFormatInner

Implements

public final class NetworkInterfacePropertiesFormatInner
implements JsonSerializable<NetworkInterfacePropertiesFormatInner>

NetworkInterface properties.

Constructor Summary

Constructor Description
NetworkInterfacePropertiesFormatInner()

Creates an instance of NetworkInterfacePropertiesFormatInner class.

Method Summary

Modifier and Type Method and Description
NetworkInterfaceAuxiliaryMode auxiliaryMode()

Get the auxiliaryMode property: Auxiliary mode of Network Interface resource.

NetworkInterfaceAuxiliarySku auxiliarySku()

Get the auxiliarySku property: Auxiliary sku of Network Interface resource.

Boolean defaultOutboundConnectivityEnabled()

Get the defaultOutboundConnectivityEnabled property: Whether default outbound connectivity for nic was configured or not.

Boolean disableTcpStateTracking()

Get the disableTcpStateTracking property: Indicates whether to disable tcp state tracking.

NetworkInterfaceDnsSettings dnsSettings()

Get the dnsSettings property: The DNS settings in network interface.

SubResource dscpConfiguration()

Get the dscpConfiguration property: A reference to the dscp configuration to which the network interface is linked.

Boolean enableAcceleratedNetworking()

Get the enableAcceleratedNetworking property: If the network interface is configured for accelerated networking.

Boolean enableIpForwarding()

Get the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.

static NetworkInterfacePropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfacePropertiesFormatInner from the JsonReader.

List<String> hostedWorkloads()

Get the hostedWorkloads property: A list of references to linked BareMetal resources.

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.

NetworkInterfaceMigrationPhase migrationPhase()

Get the migrationPhase property: Migration phase of Network Interface resource.

NetworkSecurityGroupInner networkSecurityGroup()

Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.

NetworkInterfaceNicType nicType()

Get the nicType property: Type of Network Interface 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.

PrivateLinkServiceInner privateLinkService()

Get the privateLinkService property: Privatelinkservice of the network interface resource.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SubResource virtualMachine()

Get the virtualMachine property: The reference to a virtual machine.

Boolean vnetEncryptionSupported()

Get the vnetEncryptionSupported property: Whether the virtual machine this nic is attached to supports encryption.

NetworkInterfacePropertiesFormatInner withAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode)

Set the auxiliaryMode property: Auxiliary mode of Network Interface resource.

NetworkInterfacePropertiesFormatInner withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku)

Set the auxiliarySku property: Auxiliary sku of Network Interface resource.

NetworkInterfacePropertiesFormatInner withDisableTcpStateTracking(Boolean disableTcpStateTracking)

Set the disableTcpStateTracking property: Indicates whether to disable tcp state tracking.

NetworkInterfacePropertiesFormatInner withDnsSettings(NetworkInterfaceDnsSettings dnsSettings)

Set the dnsSettings property: The DNS settings in network interface.

NetworkInterfacePropertiesFormatInner withEnableAcceleratedNetworking(Boolean enableAcceleratedNetworking)

Set the enableAcceleratedNetworking property: If the network interface is configured for accelerated networking.

NetworkInterfacePropertiesFormatInner withEnableIpForwarding(Boolean enableIpForwarding)

Set the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.

NetworkInterfacePropertiesFormatInner withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations)

Set the ipConfigurations property: A list of IPConfigurations of the network interface.

NetworkInterfacePropertiesFormatInner withMigrationPhase(NetworkInterfaceMigrationPhase migrationPhase)

Set the migrationPhase property: Migration phase of Network Interface resource.

NetworkInterfacePropertiesFormatInner withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)

Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.

NetworkInterfacePropertiesFormatInner withNicType(NetworkInterfaceNicType nicType)

Set the nicType property: Type of Network Interface resource.

NetworkInterfacePropertiesFormatInner withPrivateLinkService(PrivateLinkServiceInner privateLinkService)

Set the privateLinkService property: Privatelinkservice of the network interface resource.

NetworkInterfacePropertiesFormatInner withWorkloadType(String workloadType)

Set the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.

String workloadType()

Get the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.

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:

the auxiliaryMode value.

auxiliarySku

public NetworkInterfaceAuxiliarySku auxiliarySku()

Get the auxiliarySku property: Auxiliary sku of Network Interface resource.

Returns:

the auxiliarySku value.

defaultOutboundConnectivityEnabled

public Boolean defaultOutboundConnectivityEnabled()

Get the defaultOutboundConnectivityEnabled property: Whether default outbound connectivity for nic was configured or not.

Returns:

the defaultOutboundConnectivityEnabled value.

disableTcpStateTracking

public Boolean disableTcpStateTracking()

Get the disableTcpStateTracking property: Indicates whether to disable tcp state tracking.

Returns:

the disableTcpStateTracking value.

dnsSettings

public NetworkInterfaceDnsSettings dnsSettings()

Get the dnsSettings property: The DNS settings in network interface.

Returns:

the dnsSettings value.

dscpConfiguration

public SubResource dscpConfiguration()

Get the dscpConfiguration property: A reference to the dscp configuration to which the network interface is linked.

Returns:

the dscpConfiguration value.

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:

the enableAcceleratedNetworking value.

enableIpForwarding

public Boolean enableIpForwarding()

Get the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.

Returns:

the enableIpForwarding value.

fromJson

public static NetworkInterfacePropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfacePropertiesFormatInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkInterfacePropertiesFormatInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NetworkInterfacePropertiesFormatInner.

hostedWorkloads

public List<String> hostedWorkloads()

Get the hostedWorkloads property: A list of references to linked BareMetal resources.

Returns:

the hostedWorkloads value.

ipConfigurations

public List<NetworkInterfaceIpConfigurationInner> ipConfigurations()

Get the ipConfigurations property: A list of IPConfigurations of the network interface.

Returns:

the ipConfigurations value.

macAddress

public String macAddress()

Get the macAddress property: The MAC address of the network interface.

Returns:

the macAddress value.

migrationPhase

public NetworkInterfaceMigrationPhase migrationPhase()

Get the migrationPhase property: Migration phase of Network Interface resource.

Returns:

the migrationPhase value.

networkSecurityGroup

public NetworkSecurityGroupInner networkSecurityGroup()

Get the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.

Returns:

the networkSecurityGroup value.

nicType

public NetworkInterfaceNicType nicType()

Get the nicType property: Type of Network Interface resource.

Returns:

the nicType value.

primary

public Boolean primary()

Get the primary property: Whether this is a primary network interface on a virtual machine.

Returns:

the primary value.

privateEndpoint

public PrivateEndpointInner privateEndpoint()

Get the privateEndpoint property: A reference to the private endpoint to which the network interface is linked.

Returns:

the privateEndpoint value.

privateLinkService

public PrivateLinkServiceInner privateLinkService()

Get the privateLinkService property: Privatelinkservice of the network interface resource.

Returns:

the privateLinkService value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the network interface resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the network interface resource.

Returns:

the resourceGuid value.

tapConfigurations

public List<NetworkInterfaceTapConfigurationInner> tapConfigurations()

Get the tapConfigurations property: A list of TapConfigurations of the network interface.

Returns:

the tapConfigurations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualMachine

public SubResource virtualMachine()

Get the virtualMachine property: The reference to a virtual machine.

Returns:

the virtualMachine value.

vnetEncryptionSupported

public Boolean vnetEncryptionSupported()

Get the vnetEncryptionSupported property: Whether the virtual machine this nic is attached to supports encryption.

Returns:

the vnetEncryptionSupported value.

withAuxiliaryMode

public NetworkInterfacePropertiesFormatInner withAuxiliaryMode(NetworkInterfaceAuxiliaryMode auxiliaryMode)

Set the auxiliaryMode property: Auxiliary mode of Network Interface resource.

Parameters:

auxiliaryMode - the auxiliaryMode value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withAuxiliarySku

public NetworkInterfacePropertiesFormatInner withAuxiliarySku(NetworkInterfaceAuxiliarySku auxiliarySku)

Set the auxiliarySku property: Auxiliary sku of Network Interface resource.

Parameters:

auxiliarySku - the auxiliarySku value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withDisableTcpStateTracking

public NetworkInterfacePropertiesFormatInner withDisableTcpStateTracking(Boolean disableTcpStateTracking)

Set the disableTcpStateTracking property: Indicates whether to disable tcp state tracking.

Parameters:

disableTcpStateTracking - the disableTcpStateTracking value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withDnsSettings

public NetworkInterfacePropertiesFormatInner withDnsSettings(NetworkInterfaceDnsSettings dnsSettings)

Set the dnsSettings property: The DNS settings in network interface.

Parameters:

dnsSettings - the dnsSettings value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

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:

enableAcceleratedNetworking - the enableAcceleratedNetworking value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withEnableIpForwarding

public NetworkInterfacePropertiesFormatInner withEnableIpForwarding(Boolean enableIpForwarding)

Set the enableIpForwarding property: Indicates whether IP forwarding is enabled on this network interface.

Parameters:

enableIpForwarding - the enableIpForwarding value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withIpConfigurations

public NetworkInterfacePropertiesFormatInner withIpConfigurations(List<NetworkInterfaceIpConfigurationInner> ipConfigurations)

Set the ipConfigurations property: A list of IPConfigurations of the network interface.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withMigrationPhase

public NetworkInterfacePropertiesFormatInner withMigrationPhase(NetworkInterfaceMigrationPhase migrationPhase)

Set the migrationPhase property: Migration phase of Network Interface resource.

Parameters:

migrationPhase - the migrationPhase value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withNetworkSecurityGroup

public NetworkInterfacePropertiesFormatInner withNetworkSecurityGroup(NetworkSecurityGroupInner networkSecurityGroup)

Set the networkSecurityGroup property: The reference to the NetworkSecurityGroup resource.

Parameters:

networkSecurityGroup - the networkSecurityGroup value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withNicType

public NetworkInterfacePropertiesFormatInner withNicType(NetworkInterfaceNicType nicType)

Set the nicType property: Type of Network Interface resource.

Parameters:

nicType - the nicType value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withPrivateLinkService

public NetworkInterfacePropertiesFormatInner withPrivateLinkService(PrivateLinkServiceInner privateLinkService)

Set the privateLinkService property: Privatelinkservice of the network interface resource.

Parameters:

privateLinkService - the privateLinkService value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

withWorkloadType

public NetworkInterfacePropertiesFormatInner withWorkloadType(String workloadType)

Set the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.

Parameters:

workloadType - the workloadType value to set.

Returns:

the NetworkInterfacePropertiesFormatInner object itself.

workloadType

public String workloadType()

Get the workloadType property: WorkloadType of the NetworkInterface for BareMetal resources.

Returns:

the workloadType value.

Applies to