class Azure::Network::Mgmt::V2019_08_01::Models::ExpressRouteCircuit

ExpressRouteCircuit resource.

Attributes

allow_classic_operations[RW]

@return [Boolean] Allow classic operations.

authorizations[RW]

@return [Array<ExpressRouteCircuitAuthorization>] The list of authorizations.

bandwidth_in_gbps[RW]

@return [Float] The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.

circuit_provisioning_state[RW]

@return [String] The CircuitProvisioningState state of the resource.

etag[RW]

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

express_route_port[RW]

@return [SubResource] The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.

gateway_manager_etag[RW]

@return [String] The GatewayManager Etag.

global_reach_enabled[RW]

@return [Boolean] Flag denoting Global reach status.

peerings[RW]

@return [Array<ExpressRouteCircuitPeering>] The list of peerings.

provisioning_state[RW]

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

service_key[RW]

@return [String] The ServiceKey.

service_provider_notes[RW]

@return [String] The ServiceProviderNotes.

service_provider_properties[RW]

@return [ExpressRouteCircuitServiceProviderProperties] The ServiceProviderProperties.

service_provider_provisioning_state[RW]

@return [ServiceProviderProvisioningState] The ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'

sku[RW]

@return [ExpressRouteCircuitSku] The SKU.

stag[RW]

@return [Integer] The identifier of the circuit traffic. Outer tag for QinQ encapsulation.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_network/models/express_route_circuit.rb, line 79
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuit',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuit',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitSku'
          }
        },
        allow_classic_operations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowClassicOperations',
          type: {
            name: 'Boolean'
          }
        },
        circuit_provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.circuitProvisioningState',
          type: {
            name: 'String'
          }
        },
        service_provider_provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderProvisioningState',
          type: {
            name: 'String'
          }
        },
        authorizations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.authorizations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteCircuitAuthorizationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteCircuitAuthorization'
                }
            }
          }
        },
        peerings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peerings',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteCircuitPeeringElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteCircuitPeering'
                }
            }
          }
        },
        service_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceKey',
          type: {
            name: 'String'
          }
        },
        service_provider_notes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderNotes',
          type: {
            name: 'String'
          }
        },
        service_provider_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceProviderProperties',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitServiceProviderProperties'
          }
        },
        express_route_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.expressRoutePort',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        bandwidth_in_gbps: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.bandwidthInGbps',
          type: {
            name: 'Double'
          }
        },
        stag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.stag',
          type: {
            name: 'Number'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        gateway_manager_etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.gatewayManagerEtag',
          type: {
            name: 'String'
          }
        },
        global_reach_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.globalReachEnabled',
          type: {
            name: 'Boolean'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end