class Azure::Network::Mgmt::V2019_02_01::Models::ExpressRoutePort

ExpressRoutePort resource definition.

Attributes

allocation_date[RW]

@return [String] Date of the physical port allocation to be used in Letter of Authorization.

bandwidth_in_gbps[RW]

@return [Integer] Bandwidth of procured ports in Gbps

circuits[RW]

@return [Array<SubResource>] Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.

encapsulation[RW]

@return [ExpressRoutePortsEncapsulation] Encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ'

etag[RW]

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

ether_type[RW]

@return [String] Ether type of the physical port.

mtu[RW]

@return [String] Maximum transmission unit of the physical port pair(s)

peering_location[RW]

@return [String] The name of the peering location that the ExpressRoutePort is mapped to physically.

provisioned_bandwidth_in_gbps[RW]

@return [Float] Aggregate Gbps of associated circuit bandwidths.

provisioning_state[RW]

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

resource_guid[RW]

@return [String] The resource GUID property of the ExpressRoutePort resource.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-02-01/generated/azure_mgmt_network/models/express_route_port.rb, line 66
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRoutePort',
    type: {
      name: 'Composite',
      class_name: 'ExpressRoutePort',
      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'
                }
            }
          }
        },
        peering_location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringLocation',
          type: {
            name: 'String'
          }
        },
        bandwidth_in_gbps: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.bandwidthInGbps',
          type: {
            name: 'Number'
          }
        },
        provisioned_bandwidth_in_gbps: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisionedBandwidthInGbps',
          type: {
            name: 'Double'
          }
        },
        mtu: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.mtu',
          type: {
            name: 'String'
          }
        },
        encapsulation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.encapsulation',
          type: {
            name: 'String'
          }
        },
        ether_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.etherType',
          type: {
            name: 'String'
          }
        },
        allocation_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.allocationDate',
          type: {
            name: 'String'
          }
        },
        links: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.links',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExpressRouteLinkElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ExpressRouteLink'
                }
            }
          }
        },
        circuits: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.circuits',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SubResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SubResource'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        resource_guid: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceGuid',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end