class Azure::Network::Mgmt::V2019_06_01::Models::ExpressRouteConnection

ExpressRouteConnection resource.

Attributes

authorization_key[RW]

@return [String] Authorization key to establish the connection.

express_route_circuit_peering[RW]

@return [ExpressRouteCircuitPeeringId] The ExpressRoute circuit peering.

name[RW]

@return [String] The name of the resource.

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

routing_weight[RW]

@return [Integer] The routing weight associated to the connection.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_network/models/express_route_connection.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteConnection',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteConnection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        express_route_circuit_peering: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.expressRouteCircuitPeering',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitPeeringId'
          }
        },
        authorization_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authorizationKey',
          type: {
            name: 'String'
          }
        },
        routing_weight: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routingWeight',
          type: {
            name: 'Number'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end