Documentation ¶
Index ¶
- type Args
- type BackupConfig
- type BackupConfigAttributes
- func (bc BackupConfigAttributes) AllNamespaces() terra.BoolValue
- func (bc BackupConfigAttributes) EncryptionKey() terra.ListValue[BackupConfigEncryptionKeyAttributes]
- func (bc BackupConfigAttributes) IncludeSecrets() terra.BoolValue
- func (bc BackupConfigAttributes) IncludeVolumeData() terra.BoolValue
- func (bc BackupConfigAttributes) InternalRef() (terra.Reference, error)
- func (bc BackupConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bc BackupConfigAttributes) InternalWithRef(ref terra.Reference) BackupConfigAttributes
- func (bc BackupConfigAttributes) SelectedApplications() terra.ListValue[BackupConfigSelectedApplicationsAttributes]
- func (bc BackupConfigAttributes) SelectedNamespaces() terra.ListValue[BackupConfigSelectedNamespacesAttributes]
- type BackupConfigEncryptionKey
- type BackupConfigEncryptionKeyAttributes
- func (ek BackupConfigEncryptionKeyAttributes) GcpKmsEncryptionKey() terra.StringValue
- func (ek BackupConfigEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (ek BackupConfigEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ek BackupConfigEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) BackupConfigEncryptionKeyAttributes
- type BackupConfigEncryptionKeyState
- type BackupConfigSelectedApplications
- type BackupConfigSelectedApplicationsAttributes
- func (sa BackupConfigSelectedApplicationsAttributes) InternalRef() (terra.Reference, error)
- func (sa BackupConfigSelectedApplicationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa BackupConfigSelectedApplicationsAttributes) InternalWithRef(ref terra.Reference) BackupConfigSelectedApplicationsAttributes
- func (sa BackupConfigSelectedApplicationsAttributes) NamespacedNames() terra.ListValue[BackupConfigSelectedApplicationsNamespacedNamesAttributes]
- type BackupConfigSelectedApplicationsNamespacedNames
- type BackupConfigSelectedApplicationsNamespacedNamesAttributes
- func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalRef() (terra.Reference, error)
- func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalWithRef(ref terra.Reference) BackupConfigSelectedApplicationsNamespacedNamesAttributes
- func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) Name() terra.StringValue
- func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) Namespace() terra.StringValue
- type BackupConfigSelectedApplicationsNamespacedNamesState
- type BackupConfigSelectedApplicationsState
- type BackupConfigSelectedNamespaces
- type BackupConfigSelectedNamespacesAttributes
- func (sn BackupConfigSelectedNamespacesAttributes) InternalRef() (terra.Reference, error)
- func (sn BackupConfigSelectedNamespacesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sn BackupConfigSelectedNamespacesAttributes) InternalWithRef(ref terra.Reference) BackupConfigSelectedNamespacesAttributes
- func (sn BackupConfigSelectedNamespacesAttributes) Namespaces() terra.ListValue[terra.StringValue]
- type BackupConfigSelectedNamespacesState
- type BackupConfigState
- type BackupSchedule
- type BackupScheduleAttributes
- func (bs BackupScheduleAttributes) CronSchedule() terra.StringValue
- func (bs BackupScheduleAttributes) InternalRef() (terra.Reference, error)
- func (bs BackupScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bs BackupScheduleAttributes) InternalWithRef(ref terra.Reference) BackupScheduleAttributes
- func (bs BackupScheduleAttributes) Paused() terra.BoolValue
- func (bs BackupScheduleAttributes) RpoConfig() terra.ListValue[BackupScheduleRpoConfigAttributes]
- type BackupScheduleRpoConfig
- type BackupScheduleRpoConfigAttributes
- func (rc BackupScheduleRpoConfigAttributes) ExclusionWindows() terra.ListValue[BackupScheduleRpoConfigExclusionWindowsAttributes]
- func (rc BackupScheduleRpoConfigAttributes) InternalRef() (terra.Reference, error)
- func (rc BackupScheduleRpoConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc BackupScheduleRpoConfigAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigAttributes
- func (rc BackupScheduleRpoConfigAttributes) TargetRpoMinutes() terra.NumberValue
- type BackupScheduleRpoConfigExclusionWindows
- type BackupScheduleRpoConfigExclusionWindowsAttributes
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) Daily() terra.BoolValue
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) DaysOfWeek() terra.ListValue[BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes]
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) Duration() terra.StringValue
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) InternalRef() (terra.Reference, error)
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigExclusionWindowsAttributes
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) SingleOccurrenceDate() ...
- func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) StartTime() terra.ListValue[BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes]
- type BackupScheduleRpoConfigExclusionWindowsDaysOfWeek
- type BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes
- func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) DaysOfWeek() terra.ListValue[terra.StringValue]
- func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalRef() (terra.Reference, error)
- func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes
- type BackupScheduleRpoConfigExclusionWindowsDaysOfWeekState
- type BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDate
- type BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes
- func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) Day() terra.NumberValue
- func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalRef() (terra.Reference, error)
- func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes
- func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) Month() terra.NumberValue
- func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) Year() terra.NumberValue
- type BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateState
- type BackupScheduleRpoConfigExclusionWindowsStartTime
- type BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes
- func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Hours() terra.NumberValue
- func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalRef() (terra.Reference, error)
- func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes
- func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Minutes() terra.NumberValue
- func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Nanos() terra.NumberValue
- func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Seconds() terra.NumberValue
- type BackupScheduleRpoConfigExclusionWindowsStartTimeState
- type BackupScheduleRpoConfigExclusionWindowsState
- type BackupScheduleRpoConfigState
- type BackupScheduleState
- type Resource
- func (ggbbp *Resource) Attributes() googleGkeBackupBackupPlanAttributes
- func (ggbbp *Resource) Configuration() interface{}
- func (ggbbp *Resource) DependOn() terra.Reference
- func (ggbbp *Resource) Dependencies() terra.Dependencies
- func (ggbbp *Resource) ImportState(state io.Reader) error
- func (ggbbp *Resource) LifecycleManagement() *terra.Lifecycle
- func (ggbbp *Resource) LocalName() string
- func (ggbbp *Resource) State() (*googleGkeBackupBackupPlanState, bool)
- func (ggbbp *Resource) StateMust() *googleGkeBackupBackupPlanState
- func (ggbbp *Resource) Type() string
- type RetentionPolicy
- type RetentionPolicyAttributes
- func (rp RetentionPolicyAttributes) BackupDeleteLockDays() terra.NumberValue
- func (rp RetentionPolicyAttributes) BackupRetainDays() terra.NumberValue
- func (rp RetentionPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp RetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp RetentionPolicyAttributes) InternalWithRef(ref terra.Reference) RetentionPolicyAttributes
- func (rp RetentionPolicyAttributes) Locked() terra.BoolValue
- type RetentionPolicyState
- 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) 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 { // Cluster: string, required Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"` // Deactivated: bool, optional Deactivated terra.BoolValue `hcl:"deactivated,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // BackupConfig: optional BackupConfig *BackupConfig `hcl:"backup_config,block"` // BackupSchedule: optional BackupSchedule *BackupSchedule `hcl:"backup_schedule,block"` // RetentionPolicy: optional RetentionPolicy *RetentionPolicy `hcl:"retention_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_gke_backup_backup_plan.
type BackupConfig ¶
type BackupConfig struct { // AllNamespaces: bool, optional AllNamespaces terra.BoolValue `hcl:"all_namespaces,attr"` // IncludeSecrets: bool, optional IncludeSecrets terra.BoolValue `hcl:"include_secrets,attr"` // IncludeVolumeData: bool, optional IncludeVolumeData terra.BoolValue `hcl:"include_volume_data,attr"` // BackupConfigEncryptionKey: optional EncryptionKey *BackupConfigEncryptionKey `hcl:"encryption_key,block"` // BackupConfigSelectedApplications: optional SelectedApplications *BackupConfigSelectedApplications `hcl:"selected_applications,block"` // BackupConfigSelectedNamespaces: optional SelectedNamespaces *BackupConfigSelectedNamespaces `hcl:"selected_namespaces,block"` }
type BackupConfigAttributes ¶
type BackupConfigAttributes struct {
// contains filtered or unexported fields
}
func (BackupConfigAttributes) AllNamespaces ¶
func (bc BackupConfigAttributes) AllNamespaces() terra.BoolValue
func (BackupConfigAttributes) EncryptionKey ¶
func (bc BackupConfigAttributes) EncryptionKey() terra.ListValue[BackupConfigEncryptionKeyAttributes]
func (BackupConfigAttributes) IncludeSecrets ¶
func (bc BackupConfigAttributes) IncludeSecrets() terra.BoolValue
func (BackupConfigAttributes) IncludeVolumeData ¶
func (bc BackupConfigAttributes) IncludeVolumeData() terra.BoolValue
func (BackupConfigAttributes) InternalRef ¶
func (bc BackupConfigAttributes) InternalRef() (terra.Reference, error)
func (BackupConfigAttributes) InternalTokens ¶
func (bc BackupConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupConfigAttributes) InternalWithRef ¶
func (bc BackupConfigAttributes) InternalWithRef(ref terra.Reference) BackupConfigAttributes
func (BackupConfigAttributes) SelectedApplications ¶
func (bc BackupConfigAttributes) SelectedApplications() terra.ListValue[BackupConfigSelectedApplicationsAttributes]
func (BackupConfigAttributes) SelectedNamespaces ¶
func (bc BackupConfigAttributes) SelectedNamespaces() terra.ListValue[BackupConfigSelectedNamespacesAttributes]
type BackupConfigEncryptionKey ¶
type BackupConfigEncryptionKey struct { // GcpKmsEncryptionKey: string, required GcpKmsEncryptionKey terra.StringValue `hcl:"gcp_kms_encryption_key,attr" validate:"required"` }
type BackupConfigEncryptionKeyAttributes ¶
type BackupConfigEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (BackupConfigEncryptionKeyAttributes) GcpKmsEncryptionKey ¶
func (ek BackupConfigEncryptionKeyAttributes) GcpKmsEncryptionKey() terra.StringValue
func (BackupConfigEncryptionKeyAttributes) InternalRef ¶
func (ek BackupConfigEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (BackupConfigEncryptionKeyAttributes) InternalTokens ¶
func (ek BackupConfigEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupConfigEncryptionKeyAttributes) InternalWithRef ¶
func (ek BackupConfigEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) BackupConfigEncryptionKeyAttributes
type BackupConfigEncryptionKeyState ¶
type BackupConfigEncryptionKeyState struct {
GcpKmsEncryptionKey string `json:"gcp_kms_encryption_key"`
}
type BackupConfigSelectedApplications ¶
type BackupConfigSelectedApplications struct { // BackupConfigSelectedApplicationsNamespacedNames: min=1 NamespacedNames []BackupConfigSelectedApplicationsNamespacedNames `hcl:"namespaced_names,block" validate:"min=1"` }
type BackupConfigSelectedApplicationsAttributes ¶
type BackupConfigSelectedApplicationsAttributes struct {
// contains filtered or unexported fields
}
func (BackupConfigSelectedApplicationsAttributes) InternalRef ¶
func (sa BackupConfigSelectedApplicationsAttributes) InternalRef() (terra.Reference, error)
func (BackupConfigSelectedApplicationsAttributes) InternalTokens ¶
func (sa BackupConfigSelectedApplicationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupConfigSelectedApplicationsAttributes) InternalWithRef ¶
func (sa BackupConfigSelectedApplicationsAttributes) InternalWithRef(ref terra.Reference) BackupConfigSelectedApplicationsAttributes
func (BackupConfigSelectedApplicationsAttributes) NamespacedNames ¶
func (sa BackupConfigSelectedApplicationsAttributes) NamespacedNames() terra.ListValue[BackupConfigSelectedApplicationsNamespacedNamesAttributes]
type BackupConfigSelectedApplicationsNamespacedNames ¶
type BackupConfigSelectedApplicationsNamespacedNames struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` }
type BackupConfigSelectedApplicationsNamespacedNamesAttributes ¶
type BackupConfigSelectedApplicationsNamespacedNamesAttributes struct {
// contains filtered or unexported fields
}
func (BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalRef ¶
func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalRef() (terra.Reference, error)
func (BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalTokens ¶
func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalWithRef ¶
func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) InternalWithRef(ref terra.Reference) BackupConfigSelectedApplicationsNamespacedNamesAttributes
func (BackupConfigSelectedApplicationsNamespacedNamesAttributes) Name ¶
func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) Name() terra.StringValue
func (BackupConfigSelectedApplicationsNamespacedNamesAttributes) Namespace ¶
func (nn BackupConfigSelectedApplicationsNamespacedNamesAttributes) Namespace() terra.StringValue
type BackupConfigSelectedApplicationsState ¶
type BackupConfigSelectedApplicationsState struct {
NamespacedNames []BackupConfigSelectedApplicationsNamespacedNamesState `json:"namespaced_names"`
}
type BackupConfigSelectedNamespaces ¶
type BackupConfigSelectedNamespaces struct { // Namespaces: list of string, required Namespaces terra.ListValue[terra.StringValue] `hcl:"namespaces,attr" validate:"required"` }
type BackupConfigSelectedNamespacesAttributes ¶
type BackupConfigSelectedNamespacesAttributes struct {
// contains filtered or unexported fields
}
func (BackupConfigSelectedNamespacesAttributes) InternalRef ¶
func (sn BackupConfigSelectedNamespacesAttributes) InternalRef() (terra.Reference, error)
func (BackupConfigSelectedNamespacesAttributes) InternalTokens ¶
func (sn BackupConfigSelectedNamespacesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupConfigSelectedNamespacesAttributes) InternalWithRef ¶
func (sn BackupConfigSelectedNamespacesAttributes) InternalWithRef(ref terra.Reference) BackupConfigSelectedNamespacesAttributes
func (BackupConfigSelectedNamespacesAttributes) Namespaces ¶
func (sn BackupConfigSelectedNamespacesAttributes) Namespaces() terra.ListValue[terra.StringValue]
type BackupConfigSelectedNamespacesState ¶
type BackupConfigSelectedNamespacesState struct {
Namespaces []string `json:"namespaces"`
}
type BackupConfigState ¶
type BackupConfigState struct { AllNamespaces bool `json:"all_namespaces"` IncludeSecrets bool `json:"include_secrets"` IncludeVolumeData bool `json:"include_volume_data"` EncryptionKey []BackupConfigEncryptionKeyState `json:"encryption_key"` SelectedApplications []BackupConfigSelectedApplicationsState `json:"selected_applications"` SelectedNamespaces []BackupConfigSelectedNamespacesState `json:"selected_namespaces"` }
type BackupSchedule ¶
type BackupSchedule struct { // CronSchedule: string, optional CronSchedule terra.StringValue `hcl:"cron_schedule,attr"` // Paused: bool, optional Paused terra.BoolValue `hcl:"paused,attr"` // BackupScheduleRpoConfig: optional RpoConfig *BackupScheduleRpoConfig `hcl:"rpo_config,block"` }
type BackupScheduleAttributes ¶
type BackupScheduleAttributes struct {
// contains filtered or unexported fields
}
func (BackupScheduleAttributes) CronSchedule ¶
func (bs BackupScheduleAttributes) CronSchedule() terra.StringValue
func (BackupScheduleAttributes) InternalRef ¶
func (bs BackupScheduleAttributes) InternalRef() (terra.Reference, error)
func (BackupScheduleAttributes) InternalTokens ¶
func (bs BackupScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupScheduleAttributes) InternalWithRef ¶
func (bs BackupScheduleAttributes) InternalWithRef(ref terra.Reference) BackupScheduleAttributes
func (BackupScheduleAttributes) Paused ¶
func (bs BackupScheduleAttributes) Paused() terra.BoolValue
func (BackupScheduleAttributes) RpoConfig ¶
func (bs BackupScheduleAttributes) RpoConfig() terra.ListValue[BackupScheduleRpoConfigAttributes]
type BackupScheduleRpoConfig ¶
type BackupScheduleRpoConfig struct { // TargetRpoMinutes: number, required TargetRpoMinutes terra.NumberValue `hcl:"target_rpo_minutes,attr" validate:"required"` // BackupScheduleRpoConfigExclusionWindows: min=0 ExclusionWindows []BackupScheduleRpoConfigExclusionWindows `hcl:"exclusion_windows,block" validate:"min=0"` }
type BackupScheduleRpoConfigAttributes ¶
type BackupScheduleRpoConfigAttributes struct {
// contains filtered or unexported fields
}
func (BackupScheduleRpoConfigAttributes) ExclusionWindows ¶
func (rc BackupScheduleRpoConfigAttributes) ExclusionWindows() terra.ListValue[BackupScheduleRpoConfigExclusionWindowsAttributes]
func (BackupScheduleRpoConfigAttributes) InternalRef ¶
func (rc BackupScheduleRpoConfigAttributes) InternalRef() (terra.Reference, error)
func (BackupScheduleRpoConfigAttributes) InternalTokens ¶
func (rc BackupScheduleRpoConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupScheduleRpoConfigAttributes) InternalWithRef ¶
func (rc BackupScheduleRpoConfigAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigAttributes
func (BackupScheduleRpoConfigAttributes) TargetRpoMinutes ¶
func (rc BackupScheduleRpoConfigAttributes) TargetRpoMinutes() terra.NumberValue
type BackupScheduleRpoConfigExclusionWindows ¶
type BackupScheduleRpoConfigExclusionWindows struct { // Daily: bool, optional Daily terra.BoolValue `hcl:"daily,attr"` // Duration: string, required Duration terra.StringValue `hcl:"duration,attr" validate:"required"` // BackupScheduleRpoConfigExclusionWindowsDaysOfWeek: optional DaysOfWeek *BackupScheduleRpoConfigExclusionWindowsDaysOfWeek `hcl:"days_of_week,block"` // BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDate: optional SingleOccurrenceDate *BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDate `hcl:"single_occurrence_date,block"` // BackupScheduleRpoConfigExclusionWindowsStartTime: required StartTime *BackupScheduleRpoConfigExclusionWindowsStartTime `hcl:"start_time,block" validate:"required"` }
type BackupScheduleRpoConfigExclusionWindowsAttributes ¶
type BackupScheduleRpoConfigExclusionWindowsAttributes struct {
// contains filtered or unexported fields
}
func (BackupScheduleRpoConfigExclusionWindowsAttributes) Daily ¶
func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) Daily() terra.BoolValue
func (BackupScheduleRpoConfigExclusionWindowsAttributes) DaysOfWeek ¶
func (BackupScheduleRpoConfigExclusionWindowsAttributes) Duration ¶
func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) Duration() terra.StringValue
func (BackupScheduleRpoConfigExclusionWindowsAttributes) InternalRef ¶
func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) InternalRef() (terra.Reference, error)
func (BackupScheduleRpoConfigExclusionWindowsAttributes) InternalTokens ¶
func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupScheduleRpoConfigExclusionWindowsAttributes) InternalWithRef ¶
func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigExclusionWindowsAttributes
func (BackupScheduleRpoConfigExclusionWindowsAttributes) SingleOccurrenceDate ¶
func (ew BackupScheduleRpoConfigExclusionWindowsAttributes) SingleOccurrenceDate() terra.ListValue[BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes]
type BackupScheduleRpoConfigExclusionWindowsDaysOfWeek ¶
type BackupScheduleRpoConfigExclusionWindowsDaysOfWeek struct { // DaysOfWeek: list of string, optional DaysOfWeek terra.ListValue[terra.StringValue] `hcl:"days_of_week,attr"` }
type BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes ¶
type BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes struct {
// contains filtered or unexported fields
}
func (BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) DaysOfWeek ¶
func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) DaysOfWeek() terra.ListValue[terra.StringValue]
func (BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalRef ¶
func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalRef() (terra.Reference, error)
func (BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalTokens ¶
func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalWithRef ¶
func (dow BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigExclusionWindowsDaysOfWeekAttributes
type BackupScheduleRpoConfigExclusionWindowsDaysOfWeekState ¶
type BackupScheduleRpoConfigExclusionWindowsDaysOfWeekState struct {
DaysOfWeek []string `json:"days_of_week"`
}
type BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDate ¶
type BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDate struct { // Day: number, optional Day terra.NumberValue `hcl:"day,attr"` // Month: number, optional Month terra.NumberValue `hcl:"month,attr"` // Year: number, optional Year terra.NumberValue `hcl:"year,attr"` }
type BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes ¶
type BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes struct {
// contains filtered or unexported fields
}
func (BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalRef ¶
func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalRef() (terra.Reference, error)
func (BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalTokens ¶
func (sod BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateAttributes) InternalWithRef ¶
type BackupScheduleRpoConfigExclusionWindowsStartTime ¶
type BackupScheduleRpoConfigExclusionWindowsStartTime struct { // Hours: number, optional Hours terra.NumberValue `hcl:"hours,attr"` // Minutes: number, optional Minutes terra.NumberValue `hcl:"minutes,attr"` // Nanos: number, optional Nanos terra.NumberValue `hcl:"nanos,attr"` // Seconds: number, optional Seconds terra.NumberValue `hcl:"seconds,attr"` }
type BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes ¶
type BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes struct {
// contains filtered or unexported fields
}
func (BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Hours ¶
func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Hours() terra.NumberValue
func (BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalRef ¶
func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalRef() (terra.Reference, error)
func (BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalTokens ¶
func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalWithRef ¶
func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) InternalWithRef(ref terra.Reference) BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes
func (BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Minutes ¶
func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Minutes() terra.NumberValue
func (BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Nanos ¶
func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Nanos() terra.NumberValue
func (BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Seconds ¶
func (st BackupScheduleRpoConfigExclusionWindowsStartTimeAttributes) Seconds() terra.NumberValue
type BackupScheduleRpoConfigExclusionWindowsState ¶
type BackupScheduleRpoConfigExclusionWindowsState struct { Daily bool `json:"daily"` Duration string `json:"duration"` DaysOfWeek []BackupScheduleRpoConfigExclusionWindowsDaysOfWeekState `json:"days_of_week"` SingleOccurrenceDate []BackupScheduleRpoConfigExclusionWindowsSingleOccurrenceDateState `json:"single_occurrence_date"` StartTime []BackupScheduleRpoConfigExclusionWindowsStartTimeState `json:"start_time"` }
type BackupScheduleRpoConfigState ¶
type BackupScheduleRpoConfigState struct { TargetRpoMinutes float64 `json:"target_rpo_minutes"` ExclusionWindows []BackupScheduleRpoConfigExclusionWindowsState `json:"exclusion_windows"` }
type BackupScheduleState ¶
type BackupScheduleState struct { CronSchedule string `json:"cron_schedule"` Paused bool `json:"paused"` RpoConfig []BackupScheduleRpoConfigState `json:"rpo_config"` }
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 google_gke_backup_backup_plan.
func (*Resource) Attributes ¶
func (ggbbp *Resource) Attributes() googleGkeBackupBackupPlanAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ggbbp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ggbbp *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 RetentionPolicy ¶
type RetentionPolicy struct { // BackupDeleteLockDays: number, optional BackupDeleteLockDays terra.NumberValue `hcl:"backup_delete_lock_days,attr"` // BackupRetainDays: number, optional BackupRetainDays terra.NumberValue `hcl:"backup_retain_days,attr"` // Locked: bool, optional Locked terra.BoolValue `hcl:"locked,attr"` }
type RetentionPolicyAttributes ¶
type RetentionPolicyAttributes struct {
// contains filtered or unexported fields
}
func (RetentionPolicyAttributes) BackupDeleteLockDays ¶
func (rp RetentionPolicyAttributes) BackupDeleteLockDays() terra.NumberValue
func (RetentionPolicyAttributes) BackupRetainDays ¶
func (rp RetentionPolicyAttributes) BackupRetainDays() terra.NumberValue
func (RetentionPolicyAttributes) InternalRef ¶
func (rp RetentionPolicyAttributes) InternalRef() (terra.Reference, error)
func (RetentionPolicyAttributes) InternalTokens ¶
func (rp RetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RetentionPolicyAttributes) InternalWithRef ¶
func (rp RetentionPolicyAttributes) InternalWithRef(ref terra.Reference) RetentionPolicyAttributes
func (RetentionPolicyAttributes) Locked ¶
func (rp RetentionPolicyAttributes) Locked() terra.BoolValue
type RetentionPolicyState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,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) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.