Class ExpressRouteLinkPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRouteLinkPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRouteLinkPropertiesFormat>
public final class ExpressRouteLinkPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ExpressRouteLinkPropertiesFormat>
ExpressRouteLink Resource Properties
Properties specific to ExpressRouteLink resources.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteLinkPropertiesFormat class. -
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.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteLinkPropertiesFormat from the JsonReader.Get the interfaceName property: Name of Azure router interface.Get the macSecConfig property: MacSec configuration.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.Methods 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
-
ExpressRouteLinkPropertiesFormat
public ExpressRouteLinkPropertiesFormat()Creates an instance of ExpressRouteLinkPropertiesFormat class.
-
-
Method Details
-
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 ExpressRouteLinkPropertiesFormat 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 ExpressRouteLinkPropertiesFormat 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<ExpressRouteLinkPropertiesFormat>- Throws:
IOException
-
fromJson
public static ExpressRouteLinkPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRouteLinkPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExpressRouteLinkPropertiesFormat 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 ExpressRouteLinkPropertiesFormat.
-