dataprotection

package
v1.44.1-0...-4e0a530 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupDatasourceParameters

type BackupDatasourceParameters struct {
	IncludedNamespaces          []string `tfschema:"included_namespaces"`
	IncludedResourceTypes       []string `tfschema:"included_resource_types"`
	ExcludedNamespaces          []string `tfschema:"excluded_namespaces"`
	ExcludedResourceTypes       []string `tfschema:"excluded_resource_types"`
	LabelSelectors              []string `tfschema:"label_selectors"`
	VolumeSnapshotEnabled       bool     `tfschema:"volume_snapshot_enabled"`
	ClusterScopeResourceEnabled bool     `tfschema:"cluster_scoped_resources_enabled"`
}

type BackupInstanceKubernatesClusterModel

type BackupInstanceKubernatesClusterModel struct {
	Name                       string                       `tfschema:"name"`
	Location                   string                       `tfschema:"location"`
	VaultId                    string                       `tfschema:"vault_id"`
	BackupPolicyId             string                       `tfschema:"backup_policy_id"`
	KubernetesClusterId        string                       `tfschema:"kubernetes_cluster_id"`
	SnapshotResourceGroupName  string                       `tfschema:"snapshot_resource_group_name"`
	BackupDatasourceParameters []BackupDatasourceParameters `tfschema:"backup_datasource_parameters"`
}

type BackupPolicyKubernatesClusterModel

type BackupPolicyKubernatesClusterModel struct {
	Name                         string                 `tfschema:"name"`
	ResourceGroupName            string                 `tfschema:"resource_group_name"`
	VaultName                    string                 `tfschema:"vault_name"`
	BackupRepeatingTimeIntervals []string               `tfschema:"backup_repeating_time_intervals"`
	DefaultRetentionRule         []DefaultRetentionRule `tfschema:"default_retention_rule"`
	RetentionRule                []RetentionRule        `tfschema:"retention_rule"`
	TimeZone                     string                 `tfschema:"time_zone"`
}

type Criteria

type Criteria struct {
	AbsoluteCriteria     string   `tfschema:"absolute_criteria"`
	DaysOfWeek           []string `tfschema:"days_of_week"`
	MonthsOfYear         []string `tfschema:"months_of_year"`
	ScheduledBackupTimes []string `tfschema:"scheduled_backup_times"`
	WeeksOfMonth         []string `tfschema:"weeks_of_month"`
}

type DataProtectionBackupInstanceKubernatesClusterResource

type DataProtectionBackupInstanceKubernatesClusterResource struct{}

func (DataProtectionBackupInstanceKubernatesClusterResource) Arguments

func (DataProtectionBackupInstanceKubernatesClusterResource) Attributes

func (DataProtectionBackupInstanceKubernatesClusterResource) Create

func (DataProtectionBackupInstanceKubernatesClusterResource) Delete

func (DataProtectionBackupInstanceKubernatesClusterResource) IDValidationFunc

func (DataProtectionBackupInstanceKubernatesClusterResource) ModelObject

func (r DataProtectionBackupInstanceKubernatesClusterResource) ModelObject() interface{}

func (DataProtectionBackupInstanceKubernatesClusterResource) Read

func (DataProtectionBackupInstanceKubernatesClusterResource) ResourceType

type DataProtectionBackupPolicyKubernatesClusterResource

type DataProtectionBackupPolicyKubernatesClusterResource struct{}

func (DataProtectionBackupPolicyKubernatesClusterResource) Arguments

func (DataProtectionBackupPolicyKubernatesClusterResource) Attributes

func (DataProtectionBackupPolicyKubernatesClusterResource) Create

func (DataProtectionBackupPolicyKubernatesClusterResource) Delete

func (DataProtectionBackupPolicyKubernatesClusterResource) IDValidationFunc

func (DataProtectionBackupPolicyKubernatesClusterResource) ModelObject

func (r DataProtectionBackupPolicyKubernatesClusterResource) ModelObject() interface{}

func (DataProtectionBackupPolicyKubernatesClusterResource) Read

func (DataProtectionBackupPolicyKubernatesClusterResource) ResourceType

type DefaultRetentionRule

type DefaultRetentionRule struct {
	LifeCycle []LifeCycle `tfschema:"life_cycle"`
}

type LifeCycle

type LifeCycle struct {
	DataStoreType string `tfschema:"data_store_type"`
	Duration      string `tfschema:"duration"`
}

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

DataSources returns a list of Data Sources supported by this Service

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

Resources returns a list of Resources supported by this Service

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type RetentionRule

type RetentionRule struct {
	Name      string      `tfschema:"name"`
	Criteria  []Criteria  `tfschema:"criteria"`
	Priority  int         `tfschema:"priority"`
	LifeCycle []LifeCycle `tfschema:"life_cycle"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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