pub struct InstanceConfig {Show 14 fields
pub account_networks_enabled: Option<bool>,
pub client_network: Option<NetworkAddress>,
pub hyperthreading: Option<bool>,
pub id: Option<String>,
pub instance_type: Option<String>,
pub kms_key_version: Option<String>,
pub logical_interfaces: Option<Vec<GoogleCloudBaremetalsolutionV2LogicalInterface>>,
pub name: Option<String>,
pub network_config: Option<String>,
pub network_template: Option<String>,
pub os_image: Option<String>,
pub private_network: Option<NetworkAddress>,
pub ssh_key_names: Option<Vec<String>>,
pub user_note: Option<String>,
}Expand description
Configuration parameters for a new instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§account_networks_enabled: Option<bool>If true networks can be from different projects of the same vendor account.
client_network: Option<NetworkAddress>Client network address. Filled if InstanceConfig.multivlan_config is false.
hyperthreading: Option<bool>Whether the instance should be provisioned with Hyperthreading enabled.
id: Option<String>A transient unique identifier to identify an instance within an ProvisioningConfig request.
instance_type: Option<String>Instance type. Available types
kms_key_version: Option<String>Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose.
logical_interfaces: Option<Vec<GoogleCloudBaremetalsolutionV2LogicalInterface>>List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
name: Option<String>The name of the instance config.
network_config: Option<String>The type of network configuration on the instance.
network_template: Option<String>Server network template name. Filled if InstanceConfig.multivlan_config is true.
os_image: Option<String>OS image to initialize the instance. Available images
private_network: Option<NetworkAddress>Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
ssh_key_names: Option<Vec<String>>Optional. List of names of ssh keys used to provision the instance.
user_note: Option<String>User note field, it can be used by customers to add additional information for the BMS Ops team .
Trait Implementations§
Source§impl Clone for InstanceConfig
impl Clone for InstanceConfig
Source§fn clone(&self) -> InstanceConfig
fn clone(&self) -> InstanceConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more