BackupRunArgs

data class BackupRunArgs(val backupKind: Output<BackupRunBackupKind>? = null, val description: Output<String>? = null, val diskEncryptionConfiguration: Output<DiskEncryptionConfigurationArgs>? = null, val diskEncryptionStatus: Output<DiskEncryptionStatusArgs>? = null, val endTime: Output<String>? = null, val enqueuedTime: Output<String>? = null, val error: Output<OperationErrorArgs>? = null, val id: Output<String>? = null, val instance: Output<String>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val selfLink: Output<String>? = null, val startTime: Output<String>? = null, val timeZone: Output<String>? = null, val type: Output<BackupRunType>? = null, val windowStartTime: Output<String>? = null) : ConvertibleToJava<BackupRunArgs>

Creates a new backup run on demand. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
constructor(backupKind: Output<BackupRunBackupKind>? = null, description: Output<String>? = null, diskEncryptionConfiguration: Output<DiskEncryptionConfigurationArgs>? = null, diskEncryptionStatus: Output<DiskEncryptionStatusArgs>? = null, endTime: Output<String>? = null, enqueuedTime: Output<String>? = null, error: Output<OperationErrorArgs>? = null, id: Output<String>? = null, instance: Output<String>? = null, kind: Output<String>? = null, location: Output<String>? = null, project: Output<String>? = null, selfLink: Output<String>? = null, startTime: Output<String>? = null, timeZone: Output<String>? = null, type: Output<BackupRunType>? = null, windowStartTime: Output<String>? = null)

Properties

Link copied to clipboard
val backupKind: Output<BackupRunBackupKind>? = null

Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.

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

The description of this run, only applicable to on-demand backups.

Link copied to clipboard

Encryption configuration specific to a backup.

Link copied to clipboard

Encryption status specific to a backup.

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

The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

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

The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Link copied to clipboard
val error: Output<OperationErrorArgs>? = null

Information about why the backup operation failed. This is only present if the run has the FAILED status.

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

The identifier for this backup run. Unique only for a specific Cloud SQL instance.

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

Name of the database instance.

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

This is always sql#backupRun.

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

Location of the backups.

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

The URI of this resource.

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

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

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

Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.

Link copied to clipboard
val type: Output<BackupRunType>? = null

The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.

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

The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

Functions

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