class Azure::Network::Mgmt::V2020_06_01::Models::ExpressRouteConnection

ExpressRouteConnection resource.

Attributes

authorization_key[RW]

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

enable_internet_security[RW]

@return [Boolean] Enable internet security.

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 express route connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

routing_configuration[RW]

@return [RoutingConfiguration] The Routing Configuration indicating the associated and propagated route tables on this connection.

routing_weight[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01/generated/azure_mgmt_network/models/express_route_connection.rb, line 45
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,
          read_only: true,
          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'
          }
        },
        enable_internet_security: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableInternetSecurity',
          type: {
            name: 'Boolean'
          }
        },
        routing_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routingConfiguration',
          type: {
            name: 'Composite',
            class_name: 'RoutingConfiguration'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end