class Azure::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuitPeering

Peering in a ExpressRouteCircuit resource

Attributes

azure_asn[RW]

@return [Integer] Gets or sets the azure ASN

etag[RW]

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

microsoft_peering_config[RW]

@return [ExpressRouteCircuitPeeringConfig] Gets or sets the Microsoft peering config

name[RW]

@return [String] Gets name of the resource that is unique within a resource group. This name can be used to access the resource

peer_asn[RW]

@return [Integer] Gets or sets the peer ASN

peering_type[RW]

@return [ExpressRouteCircuitPeeringType] Gets or sets PeeringType. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'

primary_azure_port[RW]

@return [String] Gets or sets the primary port

primary_peer_address_prefix[RW]

@return [String] Gets or sets the primary address prefix

provisioning_state[RW]

@return [String] Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed

secondary_azure_port[RW]

@return [String] Gets or sets the secondary port

secondary_peer_address_prefix[RW]

@return [String] Gets or sets the secondary address prefix

shared_key[RW]

@return [String] Gets or sets the shared key

state[RW]

@return [ExpressRouteCircuitPeeringState] Gets or sets state of Peering. Possible values include: 'Disabled', 'Enabled'

stats[RW]

@return [ExpressRouteCircuitStats] Gets or peering stats

vlan_id[RW]

@return [Integer] Gets or sets the vlan id

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb, line 71
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExpressRouteCircuitPeering',
    type: {
      name: 'Composite',
      class_name: 'ExpressRouteCircuitPeering',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        peering_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringType',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.state',
          type: {
            name: 'String'
          }
        },
        azure_asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.azureASN',
          type: {
            name: 'Number'
          }
        },
        peer_asn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peerASN',
          type: {
            name: 'Number'
          }
        },
        primary_peer_address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.primaryPeerAddressPrefix',
          type: {
            name: 'String'
          }
        },
        secondary_peer_address_prefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.secondaryPeerAddressPrefix',
          type: {
            name: 'String'
          }
        },
        primary_azure_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.primaryAzurePort',
          type: {
            name: 'String'
          }
        },
        secondary_azure_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.secondaryAzurePort',
          type: {
            name: 'String'
          }
        },
        shared_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sharedKey',
          type: {
            name: 'String'
          }
        },
        vlan_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vlanId',
          type: {
            name: 'Number'
          }
        },
        microsoft_peering_config: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.microsoftPeeringConfig',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitPeeringConfig'
          }
        },
        stats: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.stats',
          type: {
            name: 'Composite',
            class_name: 'ExpressRouteCircuitStats'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end