Class ExpressRouteLinkInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.ExpressRouteLinkInner
-
public final class ExpressRouteLinkInner extends com.azure.core.management.SubResourceExpressRouteLink ExpressRouteLink child resource definition.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteLinkInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressRouteLinkAdminStateadminState()Get the adminState property: Administrative state of the physical port.ExpressRouteLinkConnectorTypeconnectorType()Get the connectorType property: Physical fiber port type.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.StringinterfaceName()Get the interfaceName property: Name of Azure router interface.ExpressRouteLinkMacSecConfigmacSecConfig()Get the macSecConfig property: Definition of ExpressRouteLink Mac Security configuration.Stringname()Get the name property: Name of child port resource that is unique among child port resources of the parent.StringpatchPanelId()Get the patchPanelId property: Mapping between physical port to patch panel port.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the express route link resource.StringrackId()Get the rackId property: Mapping of physical patch panel to rack.StringrouterName()Get the routerName property: Name of Azure router associated with physical port.voidvalidate()Validates the instance.ExpressRouteLinkInnerwithAdminState(ExpressRouteLinkAdminState adminState)Set the adminState property: Administrative state of the physical port.ExpressRouteLinkInnerwithId(String id)ExpressRouteLinkInnerwithMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig)Set the macSecConfig property: Definition of ExpressRouteLink Mac Security configuration.ExpressRouteLinkInnerwithName(String name)Set the name property: Name of child port resource that is unique among child port resources of the parent.
-
-
-
Method Detail
-
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.
-
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.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withId
public ExpressRouteLinkInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
routerName
public String routerName()
Get the routerName property: Name of Azure router associated with physical port.- Returns:
- the routerName value.
-
interfaceName
public String interfaceName()
Get the interfaceName property: Name of Azure router interface.- Returns:
- the interfaceName value.
-
patchPanelId
public String patchPanelId()
Get the patchPanelId property: Mapping between physical port to patch panel port.- Returns:
- the patchPanelId value.
-
rackId
public String rackId()
Get the rackId property: Mapping of physical patch panel to rack.- Returns:
- the rackId value.
-
connectorType
public ExpressRouteLinkConnectorType connectorType()
Get the connectorType property: Physical fiber port type.- Returns:
- the connectorType value.
-
adminState
public ExpressRouteLinkAdminState adminState()
Get the adminState property: Administrative state of the physical port.- Returns:
- the adminState value.
-
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.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route link resource.- Returns:
- the provisioningState value.
-
macSecConfig
public ExpressRouteLinkMacSecConfig macSecConfig()
Get the macSecConfig property: Definition of ExpressRouteLink Mac Security configuration. MacSec configuration.- Returns:
- the macSecConfig value.
-
withMacSecConfig
public ExpressRouteLinkInner withMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig)
Set the macSecConfig property: Definition of ExpressRouteLink Mac Security configuration. 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.
-
-