dlmlifecyclepolicy

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 Action

type Action struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// CrossRegionCopy: min=1,max=3
	CrossRegionCopy []CrossRegionCopy `hcl:"cross_region_copy,block" validate:"min=1,max=3"`
}

type ActionAttributes

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

func (ActionAttributes) CrossRegionCopy

func (ActionAttributes) InternalRef

func (a ActionAttributes) InternalRef() (terra.Reference, error)

func (ActionAttributes) InternalTokens

func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionAttributes) InternalWithRef

func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes

func (ActionAttributes) Name

type ActionState

type ActionState struct {
	Name            string                 `json:"name"`
	CrossRegionCopy []CrossRegionCopyState `json:"cross_region_copy"`
}

type CreateRule

type CreateRule struct {
	// CronExpression: string, optional
	CronExpression terra.StringValue `hcl:"cron_expression,attr"`
	// Interval: number, optional
	Interval terra.NumberValue `hcl:"interval,attr"`
	// IntervalUnit: string, optional
	IntervalUnit terra.StringValue `hcl:"interval_unit,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Times: list of string, optional
	Times terra.ListValue[terra.StringValue] `hcl:"times,attr"`
}

type CreateRuleAttributes

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

func (CreateRuleAttributes) CronExpression

func (cr CreateRuleAttributes) CronExpression() terra.StringValue

func (CreateRuleAttributes) InternalRef

func (cr CreateRuleAttributes) InternalRef() (terra.Reference, error)

func (CreateRuleAttributes) InternalTokens

func (cr CreateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CreateRuleAttributes) InternalWithRef

func (cr CreateRuleAttributes) InternalWithRef(ref terra.Reference) CreateRuleAttributes

func (CreateRuleAttributes) Interval

func (cr CreateRuleAttributes) Interval() terra.NumberValue

func (CreateRuleAttributes) IntervalUnit

func (cr CreateRuleAttributes) IntervalUnit() terra.StringValue

func (CreateRuleAttributes) Location

func (cr CreateRuleAttributes) Location() terra.StringValue

func (CreateRuleAttributes) Times

type CreateRuleState

type CreateRuleState struct {
	CronExpression string   `json:"cron_expression"`
	Interval       float64  `json:"interval"`
	IntervalUnit   string   `json:"interval_unit"`
	Location       string   `json:"location"`
	Times          []string `json:"times"`
}

type CrossRegionCopy

type CrossRegionCopy struct {
	// Target: string, required
	Target terra.StringValue `hcl:"target,attr" validate:"required"`
	// EncryptionConfiguration: required
	EncryptionConfiguration *EncryptionConfiguration `hcl:"encryption_configuration,block" validate:"required"`
	// CrossRegionCopyRetainRule: optional
	RetainRule *CrossRegionCopyRetainRule `hcl:"retain_rule,block"`
}

type CrossRegionCopyAttributes

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

func (CrossRegionCopyAttributes) EncryptionConfiguration

func (CrossRegionCopyAttributes) InternalRef

func (crc CrossRegionCopyAttributes) InternalRef() (terra.Reference, error)

func (CrossRegionCopyAttributes) InternalTokens

func (crc CrossRegionCopyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CrossRegionCopyAttributes) InternalWithRef

func (CrossRegionCopyAttributes) RetainRule

func (CrossRegionCopyAttributes) Target

type CrossRegionCopyRetainRule

type CrossRegionCopyRetainRule struct {
	// Interval: number, required
	Interval terra.NumberValue `hcl:"interval,attr" validate:"required"`
	// IntervalUnit: string, required
	IntervalUnit terra.StringValue `hcl:"interval_unit,attr" validate:"required"`
}

type CrossRegionCopyRetainRuleAttributes

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

func (CrossRegionCopyRetainRuleAttributes) InternalRef

func (CrossRegionCopyRetainRuleAttributes) InternalTokens

func (CrossRegionCopyRetainRuleAttributes) InternalWithRef

func (CrossRegionCopyRetainRuleAttributes) Interval

func (CrossRegionCopyRetainRuleAttributes) IntervalUnit

type CrossRegionCopyRetainRuleState

type CrossRegionCopyRetainRuleState struct {
	Interval     float64 `json:"interval"`
	IntervalUnit string  `json:"interval_unit"`
}

type CrossRegionCopyRule

type CrossRegionCopyRule struct {
	// CmkArn: string, optional
	CmkArn terra.StringValue `hcl:"cmk_arn,attr"`
	// CopyTags: bool, optional
	CopyTags terra.BoolValue `hcl:"copy_tags,attr"`
	// Encrypted: bool, required
	Encrypted terra.BoolValue `hcl:"encrypted,attr" validate:"required"`
	// Target: string, required
	Target terra.StringValue `hcl:"target,attr" validate:"required"`
	// CrossRegionCopyRuleDeprecateRule: optional
	DeprecateRule *CrossRegionCopyRuleDeprecateRule `hcl:"deprecate_rule,block"`
	// CrossRegionCopyRuleRetainRule: optional
	RetainRule *CrossRegionCopyRuleRetainRule `hcl:"retain_rule,block"`
}

type CrossRegionCopyRuleAttributes

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

func (CrossRegionCopyRuleAttributes) CmkArn

func (CrossRegionCopyRuleAttributes) CopyTags

func (CrossRegionCopyRuleAttributes) DeprecateRule

func (CrossRegionCopyRuleAttributes) Encrypted

func (CrossRegionCopyRuleAttributes) InternalRef

func (crcr CrossRegionCopyRuleAttributes) InternalRef() (terra.Reference, error)

func (CrossRegionCopyRuleAttributes) InternalTokens

func (crcr CrossRegionCopyRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CrossRegionCopyRuleAttributes) InternalWithRef

func (CrossRegionCopyRuleAttributes) RetainRule

func (CrossRegionCopyRuleAttributes) Target

type CrossRegionCopyRuleDeprecateRule

type CrossRegionCopyRuleDeprecateRule struct {
	// Interval: number, required
	Interval terra.NumberValue `hcl:"interval,attr" validate:"required"`
	// IntervalUnit: string, required
	IntervalUnit terra.StringValue `hcl:"interval_unit,attr" validate:"required"`
}

type CrossRegionCopyRuleDeprecateRuleAttributes

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

func (CrossRegionCopyRuleDeprecateRuleAttributes) InternalRef

func (CrossRegionCopyRuleDeprecateRuleAttributes) InternalTokens

func (CrossRegionCopyRuleDeprecateRuleAttributes) InternalWithRef

func (CrossRegionCopyRuleDeprecateRuleAttributes) Interval

func (CrossRegionCopyRuleDeprecateRuleAttributes) IntervalUnit

type CrossRegionCopyRuleDeprecateRuleState

type CrossRegionCopyRuleDeprecateRuleState struct {
	Interval     float64 `json:"interval"`
	IntervalUnit string  `json:"interval_unit"`
}

type CrossRegionCopyRuleRetainRule

type CrossRegionCopyRuleRetainRule struct {
	// Interval: number, required
	Interval terra.NumberValue `hcl:"interval,attr" validate:"required"`
	// IntervalUnit: string, required
	IntervalUnit terra.StringValue `hcl:"interval_unit,attr" validate:"required"`
}

type CrossRegionCopyRuleRetainRuleAttributes

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

func (CrossRegionCopyRuleRetainRuleAttributes) InternalRef

func (CrossRegionCopyRuleRetainRuleAttributes) InternalTokens

func (CrossRegionCopyRuleRetainRuleAttributes) InternalWithRef

func (CrossRegionCopyRuleRetainRuleAttributes) Interval

func (CrossRegionCopyRuleRetainRuleAttributes) IntervalUnit

type CrossRegionCopyRuleRetainRuleState

type CrossRegionCopyRuleRetainRuleState struct {
	Interval     float64 `json:"interval"`
	IntervalUnit string  `json:"interval_unit"`
}

type CrossRegionCopyRuleState

type CrossRegionCopyRuleState struct {
	CmkArn        string                                  `json:"cmk_arn"`
	CopyTags      bool                                    `json:"copy_tags"`
	Encrypted     bool                                    `json:"encrypted"`
	Target        string                                  `json:"target"`
	DeprecateRule []CrossRegionCopyRuleDeprecateRuleState `json:"deprecate_rule"`
	RetainRule    []CrossRegionCopyRuleRetainRuleState    `json:"retain_rule"`
}

type CrossRegionCopyState

type CrossRegionCopyState struct {
	Target                  string                           `json:"target"`
	EncryptionConfiguration []EncryptionConfigurationState   `json:"encryption_configuration"`
	RetainRule              []CrossRegionCopyRetainRuleState `json:"retain_rule"`
}

type EncryptionConfiguration

type EncryptionConfiguration struct {
	// CmkArn: string, optional
	CmkArn terra.StringValue `hcl:"cmk_arn,attr"`
	// Encrypted: bool, optional
	Encrypted terra.BoolValue `hcl:"encrypted,attr"`
}

type EncryptionConfigurationAttributes

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

func (EncryptionConfigurationAttributes) CmkArn

func (EncryptionConfigurationAttributes) Encrypted

func (EncryptionConfigurationAttributes) InternalRef

func (EncryptionConfigurationAttributes) InternalTokens

func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionConfigurationAttributes) InternalWithRef

type EncryptionConfigurationState

type EncryptionConfigurationState struct {
	CmkArn    string `json:"cmk_arn"`
	Encrypted bool   `json:"encrypted"`
}

type EventSource

type EventSource struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// EventSourceParameters: required
	Parameters *EventSourceParameters `hcl:"parameters,block" validate:"required"`
}

type EventSourceAttributes

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

func (EventSourceAttributes) InternalRef

func (es EventSourceAttributes) InternalRef() (terra.Reference, error)

func (EventSourceAttributes) InternalTokens

func (es EventSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventSourceAttributes) InternalWithRef

func (EventSourceAttributes) Parameters

func (EventSourceAttributes) Type

type EventSourceParameters

type EventSourceParameters struct {
	// DescriptionRegex: string, required
	DescriptionRegex terra.StringValue `hcl:"description_regex,attr" validate:"required"`
	// EventType: string, required
	EventType terra.StringValue `hcl:"event_type,attr" validate:"required"`
	// SnapshotOwner: set of string, required
	SnapshotOwner terra.SetValue[terra.StringValue] `hcl:"snapshot_owner,attr" validate:"required"`
}

type EventSourceParametersAttributes

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

func (EventSourceParametersAttributes) DescriptionRegex

func (p EventSourceParametersAttributes) DescriptionRegex() terra.StringValue

func (EventSourceParametersAttributes) EventType

func (EventSourceParametersAttributes) InternalRef

func (EventSourceParametersAttributes) InternalTokens

func (p EventSourceParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventSourceParametersAttributes) InternalWithRef

func (EventSourceParametersAttributes) SnapshotOwner

type EventSourceParametersState

type EventSourceParametersState struct {
	DescriptionRegex string   `json:"description_regex"`
	EventType        string   `json:"event_type"`
	SnapshotOwner    []string `json:"snapshot_owner"`
}

type EventSourceState

type EventSourceState struct {
	Type       string                       `json:"type"`
	Parameters []EventSourceParametersState `json:"parameters"`
}

type FastRestoreRule

type FastRestoreRule struct {
	// AvailabilityZones: set of string, required
	AvailabilityZones terra.SetValue[terra.StringValue] `hcl:"availability_zones,attr" validate:"required"`
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
	// Interval: number, optional
	Interval terra.NumberValue `hcl:"interval,attr"`
	// IntervalUnit: string, optional
	IntervalUnit terra.StringValue `hcl:"interval_unit,attr"`
}

type FastRestoreRuleAttributes

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

func (FastRestoreRuleAttributes) AvailabilityZones

func (frr FastRestoreRuleAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]

func (FastRestoreRuleAttributes) Count

func (FastRestoreRuleAttributes) InternalRef

func (frr FastRestoreRuleAttributes) InternalRef() (terra.Reference, error)

func (FastRestoreRuleAttributes) InternalTokens

func (frr FastRestoreRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FastRestoreRuleAttributes) InternalWithRef

func (FastRestoreRuleAttributes) Interval

func (FastRestoreRuleAttributes) IntervalUnit

func (frr FastRestoreRuleAttributes) IntervalUnit() terra.StringValue

type FastRestoreRuleState

type FastRestoreRuleState struct {
	AvailabilityZones []string `json:"availability_zones"`
	Count             float64  `json:"count"`
	Interval          float64  `json:"interval"`
	IntervalUnit      string   `json:"interval_unit"`
}

type PolicyDetails

type PolicyDetails struct {
	// PolicyType: string, optional
	PolicyType terra.StringValue `hcl:"policy_type,attr"`
	// ResourceLocations: list of string, optional
	ResourceLocations terra.ListValue[terra.StringValue] `hcl:"resource_locations,attr"`
	// ResourceTypes: list of string, optional
	ResourceTypes terra.ListValue[terra.StringValue] `hcl:"resource_types,attr"`
	// TargetTags: map of string, optional
	TargetTags terra.MapValue[terra.StringValue] `hcl:"target_tags,attr"`
	// Action: optional
	Action *Action `hcl:"action,block"`
	// EventSource: optional
	EventSource *EventSource `hcl:"event_source,block"`
	// PolicyDetailsParameters: optional
	Parameters *PolicyDetailsParameters `hcl:"parameters,block"`
	// Schedule: min=0,max=4
	Schedule []Schedule `hcl:"schedule,block" validate:"min=0,max=4"`
}

type PolicyDetailsAttributes

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

func (PolicyDetailsAttributes) Action

func (PolicyDetailsAttributes) EventSource

func (PolicyDetailsAttributes) InternalRef

func (pd PolicyDetailsAttributes) InternalRef() (terra.Reference, error)

func (PolicyDetailsAttributes) InternalTokens

func (pd PolicyDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PolicyDetailsAttributes) InternalWithRef

func (PolicyDetailsAttributes) Parameters

func (PolicyDetailsAttributes) PolicyType

func (pd PolicyDetailsAttributes) PolicyType() terra.StringValue

func (PolicyDetailsAttributes) ResourceLocations

func (pd PolicyDetailsAttributes) ResourceLocations() terra.ListValue[terra.StringValue]

func (PolicyDetailsAttributes) ResourceTypes

func (PolicyDetailsAttributes) Schedule

func (PolicyDetailsAttributes) TargetTags

type PolicyDetailsParameters

type PolicyDetailsParameters struct {
	// ExcludeBootVolume: bool, optional
	ExcludeBootVolume terra.BoolValue `hcl:"exclude_boot_volume,attr"`
	// NoReboot: bool, optional
	NoReboot terra.BoolValue `hcl:"no_reboot,attr"`
}

type PolicyDetailsParametersAttributes

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

func (PolicyDetailsParametersAttributes) ExcludeBootVolume

func (p PolicyDetailsParametersAttributes) ExcludeBootVolume() terra.BoolValue

func (PolicyDetailsParametersAttributes) InternalRef

func (PolicyDetailsParametersAttributes) InternalTokens

func (PolicyDetailsParametersAttributes) InternalWithRef

func (PolicyDetailsParametersAttributes) NoReboot

type PolicyDetailsParametersState

type PolicyDetailsParametersState struct {
	ExcludeBootVolume bool `json:"exclude_boot_volume"`
	NoReboot          bool `json:"no_reboot"`
}

type PolicyDetailsState

type PolicyDetailsState struct {
	PolicyType        string                         `json:"policy_type"`
	ResourceLocations []string                       `json:"resource_locations"`
	ResourceTypes     []string                       `json:"resource_types"`
	TargetTags        map[string]string              `json:"target_tags"`
	Action            []ActionState                  `json:"action"`
	EventSource       []EventSourceState             `json:"event_source"`
	Parameters        []PolicyDetailsParametersState `json:"parameters"`
	Schedule          []ScheduleState                `json:"schedule"`
}

type Schedule

type Schedule struct {
	// CopyTags: bool, optional
	CopyTags terra.BoolValue `hcl:"copy_tags,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// TagsToAdd: map of string, optional
	TagsToAdd terra.MapValue[terra.StringValue] `hcl:"tags_to_add,attr"`
	// VariableTags: map of string, optional
	VariableTags terra.MapValue[terra.StringValue] `hcl:"variable_tags,attr"`
	// CreateRule: required
	CreateRule *CreateRule `hcl:"create_rule,block" validate:"required"`
	// CrossRegionCopyRule: min=0,max=3
	CrossRegionCopyRule []CrossRegionCopyRule `hcl:"cross_region_copy_rule,block" validate:"min=0,max=3"`
	// ScheduleDeprecateRule: optional
	DeprecateRule *ScheduleDeprecateRule `hcl:"deprecate_rule,block"`
	// FastRestoreRule: optional
	FastRestoreRule *FastRestoreRule `hcl:"fast_restore_rule,block"`
	// ScheduleRetainRule: required
	RetainRule *ScheduleRetainRule `hcl:"retain_rule,block" validate:"required"`
	// ShareRule: optional
	ShareRule *ShareRule `hcl:"share_rule,block"`
}

type ScheduleAttributes

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

func (ScheduleAttributes) CopyTags

func (s ScheduleAttributes) CopyTags() terra.BoolValue

func (ScheduleAttributes) CreateRule

func (ScheduleAttributes) CrossRegionCopyRule

func (ScheduleAttributes) DeprecateRule

func (ScheduleAttributes) FastRestoreRule

func (ScheduleAttributes) InternalRef

func (s ScheduleAttributes) InternalRef() (terra.Reference, error)

func (ScheduleAttributes) InternalTokens

func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleAttributes) InternalWithRef

func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes

func (ScheduleAttributes) Name

func (ScheduleAttributes) RetainRule

func (ScheduleAttributes) ShareRule

func (ScheduleAttributes) TagsToAdd

func (ScheduleAttributes) VariableTags

type ScheduleDeprecateRule

type ScheduleDeprecateRule struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
	// Interval: number, optional
	Interval terra.NumberValue `hcl:"interval,attr"`
	// IntervalUnit: string, optional
	IntervalUnit terra.StringValue `hcl:"interval_unit,attr"`
}

type ScheduleDeprecateRuleAttributes

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

func (ScheduleDeprecateRuleAttributes) Count

func (ScheduleDeprecateRuleAttributes) InternalRef

func (ScheduleDeprecateRuleAttributes) InternalTokens

func (dr ScheduleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleDeprecateRuleAttributes) InternalWithRef

func (ScheduleDeprecateRuleAttributes) Interval

func (ScheduleDeprecateRuleAttributes) IntervalUnit

type ScheduleDeprecateRuleState

type ScheduleDeprecateRuleState struct {
	Count        float64 `json:"count"`
	Interval     float64 `json:"interval"`
	IntervalUnit string  `json:"interval_unit"`
}

type ScheduleRetainRule

type ScheduleRetainRule struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
	// Interval: number, optional
	Interval terra.NumberValue `hcl:"interval,attr"`
	// IntervalUnit: string, optional
	IntervalUnit terra.StringValue `hcl:"interval_unit,attr"`
}

type ScheduleRetainRuleAttributes

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

func (ScheduleRetainRuleAttributes) Count

func (ScheduleRetainRuleAttributes) InternalRef

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

func (ScheduleRetainRuleAttributes) InternalTokens

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

func (ScheduleRetainRuleAttributes) InternalWithRef

func (ScheduleRetainRuleAttributes) Interval

func (ScheduleRetainRuleAttributes) IntervalUnit

type ScheduleRetainRuleState

type ScheduleRetainRuleState struct {
	Count        float64 `json:"count"`
	Interval     float64 `json:"interval"`
	IntervalUnit string  `json:"interval_unit"`
}

type ScheduleState

type ScheduleState struct {
	CopyTags            bool                         `json:"copy_tags"`
	Name                string                       `json:"name"`
	TagsToAdd           map[string]string            `json:"tags_to_add"`
	VariableTags        map[string]string            `json:"variable_tags"`
	CreateRule          []CreateRuleState            `json:"create_rule"`
	CrossRegionCopyRule []CrossRegionCopyRuleState   `json:"cross_region_copy_rule"`
	DeprecateRule       []ScheduleDeprecateRuleState `json:"deprecate_rule"`
	FastRestoreRule     []FastRestoreRuleState       `json:"fast_restore_rule"`
	RetainRule          []ScheduleRetainRuleState    `json:"retain_rule"`
	ShareRule           []ShareRuleState             `json:"share_rule"`
}

type ShareRule

type ShareRule struct {
	// TargetAccounts: set of string, required
	TargetAccounts terra.SetValue[terra.StringValue] `hcl:"target_accounts,attr" validate:"required"`
	// UnshareInterval: number, optional
	UnshareInterval terra.NumberValue `hcl:"unshare_interval,attr"`
	// UnshareIntervalUnit: string, optional
	UnshareIntervalUnit terra.StringValue `hcl:"unshare_interval_unit,attr"`
}

type ShareRuleAttributes

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

func (ShareRuleAttributes) InternalRef

func (sr ShareRuleAttributes) InternalRef() (terra.Reference, error)

func (ShareRuleAttributes) InternalTokens

func (sr ShareRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ShareRuleAttributes) InternalWithRef

func (sr ShareRuleAttributes) InternalWithRef(ref terra.Reference) ShareRuleAttributes

func (ShareRuleAttributes) TargetAccounts

func (sr ShareRuleAttributes) TargetAccounts() terra.SetValue[terra.StringValue]

func (ShareRuleAttributes) UnshareInterval

func (sr ShareRuleAttributes) UnshareInterval() terra.NumberValue

func (ShareRuleAttributes) UnshareIntervalUnit

func (sr ShareRuleAttributes) UnshareIntervalUnit() terra.StringValue

type ShareRuleState

type ShareRuleState struct {
	TargetAccounts      []string `json:"target_accounts"`
	UnshareInterval     float64  `json:"unshare_interval"`
	UnshareIntervalUnit string   `json:"unshare_interval_unit"`
}

Jump to

Keyboard shortcuts

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