Documentation
¶
Index ¶
- type Args
- type DataArgs
- type DataRuleActionsAttributes
- func (a DataRuleActionsAttributes) BaseBlob() terra.ListValue[DataRuleActionsBaseBlobAttributes]
- func (a DataRuleActionsAttributes) InternalRef() (terra.Reference, error)
- func (a DataRuleActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataRuleActionsAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsAttributes
- func (a DataRuleActionsAttributes) Snapshot() terra.ListValue[DataRuleActionsSnapshotAttributes]
- func (a DataRuleActionsAttributes) Version() terra.ListValue[DataRuleActionsVersionAttributes]
- type DataRuleActionsBaseBlobAttributes
- func (bb DataRuleActionsBaseBlobAttributes) AutoTierToHotFromCoolEnabled() terra.BoolValue
- func (bb DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceModificationGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) InternalRef() (terra.Reference, error)
- func (bb DataRuleActionsBaseBlobAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bb DataRuleActionsBaseBlobAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsBaseBlobAttributes
- func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceModificationGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceModificationGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceModificationGreaterThan() terra.NumberValue
- type DataRuleActionsBaseBlobState
- type DataRuleActionsSnapshotAttributes
- func (s DataRuleActionsSnapshotAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
- func (s DataRuleActionsSnapshotAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
- func (s DataRuleActionsSnapshotAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (s DataRuleActionsSnapshotAttributes) InternalRef() (terra.Reference, error)
- func (s DataRuleActionsSnapshotAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataRuleActionsSnapshotAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsSnapshotAttributes
- func (s DataRuleActionsSnapshotAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
- func (s DataRuleActionsSnapshotAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
- type DataRuleActionsSnapshotState
- type DataRuleActionsState
- type DataRuleActionsVersionAttributes
- func (v DataRuleActionsVersionAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
- func (v DataRuleActionsVersionAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
- func (v DataRuleActionsVersionAttributes) DeleteAfterDaysSinceCreation() terra.NumberValue
- func (v DataRuleActionsVersionAttributes) InternalRef() (terra.Reference, error)
- func (v DataRuleActionsVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v DataRuleActionsVersionAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsVersionAttributes
- func (v DataRuleActionsVersionAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
- func (v DataRuleActionsVersionAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
- type DataRuleActionsVersionState
- type DataRuleAttributes
- func (r DataRuleAttributes) Actions() terra.ListValue[DataRuleActionsAttributes]
- func (r DataRuleAttributes) Enabled() terra.BoolValue
- func (r DataRuleAttributes) Filters() terra.ListValue[DataRuleFiltersAttributes]
- func (r DataRuleAttributes) InternalRef() (terra.Reference, error)
- func (r DataRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r DataRuleAttributes) InternalWithRef(ref terra.Reference) DataRuleAttributes
- func (r DataRuleAttributes) Name() terra.StringValue
- type DataRuleFiltersAttributes
- func (f DataRuleFiltersAttributes) BlobTypes() terra.SetValue[terra.StringValue]
- func (f DataRuleFiltersAttributes) InternalRef() (terra.Reference, error)
- func (f DataRuleFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DataRuleFiltersAttributes) InternalWithRef(ref terra.Reference) DataRuleFiltersAttributes
- func (f DataRuleFiltersAttributes) MatchBlobIndexTag() terra.ListValue[DataRuleFiltersMatchBlobIndexTagAttributes]
- func (f DataRuleFiltersAttributes) PrefixMatch() terra.SetValue[terra.StringValue]
- type DataRuleFiltersMatchBlobIndexTagAttributes
- func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) InternalRef() (terra.Reference, error)
- func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) InternalWithRef(ref terra.Reference) DataRuleFiltersMatchBlobIndexTagAttributes
- func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) Name() terra.StringValue
- func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) Operation() terra.StringValue
- func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) Value() terra.StringValue
- type DataRuleFiltersMatchBlobIndexTagState
- type DataRuleFiltersState
- type DataRuleState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type Resource
- func (asmp *Resource) Attributes() azurermStorageManagementPolicyAttributes
- func (asmp *Resource) Configuration() interface{}
- func (asmp *Resource) DependOn() terra.Reference
- func (asmp *Resource) Dependencies() terra.Dependencies
- func (asmp *Resource) ImportState(state io.Reader) error
- func (asmp *Resource) LifecycleManagement() *terra.Lifecycle
- func (asmp *Resource) LocalName() string
- func (asmp *Resource) State() (*azurermStorageManagementPolicyState, bool)
- func (asmp *Resource) StateMust() *azurermStorageManagementPolicyState
- func (asmp *Resource) Type() string
- type Rule
- type RuleActions
- type RuleActionsAttributes
- func (a RuleActionsAttributes) BaseBlob() terra.ListValue[RuleActionsBaseBlobAttributes]
- func (a RuleActionsAttributes) InternalRef() (terra.Reference, error)
- func (a RuleActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a RuleActionsAttributes) InternalWithRef(ref terra.Reference) RuleActionsAttributes
- func (a RuleActionsAttributes) Snapshot() terra.ListValue[RuleActionsSnapshotAttributes]
- func (a RuleActionsAttributes) Version() terra.ListValue[RuleActionsVersionAttributes]
- type RuleActionsBaseBlob
- type RuleActionsBaseBlobAttributes
- func (bb RuleActionsBaseBlobAttributes) AutoTierToHotFromCoolEnabled() terra.BoolValue
- func (bb RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceModificationGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) InternalRef() (terra.Reference, error)
- func (bb RuleActionsBaseBlobAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bb RuleActionsBaseBlobAttributes) InternalWithRef(ref terra.Reference) RuleActionsBaseBlobAttributes
- func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceModificationGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceModificationGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
- func (bb RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceModificationGreaterThan() terra.NumberValue
- type RuleActionsBaseBlobState
- type RuleActionsSnapshot
- type RuleActionsSnapshotAttributes
- func (s RuleActionsSnapshotAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
- func (s RuleActionsSnapshotAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
- func (s RuleActionsSnapshotAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
- func (s RuleActionsSnapshotAttributes) InternalRef() (terra.Reference, error)
- func (s RuleActionsSnapshotAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s RuleActionsSnapshotAttributes) InternalWithRef(ref terra.Reference) RuleActionsSnapshotAttributes
- func (s RuleActionsSnapshotAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
- func (s RuleActionsSnapshotAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
- type RuleActionsSnapshotState
- type RuleActionsState
- type RuleActionsVersion
- type RuleActionsVersionAttributes
- func (v RuleActionsVersionAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
- func (v RuleActionsVersionAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
- func (v RuleActionsVersionAttributes) DeleteAfterDaysSinceCreation() terra.NumberValue
- func (v RuleActionsVersionAttributes) InternalRef() (terra.Reference, error)
- func (v RuleActionsVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v RuleActionsVersionAttributes) InternalWithRef(ref terra.Reference) RuleActionsVersionAttributes
- func (v RuleActionsVersionAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
- func (v RuleActionsVersionAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
- type RuleActionsVersionState
- type RuleAttributes
- func (r RuleAttributes) Actions() terra.ListValue[RuleActionsAttributes]
- func (r RuleAttributes) Enabled() terra.BoolValue
- func (r RuleAttributes) Filters() terra.ListValue[RuleFiltersAttributes]
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) Name() terra.StringValue
- type RuleFilters
- type RuleFiltersAttributes
- func (f RuleFiltersAttributes) BlobTypes() terra.SetValue[terra.StringValue]
- func (f RuleFiltersAttributes) InternalRef() (terra.Reference, error)
- func (f RuleFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f RuleFiltersAttributes) InternalWithRef(ref terra.Reference) RuleFiltersAttributes
- func (f RuleFiltersAttributes) MatchBlobIndexTag() terra.SetValue[RuleFiltersMatchBlobIndexTagAttributes]
- func (f RuleFiltersAttributes) PrefixMatch() terra.SetValue[terra.StringValue]
- type RuleFiltersMatchBlobIndexTag
- type RuleFiltersMatchBlobIndexTagAttributes
- func (mbit RuleFiltersMatchBlobIndexTagAttributes) InternalRef() (terra.Reference, error)
- func (mbit RuleFiltersMatchBlobIndexTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mbit RuleFiltersMatchBlobIndexTagAttributes) InternalWithRef(ref terra.Reference) RuleFiltersMatchBlobIndexTagAttributes
- func (mbit RuleFiltersMatchBlobIndexTagAttributes) Name() terra.StringValue
- func (mbit RuleFiltersMatchBlobIndexTagAttributes) Operation() terra.StringValue
- func (mbit RuleFiltersMatchBlobIndexTagAttributes) Value() terra.StringValue
- type RuleFiltersMatchBlobIndexTagState
- type RuleFiltersState
- type RuleState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // StorageAccountId: string, required StorageAccountId terra.StringValue `hcl:"storage_account_id,attr" validate:"required"` // Rule: min=0 Rule []Rule `hcl:"rule,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_storage_management_policy.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // StorageAccountId: string, required StorageAccountId terra.StringValue `hcl:"storage_account_id,attr" validate:"required"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_storage_management_policy.
type DataRuleActionsAttributes ¶
type DataRuleActionsAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleActionsAttributes) BaseBlob ¶
func (a DataRuleActionsAttributes) BaseBlob() terra.ListValue[DataRuleActionsBaseBlobAttributes]
func (DataRuleActionsAttributes) InternalRef ¶
func (a DataRuleActionsAttributes) InternalRef() (terra.Reference, error)
func (DataRuleActionsAttributes) InternalTokens ¶
func (a DataRuleActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleActionsAttributes) InternalWithRef ¶
func (a DataRuleActionsAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsAttributes
func (DataRuleActionsAttributes) Snapshot ¶
func (a DataRuleActionsAttributes) Snapshot() terra.ListValue[DataRuleActionsSnapshotAttributes]
func (DataRuleActionsAttributes) Version ¶
func (a DataRuleActionsAttributes) Version() terra.ListValue[DataRuleActionsVersionAttributes]
type DataRuleActionsBaseBlobAttributes ¶
type DataRuleActionsBaseBlobAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleActionsBaseBlobAttributes) AutoTierToHotFromCoolEnabled ¶
func (bb DataRuleActionsBaseBlobAttributes) AutoTierToHotFromCoolEnabled() terra.BoolValue
func (DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceCreationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceModificationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) DeleteAfterDaysSinceModificationGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) InternalRef ¶
func (bb DataRuleActionsBaseBlobAttributes) InternalRef() (terra.Reference, error)
func (DataRuleActionsBaseBlobAttributes) InternalTokens ¶
func (bb DataRuleActionsBaseBlobAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleActionsBaseBlobAttributes) InternalWithRef ¶
func (bb DataRuleActionsBaseBlobAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsBaseBlobAttributes
func (DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceCreationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceModificationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceModificationGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceCreationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceModificationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceModificationGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceCreationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceModificationGreaterThan ¶
func (bb DataRuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceModificationGreaterThan() terra.NumberValue
type DataRuleActionsBaseBlobState ¶
type DataRuleActionsBaseBlobState struct { AutoTierToHotFromCoolEnabled bool `json:"auto_tier_to_hot_from_cool_enabled"` DeleteAfterDaysSinceCreationGreaterThan float64 `json:"delete_after_days_since_creation_greater_than"` DeleteAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"delete_after_days_since_last_access_time_greater_than"` DeleteAfterDaysSinceModificationGreaterThan float64 `json:"delete_after_days_since_modification_greater_than"` TierToArchiveAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_archive_after_days_since_creation_greater_than"` TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_access_time_greater_than"` TierToArchiveAfterDaysSinceLastTierChangeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_tier_change_greater_than"` TierToArchiveAfterDaysSinceModificationGreaterThan float64 `json:"tier_to_archive_after_days_since_modification_greater_than"` TierToColdAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cold_after_days_since_creation_greater_than"` TierToColdAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"tier_to_cold_after_days_since_last_access_time_greater_than"` TierToColdAfterDaysSinceModificationGreaterThan float64 `json:"tier_to_cold_after_days_since_modification_greater_than"` TierToCoolAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cool_after_days_since_creation_greater_than"` TierToCoolAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"tier_to_cool_after_days_since_last_access_time_greater_than"` TierToCoolAfterDaysSinceModificationGreaterThan float64 `json:"tier_to_cool_after_days_since_modification_greater_than"` }
type DataRuleActionsSnapshotAttributes ¶
type DataRuleActionsSnapshotAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleActionsSnapshotAttributes) ChangeTierToArchiveAfterDaysSinceCreation ¶
func (s DataRuleActionsSnapshotAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
func (DataRuleActionsSnapshotAttributes) ChangeTierToCoolAfterDaysSinceCreation ¶
func (s DataRuleActionsSnapshotAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
func (DataRuleActionsSnapshotAttributes) DeleteAfterDaysSinceCreationGreaterThan ¶
func (s DataRuleActionsSnapshotAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (DataRuleActionsSnapshotAttributes) InternalRef ¶
func (s DataRuleActionsSnapshotAttributes) InternalRef() (terra.Reference, error)
func (DataRuleActionsSnapshotAttributes) InternalTokens ¶
func (s DataRuleActionsSnapshotAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleActionsSnapshotAttributes) InternalWithRef ¶
func (s DataRuleActionsSnapshotAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsSnapshotAttributes
func (DataRuleActionsSnapshotAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan ¶
func (s DataRuleActionsSnapshotAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
func (DataRuleActionsSnapshotAttributes) TierToColdAfterDaysSinceCreationGreaterThan ¶
func (s DataRuleActionsSnapshotAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
type DataRuleActionsSnapshotState ¶
type DataRuleActionsSnapshotState struct { ChangeTierToArchiveAfterDaysSinceCreation float64 `json:"change_tier_to_archive_after_days_since_creation"` ChangeTierToCoolAfterDaysSinceCreation float64 `json:"change_tier_to_cool_after_days_since_creation"` DeleteAfterDaysSinceCreationGreaterThan float64 `json:"delete_after_days_since_creation_greater_than"` TierToArchiveAfterDaysSinceLastTierChangeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_tier_change_greater_than"` TierToColdAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cold_after_days_since_creation_greater_than"` }
type DataRuleActionsState ¶
type DataRuleActionsState struct { BaseBlob []DataRuleActionsBaseBlobState `json:"base_blob"` Snapshot []DataRuleActionsSnapshotState `json:"snapshot"` Version []DataRuleActionsVersionState `json:"version"` }
type DataRuleActionsVersionAttributes ¶
type DataRuleActionsVersionAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleActionsVersionAttributes) ChangeTierToArchiveAfterDaysSinceCreation ¶
func (v DataRuleActionsVersionAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
func (DataRuleActionsVersionAttributes) ChangeTierToCoolAfterDaysSinceCreation ¶
func (v DataRuleActionsVersionAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
func (DataRuleActionsVersionAttributes) DeleteAfterDaysSinceCreation ¶
func (v DataRuleActionsVersionAttributes) DeleteAfterDaysSinceCreation() terra.NumberValue
func (DataRuleActionsVersionAttributes) InternalRef ¶
func (v DataRuleActionsVersionAttributes) InternalRef() (terra.Reference, error)
func (DataRuleActionsVersionAttributes) InternalTokens ¶
func (v DataRuleActionsVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleActionsVersionAttributes) InternalWithRef ¶
func (v DataRuleActionsVersionAttributes) InternalWithRef(ref terra.Reference) DataRuleActionsVersionAttributes
func (DataRuleActionsVersionAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan ¶
func (v DataRuleActionsVersionAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
func (DataRuleActionsVersionAttributes) TierToColdAfterDaysSinceCreationGreaterThan ¶
func (v DataRuleActionsVersionAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
type DataRuleActionsVersionState ¶
type DataRuleActionsVersionState struct { ChangeTierToArchiveAfterDaysSinceCreation float64 `json:"change_tier_to_archive_after_days_since_creation"` ChangeTierToCoolAfterDaysSinceCreation float64 `json:"change_tier_to_cool_after_days_since_creation"` DeleteAfterDaysSinceCreation float64 `json:"delete_after_days_since_creation"` TierToArchiveAfterDaysSinceLastTierChangeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_tier_change_greater_than"` TierToColdAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cold_after_days_since_creation_greater_than"` }
type DataRuleAttributes ¶
type DataRuleAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleAttributes) Actions ¶
func (r DataRuleAttributes) Actions() terra.ListValue[DataRuleActionsAttributes]
func (DataRuleAttributes) Enabled ¶
func (r DataRuleAttributes) Enabled() terra.BoolValue
func (DataRuleAttributes) Filters ¶
func (r DataRuleAttributes) Filters() terra.ListValue[DataRuleFiltersAttributes]
func (DataRuleAttributes) InternalRef ¶
func (r DataRuleAttributes) InternalRef() (terra.Reference, error)
func (DataRuleAttributes) InternalTokens ¶
func (r DataRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleAttributes) InternalWithRef ¶
func (r DataRuleAttributes) InternalWithRef(ref terra.Reference) DataRuleAttributes
func (DataRuleAttributes) Name ¶
func (r DataRuleAttributes) Name() terra.StringValue
type DataRuleFiltersAttributes ¶
type DataRuleFiltersAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleFiltersAttributes) BlobTypes ¶
func (f DataRuleFiltersAttributes) BlobTypes() terra.SetValue[terra.StringValue]
func (DataRuleFiltersAttributes) InternalRef ¶
func (f DataRuleFiltersAttributes) InternalRef() (terra.Reference, error)
func (DataRuleFiltersAttributes) InternalTokens ¶
func (f DataRuleFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleFiltersAttributes) InternalWithRef ¶
func (f DataRuleFiltersAttributes) InternalWithRef(ref terra.Reference) DataRuleFiltersAttributes
func (DataRuleFiltersAttributes) MatchBlobIndexTag ¶
func (f DataRuleFiltersAttributes) MatchBlobIndexTag() terra.ListValue[DataRuleFiltersMatchBlobIndexTagAttributes]
func (DataRuleFiltersAttributes) PrefixMatch ¶
func (f DataRuleFiltersAttributes) PrefixMatch() terra.SetValue[terra.StringValue]
type DataRuleFiltersMatchBlobIndexTagAttributes ¶
type DataRuleFiltersMatchBlobIndexTagAttributes struct {
// contains filtered or unexported fields
}
func (DataRuleFiltersMatchBlobIndexTagAttributes) InternalRef ¶
func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) InternalRef() (terra.Reference, error)
func (DataRuleFiltersMatchBlobIndexTagAttributes) InternalTokens ¶
func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRuleFiltersMatchBlobIndexTagAttributes) InternalWithRef ¶
func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) InternalWithRef(ref terra.Reference) DataRuleFiltersMatchBlobIndexTagAttributes
func (DataRuleFiltersMatchBlobIndexTagAttributes) Name ¶
func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) Name() terra.StringValue
func (DataRuleFiltersMatchBlobIndexTagAttributes) Operation ¶
func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) Operation() terra.StringValue
func (DataRuleFiltersMatchBlobIndexTagAttributes) Value ¶
func (mbit DataRuleFiltersMatchBlobIndexTagAttributes) Value() terra.StringValue
type DataRuleFiltersState ¶
type DataRuleFiltersState struct { BlobTypes []string `json:"blob_types"` PrefixMatch []string `json:"prefix_match"` MatchBlobIndexTag []DataRuleFiltersMatchBlobIndexTagState `json:"match_blob_index_tag"` }
type DataRuleState ¶
type DataRuleState struct { Enabled bool `json:"enabled"` Name string `json:"name"` Actions []DataRuleActionsState `json:"actions"` Filters []DataRuleFiltersState `json:"filters"` }
type DataSource ¶
DataSource represents the Terraform data resource azurerm_storage_management_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (asmp *DataSource) Attributes() dataAzurermStorageManagementPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (asmp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (asmp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (asmp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_storage_management_policy.
func (*Resource) Attributes ¶
func (asmp *Resource) Attributes() azurermStorageManagementPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asmp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asmp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Rule ¶
type Rule struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RuleActions: required Actions *RuleActions `hcl:"actions,block" validate:"required"` // RuleFilters: required Filters *RuleFilters `hcl:"filters,block" validate:"required"` }
type RuleActions ¶
type RuleActions struct { // RuleActionsBaseBlob: optional BaseBlob *RuleActionsBaseBlob `hcl:"base_blob,block"` // RuleActionsSnapshot: optional Snapshot *RuleActionsSnapshot `hcl:"snapshot,block"` // RuleActionsVersion: optional Version *RuleActionsVersion `hcl:"version,block"` }
type RuleActionsAttributes ¶
type RuleActionsAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionsAttributes) BaseBlob ¶
func (a RuleActionsAttributes) BaseBlob() terra.ListValue[RuleActionsBaseBlobAttributes]
func (RuleActionsAttributes) InternalRef ¶
func (a RuleActionsAttributes) InternalRef() (terra.Reference, error)
func (RuleActionsAttributes) InternalTokens ¶
func (a RuleActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionsAttributes) InternalWithRef ¶
func (a RuleActionsAttributes) InternalWithRef(ref terra.Reference) RuleActionsAttributes
func (RuleActionsAttributes) Snapshot ¶
func (a RuleActionsAttributes) Snapshot() terra.ListValue[RuleActionsSnapshotAttributes]
func (RuleActionsAttributes) Version ¶
func (a RuleActionsAttributes) Version() terra.ListValue[RuleActionsVersionAttributes]
type RuleActionsBaseBlob ¶
type RuleActionsBaseBlob struct { // AutoTierToHotFromCoolEnabled: bool, optional AutoTierToHotFromCoolEnabled terra.BoolValue `hcl:"auto_tier_to_hot_from_cool_enabled,attr"` // DeleteAfterDaysSinceCreationGreaterThan: number, optional DeleteAfterDaysSinceCreationGreaterThan terra.NumberValue `hcl:"delete_after_days_since_creation_greater_than,attr"` // DeleteAfterDaysSinceLastAccessTimeGreaterThan: number, optional DeleteAfterDaysSinceLastAccessTimeGreaterThan terra.NumberValue `hcl:"delete_after_days_since_last_access_time_greater_than,attr"` // DeleteAfterDaysSinceModificationGreaterThan: number, optional DeleteAfterDaysSinceModificationGreaterThan terra.NumberValue `hcl:"delete_after_days_since_modification_greater_than,attr"` // TierToArchiveAfterDaysSinceCreationGreaterThan: number, optional TierToArchiveAfterDaysSinceCreationGreaterThan terra.NumberValue `hcl:"tier_to_archive_after_days_since_creation_greater_than,attr"` // TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan: number, optional TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan terra.NumberValue `hcl:"tier_to_archive_after_days_since_last_access_time_greater_than,attr"` // TierToArchiveAfterDaysSinceLastTierChangeGreaterThan: number, optional TierToArchiveAfterDaysSinceLastTierChangeGreaterThan terra.NumberValue `hcl:"tier_to_archive_after_days_since_last_tier_change_greater_than,attr"` // TierToArchiveAfterDaysSinceModificationGreaterThan: number, optional TierToArchiveAfterDaysSinceModificationGreaterThan terra.NumberValue `hcl:"tier_to_archive_after_days_since_modification_greater_than,attr"` // TierToColdAfterDaysSinceCreationGreaterThan: number, optional TierToColdAfterDaysSinceCreationGreaterThan terra.NumberValue `hcl:"tier_to_cold_after_days_since_creation_greater_than,attr"` // TierToColdAfterDaysSinceLastAccessTimeGreaterThan: number, optional TierToColdAfterDaysSinceLastAccessTimeGreaterThan terra.NumberValue `hcl:"tier_to_cold_after_days_since_last_access_time_greater_than,attr"` // TierToColdAfterDaysSinceModificationGreaterThan: number, optional TierToColdAfterDaysSinceModificationGreaterThan terra.NumberValue `hcl:"tier_to_cold_after_days_since_modification_greater_than,attr"` // TierToCoolAfterDaysSinceCreationGreaterThan: number, optional TierToCoolAfterDaysSinceCreationGreaterThan terra.NumberValue `hcl:"tier_to_cool_after_days_since_creation_greater_than,attr"` // TierToCoolAfterDaysSinceLastAccessTimeGreaterThan: number, optional TierToCoolAfterDaysSinceLastAccessTimeGreaterThan terra.NumberValue `hcl:"tier_to_cool_after_days_since_last_access_time_greater_than,attr"` // TierToCoolAfterDaysSinceModificationGreaterThan: number, optional TierToCoolAfterDaysSinceModificationGreaterThan terra.NumberValue `hcl:"tier_to_cool_after_days_since_modification_greater_than,attr"` }
type RuleActionsBaseBlobAttributes ¶
type RuleActionsBaseBlobAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionsBaseBlobAttributes) AutoTierToHotFromCoolEnabled ¶
func (bb RuleActionsBaseBlobAttributes) AutoTierToHotFromCoolEnabled() terra.BoolValue
func (RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceCreationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceModificationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) DeleteAfterDaysSinceModificationGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) InternalRef ¶
func (bb RuleActionsBaseBlobAttributes) InternalRef() (terra.Reference, error)
func (RuleActionsBaseBlobAttributes) InternalTokens ¶
func (bb RuleActionsBaseBlobAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionsBaseBlobAttributes) InternalWithRef ¶
func (bb RuleActionsBaseBlobAttributes) InternalWithRef(ref terra.Reference) RuleActionsBaseBlobAttributes
func (RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceCreationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceModificationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToArchiveAfterDaysSinceModificationGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceCreationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceModificationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToColdAfterDaysSinceModificationGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceCreationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceLastAccessTimeGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceLastAccessTimeGreaterThan() terra.NumberValue
func (RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceModificationGreaterThan ¶
func (bb RuleActionsBaseBlobAttributes) TierToCoolAfterDaysSinceModificationGreaterThan() terra.NumberValue
type RuleActionsBaseBlobState ¶
type RuleActionsBaseBlobState struct { AutoTierToHotFromCoolEnabled bool `json:"auto_tier_to_hot_from_cool_enabled"` DeleteAfterDaysSinceCreationGreaterThan float64 `json:"delete_after_days_since_creation_greater_than"` DeleteAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"delete_after_days_since_last_access_time_greater_than"` DeleteAfterDaysSinceModificationGreaterThan float64 `json:"delete_after_days_since_modification_greater_than"` TierToArchiveAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_archive_after_days_since_creation_greater_than"` TierToArchiveAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_access_time_greater_than"` TierToArchiveAfterDaysSinceLastTierChangeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_tier_change_greater_than"` TierToArchiveAfterDaysSinceModificationGreaterThan float64 `json:"tier_to_archive_after_days_since_modification_greater_than"` TierToColdAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cold_after_days_since_creation_greater_than"` TierToColdAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"tier_to_cold_after_days_since_last_access_time_greater_than"` TierToColdAfterDaysSinceModificationGreaterThan float64 `json:"tier_to_cold_after_days_since_modification_greater_than"` TierToCoolAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cool_after_days_since_creation_greater_than"` TierToCoolAfterDaysSinceLastAccessTimeGreaterThan float64 `json:"tier_to_cool_after_days_since_last_access_time_greater_than"` TierToCoolAfterDaysSinceModificationGreaterThan float64 `json:"tier_to_cool_after_days_since_modification_greater_than"` }
type RuleActionsSnapshot ¶
type RuleActionsSnapshot struct { // ChangeTierToArchiveAfterDaysSinceCreation: number, optional ChangeTierToArchiveAfterDaysSinceCreation terra.NumberValue `hcl:"change_tier_to_archive_after_days_since_creation,attr"` // ChangeTierToCoolAfterDaysSinceCreation: number, optional ChangeTierToCoolAfterDaysSinceCreation terra.NumberValue `hcl:"change_tier_to_cool_after_days_since_creation,attr"` // DeleteAfterDaysSinceCreationGreaterThan: number, optional DeleteAfterDaysSinceCreationGreaterThan terra.NumberValue `hcl:"delete_after_days_since_creation_greater_than,attr"` // TierToArchiveAfterDaysSinceLastTierChangeGreaterThan: number, optional TierToArchiveAfterDaysSinceLastTierChangeGreaterThan terra.NumberValue `hcl:"tier_to_archive_after_days_since_last_tier_change_greater_than,attr"` // TierToColdAfterDaysSinceCreationGreaterThan: number, optional TierToColdAfterDaysSinceCreationGreaterThan terra.NumberValue `hcl:"tier_to_cold_after_days_since_creation_greater_than,attr"` }
type RuleActionsSnapshotAttributes ¶
type RuleActionsSnapshotAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionsSnapshotAttributes) ChangeTierToArchiveAfterDaysSinceCreation ¶
func (s RuleActionsSnapshotAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
func (RuleActionsSnapshotAttributes) ChangeTierToCoolAfterDaysSinceCreation ¶
func (s RuleActionsSnapshotAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
func (RuleActionsSnapshotAttributes) DeleteAfterDaysSinceCreationGreaterThan ¶
func (s RuleActionsSnapshotAttributes) DeleteAfterDaysSinceCreationGreaterThan() terra.NumberValue
func (RuleActionsSnapshotAttributes) InternalRef ¶
func (s RuleActionsSnapshotAttributes) InternalRef() (terra.Reference, error)
func (RuleActionsSnapshotAttributes) InternalTokens ¶
func (s RuleActionsSnapshotAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionsSnapshotAttributes) InternalWithRef ¶
func (s RuleActionsSnapshotAttributes) InternalWithRef(ref terra.Reference) RuleActionsSnapshotAttributes
func (RuleActionsSnapshotAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan ¶
func (s RuleActionsSnapshotAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
func (RuleActionsSnapshotAttributes) TierToColdAfterDaysSinceCreationGreaterThan ¶
func (s RuleActionsSnapshotAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
type RuleActionsSnapshotState ¶
type RuleActionsSnapshotState struct { ChangeTierToArchiveAfterDaysSinceCreation float64 `json:"change_tier_to_archive_after_days_since_creation"` ChangeTierToCoolAfterDaysSinceCreation float64 `json:"change_tier_to_cool_after_days_since_creation"` DeleteAfterDaysSinceCreationGreaterThan float64 `json:"delete_after_days_since_creation_greater_than"` TierToArchiveAfterDaysSinceLastTierChangeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_tier_change_greater_than"` TierToColdAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cold_after_days_since_creation_greater_than"` }
type RuleActionsState ¶
type RuleActionsState struct { BaseBlob []RuleActionsBaseBlobState `json:"base_blob"` Snapshot []RuleActionsSnapshotState `json:"snapshot"` Version []RuleActionsVersionState `json:"version"` }
type RuleActionsVersion ¶
type RuleActionsVersion struct { // ChangeTierToArchiveAfterDaysSinceCreation: number, optional ChangeTierToArchiveAfterDaysSinceCreation terra.NumberValue `hcl:"change_tier_to_archive_after_days_since_creation,attr"` // ChangeTierToCoolAfterDaysSinceCreation: number, optional ChangeTierToCoolAfterDaysSinceCreation terra.NumberValue `hcl:"change_tier_to_cool_after_days_since_creation,attr"` // DeleteAfterDaysSinceCreation: number, optional DeleteAfterDaysSinceCreation terra.NumberValue `hcl:"delete_after_days_since_creation,attr"` // TierToArchiveAfterDaysSinceLastTierChangeGreaterThan: number, optional TierToArchiveAfterDaysSinceLastTierChangeGreaterThan terra.NumberValue `hcl:"tier_to_archive_after_days_since_last_tier_change_greater_than,attr"` // TierToColdAfterDaysSinceCreationGreaterThan: number, optional TierToColdAfterDaysSinceCreationGreaterThan terra.NumberValue `hcl:"tier_to_cold_after_days_since_creation_greater_than,attr"` }
type RuleActionsVersionAttributes ¶
type RuleActionsVersionAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionsVersionAttributes) ChangeTierToArchiveAfterDaysSinceCreation ¶
func (v RuleActionsVersionAttributes) ChangeTierToArchiveAfterDaysSinceCreation() terra.NumberValue
func (RuleActionsVersionAttributes) ChangeTierToCoolAfterDaysSinceCreation ¶
func (v RuleActionsVersionAttributes) ChangeTierToCoolAfterDaysSinceCreation() terra.NumberValue
func (RuleActionsVersionAttributes) DeleteAfterDaysSinceCreation ¶
func (v RuleActionsVersionAttributes) DeleteAfterDaysSinceCreation() terra.NumberValue
func (RuleActionsVersionAttributes) InternalRef ¶
func (v RuleActionsVersionAttributes) InternalRef() (terra.Reference, error)
func (RuleActionsVersionAttributes) InternalTokens ¶
func (v RuleActionsVersionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionsVersionAttributes) InternalWithRef ¶
func (v RuleActionsVersionAttributes) InternalWithRef(ref terra.Reference) RuleActionsVersionAttributes
func (RuleActionsVersionAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan ¶
func (v RuleActionsVersionAttributes) TierToArchiveAfterDaysSinceLastTierChangeGreaterThan() terra.NumberValue
func (RuleActionsVersionAttributes) TierToColdAfterDaysSinceCreationGreaterThan ¶
func (v RuleActionsVersionAttributes) TierToColdAfterDaysSinceCreationGreaterThan() terra.NumberValue
type RuleActionsVersionState ¶
type RuleActionsVersionState struct { ChangeTierToArchiveAfterDaysSinceCreation float64 `json:"change_tier_to_archive_after_days_since_creation"` ChangeTierToCoolAfterDaysSinceCreation float64 `json:"change_tier_to_cool_after_days_since_creation"` DeleteAfterDaysSinceCreation float64 `json:"delete_after_days_since_creation"` TierToArchiveAfterDaysSinceLastTierChangeGreaterThan float64 `json:"tier_to_archive_after_days_since_last_tier_change_greater_than"` TierToColdAfterDaysSinceCreationGreaterThan float64 `json:"tier_to_cold_after_days_since_creation_greater_than"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) Actions ¶
func (r RuleAttributes) Actions() terra.ListValue[RuleActionsAttributes]
func (RuleAttributes) Enabled ¶
func (r RuleAttributes) Enabled() terra.BoolValue
func (RuleAttributes) Filters ¶
func (r RuleAttributes) Filters() terra.ListValue[RuleFiltersAttributes]
func (RuleAttributes) InternalRef ¶
func (r RuleAttributes) InternalRef() (terra.Reference, error)
func (RuleAttributes) InternalTokens ¶
func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleAttributes) InternalWithRef ¶
func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
func (RuleAttributes) Name ¶
func (r RuleAttributes) Name() terra.StringValue
type RuleFilters ¶
type RuleFilters struct { // BlobTypes: set of string, required BlobTypes terra.SetValue[terra.StringValue] `hcl:"blob_types,attr" validate:"required"` // PrefixMatch: set of string, optional PrefixMatch terra.SetValue[terra.StringValue] `hcl:"prefix_match,attr"` // RuleFiltersMatchBlobIndexTag: min=0 MatchBlobIndexTag []RuleFiltersMatchBlobIndexTag `hcl:"match_blob_index_tag,block" validate:"min=0"` }
type RuleFiltersAttributes ¶
type RuleFiltersAttributes struct {
// contains filtered or unexported fields
}
func (RuleFiltersAttributes) BlobTypes ¶
func (f RuleFiltersAttributes) BlobTypes() terra.SetValue[terra.StringValue]
func (RuleFiltersAttributes) InternalRef ¶
func (f RuleFiltersAttributes) InternalRef() (terra.Reference, error)
func (RuleFiltersAttributes) InternalTokens ¶
func (f RuleFiltersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleFiltersAttributes) InternalWithRef ¶
func (f RuleFiltersAttributes) InternalWithRef(ref terra.Reference) RuleFiltersAttributes
func (RuleFiltersAttributes) MatchBlobIndexTag ¶
func (f RuleFiltersAttributes) MatchBlobIndexTag() terra.SetValue[RuleFiltersMatchBlobIndexTagAttributes]
func (RuleFiltersAttributes) PrefixMatch ¶
func (f RuleFiltersAttributes) PrefixMatch() terra.SetValue[terra.StringValue]
type RuleFiltersMatchBlobIndexTag ¶
type RuleFiltersMatchBlobIndexTag struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Operation: string, optional Operation terra.StringValue `hcl:"operation,attr"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type RuleFiltersMatchBlobIndexTagAttributes ¶
type RuleFiltersMatchBlobIndexTagAttributes struct {
// contains filtered or unexported fields
}
func (RuleFiltersMatchBlobIndexTagAttributes) InternalRef ¶
func (mbit RuleFiltersMatchBlobIndexTagAttributes) InternalRef() (terra.Reference, error)
func (RuleFiltersMatchBlobIndexTagAttributes) InternalTokens ¶
func (mbit RuleFiltersMatchBlobIndexTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleFiltersMatchBlobIndexTagAttributes) InternalWithRef ¶
func (mbit RuleFiltersMatchBlobIndexTagAttributes) InternalWithRef(ref terra.Reference) RuleFiltersMatchBlobIndexTagAttributes
func (RuleFiltersMatchBlobIndexTagAttributes) Name ¶
func (mbit RuleFiltersMatchBlobIndexTagAttributes) Name() terra.StringValue
func (RuleFiltersMatchBlobIndexTagAttributes) Operation ¶
func (mbit RuleFiltersMatchBlobIndexTagAttributes) Operation() terra.StringValue
func (RuleFiltersMatchBlobIndexTagAttributes) Value ¶
func (mbit RuleFiltersMatchBlobIndexTagAttributes) Value() terra.StringValue
type RuleFiltersState ¶
type RuleFiltersState struct { BlobTypes []string `json:"blob_types"` PrefixMatch []string `json:"prefix_match"` MatchBlobIndexTag []RuleFiltersMatchBlobIndexTagState `json:"match_blob_index_tag"` }
type RuleState ¶
type RuleState struct { Enabled bool `json:"enabled"` Name string `json:"name"` Actions []RuleActionsState `json:"actions"` Filters []RuleFiltersState `json:"filters"` }
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue