InstanceState constructor

const InstanceState({
  1. Input<String?>? alternativeLocationId,
  2. Input<bool?>? authEnabled,
  3. Input<String?>? authString,
  4. Input<String?>? authorizedNetwork,
  5. Input<String?>? connectMode,
  6. Input<String?>? createTime,
  7. Input<String?>? currentLocationId,
  8. Input<String?>? customerManagedKey,
  9. Input<String?>? deletionPolicy,
  10. Input<bool?>? deletionProtection,
  11. Input<String?>? displayName,
  12. Input<Map<String, String>?>? effectiveLabels,
  13. Input<String?>? effectiveReservedIpRange,
  14. Input<String?>? host,
  15. Input<Map<String, String>?>? labels,
  16. Input<String?>? locationId,
  17. Input<InstanceMaintenancePolicy?>? maintenancePolicy,
  18. Input<List<InstanceMaintenanceSchedule>?>? maintenanceSchedules,
  19. Input<String?>? maintenanceVersion,
  20. Input<int?>? memorySizeGb,
  21. Input<String?>? name,
  22. Input<List<InstanceNode>?>? nodes,
  23. Input<InstancePersistenceConfig?>? persistenceConfig,
  24. Input<String?>? persistenceIamIdentity,
  25. Input<int?>? port,
  26. Input<String?>? project,
  27. Input<Map<String, String>?>? pulumiLabels,
  28. Input<String?>? readEndpoint,
  29. Input<int?>? readEndpointPort,
  30. Input<String?>? readReplicasMode,
  31. Input<Map<String, String>?>? redisConfigs,
  32. Input<String?>? redisVersion,
  33. Input<String?>? region,
  34. Input<int?>? replicaCount,
  35. Input<String?>? reservedIpRange,
  36. Input<String?>? secondaryIpRange,
  37. Input<List<InstanceServerCaCert>?>? serverCaCerts,
  38. Input<String?>? tier,
  39. Input<String?>? transitEncryptionMode,
})

Creates a new InstanceState. alternativeLocationId Only applicable to STANDARD_HA tier which protects the instance authEnabled Optional. Indicates whether OSS Redis AUTH is enabled for the authString AUTH String set on the instance. This field will only be populated if authEnabled is true. authorizedNetwork The full name of the Google Compute Engine network to which the connectMode The connection mode of the Redis instance. createTime (Output) currentLocationId The current zone where the Redis endpoint is placed. customerManagedKey Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether Terraform will be prevented from destroying the instance. displayName An arbitrary and optional user-provided name for the instance. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. effectiveReservedIpRange The CIDR range of internal addresses that are reserved for this host Hostname or IP address of the exposed Redis endpoint used by clients labels Resource labels to represent user provided metadata. locationId The zone where the instance will be provisioned. If not provided, maintenancePolicy Maintenance policy for an instance. maintenanceSchedules Upcoming maintenance schedule. maintenanceVersion The self service update maintenance version. memorySizeGb Redis memory size in GiB. name The ID of the instance or a fully qualified identifier for the instance. nodes Output only. Info per node. persistenceConfig Persistence configuration for an instance. persistenceIamIdentity Output only. Cloud IAM identity used by import / export operations port The port number of the exposed Redis endpoint. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource readEndpoint Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. readEndpointPort Output only. The port number of the exposed readonly redis endpoint. Standard tier only. readReplicasMode Optional. Read replica mode. Can only be specified when trying to create the instance. redisConfigs Redis configuration parameters, according to http://redis.io/topics/config. redisVersion The version of Redis software. If not provided, latest supported region The name of the Redis region of the instance. replicaCount Optional. The number of replica nodes. The valid range for the Standard Tier with reservedIpRange The CIDR range of internal addresses that are reserved for this secondaryIpRange Optional. Additional IP range for node placement. Required when enabling read replicas on serverCaCerts List of server CA certificates for the instance. tier The service tier of the instance. Must be one of these values: transitEncryptionMode The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance.

Implementation

const InstanceState({
  this.alternativeLocationId,
  this.authEnabled,
  this.authString,
  this.authorizedNetwork,
  this.connectMode,
  this.createTime,
  this.currentLocationId,
  this.customerManagedKey,
  this.deletionPolicy,
  this.deletionProtection,
  this.displayName,
  this.effectiveLabels,
  this.effectiveReservedIpRange,
  this.host,
  this.labels,
  this.locationId,
  this.maintenancePolicy,
  this.maintenanceSchedules,
  this.maintenanceVersion,
  this.memorySizeGb,
  this.name,
  this.nodes,
  this.persistenceConfig,
  this.persistenceIamIdentity,
  this.port,
  this.project,
  this.pulumiLabels,
  this.readEndpoint,
  this.readEndpointPort,
  this.readReplicasMode,
  this.redisConfigs,
  this.redisVersion,
  this.region,
  this.replicaCount,
  this.reservedIpRange,
  this.secondaryIpRange,
  this.serverCaCerts,
  this.tier,
  this.transitEncryptionMode,
});