InstanceNetworkInterface

class oci.cloud_bridge.models.InstanceNetworkInterface(**kwargs)

Bases: object

Describes a network interface.

Methods:

__init__(**kwargs)

Initializes a new InstanceNetworkInterface object with values from keyword arguments.

Attributes:

association

Gets the association of this InstanceNetworkInterface.

attachment

Gets the attachment of this InstanceNetworkInterface.

description

Gets the description of this InstanceNetworkInterface.

interface_type

Gets the interface_type of this InstanceNetworkInterface.

ipv4_prefixes

Gets the ipv4_prefixes of this InstanceNetworkInterface.

ipv6_addresses

Gets the ipv6_addresses of this InstanceNetworkInterface.

ipv6_prefixes

Gets the ipv6_prefixes of this InstanceNetworkInterface.

is_source_dest_check

Gets the is_source_dest_check of this InstanceNetworkInterface.

mac_address

Gets the mac_address of this InstanceNetworkInterface.

network_interface_key

Gets the network_interface_key of this InstanceNetworkInterface.

owner_key

Gets the owner_key of this InstanceNetworkInterface.

private_ip_addresses

Gets the private_ip_addresses of this InstanceNetworkInterface.

security_groups

Gets the security_groups of this InstanceNetworkInterface.

status

Gets the status of this InstanceNetworkInterface.

subnet_key

Gets the subnet_key of this InstanceNetworkInterface.

__init__(**kwargs)

Initializes a new InstanceNetworkInterface object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • association (oci.cloud_bridge.models.InstanceNetworkInterfaceAssociation) – The value to assign to the association property of this InstanceNetworkInterface.

  • attachment (oci.cloud_bridge.models.InstanceNetworkInterfaceAttachment) – The value to assign to the attachment property of this InstanceNetworkInterface.

  • description (str) – The value to assign to the description property of this InstanceNetworkInterface.

  • security_groups (list[oci.cloud_bridge.models.GroupIdentifier]) – The value to assign to the security_groups property of this InstanceNetworkInterface.

  • interface_type (str) – The value to assign to the interface_type property of this InstanceNetworkInterface.

  • ipv4_prefixes (list[str]) – The value to assign to the ipv4_prefixes property of this InstanceNetworkInterface.

  • ipv6_addresses (list[str]) – The value to assign to the ipv6_addresses property of this InstanceNetworkInterface.

  • ipv6_prefixes (list[str]) – The value to assign to the ipv6_prefixes property of this InstanceNetworkInterface.

  • mac_address (str) – The value to assign to the mac_address property of this InstanceNetworkInterface.

  • network_interface_key (str) – The value to assign to the network_interface_key property of this InstanceNetworkInterface.

  • owner_key (str) – The value to assign to the owner_key property of this InstanceNetworkInterface.

  • private_ip_addresses (list[oci.cloud_bridge.models.InstancePrivateIpAddress]) – The value to assign to the private_ip_addresses property of this InstanceNetworkInterface.

  • is_source_dest_check (bool) – The value to assign to the is_source_dest_check property of this InstanceNetworkInterface.

  • status (str) – The value to assign to the status property of this InstanceNetworkInterface.

  • subnet_key (str) – The value to assign to the subnet_key property of this InstanceNetworkInterface.

property association

Gets the association of this InstanceNetworkInterface.

Returns

The association of this InstanceNetworkInterface.

Return type

oci.cloud_bridge.models.InstanceNetworkInterfaceAssociation

property attachment

Gets the attachment of this InstanceNetworkInterface.

Returns

The attachment of this InstanceNetworkInterface.

Return type

oci.cloud_bridge.models.InstanceNetworkInterfaceAttachment

property description

Gets the description of this InstanceNetworkInterface. The description.

Returns

The description of this InstanceNetworkInterface.

Return type

str

property interface_type

Gets the interface_type of this InstanceNetworkInterface. The type of network interface.

Returns

The interface_type of this InstanceNetworkInterface.

Return type

str

property ipv4_prefixes

Gets the ipv4_prefixes of this InstanceNetworkInterface. The IPv4 delegated prefixes that are assigned to the network interface.

Returns

The ipv4_prefixes of this InstanceNetworkInterface.

Return type

list[str]

property ipv6_addresses

Gets the ipv6_addresses of this InstanceNetworkInterface. The IPv6 addresses associated with the network interface.

Returns

The ipv6_addresses of this InstanceNetworkInterface.

Return type

list[str]

property ipv6_prefixes

Gets the ipv6_prefixes of this InstanceNetworkInterface. The IPv6 delegated prefixes that are assigned to the network interface.

Returns

The ipv6_prefixes of this InstanceNetworkInterface.

Return type

list[str]

property is_source_dest_check

Gets the is_source_dest_check of this InstanceNetworkInterface. Indicates whether source/destination checking is enabled.

Returns

The is_source_dest_check of this InstanceNetworkInterface.

Return type

bool

property mac_address

Gets the mac_address of this InstanceNetworkInterface. The MAC address.

Returns

The mac_address of this InstanceNetworkInterface.

Return type

str

property network_interface_key

Gets the network_interface_key of this InstanceNetworkInterface. The ID of the network interface.

Returns

The network_interface_key of this InstanceNetworkInterface.

Return type

str

property owner_key

Gets the owner_key of this InstanceNetworkInterface. The ID of the AWS account that created the network interface.

Returns

The owner_key of this InstanceNetworkInterface.

Return type

str

property private_ip_addresses

Gets the private_ip_addresses of this InstanceNetworkInterface. The private IPv4 addresses associated with the network interface.

Returns

The private_ip_addresses of this InstanceNetworkInterface.

Return type

list[oci.cloud_bridge.models.InstancePrivateIpAddress]

property security_groups

Gets the security_groups of this InstanceNetworkInterface. The security groups.

Returns

The security_groups of this InstanceNetworkInterface.

Return type

list[oci.cloud_bridge.models.GroupIdentifier]

property status

Gets the status of this InstanceNetworkInterface. The status of the network interface.

Returns

The status of this InstanceNetworkInterface.

Return type

str

property subnet_key

Gets the subnet_key of this InstanceNetworkInterface. The ID of the subnet.

Returns

The subnet_key of this InstanceNetworkInterface.

Return type

str