class Azure::Network::Mgmt::V2020_06_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.

identity[RW]

@return [ManagedServiceIdentity] The identity of ExpressRoutePort, if configured.

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 [ProvisioningState] The provisioning state of the express route port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

resource_guid[RW]

@return [String] The resource GUID property of the express route port 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/2020-06-01/generated/azure_mgmt_network/models/express_route_port.rb, line 72
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,
          read_only: true,
          serialized_name: 'properties.resourceGuid',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'ManagedServiceIdentity'
          }
        }
      }
    }
  }
end