class Azure::Network::Mgmt::V2018_07_01::Models::ExpressRouteCircuit

ExpressRouteCircuit resource

Attributes

allow_classic_operations[RW]

@return [Boolean] Allow classic operations

allow_global_reach[RW]

@return [Boolean] Flag to enable Global Reach on the circuit.

authorizations[RW]

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

circuit_provisioning_state[RW]

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

etag[RW]

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

gateway_manager_etag[RW]

@return [String] The GatewayManager Etag.

peerings[RW]

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

provisioning_state[RW]

@return [String] Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and '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 are 'NotProvisioned', 'Provisioning', 'Provisioned', and 'Deprovisioning'. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'

sku[RW]

@return [ExpressRouteCircuitSku] The SKU.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-07-01/generated/azure_mgmt_network/models/express_route_circuit.rb, line 67
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'
          }
        },
        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'
          }
        },
        allow_global_reach: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowGlobalReach',
          type: {
            name: 'Boolean'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end