Class ExpressRouteLinkInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.ExpressRouteLinkInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class ExpressRouteLinkInner
extends com.azure.core.management.SubResource
ExpressRouteLink
ExpressRouteLink child resource definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the adminState property: Administrative state of the physical port.Get the coloLocation property: Cololocation for ExpressRoute Hybrid Direct.Get the connectorType property: Physical fiber port type.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.static ExpressRouteLinkInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteLinkInner from the JsonReader.Get the interfaceName property: Name of Azure router interface.Get the macSecConfig property: MacSec configuration.name()Get the name property: Name of child port resource that is unique among child port resources of the parent.Get the patchPanelId property: Mapping between physical port to patch panel port.Get the provisioningState property: The provisioning state of the express route link resource.rackId()Get the rackId property: Mapping of physical patch panel to rack.Get the routerName property: Name of Azure router associated with physical port.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAdminState(ExpressRouteLinkAdminState adminState) Set the adminState property: Administrative state of the physical port.withMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig) Set the macSecConfig property: MacSec configuration.Set the name property: Name of child port resource that is unique among child port resources of the parent.Methods inherited from class com.azure.core.management.SubResource
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExpressRouteLinkInner
public ExpressRouteLinkInner()Creates an instance of ExpressRouteLinkInner class.
-
-
Method Details
-
name
Get the name property: Name of child port resource that is unique among child port resources of the parent.- Returns:
- the name value.
-
withName
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.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
routerName
Get the routerName property: Name of Azure router associated with physical port.- Returns:
- the routerName value.
-
interfaceName
Get the interfaceName property: Name of Azure router interface.- Returns:
- the interfaceName value.
-
patchPanelId
Get the patchPanelId property: Mapping between physical port to patch panel port.- Returns:
- the patchPanelId value.
-
rackId
Get the rackId property: Mapping of physical patch panel to rack.- Returns:
- the rackId value.
-
coloLocation
Get the coloLocation property: Cololocation for ExpressRoute Hybrid Direct.- Returns:
- the coloLocation value.
-
connectorType
Get the connectorType property: Physical fiber port type.- Returns:
- the connectorType value.
-
adminState
Get the adminState property: Administrative state of the physical port.- Returns:
- the adminState value.
-
withAdminState
Set the adminState property: Administrative state of the physical port.- Parameters:
adminState- the adminState value to set.- Returns:
- the ExpressRouteLinkInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the express route link resource.- Returns:
- the provisioningState value.
-
macSecConfig
Get the macSecConfig property: MacSec configuration.- Returns:
- the macSecConfig value.
-
withMacSecConfig
Set the macSecConfig property: MacSec configuration.- Parameters:
macSecConfig- the macSecConfig value to set.- Returns:
- the ExpressRouteLinkInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.SubResource>- Overrides:
toJsonin classcom.azure.core.management.SubResource- Throws:
IOException
-
fromJson
public static ExpressRouteLinkInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-