InstanceState constructor

const InstanceState({
  1. Input<String?>? activationPolicy,
  2. Input<Map<String, String>?>? annotations,
  3. Input<String?>? availabilityType,
  4. Input<InstanceClientConnectionConfig?>? clientConnectionConfig,
  5. Input<String?>? cluster,
  6. Input<InstanceConnectionPoolConfig?>? connectionPoolConfig,
  7. Input<String?>? createTime,
  8. Input<Map<String, String>?>? databaseFlags,
  9. Input<String?>? deletionPolicy,
  10. Input<String?>? displayName,
  11. Input<Map<String, String>?>? effectiveAnnotations,
  12. Input<Map<String, String>?>? effectiveLabels,
  13. Input<String?>? gceZone,
  14. Input<String?>? instanceId,
  15. Input<String?>? instanceType,
  16. Input<String?>? ipAddress,
  17. Input<Map<String, String>?>? labels,
  18. Input<InstanceMachineConfig?>? machineConfig,
  19. Input<String?>? name,
  20. Input<InstanceNetworkConfig?>? networkConfig,
  21. Input<InstanceObservabilityConfig?>? observabilityConfig,
  22. Input<List<String>?>? outboundPublicIpAddresses,
  23. Input<InstancePscInstanceConfig?>? pscInstanceConfig,
  24. Input<String?>? publicIpAddress,
  25. Input<Map<String, String>?>? pulumiLabels,
  26. Input<InstanceQueryInsightsConfig?>? queryInsightsConfig,
  27. Input<InstanceReadPoolConfig?>? readPoolConfig,
  28. Input<bool?>? reconciling,
  29. Input<String?>? state,
  30. Input<String?>? uid,
  31. Input<String?>? updateTime,
})

Creates a new InstanceState. activationPolicy 'Specifies whether an instance needs to spin up. Once the instance is annotations Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. availabilityType 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. clientConnectionConfig Client connection specific configurations. cluster Identifies the alloydb cluster. Must be in the format connectionPoolConfig Configuration for Managed Connection Pool. createTime Time the Instance was created in UTC. databaseFlags Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. displayName User-settable and human-readable display name for the Instance. 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. gceZone The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. instanceId The ID of the alloydb instance. instanceType The type of the instance. ipAddress The IP address for the Instance. This is the connection endpoint for an end-user application. labels User-defined labels for the alloydb instance. machineConfig Configurations for the machines that host the underlying database engine. name The name of the instance resource. networkConfig Instance level network configuration. observabilityConfig (Optional, Beta) outboundPublicIpAddresses The outbound public IP addresses for the instance. This is available ONLY when pscInstanceConfig Configuration for Private Service Connect (PSC) for the instance. publicIpAddress The public IP addresses for the Instance. This is available ONLY when pulumiLabels The combination of labels configured directly on the resource queryInsightsConfig Configuration for query insights. readPoolConfig Read pool specific config. If the instance type is READ_POOL, this configuration must be provided. reconciling Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance. state The current state of the alloydb instance. uid The system-generated UID of the resource. updateTime Time the Instance was updated in UTC.

Implementation

const InstanceState({
  this.activationPolicy,
  this.annotations,
  this.availabilityType,
  this.clientConnectionConfig,
  this.cluster,
  this.connectionPoolConfig,
  this.createTime,
  this.databaseFlags,
  this.deletionPolicy,
  this.displayName,
  this.effectiveAnnotations,
  this.effectiveLabels,
  this.gceZone,
  this.instanceId,
  this.instanceType,
  this.ipAddress,
  this.labels,
  this.machineConfig,
  this.name,
  this.networkConfig,
  this.observabilityConfig,
  this.outboundPublicIpAddresses,
  this.pscInstanceConfig,
  this.publicIpAddress,
  this.pulumiLabels,
  this.queryInsightsConfig,
  this.readPoolConfig,
  this.reconciling,
  this.state,
  this.uid,
  this.updateTime,
});