InstanceState constructor

const InstanceState({
  1. Input<String?>? aclPolicy,
  2. Input<String?>? authorizationMode,
  3. Input<InstanceAutomatedBackupConfig?>? automatedBackupConfig,
  4. Input<List<String>?>? availableMaintenanceVersions,
  5. Input<String?>? backupCollection,
  6. Input<String?>? createTime,
  7. Input<InstanceCrossInstanceReplicationConfig?>? crossInstanceReplicationConfig,
  8. Input<String?>? deletionPolicy,
  9. Input<bool?>? deletionProtectionEnabled,
  10. Input<List<InstanceDesiredAutoCreatedEndpoint>?>? desiredAutoCreatedEndpoints,
  11. Input<List<InstanceDesiredPscAutoConnection>?>? desiredPscAutoConnections,
  12. Input<List<InstanceDiscoveryEndpoint>?>? discoveryEndpoints,
  13. Input<Map<String, String>?>? effectiveLabels,
  14. Input<String?>? effectiveMaintenanceVersion,
  15. Input<List<InstanceEndpoint>?>? endpoints,
  16. Input<Map<String, String>?>? engineConfigs,
  17. Input<String?>? engineVersion,
  18. Input<InstanceGcsSource?>? gcsSource,
  19. Input<String?>? instanceId,
  20. Input<bool?>? isAclPolicyInSync,
  21. Input<String?>? kmsKey,
  22. Input<Map<String, String>?>? labels,
  23. Input<String?>? location,
  24. Input<InstanceMaintenancePolicy?>? maintenancePolicy,
  25. Input<List<InstanceMaintenanceSchedule>?>? maintenanceSchedules,
  26. Input<String?>? maintenanceVersion,
  27. Input<InstanceManagedBackupSource?>? managedBackupSource,
  28. Input<List<InstanceManagedServerCa>?>? managedServerCas,
  29. Input<String?>? mode,
  30. Input<String?>? name,
  31. Input<List<InstanceNodeConfig>?>? nodeConfigs,
  32. Input<String?>? nodeType,
  33. Input<InstancePersistenceConfig?>? persistenceConfig,
  34. Input<String?>? project,
  35. Input<List<InstancePscAttachmentDetail>?>? pscAttachmentDetails,
  36. Input<List<InstancePscAutoConnection>?>? pscAutoConnections,
  37. Input<Map<String, String>?>? pulumiLabels,
  38. Input<int?>? replicaCount,
  39. Input<String?>? serverCaMode,
  40. Input<String?>? serverCaPool,
  41. Input<int?>? shardCount,
  42. Input<String?>? state,
  43. Input<List<InstanceStateInfo>?>? stateInfos,
  44. Input<String?>? transitEncryptionMode,
  45. Input<String?>? uid,
  46. Input<String?>? updateTime,
  47. Input<InstanceZoneDistributionConfig?>? zoneDistributionConfig,
})

Creates a new InstanceState. aclPolicy The name of the ACL policy to attach to the instance. authorizationMode Optional. Immutable. Authorization mode of the instance. Possible values: automatedBackupConfig The automated backup config for a instance. availableMaintenanceVersions This field is used to determine the available maintenance versions for the self service update. backupCollection The backup collection full resource name. createTime Output only. Creation timestamp of the instance. crossInstanceReplicationConfig Cross instance replication config deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtectionEnabled Optional. If set to true deletion of the instance will fail. desiredAutoCreatedEndpoints Immutable. User inputs for the auto-created endpoints connections. desiredPscAutoConnections desiredPscAutoConnections is deprecated Use desiredAutoCreatedEndpoints instead pulumi import will only work with desiredAutoCreatedEndpoints. [discoveryEndpoints] (Deprecated) [effectiveLabels] All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. [effectiveMaintenanceVersion] This field represents the actual maintenance version of the cluster. [endpoints] Endpoints for the instance. [engineConfigs] Optional. User-provided engine configurations for the instance. [engineVersion] Optional. Engine version of the instance. [gcsSource] GCS source for the instance. [instanceId] Required. The ID to use for the instance, which will become the final component of [isAclPolicyInSync] Whether the ACL policy is in sync with the cluster. [kmsKey] The KMS key used to encrypt the at-rest data of the cluster [labels] Optional. Labels to represent user-provided metadata. [location] Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type memorystore.googleapis.com/CertificateAuthority`. maintenancePolicy Maintenance policy for a cluster maintenanceSchedules Upcoming maintenance schedule. maintenanceVersion This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the availableMaintenanceVersions field. managedBackupSource Managed backup source for the instance. managedServerCas Instance's Certificate Authority. This field will only be populated if instance's transitEncryptionMode is SERVER_AUTHENTICATION mode Optional. cluster or cluster-disabled. name Identifier. Unique name of the instance. nodeConfigs Represents configuration for nodes of the instance. nodeType Optional. Machine type for individual nodes of the instance. persistenceConfig Represents persistence configuration for a instance. project The ID of the project in which the resource belongs. pscAttachmentDetails Configuration of a service attachment of the cluster, for creating PSC connections. pscAutoConnections (Deprecated) pulumiLabels The combination of labels configured directly on the resource replicaCount Optional. Number of replica nodes per shard. If omitted the default is 0 replicas. serverCaMode The serverCaMode for the TLS enabled Memorystore instance. serverCaPool The resource name of the server CA pool for an instance with CUSTOMER_MANAGED_CAS_CA shardCount Required. Number of shards for the instance. state Output only. Current state of the instance. stateInfos Additional information about the state of the instance. transitEncryptionMode Optional. Immutable. In-transit encryption mode of the instance. uid Output only. System assigned, unique identifier for the instance. updateTime Output only. Latest update timestamp of the instance. zoneDistributionConfig Zone distribution configuration for allocation of instance resources.

Implementation

const InstanceState({
  this.aclPolicy,
  this.authorizationMode,
  this.automatedBackupConfig,
  this.availableMaintenanceVersions,
  this.backupCollection,
  this.createTime,
  this.crossInstanceReplicationConfig,
  this.deletionPolicy,
  this.deletionProtectionEnabled,
  this.desiredAutoCreatedEndpoints,
  this.desiredPscAutoConnections,
  this.discoveryEndpoints,
  this.effectiveLabels,
  this.effectiveMaintenanceVersion,
  this.endpoints,
  this.engineConfigs,
  this.engineVersion,
  this.gcsSource,
  this.instanceId,
  this.isAclPolicyInSync,
  this.kmsKey,
  this.labels,
  this.location,
  this.maintenancePolicy,
  this.maintenanceSchedules,
  this.maintenanceVersion,
  this.managedBackupSource,
  this.managedServerCas,
  this.mode,
  this.name,
  this.nodeConfigs,
  this.nodeType,
  this.persistenceConfig,
  this.project,
  this.pscAttachmentDetails,
  this.pscAutoConnections,
  this.pulumiLabels,
  this.replicaCount,
  this.serverCaMode,
  this.serverCaPool,
  this.shardCount,
  this.state,
  this.stateInfos,
  this.transitEncryptionMode,
  this.uid,
  this.updateTime,
  this.zoneDistributionConfig,
});