backup

package
v1.56.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Enabled                *bool   `json:"enabled,omitempty"`               // Backups are enabled (true) or disabled (false).
	Datacenter             *string `json:"datacenter,omitempty"`            // Datacenter which will create backups
	StoragePath            *string `json:"storagePath,omitempty"`           // A full path to the backup archive
	IncludeRumData         *bool   `json:"includeRumData,omitempty"`        // Include user sessions (true) or GDPR compliance (false)
	IncludeLm20Data        *bool   `json:"includeLm20Data,omitempty"`       // Include (true) or exclude (false) Log Monitoring v2 data
	IncludeTsMetricData    *bool   `json:"includeTsMetricData,omitempty"`   // Include time series metric-data (true) or retain configuration data only (false))
	BandwidthLimitMbits    *int    `json:"bandwidthLimitMbits,omitempty"`   // Cassandra backup bandwidth limit in Mbps
	MaxEsSnapshotsToClean  *int    `json:"maxEsSnapshotsToClean,omitempty"` // Max number of Elasticsearch snapshots to clean. Elasticsearch snapshots won't be created anymore if there will be more backups to clean than this value.
	CassandraScheduledTime int     `json:"cassandraScheduledTime"`          // Hour to start Cassandra backups each day.
	PauseBackups           *bool   `json:"pauseBackups,omitempty"`          // Pauses Elasticsearch and Cassandra backups. In comparison to enable/disable backup, this option does not modify any configuration like Elasticsearch properties.
	CurrentState           string  `json:"-"`
}

The configuration of the user

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL