InstanceSecondaryInterfaceSpecificationRequest¶
Structure Class¶
InstanceSecondaryInterfaceSpecificationRequest
dataclass
¶
Bases: _SerdeShape
Describes a secondary interface specification for launching an instance.
Attributes¶
delete_on_termination
class-attribute
instance-attribute
¶
delete_on_termination: bool | None = ...
Indicates whether the secondary interface is deleted when the instance is terminated.
The only supported value for this field is true.
device_index
class-attribute
instance-attribute
¶
device_index: int | None = ...
The device index for the secondary interface attachment.
interface_type
class-attribute
instance-attribute
¶
interface_type: str | None = ...
The type of secondary interface.
network_card_index
class-attribute
instance-attribute
¶
network_card_index: int | None = ...
The index of the network card. The network card must support secondary interfaces.
private_ip_address_count
class-attribute
instance-attribute
¶
private_ip_address_count: int | None = ...
The number of private IPv4 addresses to assign to the secondary interface.
private_ip_addresses
class-attribute
instance-attribute
¶
private_ip_addresses: list[InstanceSecondaryInterfacePrivateIpAddressRequest] | None = ...
The private IPv4 addresses to assign to the secondary interface.