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

Class: Aws::DirectConnect::Types::AllocatePrivateVirtualInterfaceRequest

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 AllocatePrivateVirtualInterfaceRequest data as a hash:

{
  connection_id: "ConnectionId", # required
  owner_account: "OwnerAccount", # required
  new_private_virtual_interface_allocation: { # required
    virtual_interface_name: "VirtualInterfaceName", # required
    vlan: 1, # required
    asn: 1, # required
    auth_key: "BGPAuthKey",
    amazon_address: "AmazonAddress",
    address_family: "ipv4", # accepts ipv4, ipv6
    customer_address: "CustomerAddress",
  },
}

Container for the parameters to the AllocatePrivateVirtualInterface operation.

Instance Attribute Summary collapse

Instance Attribute Details

#connection_idString

The connection ID on which the private virtual interface is provisioned.

Default: None

Returns:

  • (String)


189
190
191
192
193
194
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 189

class AllocatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_private_virtual_interface_allocation)
  include Aws::Structure
end

#new_private_virtual_interface_allocationTypes::NewPrivateVirtualInterfaceAllocation

Detailed information for the private virtual interface to be provisioned.

Default: None



189
190
191
192
193
194
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 189

class AllocatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_private_virtual_interface_allocation)
  include Aws::Structure
end

#owner_accountString

The AWS account that will own the new private virtual interface.

Default: None

Returns:

  • (String)


189
190
191
192
193
194
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 189

class AllocatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_private_virtual_interface_allocation)
  include Aws::Structure
end