InstanceConfig

class InstanceConfig : KotlinCustomResource

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}}

Properties

Link copied to clipboard
val baseConfig: Output<String>

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 configType: Output<String>

Output only. Whether this instance config is a Google or User Managed Configuration.

Link copied to clipboard
val displayName: Output<String>

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

Link copied to clipboard

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

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

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>

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>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
val pulumiLabels: Output<Map<String, String>>

The combination of labels configured directly on the resource and default labels configured on the provider.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
val urn: Output<String>