BackupPlanArgs constructor
- Input<
BackupConfig> ? backupConfig, - required Input<
String> backupPlanId, - Input<
Schedule> ? backupSchedule, - required Input<
String> cluster, - Input<
bool> ? deactivated, - Input<
String> ? description, - Input<
Map< ? labels,String, String> > - Input<
String> ? location, - Input<
String> ? project, - Input<
RetentionPolicy> ? retentionPolicy,
Creates a new BackupPlanArgs.
backupConfig Optional. Defines the configuration of Backups created via this BackupPlan.
backupPlanId 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
backupSchedule Optional. Defines a schedule for automatic Backup creation via this BackupPlan.
cluster Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/*
deactivated Optional. 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
description Optional. User specified descriptive string for this BackupPlan.
labels Optional. A set of custom labels supplied by user.
location Optional.
project Optional.
retentionPolicy Optional. RetentionPolicy governs lifecycle of Backups created under this plan.
Implementation
const BackupPlanArgs({
this.backupConfig,
required this.backupPlanId,
this.backupSchedule,
required this.cluster,
this.deactivated,
this.description,
this.labels,
this.location,
this.project,
this.retentionPolicy,
});