Skip to main content

GetInterfaceResource

Type Alias GetInterfaceResource 

Source
pub type GetInterfaceResource = Interface;

Aliased Type§

pub struct GetInterfaceResource {
    pub id: String,
    pub crn: String,
    pub subnet: ResourceRef,
    pub name: String,
    pub description: Option<String>,
    pub mac: String,
    pub attached_to: InterfaceAttachedTo,
    pub tags: BTreeMap<String, String>,
    pub created_at: String,
    pub updated_at: String,
}

Fields§

§id: String§crn: String§subnet: ResourceRef

Subnet containing this interface.

§name: String

Resource 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: InterfaceAttachedTo

Instance holding this interface, including a stopped instance. Null when unbound. Floating IP attachments are tracked separately.

§tags: BTreeMap<String, String>§created_at: String§updated_at: String