pub type CreateInterfaceBody = InterfaceCreateRequestInput;Aliased Type§
pub struct CreateInterfaceBody {
pub subnet: String,
pub name: String,
pub description: Option<String>,
pub mac: Option<Nullable<String>>,
pub tags: Option<BTreeMap<String, String>>,
pub addresses: Option<Vec<AddressRequestInput>>,
}Fields§
§subnet: StringSubnet UUID or nested CRN (vpc/<vpc>/subnet/<subnet>). A bare name requires an explicit VPC filter; create requests without a VPC do not accept bare names.
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: Option<Nullable<String>>Defaults to a fresh locally-administered EUI-48
addresses: Option<Vec<AddressRequestInput>>Every enabled subnet family is allocated automatically. Entries may request a fixed IPv4 address; omitting a family never disables it. At most one entry per family.