BackupArgs

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.

Constructors

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

Functions

Link copied to clipboard
open override fun toJava(): BackupArgs

Properties

Link copied to clipboard
val backupId: Output<String>? = null

Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.

Link copied to clipboard
val description: Output<String>? = null

A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.

Link copied to clipboard
val kmsKey: Output<String>? = null

Immutable. KMS key name used for data encryption.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Resource labels to represent user provided metadata.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val sourceFileShare: Output<String>? = null

Name of the file share in the source Filestore instance that the backup is created from.

Link copied to clipboard
val sourceInstance: Output<String>? = null

The resource name of the source Filestore instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.