InstanceState constructor
- Input<
InstanceAutoscalingConfig?> ? autoscalingConfig, - Input<
String?> ? config, - Input<
String?> ? defaultBackupScheduleType, - Input<
String?> ? deletionPolicy, - Input<
String?> ? displayName, - Input<
String?> ? edition, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
bool?> ? forceDestroy, - Input<
String?> ? instanceType, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? name, - Input<
int?> ? numNodes, - Input<
int?> ? processingUnits, - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
String?> ? state,
Creates a new InstanceState.
autoscalingConfig The autoscaling configuration. Autoscaling is enabled if this field is set.
config The name of the instance's configuration (similar but not
defaultBackupScheduleType Controls the default backup behavior for new databases within the instance.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
displayName The descriptive name for this instance as it appears in UIs. Must be
edition The edition selected for this instance. Different editions provide different capabilities at different price points.
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
forceDestroy When deleting a spanner instance, this boolean option will delete all backups of this instance.
instanceType The type of this instance. The type can be used to distinguish product variants, that can affect aspects like:
labels An object containing a list of "key": value pairs.
name A unique identifier for the instance, which cannot be changed after
numNodes The number of nodes allocated to this instance. Exactly one of either num_nodes, processingUnits or
processingUnits The number of processing units allocated to this instance. Exactly one of either num_nodes,
project The ID of the project in which the resource belongs.
pulumiLabels The combination of labels configured directly on the resource
state Instance status: CREATING or READY.
Implementation
const InstanceState({
this.autoscalingConfig,
this.config,
this.defaultBackupScheduleType,
this.deletionPolicy,
this.displayName,
this.edition,
this.effectiveLabels,
this.forceDestroy,
this.instanceType,
this.labels,
this.name,
this.numNodes,
this.processingUnits,
this.project,
this.pulumiLabels,
this.state,
});