Package-level declarations

Types

Link copied to clipboard
class Backup : KotlinCustomResource

Creates a backup. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class BackupArgs(val backupId: Output<String>? = null, val description: Output<String>? = null, val kmsKey: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val sourceFileShare: Output<String>? = null, val sourceInstance: Output<String>? = null) : ConvertibleToJava<BackupArgs>

Creates a backup. Auto-naming is currently not supported for this resource.

Link copied to clipboard

Builder for BackupArgs.

Link copied to clipboard
object BackupMapper : ResourceMapper<Backup>
Link copied to clipboard

Builder for Backup.

Link copied to clipboard
Link copied to clipboard
class Instance : KotlinCustomResource

Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class InstanceArgs(val description: Output<String>? = null, val etag: Output<String>? = null, val fileShares: Output<List<FileShareConfigArgs>>? = null, val instanceId: Output<String>? = null, val kmsKeyName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val networks: Output<List<NetworkConfigArgs>>? = null, val project: Output<String>? = null, val tier: Output<InstanceTier>? = null) : ConvertibleToJava<InstanceArgs>

Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object InstanceMapper : ResourceMapper<Instance>
Link copied to clipboard
Link copied to clipboard
class Snapshot : KotlinCustomResource

Creates a snapshot. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class SnapshotArgs(val description: Output<String>? = null, val instanceId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val snapshotId: Output<String>? = null) : ConvertibleToJava<SnapshotArgs>

Creates a snapshot. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object SnapshotMapper : ResourceMapper<Snapshot>
Link copied to clipboard

Functions

Link copied to clipboard
fun backup(name: String): Backup
suspend fun backup(name: String, block: suspend BackupResourceBuilder.() -> Unit): Backup
Link copied to clipboard
suspend fun instance(name: String, block: suspend InstanceResourceBuilder.() -> Unit): Instance
Link copied to clipboard
suspend fun snapshot(name: String, block: suspend SnapshotResourceBuilder.() -> Unit): Snapshot