InstanceNetworkInterfaceAttachment¶
-
class
oci.cloud_bridge.models.
InstanceNetworkInterfaceAttachment
(**kwargs)¶ Bases:
object
Describes a network interface attachment.
Methods
__init__
(**kwargs)Initializes a new InstanceNetworkInterfaceAttachment object with values from keyword arguments. Attributes
attachment_key
Gets the attachment_key of this InstanceNetworkInterfaceAttachment. device_index
Gets the device_index of this InstanceNetworkInterfaceAttachment. is_delete_on_termination
Gets the is_delete_on_termination of this InstanceNetworkInterfaceAttachment. network_card_index
Gets the network_card_index of this InstanceNetworkInterfaceAttachment. status
Gets the status of this InstanceNetworkInterfaceAttachment. time_attach
Gets the time_attach of this InstanceNetworkInterfaceAttachment. -
__init__
(**kwargs)¶ Initializes a new InstanceNetworkInterfaceAttachment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - attachment_key (str) – The value to assign to the attachment_key property of this InstanceNetworkInterfaceAttachment.
- time_attach (datetime) – The value to assign to the time_attach property of this InstanceNetworkInterfaceAttachment.
- is_delete_on_termination (bool) – The value to assign to the is_delete_on_termination property of this InstanceNetworkInterfaceAttachment.
- device_index (int) – The value to assign to the device_index property of this InstanceNetworkInterfaceAttachment.
- network_card_index (int) – The value to assign to the network_card_index property of this InstanceNetworkInterfaceAttachment.
- status (str) – The value to assign to the status property of this InstanceNetworkInterfaceAttachment.
-
attachment_key
¶ Gets the attachment_key of this InstanceNetworkInterfaceAttachment. The ID of the network interface attachment.
Returns: The attachment_key of this InstanceNetworkInterfaceAttachment. Return type: str
-
device_index
¶ Gets the device_index of this InstanceNetworkInterfaceAttachment. The index of the device on the instance for the network interface attachment.
Returns: The device_index of this InstanceNetworkInterfaceAttachment. Return type: int
-
is_delete_on_termination
¶ Gets the is_delete_on_termination of this InstanceNetworkInterfaceAttachment. Indicates whether the network interface is deleted when the instance is terminated.
Returns: The is_delete_on_termination of this InstanceNetworkInterfaceAttachment. Return type: bool
-
network_card_index
¶ Gets the network_card_index of this InstanceNetworkInterfaceAttachment. The index of the network card.
Returns: The network_card_index of this InstanceNetworkInterfaceAttachment. Return type: int
-
status
¶ Gets the status of this InstanceNetworkInterfaceAttachment. The attachment state.
Returns: The status of this InstanceNetworkInterfaceAttachment. Return type: str
-
time_attach
¶ Gets the time_attach of this InstanceNetworkInterfaceAttachment. The timestamp when the attachment initiated.
Returns: The time_attach of this InstanceNetworkInterfaceAttachment. Return type: datetime
-