InstanceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration parameters for a new instance.
Attributes | |
---|---|
Name | Description |
name |
str
Output only. The name of the instance config. |
id |
str
A transient unique identifier to idenfity an instance within an ProvisioningConfig request. |
instance_type |
str
Instance type. `Available types |
hyperthreading |
bool
Whether the instance should be provisioned with Hyperthreading enabled. |
os_image |
str
OS image to initialize the instance. `Available images |
client_network |
google.cloud.bare_metal_solution_v2.types.InstanceConfig.NetworkAddress
Client network address. Filled if InstanceConfig.multivlan_config is false. |
private_network |
google.cloud.bare_metal_solution_v2.types.InstanceConfig.NetworkAddress
Private network address, if any. Filled if InstanceConfig.multivlan_config is false. |
user_note |
str
User note field, it can be used by customers to add additional information for the BMS Ops team . |
account_networks_enabled |
bool
If true networks can be from different projects of the same vendor account. |
network_config |
google.cloud.bare_metal_solution_v2.types.InstanceConfig.NetworkConfig
The type of network configuration on the instance. |
network_template |
str
Server network template name. Filled if InstanceConfig.multivlan_config is true. |
logical_interfaces |
MutableSequence[google.cloud.bare_metal_solution_v2.types.LogicalInterface]
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. |
ssh_key_names |
MutableSequence[str]
List of names of ssh keys used to provision the instance. |
Classes
NetworkAddress
NetworkAddress(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A network.
NetworkConfig
NetworkConfig(value)
The network configuration of the instance.
Values: NETWORKCONFIG_UNSPECIFIED (0): The unspecified network configuration. SINGLE_VLAN (1): Instance part of single client network and single private network. MULTI_VLAN (2): Instance part of multiple (or single) client networks and private networks.