InstanceArgs

data class InstanceArgs(val hyperthreadingEnabled: Output<Boolean>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val logicalInterfaces: Output<List<GoogleCloudBaremetalsolutionV2LogicalInterfaceArgs>>? = null, val luns: Output<List<LunArgs>>? = null, val machineType: Output<String>? = null, val name: Output<String>? = null, val networkTemplate: Output<String>? = null, val osImage: Output<String>? = null, val pod: Output<String>? = null, val project: Output<String>? = null, val volumes: Output<List<VolumeArgs>>? = null, val workloadProfile: Output<InstanceWorkloadProfile>? = null) : ConvertibleToJava<InstanceArgs>

Create an Instance. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
constructor(hyperthreadingEnabled: Output<Boolean>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, logicalInterfaces: Output<List<GoogleCloudBaremetalsolutionV2LogicalInterfaceArgs>>? = null, luns: Output<List<LunArgs>>? = null, machineType: Output<String>? = null, name: Output<String>? = null, networkTemplate: Output<String>? = null, osImage: Output<String>? = null, pod: Output<String>? = null, project: Output<String>? = null, volumes: Output<List<VolumeArgs>>? = null, workloadProfile: Output<InstanceWorkloadProfile>? = null)

Properties

Link copied to clipboard
val hyperthreadingEnabled: Output<Boolean>? = null

True if you enable hyperthreading for the server, otherwise false. The default value is false.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Labels as key value pairs.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard

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. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.

Link copied to clipboard
val luns: Output<List<LunArgs>>? = null

Immutable. List of LUNs associated with this server.

Link copied to clipboard
val machineType: Output<String>? = null

Immutable. The server type. Available server types

Link copied to clipboard
val name: Output<String>? = null

Immutable. The resource name of this Instance. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/instances/{instance}

Link copied to clipboard
val networkTemplate: Output<String>? = null

Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond" or "nic".

Link copied to clipboard
val osImage: Output<String>? = null

The OS image currently installed on the server.

Link copied to clipboard
val pod: Output<String>? = null

Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val volumes: Output<List<VolumeArgs>>? = null

Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.

Link copied to clipboard

The workload profile for the instance.

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs