class Azure::Network::Mgmt::V2020_06_01::Models::ExpressRouteCrossConnectionPeering
Peering in an ExpressRoute Cross Connection resource.
Attributes
@return [Integer] The Azure
ASN.
@return [String] A unique read-only string that changes whenever the resource is updated.
@return [String] The GatewayManager Etag.
@return [Ipv6ExpressRouteCircuitPeeringConfig] The IPv6 peering configuration.
@return [String] Who was the last to modify the peering.
@return [ExpressRouteCircuitPeeringConfig] The Microsoft peering configuration.
@return [String] The name of the resource that is unique within a resource group. This name can be used to access the resource.
@return [Integer] The peer ASN.
@return [ExpressRoutePeeringType] The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'
@return [String] The primary port.
@return [String] The primary address prefix.
@return [ProvisioningState] The provisioning state of the express route cross connection peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
@return [String] The secondary port.
@return [String] The secondary address prefix.
@return [ExpressRoutePeeringState] The peering state. Possible values include: 'Disabled', 'Enabled'
@return [Integer] The VLAN ID.
Public Class Methods
Mapper for ExpressRouteCrossConnectionPeering
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-06-01/generated/azure_mgmt_network/models/express_route_cross_connection_peering.rb, line 80 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ExpressRouteCrossConnectionPeering', type: { name: 'Composite', class_name: 'ExpressRouteCrossConnectionPeering', 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, read_only: true, serialized_name: 'properties.azureASN', type: { name: 'Number' } }, peer_asn: { client_side_validation: true, required: false, serialized_name: 'properties.peerASN', constraints: { InclusiveMaximum: 4294967295, InclusiveMinimum: 1 }, 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, read_only: true, serialized_name: 'properties.primaryAzurePort', type: { name: 'String' } }, secondary_azure_port: { client_side_validation: true, required: false, read_only: true, 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' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, gateway_manager_etag: { client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { name: 'String' } }, last_modified_by: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedBy', type: { name: 'String' } }, ipv6peering_config: { client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { name: 'Composite', class_name: 'Ipv6ExpressRouteCircuitPeeringConfig' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } } } } } end