BackupPlanArgs

data class BackupPlanArgs(val backupConfig: Output<BackupConfigArgs>? = null, val backupPlanId: Output<String>? = null, val backupSchedule: Output<ScheduleArgs>? = null, val cluster: Output<String>? = null, val deactivated: Output<Boolean>? = null, val description: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val retentionPolicy: Output<RetentionPolicyArgs>? = null) : ConvertibleToJava<BackupPlanArgs>

Creates a new BackupPlan in a given location. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun BackupPlanArgs(backupConfig: Output<BackupConfigArgs>? = null, backupPlanId: Output<String>? = null, backupSchedule: Output<ScheduleArgs>? = null, cluster: Output<String>? = null, deactivated: Output<Boolean>? = null, description: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, project: Output<String>? = null, retentionPolicy: Output<RetentionPolicyArgs>? = null)

Functions

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

Properties

Link copied to clipboard
val backupConfig: Output<BackupConfigArgs>? = null

Defines the configuration of Backups created via this BackupPlan.

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

Required. The client-provided short name for the BackupPlan resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of BackupPlans in this location

Link copied to clipboard
val backupSchedule: Output<ScheduleArgs>? = null

Defines a schedule for automatic Backup creation via this BackupPlan.

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

Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/*

Link copied to clipboard
val deactivated: Output<Boolean>? = null

This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False

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

User specified descriptive string for this BackupPlan.

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

A set of custom labels supplied by user.

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

RetentionPolicy governs lifecycle of Backups created under this plan. //////