InstanceConfigArgs

data class InstanceConfigArgs(val baseConfig: Output<String>? = null, val displayName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val replicas: Output<List<InstanceConfigReplicaArgs>>? = null) : ConvertibleToJava<InstanceConfigArgs>

A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication. To get more information about InstanceConfig, see:

Example Usage

Import

InstanceConfig can be imported using any of these accepted formats:

  • projects/{{project}}/instanceConfigs/{{name}}

  • {{project}}/{{name}}

  • {{name}} When using the pulumi import command, InstanceConfig can be imported using one of the formats above. For example:

$ pulumi import gcp:spanner/instanceConfig:InstanceConfig default projects/{{project}}/instanceConfigs/{{name}}
$ pulumi import gcp:spanner/instanceConfig:InstanceConfig default {{project}}/{{name}}
$ pulumi import gcp:spanner/instanceConfig:InstanceConfig default {{name}}

Constructors

Link copied to clipboard
constructor(baseConfig: Output<String>? = null, displayName: Output<String>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>? = null, project: Output<String>? = null, replicas: Output<List<InstanceConfigReplicaArgs>>? = null)

Properties

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

Base configuration name, e.g. nam3, based on which this configuration is created. Only set for user managed configurations. baseConfig must refer to a configuration of type GOOGLE_MANAGED in the same project as this configuration.

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

The name of this instance configuration as it appears in UIs.

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

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

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

A unique identifier for the instance configuration. Values are of the form projects//instanceConfigs/-a-z0-9*

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

The geographic placement of nodes in this instance configuration and their replication properties. Structure is documented below.

Functions

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