class Azure::Peering::Mgmt::V2019_08_01_preview::Models::DirectConnection
The properties that define a direct connection.
Attributes
@return [Integer] The bandwidth of the connection.
@return [BgpSession] The BGP session associated with the connection.
@return [String] The unique identifier (GUID) for the connection.
@return [ConnectionState] The state of the connection. Possible values include: 'None', 'PendingApproval', 'Approved', 'ProvisioningStarted', 'ProvisioningFailed', 'ProvisioningCompleted', 'Validating', 'Active'
@return [Integer] The PeeringDB.com ID of the facility at which the connection has to be set up.
@return [Integer] The bandwidth that is actually provisioned.
@return [SessionAddressProvider] The field indicating if Microsoft provides session ip addresses. Possible values include: 'Microsoft', 'Peer'
@return [Boolean] The flag that indicates whether or not the connection is used for peering service.
Private Class Methods
Mapper for DirectConnection
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01-preview/generated/azure_mgmt_peering/models/direct_connection.rb, line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DirectConnection', type: { name: 'Composite', class_name: 'DirectConnection', model_properties: { bandwidth_in_mbps: { client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { name: 'Number' } }, provisioned_bandwidth_in_mbps: { client_side_validation: true, required: false, serialized_name: 'provisionedBandwidthInMbps', type: { name: 'Number' } }, session_address_provider: { client_side_validation: true, required: false, serialized_name: 'sessionAddressProvider', type: { name: 'String' } }, use_for_peering_service: { client_side_validation: true, required: false, serialized_name: 'useForPeeringService', type: { name: 'Boolean' } }, peering_dbfacility_id: { client_side_validation: true, required: false, serialized_name: 'peeringDBFacilityId', type: { name: 'Number' } }, connection_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionState', type: { name: 'String' } }, bgp_session: { client_side_validation: true, required: false, serialized_name: 'bgpSession', type: { name: 'Composite', class_name: 'BgpSession' } }, connection_identifier: { client_side_validation: true, required: false, serialized_name: 'connectionIdentifier', type: { name: 'String' } } } } } end