dataprotectionbackuppolicydisk

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 Criteria

type Criteria struct {
	// AbsoluteCriteria: string, optional
	AbsoluteCriteria terra.StringValue `hcl:"absolute_criteria,attr"`
}

type CriteriaAttributes

type CriteriaAttributes struct {
	// contains filtered or unexported fields
}

func (CriteriaAttributes) AbsoluteCriteria

func (c CriteriaAttributes) AbsoluteCriteria() terra.StringValue

func (CriteriaAttributes) InternalRef

func (c CriteriaAttributes) InternalRef() (terra.Reference, error)

func (CriteriaAttributes) InternalTokens

func (c CriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CriteriaAttributes) InternalWithRef

func (c CriteriaAttributes) InternalWithRef(ref terra.Reference) CriteriaAttributes

type CriteriaState

type CriteriaState struct {
	AbsoluteCriteria string `json:"absolute_criteria"`
}

type RetentionRule

type RetentionRule struct {
	// Duration: string, required
	Duration terra.StringValue `hcl:"duration,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// Criteria: required
	Criteria *Criteria `hcl:"criteria,block" validate:"required"`
}

type RetentionRuleAttributes

type RetentionRuleAttributes struct {
	// contains filtered or unexported fields
}

func (RetentionRuleAttributes) Criteria

func (RetentionRuleAttributes) Duration

func (RetentionRuleAttributes) InternalRef

func (rr RetentionRuleAttributes) InternalRef() (terra.Reference, error)

func (RetentionRuleAttributes) InternalTokens

func (rr RetentionRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RetentionRuleAttributes) InternalWithRef

func (RetentionRuleAttributes) Name

func (RetentionRuleAttributes) Priority

type RetentionRuleState

type RetentionRuleState struct {
	Duration string          `json:"duration"`
	Name     string          `json:"name"`
	Priority float64         `json:"priority"`
	Criteria []CriteriaState `json:"criteria"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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