InstanceArgs constructor

const InstanceArgs({
  1. Input<InstanceAutoscalingConfig?>? autoscalingConfig,
  2. required Input<String> config,
  3. Input<String?>? defaultBackupScheduleType,
  4. Input<String?>? deletionPolicy,
  5. required Input<String> displayName,
  6. Input<String?>? edition,
  7. Input<bool?>? forceDestroy,
  8. Input<String?>? instanceType,
  9. Input<Map<String, String>?>? labels,
  10. Input<String?>? name,
  11. Input<int?>? numNodes,
  12. Input<int?>? processingUnits,
  13. Input<String?>? project,
})

Creates a new InstanceArgs. 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. 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.

Implementation

const InstanceArgs({
  this.autoscalingConfig,
  required this.config,
  this.defaultBackupScheduleType,
  this.deletionPolicy,
  required this.displayName,
  this.edition,
  this.forceDestroy,
  this.instanceType,
  this.labels,
  this.name,
  this.numNodes,
  this.processingUnits,
  this.project,
});