pub struct AttachedInterface {Show 14 fields
pub id: String,
pub crn: String,
pub subnet: ResourceRef,
pub name: String,
pub description: Option<String>,
pub mac: String,
pub attached_to: AttachedInterfaceAttachedTo,
pub tags: BTreeMap<String, String>,
pub created_at: String,
pub updated_at: String,
pub boot_index: i64,
pub primary: bool,
pub external: bool,
pub restart_required: Option<bool>,
}Fields§
§id: String§crn: String§subnet: ResourceRefSubnet containing this interface.
name: StringResource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).
description: Option<String>§mac: String§attached_to: AttachedInterfaceAttachedToInstance holding this interface, including a stopped instance. Null when unbound. Floating IP attachments are tracked separately.
created_at: String§updated_at: String§boot_index: i64§primary: boolThe lowest-boot-index NIC — the one carrying the guest’s default and metadata routes.
external: boolA customer-attached standalone interface — detach unbinds it instead of destroying it.
restart_required: Option<bool>The guest does not carry the interface yet and a hard reboot is what delivers it — an interface past the first is a network on the instance’s launcher, and a launcher’s networks are fixed for its lifetime. Set when the instance was running in a region that cannot attach to a running guest. Absent for a stopped instance, which comes up with the device, and absent where the region attaches live, where the running guest is given the device without a restart.