ExpressRouteLinkInner Class

public final class ExpressRouteLinkInner
extends SubResource

ExpressRouteLink ExpressRouteLink child resource definition.

Constructor Summary

Constructor Description
ExpressRouteLinkInner()

Creates an instance of ExpressRouteLinkInner class.

Method Summary

Modifier and Type Method and Description
ExpressRouteLinkAdminState adminState()

Get the adminState property: Administrative state of the physical port.

String coloLocation()

Get the coloLocation property: Cololocation for ExpressRoute Hybrid Direct.

ExpressRouteLinkConnectorType connectorType()

Get the connectorType property: Physical fiber port type.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ExpressRouteLinkInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLinkInner from the JsonReader.

String interfaceName()

Get the interfaceName property: Name of Azure router interface.

ExpressRouteLinkMacSecConfig macSecConfig()

Get the macSecConfig property: MacSec configuration.

String name()

Get the name property: Name of child port resource that is unique among child port resources of the parent.

String patchPanelId()

Get the patchPanelId property: Mapping between physical port to patch panel port.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route link resource.

String rackId()

Get the rackId property: Mapping of physical patch panel to rack.

String routerName()

Get the routerName property: Name of Azure router associated with physical port.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteLinkInner withAdminState(ExpressRouteLinkAdminState adminState)

Set the adminState property: Administrative state of the physical port.

ExpressRouteLinkInner withId(String id)
ExpressRouteLinkInner withMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig)

Set the macSecConfig property: MacSec configuration.

ExpressRouteLinkInner withName(String name)

Set the name property: Name of child port resource that is unique among child port resources of the parent.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLinkInner

public ExpressRouteLinkInner()

Creates an instance of ExpressRouteLinkInner class.

Method Details

adminState

public ExpressRouteLinkAdminState adminState()

Get the adminState property: Administrative state of the physical port.

Returns:

the adminState value.

coloLocation

public String coloLocation()

Get the coloLocation property: Cololocation for ExpressRoute Hybrid Direct.

Returns:

the coloLocation value.

connectorType

public ExpressRouteLinkConnectorType connectorType()

Get the connectorType property: Physical fiber port type.

Returns:

the connectorType value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ExpressRouteLinkInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLinkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteLinkInner 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 ExpressRouteLinkInner.

interfaceName

public String interfaceName()

Get the interfaceName property: Name of Azure router interface.

Returns:

the interfaceName value.

macSecConfig

public ExpressRouteLinkMacSecConfig macSecConfig()

Get the macSecConfig property: MacSec configuration.

Returns:

the macSecConfig value.

name

public String name()

Get the name property: Name of child port resource that is unique among child port resources of the parent.

Returns:

the name value.

patchPanelId

public String patchPanelId()

Get the patchPanelId property: Mapping between physical port to patch panel port.

Returns:

the patchPanelId value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route link resource.

Returns:

the provisioningState value.

rackId

public String rackId()

Get the rackId property: Mapping of physical patch panel to rack.

Returns:

the rackId value.

routerName

public String routerName()

Get the routerName property: Name of Azure router associated with physical port.

Returns:

the routerName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteLinkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdminState

public ExpressRouteLinkInner withAdminState(ExpressRouteLinkAdminState adminState)

Set the adminState property: Administrative state of the physical port.

Parameters:

adminState - the adminState value to set.

Returns:

the ExpressRouteLinkInner object itself.

withId

public ExpressRouteLinkInner withId(String id)

Overrides:

ExpressRouteLinkInner.withId(String id)

Parameters:

id

withMacSecConfig

public ExpressRouteLinkInner withMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig)

Set the macSecConfig property: MacSec configuration.

Parameters:

macSecConfig - the macSecConfig value to set.

Returns:

the ExpressRouteLinkInner object itself.

withName

public ExpressRouteLinkInner withName(String name)

Set the name property: Name of child port resource that is unique among child port resources of the parent.

Parameters:

name - the name value to set.

Returns:

the ExpressRouteLinkInner object itself.

Applies to