class Azure::Network::Mgmt::V2019_02_01::Models::ExpressRouteLink

ExpressRouteLink child resource definition.

Attributes

admin_state[RW]

@return [ExpressRouteLinkAdminState] Administrative state of the physical port. Possible values include: 'Enabled', 'Disabled'

connector_type[RW]

@return [ExpressRouteLinkConnectorType] Physical fiber port type. Possible values include: 'LC', 'SC'

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

interface_name[RW]

@return [String] Name of Azure router interface.

name[RW]

@return [String] Name of child port resource that is unique among child port resources of the parent.

patch_panel_id[RW]

@return [String] Mapping between physical port to patch panel port.

provisioning_state[RW]

@return [String] The provisioning state of the ExpressRouteLink resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'.

rack_id[RW]

@return [String] Mapping of physical patch panel to rack.

router_name[RW]

@return [String] Name of Azure router associated with physical port.

Public Class Methods

mapper() click to toggle source

Mapper for ExpressRouteLink class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-02-01/generated/azure_mgmt_network/models/express_route_link.rb, line 54
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteLink',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteLink',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        router_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.routerName',
          type: {
            name: 'String'
          }
        },
        interface_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.interfaceName',
          type: {
            name: 'String'
          }
        },
        patch_panel_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.patchPanelId',
          type: {
            name: 'String'
          }
        },
        rack_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.rackId',
          type: {
            name: 'String'
          }
        },
        connector_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.connectorType',
          type: {
            name: 'String'
          }
        },
        admin_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.adminState',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end