BackupPolicyState constructor
- Input<
int?> ? assignedVolumeCount, - Input<
String?> ? createTime, - Input<
int?> ? dailyBackupLimit, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
bool?> ? enabled, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? location, - Input<
int?> ? monthlyBackupLimit, - Input<
String?> ? name, - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
String?> ? state, - Input<
int?> ? weeklyBackupLimit,
Creates a new BackupPolicyState.
assignedVolumeCount The total number of volumes assigned by this backup policy.
createTime Create time of the backup policy. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
dailyBackupLimit Number of daily backups to keep. Note that the minimum daily backup limit is 2.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description An optional description of this resource.
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
enabled If enabled, make backups automatically according to the schedules.
labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }.
location Name of the region for the policy to apply to.
monthlyBackupLimit Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
name The name of the backup policy. Needs to be unique per location.
project The ID of the project in which the resource belongs.
pulumiLabels The combination of labels configured directly on the resource
state The state of the backup policy.
weeklyBackupLimit Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
Implementation
const BackupPolicyState({
this.assignedVolumeCount,
this.createTime,
this.dailyBackupLimit,
this.deletionPolicy,
this.description,
this.effectiveLabels,
this.enabled,
this.labels,
this.location,
this.monthlyBackupLimit,
this.name,
this.project,
this.pulumiLabels,
this.state,
this.weeklyBackupLimit,
});