You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DirectConnect::Types::DeleteBGPPeerRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb

Overview

Note:

When making an API call, you may pass DeleteBGPPeerRequest data as a hash:

{
  virtual_interface_id: "VirtualInterfaceId",
  asn: 1,
  customer_address: "CustomerAddress",
}

Container for the parameters to the DeleteBGPPeer operation.

Instance Attribute Summary collapse

Instance Attribute Details

#asnInteger

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Example: 65000

Returns:

  • (Integer)


1130
1131
1132
1133
1134
1135
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1130

class DeleteBGPPeerRequest < Struct.new(
  :virtual_interface_id,
  :asn,
  :customer_address)
  include Aws::Structure
end

#customer_addressString

IP address assigned to the customer interface.

Example: 192.168.1.2/30 or 2001:db8::2/125

Returns:

  • (String)


1130
1131
1132
1133
1134
1135
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1130

class DeleteBGPPeerRequest < Struct.new(
  :virtual_interface_id,
  :asn,
  :customer_address)
  include Aws::Structure
end

#virtual_interface_idString

The ID of the virtual interface from which the BGP peer will be deleted.

Example: dxvif-456abc78

Default: None

Returns:

  • (String)


1130
1131
1132
1133
1134
1135
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1130

class DeleteBGPPeerRequest < Struct.new(
  :virtual_interface_id,
  :asn,
  :customer_address)
  include Aws::Structure
end