You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mongodbatlas/cloud_provider_snapshot_backup_policies.go
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -42,16 +42,17 @@ var _ CloudProviderSnapshotBackupPoliciesService = &CloudProviderSnapshotBackupP
42
42
43
43
// CloudProviderSnapshotBackupPolicy represents a cloud provider snapshot schedule.
44
44
typeCloudProviderSnapshotBackupPolicystruct {
45
-
ClusterIDstring`json:"clusterId,omitempty"`// Unique identifier of the Atlas cluster.
46
-
ClusterNamestring`json:"clusterName,omitempty"`// Name of the Atlas cluster.
47
-
ReferenceHourOfDay*int64`json:"referenceHourOfDay,omitempty"`// UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
48
-
ReferenceMinuteOfHour*int64`json:"referenceMinuteOfHour,omitempty"`// UTC Minutes after referenceHourOfDay that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive. Number of days back in time you can restore to with point-in-time accuracy.
49
-
RestoreWindowDays*int64`json:"restoreWindowDays,omitempty"`// Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
50
-
UpdateSnapshots*bool`json:"updateSnapshots,omitempty"`// Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
51
-
NextSnapshotstring`json:"nextSnapshot,omitempty"`// UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
52
-
Policies []Policy`json:"policies,omitempty"`// A list of policy definitions for the cluster.
53
-
AutoExportEnabled*bool`json:"autoExportEnabled,omitempty"`// Specify true to enable automatic export of cloud backup snapshots to the AWS bucket. You must also define the export policy using export. Specify false to disable automatic export.
54
-
Export*Export`json:"export,omitempty"`// Export struct that represents a policy for automatically exporting cloud backup snapshots to AWS bucket.
45
+
ClusterIDstring`json:"clusterId,omitempty"`// Unique identifier of the Atlas cluster.
46
+
ClusterNamestring`json:"clusterName,omitempty"`// Name of the Atlas cluster.
47
+
ReferenceHourOfDay*int64`json:"referenceHourOfDay,omitempty"`// UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
48
+
ReferenceMinuteOfHour*int64`json:"referenceMinuteOfHour,omitempty"`// UTC Minutes after referenceHourOfDay that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive. Number of days back in time you can restore to with point-in-time accuracy.
49
+
RestoreWindowDays*int64`json:"restoreWindowDays,omitempty"`// Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
50
+
UpdateSnapshots*bool`json:"updateSnapshots,omitempty"`// Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
51
+
NextSnapshotstring`json:"nextSnapshot,omitempty"`// UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
52
+
Policies []Policy`json:"policies,omitempty"`// A list of policy definitions for the cluster.
53
+
AutoExportEnabled*bool`json:"autoExportEnabled,omitempty"`// Specify true to enable automatic export of cloud backup snapshots to the AWS bucket. You must also define the export policy using export. Specify false to disable automatic export.
54
+
Export*Export`json:"export,omitempty"`// Export struct that represents a policy for automatically exporting cloud backup snapshots to AWS bucket.
55
+
UseOrgAndGroupNamesInExportPrefix*bool`json:"useOrgAndGroupNamesInExportPrefix,omitempty"`// Specifies whether to use organization and project names instead of organization and project UUIDs in the path to the metadata files that Atlas uploads to your S3 bucket after it finishes exporting the snapshots
55
56
}
56
57
57
58
// Policy represents for the snapshot and an array of backup policy items.
0 commit comments