BackupPolicyState class

Input properties used for looking up and filtering BackupPolicy resources.

Constructors

BackupPolicyState({Input<int?>? assignedVolumeCount, Input<String?>? createTime, Input<int?>? dailyBackupLimit, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<bool?>? enabled, Input<Map<String, String>?>? labels, Input<String?>? location, Input<int?>? monthlyBackupLimit, Input<String?>? name, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, 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.
const
BackupPolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

assignedVolumeCount → Input<int?>?
The total number of volumes assigned by this backup policy.
final
createTime → Input<String?>?
Create time of the backup policy. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
final
dailyBackupLimit → Input<int?>?
Number of daily backups to keep. Note that the minimum daily backup limit is 2.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An optional description of this resource.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
enabled → Input<bool?>?
If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }.
final
location → Input<String?>?
Name of the region for the policy to apply to.
final
monthlyBackupLimit → Input<int?>?
Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
final
name → Input<String?>?
The name of the backup policy. Needs to be unique per location.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<String?>?
The state of the backup policy.
final
weeklyBackupLimit → Input<int?>?
Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited