InstanceConfig class
Configuration parameters for a new instance.
Constructors
-
InstanceConfig({Input<
bool> ? accountNetworksEnabled, Input<NetworkAddress> ? clientNetwork, Input<bool> ? hyperthreading, Input<String> ? id, Input<String> ? instanceType, Input<List< ? logicalInterfaces, Input<GoogleCloudBaremetalsolutionV2LogicalInterface> >String> ? name, Input<InstanceConfigNetworkConfig> ? networkConfig, Input<String> ? networkTemplate, Input<String> ? osImage, Input<NetworkAddress> ? privateNetwork, Input<List< ? sshKeyNames, Input<String> >String> ? userNote}) -
Creates a new InstanceConfig.
accountNetworksEnabledIf true networks can be from different projects of the same vendor account.clientNetworkClient network address. Filled if InstanceConfig.multivlan_config is false.hyperthreadingWhether the instance should be provisioned with Hyperthreading enabled.idA transient unique identifier to idenfity an instance within an ProvisioningConfig request.instanceTypeInstance type. Available typeslogicalInterfacesList 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.nameThe name of the instance config.networkConfigThe type of network configuration on the instance.networkTemplateServer network template name. Filled if InstanceConfig.multivlan_config is true.osImageOS image to initialize the instance. Available imagesprivateNetworkPrivate network address, if any. Filled if InstanceConfig.multivlan_config is false.sshKeyNamesOptional. List of names of ssh keys used to provision the instance.userNoteUser note field, it can be used by customers to add additional information for the BMS Ops team .const -
InstanceConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accountNetworksEnabled
→ Input<
bool> ? -
If true networks can be from different projects of the same vendor account.
final
-
clientNetwork
→ Input<
NetworkAddress> ? -
Client network address. Filled if InstanceConfig.multivlan_config is false.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hyperthreading
→ Input<
bool> ? -
Whether the instance should be provisioned with Hyperthreading enabled.
final
-
id
→ Input<
String> ? -
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
final
-
instanceType
→ Input<
String> ? -
Instance type. Available types
final
-
logicalInterfaces
→ Input<
List< ?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.
final
-
name
→ Input<
String> ? -
The name of the instance config.
final
-
networkConfig
→ Input<
InstanceConfigNetworkConfig> ? -
The type of network configuration on the instance.
final
-
networkTemplate
→ Input<
String> ? -
Server network template name. Filled if InstanceConfig.multivlan_config is true.
final
-
osImage
→ Input<
String> ? -
OS image to initialize the instance. Available images
final
-
privateNetwork
→ Input<
NetworkAddress> ? -
Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sshKeyNames
→ Input<
List< ?String> > -
Optional. List of names of ssh keys used to provision the instance.
final
-
userNote
→ Input<
String> ? -
User note field, it can be used by customers to add additional information for the BMS Ops team .
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited