NetworkInterfaceInner Class

public final class NetworkInterfaceInner
extends ProxyResource

Defines the NetworkInterface resource.

Constructor Summary

Constructor Description
NetworkInterfaceInner()

Creates an instance of NetworkInterfaceInner class.

Method Summary

Modifier and Type Method and Description
String additionalDescription()

Get the additionalDescription property: Additional description of the interface.

AdministrativeState administrativeState()

Get the administrativeState property: Administrative state of the resource.

String annotation()

Get the annotation property: Switch configuration description.

ConfigurationState configurationState()

Get the configurationState property: Configuration state of the resource.

String connectedTo()

Get the connectedTo property: The ARM resource id of the interface or compute server its connected to.

String description()

Get the description property: Description of the interface.

static NetworkInterfaceInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

InterfaceType interfaceType()

Get the interfaceType property: The Interface Type.

String ipv4Address()

Get the ipv4Address property: IPv4Address of the interface.

String ipv6Address()

Get the ipv6Address property: IPv6Address of the interface.

LastOperationProperties lastOperation()

Get the lastOperation property: Details of the last operation performed on the resource.

String name()

Get the name property: The name of the resource.

String networkFabricId()

Get the networkFabricId property: Associated Network Fabric Resource ID.

String physicalIdentifier()

Get the physicalIdentifier property: Physical Identifier of the network interface.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

NetworkInterfaceInner withAdditionalDescription(String additionalDescription)

Set the additionalDescription property: Additional description of the interface.

NetworkInterfaceInner withAnnotation(String annotation)

Set the annotation property: Switch configuration description.

NetworkInterfaceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

NetworkInterfaceInner

public NetworkInterfaceInner()

Creates an instance of NetworkInterfaceInner class.

Method Details

additionalDescription

public String additionalDescription()

Get the additionalDescription property: Additional description of the interface.

Returns:

the additionalDescription value.

administrativeState

public AdministrativeState administrativeState()

Get the administrativeState property: Administrative state of the resource.

Returns:

the administrativeState value.

annotation

public String annotation()

Get the annotation property: Switch configuration description.

Returns:

the annotation value.

configurationState

public ConfigurationState configurationState()

Get the configurationState property: Configuration state of the resource.

Returns:

the configurationState value.

connectedTo

public String connectedTo()

Get the connectedTo property: The ARM resource id of the interface or compute server its connected to.

Returns:

the connectedTo value.

description

public String description()

Get the description property: Description of the interface.

Returns:

the description value.

fromJson

public static NetworkInterfaceInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

NetworkInterfaceInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

Returns:

the identity value.

interfaceType

public InterfaceType interfaceType()

Get the interfaceType property: The Interface Type. Example: Management/Data.

Returns:

the interfaceType value.

ipv4Address

public String ipv4Address()

Get the ipv4Address property: IPv4Address of the interface.

Returns:

the ipv4Address value.

ipv6Address

public String ipv6Address()

Get the ipv6Address property: IPv6Address of the interface.

Returns:

the ipv6Address value.

lastOperation

public LastOperationProperties lastOperation()

Get the lastOperation property: Details of the last operation performed on the resource.

Returns:

the lastOperation value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

NetworkInterfaceInner.name()

Returns:

the name value.

networkFabricId

public String networkFabricId()

Get the networkFabricId property: Associated Network Fabric Resource ID.

Returns:

the networkFabricId value.

physicalIdentifier

public String physicalIdentifier()

Get the physicalIdentifier property: Physical Identifier of the network interface.

Returns:

the physicalIdentifier value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkInterfaceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

NetworkInterfaceInner.type()

Returns:

the type value.

withAdditionalDescription

public NetworkInterfaceInner withAdditionalDescription(String additionalDescription)

Set the additionalDescription property: Additional description of the interface.

Parameters:

additionalDescription - the additionalDescription value to set.

Returns:

the NetworkInterfaceInner object itself.

withAnnotation

public NetworkInterfaceInner withAnnotation(String annotation)

Set the annotation property: Switch configuration description.

Parameters:

annotation - the annotation value to set.

Returns:

the NetworkInterfaceInner object itself.

withIdentity

public NetworkInterfaceInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

Parameters:

identity - the identity value to set.

Returns:

the NetworkInterfaceInner object itself.

Applies to