Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataDiskConsistencyGroupPolicyAttributes
- func (dcgp DataDiskConsistencyGroupPolicyAttributes) Enabled() terra.BoolValue
- func (dcgp DataDiskConsistencyGroupPolicyAttributes) InternalRef() (terra.Reference, error)
- func (dcgp DataDiskConsistencyGroupPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcgp DataDiskConsistencyGroupPolicyAttributes) InternalWithRef(ref terra.Reference) DataDiskConsistencyGroupPolicyAttributes
- type DataDiskConsistencyGroupPolicyState
- type DataGroupPlacementPolicyAttributes
- func (gpp DataGroupPlacementPolicyAttributes) AvailabilityDomainCount() terra.NumberValue
- func (gpp DataGroupPlacementPolicyAttributes) Collocation() terra.StringValue
- func (gpp DataGroupPlacementPolicyAttributes) InternalRef() (terra.Reference, error)
- func (gpp DataGroupPlacementPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gpp DataGroupPlacementPolicyAttributes) InternalWithRef(ref terra.Reference) DataGroupPlacementPolicyAttributes
- func (gpp DataGroupPlacementPolicyAttributes) MaxDistance() terra.NumberValue
- func (gpp DataGroupPlacementPolicyAttributes) VmCount() terra.NumberValue
- type DataGroupPlacementPolicyState
- type DataInstanceSchedulePolicyAttributes
- func (isp DataInstanceSchedulePolicyAttributes) ExpirationTime() terra.StringValue
- func (isp DataInstanceSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
- func (isp DataInstanceSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (isp DataInstanceSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) DataInstanceSchedulePolicyAttributes
- func (isp DataInstanceSchedulePolicyAttributes) StartTime() terra.StringValue
- func (isp DataInstanceSchedulePolicyAttributes) TimeZone() terra.StringValue
- func (isp DataInstanceSchedulePolicyAttributes) VmStartSchedule() terra.ListValue[DataInstanceSchedulePolicyVmStartScheduleAttributes]
- func (isp DataInstanceSchedulePolicyAttributes) VmStopSchedule() terra.ListValue[DataInstanceSchedulePolicyVmStopScheduleAttributes]
- type DataInstanceSchedulePolicyState
- type DataInstanceSchedulePolicyVmStartScheduleAttributes
- func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalRef() (terra.Reference, error)
- func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalWithRef(ref terra.Reference) DataInstanceSchedulePolicyVmStartScheduleAttributes
- func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) Schedule() terra.StringValue
- type DataInstanceSchedulePolicyVmStartScheduleState
- type DataInstanceSchedulePolicyVmStopScheduleAttributes
- func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalRef() (terra.Reference, error)
- func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalWithRef(ref terra.Reference) DataInstanceSchedulePolicyVmStopScheduleAttributes
- func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) Schedule() terra.StringValue
- type DataInstanceSchedulePolicyVmStopScheduleState
- type DataSnapshotSchedulePolicyAttributes
- func (ssp DataSnapshotSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
- func (ssp DataSnapshotSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssp DataSnapshotSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyAttributes
- func (ssp DataSnapshotSchedulePolicyAttributes) RetentionPolicy() terra.ListValue[DataSnapshotSchedulePolicyRetentionPolicyAttributes]
- func (ssp DataSnapshotSchedulePolicyAttributes) Schedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleAttributes]
- func (ssp DataSnapshotSchedulePolicyAttributes) SnapshotProperties() terra.ListValue[DataSnapshotSchedulePolicySnapshotPropertiesAttributes]
- type DataSnapshotSchedulePolicyRetentionPolicyAttributes
- func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyRetentionPolicyAttributes
- func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) MaxRetentionDays() terra.NumberValue
- func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) OnSourceDiskDelete() terra.StringValue
- type DataSnapshotSchedulePolicyRetentionPolicyState
- type DataSnapshotSchedulePolicyScheduleAttributes
- func (s DataSnapshotSchedulePolicyScheduleAttributes) DailySchedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes]
- func (s DataSnapshotSchedulePolicyScheduleAttributes) HourlySchedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes]
- func (s DataSnapshotSchedulePolicyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s DataSnapshotSchedulePolicyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSnapshotSchedulePolicyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleAttributes
- func (s DataSnapshotSchedulePolicyScheduleAttributes) WeeklySchedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes]
- type DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes
- func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) DaysInCycle() terra.NumberValue
- func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes
- func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) StartTime() terra.StringValue
- type DataSnapshotSchedulePolicyScheduleDailyScheduleState
- type DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes
- func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) HoursInCycle() terra.NumberValue
- func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes
- func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) StartTime() terra.StringValue
- type DataSnapshotSchedulePolicyScheduleHourlyScheduleState
- type DataSnapshotSchedulePolicyScheduleState
- type DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes
- func (ws DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) DayOfWeeks() ...
- func (ws DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ws DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ws DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes
- type DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes
- func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) Day() terra.StringValue
- func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalRef() (terra.Reference, error)
- func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes
- func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) StartTime() terra.StringValue
- type DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksState
- type DataSnapshotSchedulePolicyScheduleWeeklyScheduleState
- type DataSnapshotSchedulePolicySnapshotPropertiesAttributes
- func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) ChainName() terra.StringValue
- func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) GuestFlush() terra.BoolValue
- func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalRef() (terra.Reference, error)
- func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicySnapshotPropertiesAttributes
- func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) Labels() terra.MapValue[terra.StringValue]
- func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) StorageLocations() terra.SetValue[terra.StringValue]
- type DataSnapshotSchedulePolicySnapshotPropertiesState
- type DataSnapshotSchedulePolicyState
- type DataSource
- type DiskConsistencyGroupPolicy
- type DiskConsistencyGroupPolicyAttributes
- func (dcgp DiskConsistencyGroupPolicyAttributes) Enabled() terra.BoolValue
- func (dcgp DiskConsistencyGroupPolicyAttributes) InternalRef() (terra.Reference, error)
- func (dcgp DiskConsistencyGroupPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcgp DiskConsistencyGroupPolicyAttributes) InternalWithRef(ref terra.Reference) DiskConsistencyGroupPolicyAttributes
- type DiskConsistencyGroupPolicyState
- type GroupPlacementPolicy
- type GroupPlacementPolicyAttributes
- func (gpp GroupPlacementPolicyAttributes) AvailabilityDomainCount() terra.NumberValue
- func (gpp GroupPlacementPolicyAttributes) Collocation() terra.StringValue
- func (gpp GroupPlacementPolicyAttributes) InternalRef() (terra.Reference, error)
- func (gpp GroupPlacementPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gpp GroupPlacementPolicyAttributes) InternalWithRef(ref terra.Reference) GroupPlacementPolicyAttributes
- func (gpp GroupPlacementPolicyAttributes) MaxDistance() terra.NumberValue
- func (gpp GroupPlacementPolicyAttributes) VmCount() terra.NumberValue
- type GroupPlacementPolicyState
- type InstanceSchedulePolicy
- type InstanceSchedulePolicyAttributes
- func (isp InstanceSchedulePolicyAttributes) ExpirationTime() terra.StringValue
- func (isp InstanceSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
- func (isp InstanceSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (isp InstanceSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceSchedulePolicyAttributes
- func (isp InstanceSchedulePolicyAttributes) StartTime() terra.StringValue
- func (isp InstanceSchedulePolicyAttributes) TimeZone() terra.StringValue
- func (isp InstanceSchedulePolicyAttributes) VmStartSchedule() terra.ListValue[InstanceSchedulePolicyVmStartScheduleAttributes]
- func (isp InstanceSchedulePolicyAttributes) VmStopSchedule() terra.ListValue[InstanceSchedulePolicyVmStopScheduleAttributes]
- type InstanceSchedulePolicyState
- type InstanceSchedulePolicyVmStartSchedule
- type InstanceSchedulePolicyVmStartScheduleAttributes
- func (vss InstanceSchedulePolicyVmStartScheduleAttributes) InternalRef() (terra.Reference, error)
- func (vss InstanceSchedulePolicyVmStartScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vss InstanceSchedulePolicyVmStartScheduleAttributes) InternalWithRef(ref terra.Reference) InstanceSchedulePolicyVmStartScheduleAttributes
- func (vss InstanceSchedulePolicyVmStartScheduleAttributes) Schedule() terra.StringValue
- type InstanceSchedulePolicyVmStartScheduleState
- type InstanceSchedulePolicyVmStopSchedule
- type InstanceSchedulePolicyVmStopScheduleAttributes
- func (vss InstanceSchedulePolicyVmStopScheduleAttributes) InternalRef() (terra.Reference, error)
- func (vss InstanceSchedulePolicyVmStopScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vss InstanceSchedulePolicyVmStopScheduleAttributes) InternalWithRef(ref terra.Reference) InstanceSchedulePolicyVmStopScheduleAttributes
- func (vss InstanceSchedulePolicyVmStopScheduleAttributes) Schedule() terra.StringValue
- type InstanceSchedulePolicyVmStopScheduleState
- type Resource
- func (gcrp *Resource) Attributes() googleComputeResourcePolicyAttributes
- func (gcrp *Resource) Configuration() interface{}
- func (gcrp *Resource) DependOn() terra.Reference
- func (gcrp *Resource) Dependencies() terra.Dependencies
- func (gcrp *Resource) ImportState(state io.Reader) error
- func (gcrp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcrp *Resource) LocalName() string
- func (gcrp *Resource) State() (*googleComputeResourcePolicyState, bool)
- func (gcrp *Resource) StateMust() *googleComputeResourcePolicyState
- func (gcrp *Resource) Type() string
- type SnapshotSchedulePolicy
- type SnapshotSchedulePolicyAttributes
- func (ssp SnapshotSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
- func (ssp SnapshotSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssp SnapshotSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyAttributes
- func (ssp SnapshotSchedulePolicyAttributes) RetentionPolicy() terra.ListValue[SnapshotSchedulePolicyRetentionPolicyAttributes]
- func (ssp SnapshotSchedulePolicyAttributes) Schedule() terra.ListValue[SnapshotSchedulePolicyScheduleAttributes]
- func (ssp SnapshotSchedulePolicyAttributes) SnapshotProperties() terra.ListValue[SnapshotSchedulePolicySnapshotPropertiesAttributes]
- type SnapshotSchedulePolicyRetentionPolicy
- type SnapshotSchedulePolicyRetentionPolicyAttributes
- func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyRetentionPolicyAttributes
- func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) MaxRetentionDays() terra.NumberValue
- func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) OnSourceDiskDelete() terra.StringValue
- type SnapshotSchedulePolicyRetentionPolicyState
- type SnapshotSchedulePolicySchedule
- type SnapshotSchedulePolicyScheduleAttributes
- func (s SnapshotSchedulePolicyScheduleAttributes) DailySchedule() terra.ListValue[SnapshotSchedulePolicyScheduleDailyScheduleAttributes]
- func (s SnapshotSchedulePolicyScheduleAttributes) HourlySchedule() terra.ListValue[SnapshotSchedulePolicyScheduleHourlyScheduleAttributes]
- func (s SnapshotSchedulePolicyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s SnapshotSchedulePolicyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SnapshotSchedulePolicyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleAttributes
- func (s SnapshotSchedulePolicyScheduleAttributes) WeeklySchedule() terra.ListValue[SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes]
- type SnapshotSchedulePolicyScheduleDailySchedule
- type SnapshotSchedulePolicyScheduleDailyScheduleAttributes
- func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) DaysInCycle() terra.NumberValue
- func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleDailyScheduleAttributes
- func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) StartTime() terra.StringValue
- type SnapshotSchedulePolicyScheduleDailyScheduleState
- type SnapshotSchedulePolicyScheduleHourlySchedule
- type SnapshotSchedulePolicyScheduleHourlyScheduleAttributes
- func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) HoursInCycle() terra.NumberValue
- func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleHourlyScheduleAttributes
- func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) StartTime() terra.StringValue
- type SnapshotSchedulePolicyScheduleHourlyScheduleState
- type SnapshotSchedulePolicyScheduleState
- type SnapshotSchedulePolicyScheduleWeeklySchedule
- type SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes
- func (ws SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) DayOfWeeks() ...
- func (ws SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ws SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ws SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes
- type SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks
- type SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes
- func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) Day() terra.StringValue
- func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalRef() (terra.Reference, error)
- func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes
- func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) StartTime() terra.StringValue
- type SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksState
- type SnapshotSchedulePolicyScheduleWeeklyScheduleState
- type SnapshotSchedulePolicySnapshotProperties
- type SnapshotSchedulePolicySnapshotPropertiesAttributes
- func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) ChainName() terra.StringValue
- func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) GuestFlush() terra.BoolValue
- func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalRef() (terra.Reference, error)
- func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicySnapshotPropertiesAttributes
- func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) Labels() terra.MapValue[terra.StringValue]
- func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) StorageLocations() terra.SetValue[terra.StringValue]
- type SnapshotSchedulePolicySnapshotPropertiesState
- type SnapshotSchedulePolicyState
- 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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // DiskConsistencyGroupPolicy: optional DiskConsistencyGroupPolicy *DiskConsistencyGroupPolicy `hcl:"disk_consistency_group_policy,block"` // GroupPlacementPolicy: optional GroupPlacementPolicy *GroupPlacementPolicy `hcl:"group_placement_policy,block"` // InstanceSchedulePolicy: optional InstanceSchedulePolicy *InstanceSchedulePolicy `hcl:"instance_schedule_policy,block"` // SnapshotSchedulePolicy: optional SnapshotSchedulePolicy *SnapshotSchedulePolicy `hcl:"snapshot_schedule_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_resource_policy.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` }
DataArgs contains the configurations for google_compute_resource_policy.
type DataDiskConsistencyGroupPolicyAttributes ¶
type DataDiskConsistencyGroupPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataDiskConsistencyGroupPolicyAttributes) Enabled ¶
func (dcgp DataDiskConsistencyGroupPolicyAttributes) Enabled() terra.BoolValue
func (DataDiskConsistencyGroupPolicyAttributes) InternalRef ¶
func (dcgp DataDiskConsistencyGroupPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataDiskConsistencyGroupPolicyAttributes) InternalTokens ¶
func (dcgp DataDiskConsistencyGroupPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDiskConsistencyGroupPolicyAttributes) InternalWithRef ¶
func (dcgp DataDiskConsistencyGroupPolicyAttributes) InternalWithRef(ref terra.Reference) DataDiskConsistencyGroupPolicyAttributes
type DataDiskConsistencyGroupPolicyState ¶
type DataDiskConsistencyGroupPolicyState struct {
Enabled bool `json:"enabled"`
}
type DataGroupPlacementPolicyAttributes ¶
type DataGroupPlacementPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataGroupPlacementPolicyAttributes) AvailabilityDomainCount ¶
func (gpp DataGroupPlacementPolicyAttributes) AvailabilityDomainCount() terra.NumberValue
func (DataGroupPlacementPolicyAttributes) Collocation ¶
func (gpp DataGroupPlacementPolicyAttributes) Collocation() terra.StringValue
func (DataGroupPlacementPolicyAttributes) InternalRef ¶
func (gpp DataGroupPlacementPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataGroupPlacementPolicyAttributes) InternalTokens ¶
func (gpp DataGroupPlacementPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataGroupPlacementPolicyAttributes) InternalWithRef ¶
func (gpp DataGroupPlacementPolicyAttributes) InternalWithRef(ref terra.Reference) DataGroupPlacementPolicyAttributes
func (DataGroupPlacementPolicyAttributes) MaxDistance ¶
func (gpp DataGroupPlacementPolicyAttributes) MaxDistance() terra.NumberValue
func (DataGroupPlacementPolicyAttributes) VmCount ¶
func (gpp DataGroupPlacementPolicyAttributes) VmCount() terra.NumberValue
type DataInstanceSchedulePolicyAttributes ¶
type DataInstanceSchedulePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataInstanceSchedulePolicyAttributes) ExpirationTime ¶
func (isp DataInstanceSchedulePolicyAttributes) ExpirationTime() terra.StringValue
func (DataInstanceSchedulePolicyAttributes) InternalRef ¶
func (isp DataInstanceSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataInstanceSchedulePolicyAttributes) InternalTokens ¶
func (isp DataInstanceSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInstanceSchedulePolicyAttributes) InternalWithRef ¶
func (isp DataInstanceSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) DataInstanceSchedulePolicyAttributes
func (DataInstanceSchedulePolicyAttributes) StartTime ¶
func (isp DataInstanceSchedulePolicyAttributes) StartTime() terra.StringValue
func (DataInstanceSchedulePolicyAttributes) TimeZone ¶
func (isp DataInstanceSchedulePolicyAttributes) TimeZone() terra.StringValue
func (DataInstanceSchedulePolicyAttributes) VmStartSchedule ¶
func (isp DataInstanceSchedulePolicyAttributes) VmStartSchedule() terra.ListValue[DataInstanceSchedulePolicyVmStartScheduleAttributes]
func (DataInstanceSchedulePolicyAttributes) VmStopSchedule ¶
func (isp DataInstanceSchedulePolicyAttributes) VmStopSchedule() terra.ListValue[DataInstanceSchedulePolicyVmStopScheduleAttributes]
type DataInstanceSchedulePolicyState ¶
type DataInstanceSchedulePolicyState struct { ExpirationTime string `json:"expiration_time"` StartTime string `json:"start_time"` TimeZone string `json:"time_zone"` VmStartSchedule []DataInstanceSchedulePolicyVmStartScheduleState `json:"vm_start_schedule"` VmStopSchedule []DataInstanceSchedulePolicyVmStopScheduleState `json:"vm_stop_schedule"` }
type DataInstanceSchedulePolicyVmStartScheduleAttributes ¶
type DataInstanceSchedulePolicyVmStartScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalRef ¶
func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalTokens ¶
func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalWithRef ¶
func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) InternalWithRef(ref terra.Reference) DataInstanceSchedulePolicyVmStartScheduleAttributes
func (DataInstanceSchedulePolicyVmStartScheduleAttributes) Schedule ¶
func (vss DataInstanceSchedulePolicyVmStartScheduleAttributes) Schedule() terra.StringValue
type DataInstanceSchedulePolicyVmStartScheduleState ¶
type DataInstanceSchedulePolicyVmStartScheduleState struct {
Schedule string `json:"schedule"`
}
type DataInstanceSchedulePolicyVmStopScheduleAttributes ¶
type DataInstanceSchedulePolicyVmStopScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalRef ¶
func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalTokens ¶
func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalWithRef ¶
func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) InternalWithRef(ref terra.Reference) DataInstanceSchedulePolicyVmStopScheduleAttributes
func (DataInstanceSchedulePolicyVmStopScheduleAttributes) Schedule ¶
func (vss DataInstanceSchedulePolicyVmStopScheduleAttributes) Schedule() terra.StringValue
type DataInstanceSchedulePolicyVmStopScheduleState ¶
type DataInstanceSchedulePolicyVmStopScheduleState struct {
Schedule string `json:"schedule"`
}
type DataSnapshotSchedulePolicyAttributes ¶
type DataSnapshotSchedulePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicyAttributes) InternalRef ¶
func (ssp DataSnapshotSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicyAttributes) InternalTokens ¶
func (ssp DataSnapshotSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicyAttributes) InternalWithRef ¶
func (ssp DataSnapshotSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyAttributes
func (DataSnapshotSchedulePolicyAttributes) RetentionPolicy ¶
func (ssp DataSnapshotSchedulePolicyAttributes) RetentionPolicy() terra.ListValue[DataSnapshotSchedulePolicyRetentionPolicyAttributes]
func (DataSnapshotSchedulePolicyAttributes) Schedule ¶
func (ssp DataSnapshotSchedulePolicyAttributes) Schedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleAttributes]
func (DataSnapshotSchedulePolicyAttributes) SnapshotProperties ¶
func (ssp DataSnapshotSchedulePolicyAttributes) SnapshotProperties() terra.ListValue[DataSnapshotSchedulePolicySnapshotPropertiesAttributes]
type DataSnapshotSchedulePolicyRetentionPolicyAttributes ¶
type DataSnapshotSchedulePolicyRetentionPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalRef ¶
func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalTokens ¶
func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalWithRef ¶
func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyRetentionPolicyAttributes
func (DataSnapshotSchedulePolicyRetentionPolicyAttributes) MaxRetentionDays ¶
func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) MaxRetentionDays() terra.NumberValue
func (DataSnapshotSchedulePolicyRetentionPolicyAttributes) OnSourceDiskDelete ¶
func (rp DataSnapshotSchedulePolicyRetentionPolicyAttributes) OnSourceDiskDelete() terra.StringValue
type DataSnapshotSchedulePolicyScheduleAttributes ¶
type DataSnapshotSchedulePolicyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicyScheduleAttributes) DailySchedule ¶
func (s DataSnapshotSchedulePolicyScheduleAttributes) DailySchedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes]
func (DataSnapshotSchedulePolicyScheduleAttributes) HourlySchedule ¶
func (s DataSnapshotSchedulePolicyScheduleAttributes) HourlySchedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes]
func (DataSnapshotSchedulePolicyScheduleAttributes) InternalRef ¶
func (s DataSnapshotSchedulePolicyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicyScheduleAttributes) InternalTokens ¶
func (s DataSnapshotSchedulePolicyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicyScheduleAttributes) InternalWithRef ¶
func (s DataSnapshotSchedulePolicyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleAttributes
func (DataSnapshotSchedulePolicyScheduleAttributes) WeeklySchedule ¶
func (s DataSnapshotSchedulePolicyScheduleAttributes) WeeklySchedule() terra.ListValue[DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes]
type DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes ¶
type DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) DaysInCycle ¶
func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) DaysInCycle() terra.NumberValue
func (DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalRef ¶
func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalTokens ¶
func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalWithRef ¶
func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes
func (DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) StartTime ¶
func (ds DataSnapshotSchedulePolicyScheduleDailyScheduleAttributes) StartTime() terra.StringValue
type DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes ¶
type DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) HoursInCycle ¶
func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) HoursInCycle() terra.NumberValue
func (DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalRef ¶
func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalTokens ¶
func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalWithRef ¶
func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes
func (DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) StartTime ¶
func (hs DataSnapshotSchedulePolicyScheduleHourlyScheduleAttributes) StartTime() terra.StringValue
type DataSnapshotSchedulePolicyScheduleState ¶
type DataSnapshotSchedulePolicyScheduleState struct { DailySchedule []DataSnapshotSchedulePolicyScheduleDailyScheduleState `json:"daily_schedule"` HourlySchedule []DataSnapshotSchedulePolicyScheduleHourlyScheduleState `json:"hourly_schedule"` WeeklySchedule []DataSnapshotSchedulePolicyScheduleWeeklyScheduleState `json:"weekly_schedule"` }
type DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes ¶
type DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) DayOfWeeks ¶
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalRef ¶
func (ws DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalTokens ¶
func (ws DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalWithRef ¶
func (ws DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicyScheduleWeeklyScheduleAttributes
type DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes ¶
type DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalRef ¶
func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalTokens ¶
func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalWithRef ¶
func (DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) StartTime ¶
func (dow DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) StartTime() terra.StringValue
type DataSnapshotSchedulePolicyScheduleWeeklyScheduleState ¶
type DataSnapshotSchedulePolicyScheduleWeeklyScheduleState struct {
DayOfWeeks []DataSnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksState `json:"day_of_weeks"`
}
type DataSnapshotSchedulePolicySnapshotPropertiesAttributes ¶
type DataSnapshotSchedulePolicySnapshotPropertiesAttributes struct {
// contains filtered or unexported fields
}
func (DataSnapshotSchedulePolicySnapshotPropertiesAttributes) ChainName ¶
func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) ChainName() terra.StringValue
func (DataSnapshotSchedulePolicySnapshotPropertiesAttributes) GuestFlush ¶
func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) GuestFlush() terra.BoolValue
func (DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalRef ¶
func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalRef() (terra.Reference, error)
func (DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalTokens ¶
func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalWithRef ¶
func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) InternalWithRef(ref terra.Reference) DataSnapshotSchedulePolicySnapshotPropertiesAttributes
func (DataSnapshotSchedulePolicySnapshotPropertiesAttributes) Labels ¶
func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) Labels() terra.MapValue[terra.StringValue]
func (DataSnapshotSchedulePolicySnapshotPropertiesAttributes) StorageLocations ¶
func (sp DataSnapshotSchedulePolicySnapshotPropertiesAttributes) StorageLocations() terra.SetValue[terra.StringValue]
type DataSnapshotSchedulePolicyState ¶
type DataSnapshotSchedulePolicyState struct { RetentionPolicy []DataSnapshotSchedulePolicyRetentionPolicyState `json:"retention_policy"` Schedule []DataSnapshotSchedulePolicyScheduleState `json:"schedule"` SnapshotProperties []DataSnapshotSchedulePolicySnapshotPropertiesState `json:"snapshot_properties"` }
type DataSource ¶
DataSource represents the Terraform data resource google_compute_resource_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gcrp *DataSource) Attributes() dataGoogleComputeResourcePolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gcrp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gcrp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gcrp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DiskConsistencyGroupPolicyAttributes ¶
type DiskConsistencyGroupPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DiskConsistencyGroupPolicyAttributes) Enabled ¶
func (dcgp DiskConsistencyGroupPolicyAttributes) Enabled() terra.BoolValue
func (DiskConsistencyGroupPolicyAttributes) InternalRef ¶
func (dcgp DiskConsistencyGroupPolicyAttributes) InternalRef() (terra.Reference, error)
func (DiskConsistencyGroupPolicyAttributes) InternalTokens ¶
func (dcgp DiskConsistencyGroupPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiskConsistencyGroupPolicyAttributes) InternalWithRef ¶
func (dcgp DiskConsistencyGroupPolicyAttributes) InternalWithRef(ref terra.Reference) DiskConsistencyGroupPolicyAttributes
type DiskConsistencyGroupPolicyState ¶
type DiskConsistencyGroupPolicyState struct {
Enabled bool `json:"enabled"`
}
type GroupPlacementPolicy ¶
type GroupPlacementPolicy struct { // AvailabilityDomainCount: number, optional AvailabilityDomainCount terra.NumberValue `hcl:"availability_domain_count,attr"` // Collocation: string, optional Collocation terra.StringValue `hcl:"collocation,attr"` // MaxDistance: number, optional MaxDistance terra.NumberValue `hcl:"max_distance,attr"` // VmCount: number, optional VmCount terra.NumberValue `hcl:"vm_count,attr"` }
type GroupPlacementPolicyAttributes ¶
type GroupPlacementPolicyAttributes struct {
// contains filtered or unexported fields
}
func (GroupPlacementPolicyAttributes) AvailabilityDomainCount ¶
func (gpp GroupPlacementPolicyAttributes) AvailabilityDomainCount() terra.NumberValue
func (GroupPlacementPolicyAttributes) Collocation ¶
func (gpp GroupPlacementPolicyAttributes) Collocation() terra.StringValue
func (GroupPlacementPolicyAttributes) InternalRef ¶
func (gpp GroupPlacementPolicyAttributes) InternalRef() (terra.Reference, error)
func (GroupPlacementPolicyAttributes) InternalTokens ¶
func (gpp GroupPlacementPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GroupPlacementPolicyAttributes) InternalWithRef ¶
func (gpp GroupPlacementPolicyAttributes) InternalWithRef(ref terra.Reference) GroupPlacementPolicyAttributes
func (GroupPlacementPolicyAttributes) MaxDistance ¶
func (gpp GroupPlacementPolicyAttributes) MaxDistance() terra.NumberValue
func (GroupPlacementPolicyAttributes) VmCount ¶
func (gpp GroupPlacementPolicyAttributes) VmCount() terra.NumberValue
type InstanceSchedulePolicy ¶
type InstanceSchedulePolicy struct { // ExpirationTime: string, optional ExpirationTime terra.StringValue `hcl:"expiration_time,attr"` // StartTime: string, optional StartTime terra.StringValue `hcl:"start_time,attr"` // TimeZone: string, required TimeZone terra.StringValue `hcl:"time_zone,attr" validate:"required"` // InstanceSchedulePolicyVmStartSchedule: optional VmStartSchedule *InstanceSchedulePolicyVmStartSchedule `hcl:"vm_start_schedule,block"` // InstanceSchedulePolicyVmStopSchedule: optional VmStopSchedule *InstanceSchedulePolicyVmStopSchedule `hcl:"vm_stop_schedule,block"` }
type InstanceSchedulePolicyAttributes ¶
type InstanceSchedulePolicyAttributes struct {
// contains filtered or unexported fields
}
func (InstanceSchedulePolicyAttributes) ExpirationTime ¶
func (isp InstanceSchedulePolicyAttributes) ExpirationTime() terra.StringValue
func (InstanceSchedulePolicyAttributes) InternalRef ¶
func (isp InstanceSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
func (InstanceSchedulePolicyAttributes) InternalTokens ¶
func (isp InstanceSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceSchedulePolicyAttributes) InternalWithRef ¶
func (isp InstanceSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceSchedulePolicyAttributes
func (InstanceSchedulePolicyAttributes) StartTime ¶
func (isp InstanceSchedulePolicyAttributes) StartTime() terra.StringValue
func (InstanceSchedulePolicyAttributes) TimeZone ¶
func (isp InstanceSchedulePolicyAttributes) TimeZone() terra.StringValue
func (InstanceSchedulePolicyAttributes) VmStartSchedule ¶
func (isp InstanceSchedulePolicyAttributes) VmStartSchedule() terra.ListValue[InstanceSchedulePolicyVmStartScheduleAttributes]
func (InstanceSchedulePolicyAttributes) VmStopSchedule ¶
func (isp InstanceSchedulePolicyAttributes) VmStopSchedule() terra.ListValue[InstanceSchedulePolicyVmStopScheduleAttributes]
type InstanceSchedulePolicyState ¶
type InstanceSchedulePolicyState struct { ExpirationTime string `json:"expiration_time"` StartTime string `json:"start_time"` TimeZone string `json:"time_zone"` VmStartSchedule []InstanceSchedulePolicyVmStartScheduleState `json:"vm_start_schedule"` VmStopSchedule []InstanceSchedulePolicyVmStopScheduleState `json:"vm_stop_schedule"` }
type InstanceSchedulePolicyVmStartSchedule ¶
type InstanceSchedulePolicyVmStartSchedule struct { // Schedule: string, required Schedule terra.StringValue `hcl:"schedule,attr" validate:"required"` }
type InstanceSchedulePolicyVmStartScheduleAttributes ¶
type InstanceSchedulePolicyVmStartScheduleAttributes struct {
// contains filtered or unexported fields
}
func (InstanceSchedulePolicyVmStartScheduleAttributes) InternalRef ¶
func (vss InstanceSchedulePolicyVmStartScheduleAttributes) InternalRef() (terra.Reference, error)
func (InstanceSchedulePolicyVmStartScheduleAttributes) InternalTokens ¶
func (vss InstanceSchedulePolicyVmStartScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceSchedulePolicyVmStartScheduleAttributes) InternalWithRef ¶
func (vss InstanceSchedulePolicyVmStartScheduleAttributes) InternalWithRef(ref terra.Reference) InstanceSchedulePolicyVmStartScheduleAttributes
func (InstanceSchedulePolicyVmStartScheduleAttributes) Schedule ¶
func (vss InstanceSchedulePolicyVmStartScheduleAttributes) Schedule() terra.StringValue
type InstanceSchedulePolicyVmStartScheduleState ¶
type InstanceSchedulePolicyVmStartScheduleState struct {
Schedule string `json:"schedule"`
}
type InstanceSchedulePolicyVmStopSchedule ¶
type InstanceSchedulePolicyVmStopSchedule struct { // Schedule: string, required Schedule terra.StringValue `hcl:"schedule,attr" validate:"required"` }
type InstanceSchedulePolicyVmStopScheduleAttributes ¶
type InstanceSchedulePolicyVmStopScheduleAttributes struct {
// contains filtered or unexported fields
}
func (InstanceSchedulePolicyVmStopScheduleAttributes) InternalRef ¶
func (vss InstanceSchedulePolicyVmStopScheduleAttributes) InternalRef() (terra.Reference, error)
func (InstanceSchedulePolicyVmStopScheduleAttributes) InternalTokens ¶
func (vss InstanceSchedulePolicyVmStopScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceSchedulePolicyVmStopScheduleAttributes) InternalWithRef ¶
func (vss InstanceSchedulePolicyVmStopScheduleAttributes) InternalWithRef(ref terra.Reference) InstanceSchedulePolicyVmStopScheduleAttributes
func (InstanceSchedulePolicyVmStopScheduleAttributes) Schedule ¶
func (vss InstanceSchedulePolicyVmStopScheduleAttributes) Schedule() terra.StringValue
type InstanceSchedulePolicyVmStopScheduleState ¶
type InstanceSchedulePolicyVmStopScheduleState struct {
Schedule string `json:"schedule"`
}
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_compute_resource_policy.
func (*Resource) Attributes ¶
func (gcrp *Resource) Attributes() googleComputeResourcePolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcrp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcrp *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 SnapshotSchedulePolicy ¶
type SnapshotSchedulePolicy struct { // SnapshotSchedulePolicyRetentionPolicy: optional RetentionPolicy *SnapshotSchedulePolicyRetentionPolicy `hcl:"retention_policy,block"` // SnapshotSchedulePolicySchedule: required Schedule *SnapshotSchedulePolicySchedule `hcl:"schedule,block" validate:"required"` // SnapshotSchedulePolicySnapshotProperties: optional SnapshotProperties *SnapshotSchedulePolicySnapshotProperties `hcl:"snapshot_properties,block"` }
type SnapshotSchedulePolicyAttributes ¶
type SnapshotSchedulePolicyAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicyAttributes) InternalRef ¶
func (ssp SnapshotSchedulePolicyAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicyAttributes) InternalTokens ¶
func (ssp SnapshotSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicyAttributes) InternalWithRef ¶
func (ssp SnapshotSchedulePolicyAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyAttributes
func (SnapshotSchedulePolicyAttributes) RetentionPolicy ¶
func (ssp SnapshotSchedulePolicyAttributes) RetentionPolicy() terra.ListValue[SnapshotSchedulePolicyRetentionPolicyAttributes]
func (SnapshotSchedulePolicyAttributes) Schedule ¶
func (ssp SnapshotSchedulePolicyAttributes) Schedule() terra.ListValue[SnapshotSchedulePolicyScheduleAttributes]
func (SnapshotSchedulePolicyAttributes) SnapshotProperties ¶
func (ssp SnapshotSchedulePolicyAttributes) SnapshotProperties() terra.ListValue[SnapshotSchedulePolicySnapshotPropertiesAttributes]
type SnapshotSchedulePolicyRetentionPolicy ¶
type SnapshotSchedulePolicyRetentionPolicy struct { // MaxRetentionDays: number, required MaxRetentionDays terra.NumberValue `hcl:"max_retention_days,attr" validate:"required"` // OnSourceDiskDelete: string, optional OnSourceDiskDelete terra.StringValue `hcl:"on_source_disk_delete,attr"` }
type SnapshotSchedulePolicyRetentionPolicyAttributes ¶
type SnapshotSchedulePolicyRetentionPolicyAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicyRetentionPolicyAttributes) InternalRef ¶
func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicyRetentionPolicyAttributes) InternalTokens ¶
func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicyRetentionPolicyAttributes) InternalWithRef ¶
func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyRetentionPolicyAttributes
func (SnapshotSchedulePolicyRetentionPolicyAttributes) MaxRetentionDays ¶
func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) MaxRetentionDays() terra.NumberValue
func (SnapshotSchedulePolicyRetentionPolicyAttributes) OnSourceDiskDelete ¶
func (rp SnapshotSchedulePolicyRetentionPolicyAttributes) OnSourceDiskDelete() terra.StringValue
type SnapshotSchedulePolicySchedule ¶
type SnapshotSchedulePolicySchedule struct { // SnapshotSchedulePolicyScheduleDailySchedule: optional DailySchedule *SnapshotSchedulePolicyScheduleDailySchedule `hcl:"daily_schedule,block"` // SnapshotSchedulePolicyScheduleHourlySchedule: optional HourlySchedule *SnapshotSchedulePolicyScheduleHourlySchedule `hcl:"hourly_schedule,block"` // SnapshotSchedulePolicyScheduleWeeklySchedule: optional WeeklySchedule *SnapshotSchedulePolicyScheduleWeeklySchedule `hcl:"weekly_schedule,block"` }
type SnapshotSchedulePolicyScheduleAttributes ¶
type SnapshotSchedulePolicyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicyScheduleAttributes) DailySchedule ¶
func (s SnapshotSchedulePolicyScheduleAttributes) DailySchedule() terra.ListValue[SnapshotSchedulePolicyScheduleDailyScheduleAttributes]
func (SnapshotSchedulePolicyScheduleAttributes) HourlySchedule ¶
func (s SnapshotSchedulePolicyScheduleAttributes) HourlySchedule() terra.ListValue[SnapshotSchedulePolicyScheduleHourlyScheduleAttributes]
func (SnapshotSchedulePolicyScheduleAttributes) InternalRef ¶
func (s SnapshotSchedulePolicyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicyScheduleAttributes) InternalTokens ¶
func (s SnapshotSchedulePolicyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicyScheduleAttributes) InternalWithRef ¶
func (s SnapshotSchedulePolicyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleAttributes
func (SnapshotSchedulePolicyScheduleAttributes) WeeklySchedule ¶
func (s SnapshotSchedulePolicyScheduleAttributes) WeeklySchedule() terra.ListValue[SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes]
type SnapshotSchedulePolicyScheduleDailySchedule ¶
type SnapshotSchedulePolicyScheduleDailySchedule struct { // DaysInCycle: number, required DaysInCycle terra.NumberValue `hcl:"days_in_cycle,attr" validate:"required"` // StartTime: string, required StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"` }
type SnapshotSchedulePolicyScheduleDailyScheduleAttributes ¶
type SnapshotSchedulePolicyScheduleDailyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicyScheduleDailyScheduleAttributes) DaysInCycle ¶
func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) DaysInCycle() terra.NumberValue
func (SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalRef ¶
func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalTokens ¶
func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalWithRef ¶
func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleDailyScheduleAttributes
func (SnapshotSchedulePolicyScheduleDailyScheduleAttributes) StartTime ¶
func (ds SnapshotSchedulePolicyScheduleDailyScheduleAttributes) StartTime() terra.StringValue
type SnapshotSchedulePolicyScheduleHourlySchedule ¶
type SnapshotSchedulePolicyScheduleHourlySchedule struct { // HoursInCycle: number, required HoursInCycle terra.NumberValue `hcl:"hours_in_cycle,attr" validate:"required"` // StartTime: string, required StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"` }
type SnapshotSchedulePolicyScheduleHourlyScheduleAttributes ¶
type SnapshotSchedulePolicyScheduleHourlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) HoursInCycle ¶
func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) HoursInCycle() terra.NumberValue
func (SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalRef ¶
func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalTokens ¶
func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalWithRef ¶
func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleHourlyScheduleAttributes
func (SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) StartTime ¶
func (hs SnapshotSchedulePolicyScheduleHourlyScheduleAttributes) StartTime() terra.StringValue
type SnapshotSchedulePolicyScheduleState ¶
type SnapshotSchedulePolicyScheduleState struct { DailySchedule []SnapshotSchedulePolicyScheduleDailyScheduleState `json:"daily_schedule"` HourlySchedule []SnapshotSchedulePolicyScheduleHourlyScheduleState `json:"hourly_schedule"` WeeklySchedule []SnapshotSchedulePolicyScheduleWeeklyScheduleState `json:"weekly_schedule"` }
type SnapshotSchedulePolicyScheduleWeeklySchedule ¶
type SnapshotSchedulePolicyScheduleWeeklySchedule struct { // SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks: min=1,max=7 DayOfWeeks []SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks `hcl:"day_of_weeks,block" validate:"min=1,max=7"` }
type SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes ¶
type SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) DayOfWeeks ¶
func (SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalRef ¶
func (ws SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalTokens ¶
func (ws SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalWithRef ¶
func (ws SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicyScheduleWeeklyScheduleAttributes
type SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks ¶
type SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks struct { // Day: string, required Day terra.StringValue `hcl:"day,attr" validate:"required"` // StartTime: string, required StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"` }
type SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes ¶
type SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalRef ¶
func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalTokens ¶
func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) InternalWithRef ¶
func (SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) StartTime ¶
func (dow SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksAttributes) StartTime() terra.StringValue
type SnapshotSchedulePolicyScheduleWeeklyScheduleState ¶
type SnapshotSchedulePolicyScheduleWeeklyScheduleState struct {
DayOfWeeks []SnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksState `json:"day_of_weeks"`
}
type SnapshotSchedulePolicySnapshotProperties ¶
type SnapshotSchedulePolicySnapshotProperties struct { // ChainName: string, optional ChainName terra.StringValue `hcl:"chain_name,attr"` // GuestFlush: bool, optional GuestFlush terra.BoolValue `hcl:"guest_flush,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // StorageLocations: set of string, optional StorageLocations terra.SetValue[terra.StringValue] `hcl:"storage_locations,attr"` }
type SnapshotSchedulePolicySnapshotPropertiesAttributes ¶
type SnapshotSchedulePolicySnapshotPropertiesAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotSchedulePolicySnapshotPropertiesAttributes) ChainName ¶
func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) ChainName() terra.StringValue
func (SnapshotSchedulePolicySnapshotPropertiesAttributes) GuestFlush ¶
func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) GuestFlush() terra.BoolValue
func (SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalRef ¶
func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalRef() (terra.Reference, error)
func (SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalTokens ¶
func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalWithRef ¶
func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) InternalWithRef(ref terra.Reference) SnapshotSchedulePolicySnapshotPropertiesAttributes
func (SnapshotSchedulePolicySnapshotPropertiesAttributes) Labels ¶
func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) Labels() terra.MapValue[terra.StringValue]
func (SnapshotSchedulePolicySnapshotPropertiesAttributes) StorageLocations ¶
func (sp SnapshotSchedulePolicySnapshotPropertiesAttributes) StorageLocations() terra.SetValue[terra.StringValue]
type SnapshotSchedulePolicyState ¶
type SnapshotSchedulePolicyState struct { RetentionPolicy []SnapshotSchedulePolicyRetentionPolicyState `json:"retention_policy"` Schedule []SnapshotSchedulePolicyScheduleState `json:"schedule"` SnapshotProperties []SnapshotSchedulePolicySnapshotPropertiesState `json:"snapshot_properties"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,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