Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class InstanceConfig.
Configuration parameters for a new instance.
Generated from protobuf message google.cloud.baremetalsolution.v2.InstanceConfig
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of the instance config.
↳ id
string
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
↳ instance_type
↳ hyperthreading
bool
Whether the instance should be provisioned with Hyperthreading enabled.
↳ os_image
↳ client_network
InstanceConfig\NetworkAddress
Client network address. Filled if InstanceConfig.multivlan_config is false.
↳ private_network
InstanceConfig\NetworkAddress
Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
↳ user_note
string
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
int
The type of network configuration on the instance.
↳ network_template
string
Server network template name. Filled if InstanceConfig.multivlan_config is true.
↳ logical_interfaces
array< 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
array
List of names of ssh keys used to provision the instance.
getName
Output only. The name of the instance config.
string
setName
Output only. The name of the instance config.
var
string
$this
getId
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string
setId
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
var
string
$this
getInstanceType
Instance type.
string
setInstanceType
Instance type.
var
string
$this
getHyperthreading
Whether the instance should be provisioned with Hyperthreading enabled.
bool
setHyperthreading
Whether the instance should be provisioned with Hyperthreading enabled.
var
bool
$this
getOsImage
OS image to initialize the instance.
string
setOsImage
OS image to initialize the instance.
var
string
$this
getClientNetwork
Client network address. Filled if InstanceConfig.multivlan_config is false.
hasClientNetwork
clearClientNetwork
setClientNetwork
Client network address. Filled if InstanceConfig.multivlan_config is false.
$this
getPrivateNetwork
Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
hasPrivateNetwork
clearPrivateNetwork
setPrivateNetwork
Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
$this
getUserNote
User note field, it can be used by customers to add additional information for the BMS Ops team .
string
setUserNote
User note field, it can be used by customers to add additional information for the BMS Ops team .
var
string
$this
getAccountNetworksEnabled
If true networks can be from different projects of the same vendor account.
bool
setAccountNetworksEnabled
If true networks can be from different projects of the same vendor account.
var
bool
$this
getNetworkConfig
The type of network configuration on the instance.
int
setNetworkConfig
The type of network configuration on the instance.
var
int
$this
getNetworkTemplate
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string
setNetworkTemplate
Server network template name. Filled if InstanceConfig.multivlan_config is true.
var
string
$this
getLogicalInterfaces
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.
setLogicalInterfaces
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.
$this
getSshKeyNames
List of names of ssh keys used to provision the instance.
setSshKeyNames
List of names of ssh keys used to provision the instance.
var
string[]
$this