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 kmsKeyName: 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 capacityGb: Output<String>? = null, val description: Output<String>? = null, val directoryServices: Output<DirectoryServicesConfigArgs>? = 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 maxShareCount: Output<String>? = null, val multiShareEnabled: Output<Boolean>? = null, val networks: Output<List<NetworkConfigArgs>>? = null, val project: Output<String>? = null, val protocol: Output<InstanceProtocol>? = 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 Share : KotlinCustomResource

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

Link copied to clipboard
data class ShareArgs(val backup: Output<String>? = null, val capacityGb: Output<String>? = null, val description: Output<String>? = null, val instanceId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val mountName: Output<String>? = null, val nfsExportOptions: Output<List<NfsExportOptionsArgs>>? = null, val project: Output<String>? = null, val shareId: Output<String>? = null) : ConvertibleToJava<ShareArgs>

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

Link copied to clipboard

Builder for ShareArgs.

Link copied to clipboard
object ShareMapper : ResourceMapper<Share>
Link copied to clipboard

Builder for Share.

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
fun share(name: String): Share
suspend fun share(name: String, block: suspend ShareResourceBuilder.() -> Unit): Share
Link copied to clipboard
suspend fun snapshot(name: String, block: suspend SnapshotResourceBuilder.() -> Unit): Snapshot