ClusterState constructor

const ClusterState({
  1. Input<Map<String, String>?>? annotations,
  2. Input<ClusterAutomatedBackupPolicy?>? automatedBackupPolicy,
  3. Input<List<ClusterBackupSource>?>? backupSources,
  4. Input<List<ClusterBackupdrBackupSource>?>? backupdrBackupSources,
  5. Input<String?>? clusterId,
  6. Input<String?>? clusterType,
  7. Input<ClusterContinuousBackupConfig?>? continuousBackupConfig,
  8. Input<List<ClusterContinuousBackupInfo>?>? continuousBackupInfos,
  9. Input<String?>? databaseVersion,
  10. Input<ClusterDataplexConfig?>? dataplexConfig,
  11. Input<String?>? deletionPolicy,
  12. Input<bool?>? deletionProtection,
  13. Input<String?>? displayName,
  14. Input<Map<String, String>?>? effectiveAnnotations,
  15. Input<Map<String, String>?>? effectiveLabels,
  16. Input<ClusterEncryptionConfig?>? encryptionConfig,
  17. Input<List<ClusterEncryptionInfo>?>? encryptionInfos,
  18. Input<String?>? etag,
  19. Input<ClusterInitialUser?>? initialUser,
  20. Input<Map<String, String>?>? labels,
  21. Input<String?>? location,
  22. Input<ClusterMaintenanceUpdatePolicy?>? maintenanceUpdatePolicy,
  23. Input<List<ClusterMigrationSource>?>? migrationSources,
  24. Input<String?>? name,
  25. Input<ClusterNetworkConfig?>? networkConfig,
  26. Input<String?>? project,
  27. Input<ClusterPscConfig?>? pscConfig,
  28. Input<Map<String, String>?>? pulumiLabels,
  29. Input<bool?>? reconciling,
  30. Input<ClusterRestoreBackupSource?>? restoreBackupSource,
  31. Input<ClusterRestoreBackupdrBackupSource?>? restoreBackupdrBackupSource,
  32. Input<ClusterRestoreBackupdrPitrSource?>? restoreBackupdrPitrSource,
  33. Input<ClusterRestoreContinuousBackupSource?>? restoreContinuousBackupSource,
  34. Input<ClusterSecondaryConfig?>? secondaryConfig,
  35. Input<bool?>? skipAwaitMajorVersionUpgrade,
  36. Input<String?>? state,
  37. Input<String?>? subscriptionType,
  38. Input<List<ClusterTrialMetadata>?>? trialMetadatas,
  39. Input<String?>? uid,
})

Creates a new ClusterState. annotations Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 automatedBackupPolicy The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default. backupSources Cluster created from backup. backupdrBackupSources Cluster created from a BackupDR backup. clusterId The ID of the alloydb cluster. clusterType The type of cluster. If not set, defaults to PRIMARY. continuousBackupConfig The continuous backup config for this cluster. continuousBackupInfos ContinuousBackupInfo describes the continuous backup properties of a cluster. databaseVersion The database engine major version. This is an optional field and it's populated at the Cluster creation time. dataplexConfig Configuration for Dataplex integration. This is an optional field. If not set, Dataplex integration will be enabled by default. deletionPolicy Policy to determine if the cluster should be deleted forcefully. deletionProtection Whether Terraform will be prevented from destroying the cluster. displayName User-settable and human-readable display name for the Cluster. effectiveAnnotations All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. encryptionConfig EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). encryptionInfos (Output) etag For Resource freshness validation (https://google.aip.dev/154) initialUser Initial user to setup during cluster creation. If unset for new Clusters, a postgres role with null password is created. You will need to create additional users or set the password in order to log in. labels User-defined labels for the alloydb cluster. location The location where the alloydb cluster should reside. maintenanceUpdatePolicy MaintenanceUpdatePolicy defines the policy for system updates. migrationSources Cluster created via DMS migration. name The name of the cluster resource. networkConfig Metadata related to network configuration. project The ID of the project in which the resource belongs. pscConfig Configuration for Private Service Connect (PSC) for the cluster. pulumiLabels The combination of labels configured directly on the resource reconciling Output only. Reconciling (https://google.aip.dev/128#reconciliation). restoreBackupSource The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', 'restore_backupdr_backup_source' and 'restore_backupdr_pitr_source', they can't be set together. restoreBackupdrBackupSource The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', 'restore_backup_source' and 'restore_backupdr_pitr_source', they can't be set together. restoreBackupdrPitrSource The BackupDR source used for point in time recovery. Conflicts with 'restore_backupdr_backup_source', 'restore_continuous_backup_source' and 'restore_backupdr_backup_source', they can't be set togeter. restoreContinuousBackupSource The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', 'restore_backupdr_backup_source' and 'restore_backupdr_pitr_source', they can't be set together. secondaryConfig Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY. skipAwaitMajorVersionUpgrade Set to true to skip awaiting on the major version upgrade of the cluster. state Output only. The current serving state of the cluster. subscriptionType The subscrition type of cluster. trialMetadatas Contains information and all metadata related to TRIAL clusters. uid The system-generated UID of the resource.

Implementation

const ClusterState({
  this.annotations,
  this.automatedBackupPolicy,
  this.backupSources,
  this.backupdrBackupSources,
  this.clusterId,
  this.clusterType,
  this.continuousBackupConfig,
  this.continuousBackupInfos,
  this.databaseVersion,
  this.dataplexConfig,
  this.deletionPolicy,
  this.deletionProtection,
  this.displayName,
  this.effectiveAnnotations,
  this.effectiveLabels,
  this.encryptionConfig,
  this.encryptionInfos,
  this.etag,
  this.initialUser,
  this.labels,
  this.location,
  this.maintenanceUpdatePolicy,
  this.migrationSources,
  this.name,
  this.networkConfig,
  this.project,
  this.pscConfig,
  this.pulumiLabels,
  this.reconciling,
  this.restoreBackupSource,
  this.restoreBackupdrBackupSource,
  this.restoreBackupdrPitrSource,
  this.restoreContinuousBackupSource,
  this.secondaryConfig,
  this.skipAwaitMajorVersionUpgrade,
  this.state,
  this.subscriptionType,
  this.trialMetadatas,
  this.uid,
});