public sealed class InstanceConfig : IMessage<InstanceConfig>, IEquatable<InstanceConfig>, IDeepCloneable<InstanceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class InstanceConfig.
Configuration parameters for a new instance.
Implements
IMessageInstanceConfig, IEquatableInstanceConfig, IDeepCloneableInstanceConfig, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
InstanceConfig()
public InstanceConfig()
InstanceConfig(InstanceConfig)
public InstanceConfig(InstanceConfig other)
Parameter | |
---|---|
Name | Description |
other | InstanceConfig |
Properties
AccountNetworksEnabled
public bool AccountNetworksEnabled { get; set; }
If true networks can be from different projects of the same vendor account.
Property Value | |
---|---|
Type | Description |
bool |
ClientNetwork
[Obsolete]
public InstanceConfig.Types.NetworkAddress ClientNetwork { get; set; }
Client network address. Filled if InstanceConfig.multivlan_config is false.
Property Value | |
---|---|
Type | Description |
InstanceConfigTypesNetworkAddress |
Hyperthreading
public bool Hyperthreading { get; set; }
Whether the instance should be provisioned with Hyperthreading enabled.
Property Value | |
---|---|
Type | Description |
bool |
Id
public string Id { get; set; }
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
Property Value | |
---|---|
Type | Description |
string |
InstanceConfigName
public InstanceConfigName InstanceConfigName { get; set; }
InstanceConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
InstanceConfigName |
InstanceType
public string InstanceType { get; set; }
Instance type. Available types
Property Value | |
---|---|
Type | Description |
string |
LogicalInterfaces
public RepeatedField<LogicalInterface> LogicalInterfaces { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldLogicalInterface |
Name
public string Name { get; set; }
Output only. The name of the instance config.
Property Value | |
---|---|
Type | Description |
string |
NetworkConfig
public InstanceConfig.Types.NetworkConfig NetworkConfig { get; set; }
The type of network configuration on the instance.
Property Value | |
---|---|
Type | Description |
InstanceConfigTypesNetworkConfig |
NetworkTemplate
public string NetworkTemplate { get; set; }
Server network template name. Filled if InstanceConfig.multivlan_config is true.
Property Value | |
---|---|
Type | Description |
string |
OsImage
public string OsImage { get; set; }
OS image to initialize the instance. Available images
Property Value | |
---|---|
Type | Description |
string |
PrivateNetwork
[Obsolete]
public InstanceConfig.Types.NetworkAddress PrivateNetwork { get; set; }
Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
Property Value | |
---|---|
Type | Description |
InstanceConfigTypesNetworkAddress |
SshKeyNames
public RepeatedField<string> SshKeyNames { get; }
List of names of ssh keys used to provision the instance.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
UserNote
public string UserNote { get; set; }
User note field, it can be used by customers to add additional information for the BMS Ops team .
Property Value | |
---|---|
Type | Description |
string |