pub struct NetworkConfig {
pub bandwidth: Option<String>,
pub cidr: Option<String>,
pub gcp_service: Option<String>,
pub id: Option<String>,
pub jumbo_frames_enabled: Option<bool>,
pub name: Option<String>,
pub service_cidr: Option<String>,
pub type_: Option<String>,
pub user_note: Option<String>,
pub vlan_attachments: Option<Vec<IntakeVlanAttachment>>,
pub vlan_same_project: Option<bool>,
pub vrf: Option<String>,
}Expand description
Configuration parameters for a new network.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bandwidth: Option<String>Interconnect bandwidth. Set only when type is CLIENT.
cidr: Option<String>CIDR range of the network.
gcp_service: Option<String>The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
id: Option<String>A transient unique identifier to identify a volume within an ProvisioningConfig request.
jumbo_frames_enabled: Option<bool>The JumboFramesEnabled option for customer to set.
name: Option<String>Output only. The name of the network config.
service_cidr: Option<String>Service CIDR, if any.
type_: Option<String>The type of this network, either Client or Private.
user_note: Option<String>User note field, it can be used by customers to add additional information for the BMS Ops team .
vlan_attachments: Option<Vec<IntakeVlanAttachment>>List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan). Use only one of vlan_attachments or vrf
vlan_same_project: Option<bool>Whether the VLAN attachment pair is located in the same project.
vrf: Option<String>Optional. The name of a pre-existing Vrf that the network should be attached to. Format is vrfs/{vrf}. If vrf is specified, vlan_attachments must be empty.
Trait Implementations§
Source§impl Clone for NetworkConfig
impl Clone for NetworkConfig
Source§fn clone(&self) -> NetworkConfig
fn clone(&self) -> NetworkConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more