Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network.implementation; import com.microsoft.azure.management.network.ExpressRouteLinkConnectorType; import com.microsoft.azure.management.network.ExpressRouteLinkAdminState; import com.microsoft.azure.management.network.ProvisioningState; import com.microsoft.azure.management.network.ExpressRouteLinkMacSecConfig; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.SubResource;
ExpressRouteLink. ExpressRouteLink child resource definition.
/** * ExpressRouteLink. * ExpressRouteLink child resource definition. */
@JsonFlatten public class ExpressRouteLinkInner extends SubResource {
Name of Azure router associated with physical port.
/** * Name of Azure router associated with physical port. */
@JsonProperty(value = "properties.routerName", access = JsonProperty.Access.WRITE_ONLY) private String routerName;
Name of Azure router interface.
/** * Name of Azure router interface. */
@JsonProperty(value = "properties.interfaceName", access = JsonProperty.Access.WRITE_ONLY) private String interfaceName;
Mapping between physical port to patch panel port.
/** * Mapping between physical port to patch panel port. */
@JsonProperty(value = "properties.patchPanelId", access = JsonProperty.Access.WRITE_ONLY) private String patchPanelId;
Mapping of physical patch panel to rack.
/** * Mapping of physical patch panel to rack. */
@JsonProperty(value = "properties.rackId", access = JsonProperty.Access.WRITE_ONLY) private String rackId;
Physical fiber port type. Possible values include: 'LC', 'SC'.
/** * Physical fiber port type. Possible values include: 'LC', 'SC'. */
@JsonProperty(value = "properties.connectorType", access = JsonProperty.Access.WRITE_ONLY) private ExpressRouteLinkConnectorType connectorType;
Administrative state of the physical port. Possible values include: 'Enabled', 'Disabled'.
/** * Administrative state of the physical port. Possible values include: * 'Enabled', 'Disabled'. */
@JsonProperty(value = "properties.adminState") private ExpressRouteLinkAdminState adminState;
The provisioning state of the express route link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the express route link resource. Possible * values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
MacSec configuration.
/** * MacSec configuration. */
@JsonProperty(value = "properties.macSecConfig") private ExpressRouteLinkMacSecConfig macSecConfig;
Name of child port resource that is unique among child port resources of the parent.
/** * Name of child port resource that is unique among child port resources of * the parent. */
@JsonProperty(value = "name") private String name;
A unique read-only string that changes whenever the resource is updated.
/** * A unique read-only string that changes whenever the resource is updated. */
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) private String etag;
Get name of Azure router associated with physical port.
Returns:the routerName value
/** * Get name of Azure router associated with physical port. * * @return the routerName value */
public String routerName() { return this.routerName; }
Get name of Azure router interface.
Returns:the interfaceName value
/** * Get name of Azure router interface. * * @return the interfaceName value */
public String interfaceName() { return this.interfaceName; }
Get mapping between physical port to patch panel port.
Returns:the patchPanelId value
/** * Get mapping between physical port to patch panel port. * * @return the patchPanelId value */
public String patchPanelId() { return this.patchPanelId; }
Get mapping of physical patch panel to rack.
Returns:the rackId value
/** * Get mapping of physical patch panel to rack. * * @return the rackId value */
public String rackId() { return this.rackId; }
Get physical fiber port type. Possible values include: 'LC', 'SC'.
Returns:the connectorType value
/** * Get physical fiber port type. Possible values include: 'LC', 'SC'. * * @return the connectorType value */
public ExpressRouteLinkConnectorType connectorType() { return this.connectorType; }
Get administrative state of the physical port. Possible values include: 'Enabled', 'Disabled'.
Returns:the adminState value
/** * Get administrative state of the physical port. Possible values include: 'Enabled', 'Disabled'. * * @return the adminState value */
public ExpressRouteLinkAdminState adminState() { return this.adminState; }
Set administrative state of the physical port. Possible values include: 'Enabled', 'Disabled'.
Params:
  • adminState – the adminState value to set
Returns:the ExpressRouteLinkInner object itself.
/** * Set administrative state of the physical port. Possible values include: 'Enabled', 'Disabled'. * * @param adminState the adminState value to set * @return the ExpressRouteLinkInner object itself. */
public ExpressRouteLinkInner withAdminState(ExpressRouteLinkAdminState adminState) { this.adminState = adminState; return this; }
Get the provisioning state of the express route link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the express route link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get macSec configuration.
Returns:the macSecConfig value
/** * Get macSec configuration. * * @return the macSecConfig value */
public ExpressRouteLinkMacSecConfig macSecConfig() { return this.macSecConfig; }
Set macSec configuration.
Params:
  • macSecConfig – the macSecConfig value to set
Returns:the ExpressRouteLinkInner object itself.
/** * Set macSec configuration. * * @param macSecConfig the macSecConfig value to set * @return the ExpressRouteLinkInner object itself. */
public ExpressRouteLinkInner withMacSecConfig(ExpressRouteLinkMacSecConfig macSecConfig) { this.macSecConfig = macSecConfig; return this; }
Get name of child port resource that is unique among child port resources of the parent.
Returns:the name value
/** * Get name of child port resource that is unique among child port resources of the parent. * * @return the name value */
public String name() { return this.name; }
Set name of child port resource that is unique among child port resources of the parent.
Params:
  • name – the name value to set
Returns:the ExpressRouteLinkInner object itself.
/** * Set name of child port resource that is unique among child port resources of the parent. * * @param name the name value to set * @return the ExpressRouteLinkInner object itself. */
public ExpressRouteLinkInner withName(String name) { this.name = name; return this; }
Get a unique read-only string that changes whenever the resource is updated.
Returns:the etag value
/** * Get a unique read-only string that changes whenever the resource is updated. * * @return the etag value */
public String etag() { return this.etag; } }