Package-level declarations

Types

Link copied to clipboard
class Instance : KotlinCustomResource

Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project's default network. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis instance will be fully functional. The completed longrunning.Operation will contain the new instance object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.

Link copied to clipboard
data class InstanceArgs(val alternativeLocationId: Output<String>? = null, val authEnabled: Output<Boolean>? = null, val authorizedNetwork: Output<String>? = null, val availableMaintenanceVersions: Output<List<String>>? = null, val connectMode: Output<InstanceConnectMode>? = null, val customerManagedKey: Output<String>? = null, val displayName: Output<String>? = null, val instanceId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val maintenancePolicy: Output<MaintenancePolicyArgs>? = null, val maintenanceVersion: Output<String>? = null, val memorySizeGb: Output<Int>? = null, val name: Output<String>? = null, val persistenceConfig: Output<PersistenceConfigArgs>? = null, val project: Output<String>? = null, val readReplicasMode: Output<InstanceReadReplicasMode>? = null, val redisConfigs: Output<Map<String, String>>? = null, val redisVersion: Output<String>? = null, val replicaCount: Output<Int>? = null, val reservedIpRange: Output<String>? = null, val secondaryIpRange: Output<String>? = null, val suspensionReasons: Output<List<InstanceSuspensionReasonsItem>>? = null, val tier: Output<InstanceTier>? = null, val transitEncryptionMode: Output<InstanceTransitEncryptionMode>? = null) : ConvertibleToJava<InstanceArgs>

Creates a Redis instance based on the specified tier and memory size. By default, the instance is accessible from the project's default network. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis instance will be fully functional. The completed longrunning.Operation will contain the new instance object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call DeleteOperation.

Link copied to clipboard
Link copied to clipboard
object InstanceMapper : ResourceMapper<Instance>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun instance(name: String, block: suspend InstanceResourceBuilder.() -> Unit): Instance