Documentation ¶
Index ¶
- type Args
- type ExportPolicy
- type ExportPolicyAttributes
- func (ep ExportPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ep ExportPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ep ExportPolicyAttributes) InternalWithRef(ref terra.Reference) ExportPolicyAttributes
- func (ep ExportPolicyAttributes) Rules() terra.ListValue[ExportPolicyRulesAttributes]
- type ExportPolicyRules
- type ExportPolicyRulesAttributes
- func (r ExportPolicyRulesAttributes) AccessType() terra.StringValue
- func (r ExportPolicyRulesAttributes) AllowedClients() terra.StringValue
- func (r ExportPolicyRulesAttributes) HasRootAccess() terra.StringValue
- func (r ExportPolicyRulesAttributes) InternalRef() (terra.Reference, error)
- func (r ExportPolicyRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ExportPolicyRulesAttributes) InternalWithRef(ref terra.Reference) ExportPolicyRulesAttributes
- func (r ExportPolicyRulesAttributes) Kerberos5IReadOnly() terra.BoolValue
- func (r ExportPolicyRulesAttributes) Kerberos5IReadWrite() terra.BoolValue
- func (r ExportPolicyRulesAttributes) Kerberos5PReadOnly() terra.BoolValue
- func (r ExportPolicyRulesAttributes) Kerberos5PReadWrite() terra.BoolValue
- func (r ExportPolicyRulesAttributes) Kerberos5ReadOnly() terra.BoolValue
- func (r ExportPolicyRulesAttributes) Kerberos5ReadWrite() terra.BoolValue
- func (r ExportPolicyRulesAttributes) Nfsv3() terra.BoolValue
- func (r ExportPolicyRulesAttributes) Nfsv4() terra.BoolValue
- type ExportPolicyRulesState
- type ExportPolicyState
- type MountOptionsAttributes
- func (mo MountOptionsAttributes) Export() terra.StringValue
- func (mo MountOptionsAttributes) ExportFull() terra.StringValue
- func (mo MountOptionsAttributes) Instructions() terra.StringValue
- func (mo MountOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo MountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo MountOptionsAttributes) InternalWithRef(ref terra.Reference) MountOptionsAttributes
- func (mo MountOptionsAttributes) Protocol() terra.StringValue
- type MountOptionsState
- type Resource
- func (gnv *Resource) Attributes() googleNetappVolumeAttributes
- func (gnv *Resource) Configuration() interface{}
- func (gnv *Resource) DependOn() terra.Reference
- func (gnv *Resource) Dependencies() terra.Dependencies
- func (gnv *Resource) ImportState(state io.Reader) error
- func (gnv *Resource) LifecycleManagement() *terra.Lifecycle
- func (gnv *Resource) LocalName() string
- func (gnv *Resource) State() (*googleNetappVolumeState, bool)
- func (gnv *Resource) StateMust() *googleNetappVolumeState
- func (gnv *Resource) Type() string
- type RestoreParameters
- type RestoreParametersAttributes
- func (rp RestoreParametersAttributes) InternalRef() (terra.Reference, error)
- func (rp RestoreParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp RestoreParametersAttributes) InternalWithRef(ref terra.Reference) RestoreParametersAttributes
- func (rp RestoreParametersAttributes) SourceBackup() terra.StringValue
- func (rp RestoreParametersAttributes) SourceSnapshot() terra.StringValue
- type RestoreParametersState
- type SnapshotPolicy
- type SnapshotPolicyAttributes
- func (sp SnapshotPolicyAttributes) DailySchedule() terra.ListValue[SnapshotPolicyDailyScheduleAttributes]
- func (sp SnapshotPolicyAttributes) Enabled() terra.BoolValue
- func (sp SnapshotPolicyAttributes) HourlySchedule() terra.ListValue[SnapshotPolicyHourlyScheduleAttributes]
- func (sp SnapshotPolicyAttributes) InternalRef() (terra.Reference, error)
- func (sp SnapshotPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp SnapshotPolicyAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyAttributes
- func (sp SnapshotPolicyAttributes) MonthlySchedule() terra.ListValue[SnapshotPolicyMonthlyScheduleAttributes]
- func (sp SnapshotPolicyAttributes) WeeklySchedule() terra.ListValue[SnapshotPolicyWeeklyScheduleAttributes]
- type SnapshotPolicyDailySchedule
- type SnapshotPolicyDailyScheduleAttributes
- func (ds SnapshotPolicyDailyScheduleAttributes) Hour() terra.NumberValue
- func (ds SnapshotPolicyDailyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ds SnapshotPolicyDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds SnapshotPolicyDailyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyDailyScheduleAttributes
- func (ds SnapshotPolicyDailyScheduleAttributes) Minute() terra.NumberValue
- func (ds SnapshotPolicyDailyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type SnapshotPolicyDailyScheduleState
- type SnapshotPolicyHourlySchedule
- type SnapshotPolicyHourlyScheduleAttributes
- func (hs SnapshotPolicyHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (hs SnapshotPolicyHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hs SnapshotPolicyHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyHourlyScheduleAttributes
- func (hs SnapshotPolicyHourlyScheduleAttributes) Minute() terra.NumberValue
- func (hs SnapshotPolicyHourlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type SnapshotPolicyHourlyScheduleState
- type SnapshotPolicyMonthlySchedule
- type SnapshotPolicyMonthlyScheduleAttributes
- func (ms SnapshotPolicyMonthlyScheduleAttributes) DaysOfMonth() terra.StringValue
- func (ms SnapshotPolicyMonthlyScheduleAttributes) Hour() terra.NumberValue
- func (ms SnapshotPolicyMonthlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ms SnapshotPolicyMonthlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms SnapshotPolicyMonthlyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyMonthlyScheduleAttributes
- func (ms SnapshotPolicyMonthlyScheduleAttributes) Minute() terra.NumberValue
- func (ms SnapshotPolicyMonthlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type SnapshotPolicyMonthlyScheduleState
- type SnapshotPolicyState
- type SnapshotPolicyWeeklySchedule
- type SnapshotPolicyWeeklyScheduleAttributes
- func (ws SnapshotPolicyWeeklyScheduleAttributes) Day() terra.StringValue
- func (ws SnapshotPolicyWeeklyScheduleAttributes) Hour() terra.NumberValue
- func (ws SnapshotPolicyWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ws SnapshotPolicyWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ws SnapshotPolicyWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyWeeklyScheduleAttributes
- func (ws SnapshotPolicyWeeklyScheduleAttributes) Minute() terra.NumberValue
- func (ws SnapshotPolicyWeeklyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type SnapshotPolicyWeeklyScheduleState
- 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 { // CapacityGib: string, required CapacityGib terra.StringValue `hcl:"capacity_gib,attr" validate:"required"` // DeletionPolicy: string, optional DeletionPolicy terra.StringValue `hcl:"deletion_policy,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KerberosEnabled: bool, optional KerberosEnabled terra.BoolValue `hcl:"kerberos_enabled,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"` // Protocols: list of string, required Protocols terra.ListValue[terra.StringValue] `hcl:"protocols,attr" validate:"required"` // RestrictedActions: list of string, optional RestrictedActions terra.ListValue[terra.StringValue] `hcl:"restricted_actions,attr"` // SecurityStyle: string, optional SecurityStyle terra.StringValue `hcl:"security_style,attr"` ShareName terra.StringValue `hcl:"share_name,attr" validate:"required"` // SmbSettings: list of string, optional SmbSettings terra.ListValue[terra.StringValue] `hcl:"smb_settings,attr"` // SnapshotDirectory: bool, optional SnapshotDirectory terra.BoolValue `hcl:"snapshot_directory,attr"` // StoragePool: string, required StoragePool terra.StringValue `hcl:"storage_pool,attr" validate:"required"` // UnixPermissions: string, optional UnixPermissions terra.StringValue `hcl:"unix_permissions,attr"` // ExportPolicy: optional ExportPolicy *ExportPolicy `hcl:"export_policy,block"` // RestoreParameters: optional RestoreParameters *RestoreParameters `hcl:"restore_parameters,block"` // SnapshotPolicy: optional SnapshotPolicy *SnapshotPolicy `hcl:"snapshot_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_netapp_volume.
type ExportPolicy ¶
type ExportPolicy struct { // ExportPolicyRules: min=1 Rules []ExportPolicyRules `hcl:"rules,block" validate:"min=1"` }
type ExportPolicyAttributes ¶
type ExportPolicyAttributes struct {
// contains filtered or unexported fields
}
func (ExportPolicyAttributes) InternalRef ¶
func (ep ExportPolicyAttributes) InternalRef() (terra.Reference, error)
func (ExportPolicyAttributes) InternalTokens ¶
func (ep ExportPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExportPolicyAttributes) InternalWithRef ¶
func (ep ExportPolicyAttributes) InternalWithRef(ref terra.Reference) ExportPolicyAttributes
func (ExportPolicyAttributes) Rules ¶
func (ep ExportPolicyAttributes) Rules() terra.ListValue[ExportPolicyRulesAttributes]
type ExportPolicyRules ¶
type ExportPolicyRules struct { // AccessType: string, optional AccessType terra.StringValue `hcl:"access_type,attr"` // AllowedClients: string, optional AllowedClients terra.StringValue `hcl:"allowed_clients,attr"` // HasRootAccess: string, optional HasRootAccess terra.StringValue `hcl:"has_root_access,attr"` // Kerberos5ReadOnly: bool, optional Kerberos5ReadOnly terra.BoolValue `hcl:"kerberos5_read_only,attr"` // Kerberos5ReadWrite: bool, optional Kerberos5ReadWrite terra.BoolValue `hcl:"kerberos5_read_write,attr"` // Kerberos5IReadOnly: bool, optional Kerberos5IReadOnly terra.BoolValue `hcl:"kerberos5i_read_only,attr"` // Kerberos5IReadWrite: bool, optional Kerberos5IReadWrite terra.BoolValue `hcl:"kerberos5i_read_write,attr"` // Kerberos5PReadOnly: bool, optional Kerberos5PReadOnly terra.BoolValue `hcl:"kerberos5p_read_only,attr"` // Kerberos5PReadWrite: bool, optional Kerberos5PReadWrite terra.BoolValue `hcl:"kerberos5p_read_write,attr"` // Nfsv3: bool, optional Nfsv3 terra.BoolValue `hcl:"nfsv3,attr"` // Nfsv4: bool, optional Nfsv4 terra.BoolValue `hcl:"nfsv4,attr"` }
type ExportPolicyRulesAttributes ¶
type ExportPolicyRulesAttributes struct {
// contains filtered or unexported fields
}
func (ExportPolicyRulesAttributes) AccessType ¶
func (r ExportPolicyRulesAttributes) AccessType() terra.StringValue
func (ExportPolicyRulesAttributes) AllowedClients ¶
func (r ExportPolicyRulesAttributes) AllowedClients() terra.StringValue
func (ExportPolicyRulesAttributes) HasRootAccess ¶
func (r ExportPolicyRulesAttributes) HasRootAccess() terra.StringValue
func (ExportPolicyRulesAttributes) InternalRef ¶
func (r ExportPolicyRulesAttributes) InternalRef() (terra.Reference, error)
func (ExportPolicyRulesAttributes) InternalTokens ¶
func (r ExportPolicyRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExportPolicyRulesAttributes) InternalWithRef ¶
func (r ExportPolicyRulesAttributes) InternalWithRef(ref terra.Reference) ExportPolicyRulesAttributes
func (ExportPolicyRulesAttributes) Kerberos5IReadOnly ¶
func (r ExportPolicyRulesAttributes) Kerberos5IReadOnly() terra.BoolValue
func (ExportPolicyRulesAttributes) Kerberos5IReadWrite ¶
func (r ExportPolicyRulesAttributes) Kerberos5IReadWrite() terra.BoolValue
func (ExportPolicyRulesAttributes) Kerberos5PReadOnly ¶
func (r ExportPolicyRulesAttributes) Kerberos5PReadOnly() terra.BoolValue
func (ExportPolicyRulesAttributes) Kerberos5PReadWrite ¶
func (r ExportPolicyRulesAttributes) Kerberos5PReadWrite() terra.BoolValue
func (ExportPolicyRulesAttributes) Kerberos5ReadOnly ¶
func (r ExportPolicyRulesAttributes) Kerberos5ReadOnly() terra.BoolValue
func (ExportPolicyRulesAttributes) Kerberos5ReadWrite ¶
func (r ExportPolicyRulesAttributes) Kerberos5ReadWrite() terra.BoolValue
func (ExportPolicyRulesAttributes) Nfsv3 ¶
func (r ExportPolicyRulesAttributes) Nfsv3() terra.BoolValue
func (ExportPolicyRulesAttributes) Nfsv4 ¶
func (r ExportPolicyRulesAttributes) Nfsv4() terra.BoolValue
type ExportPolicyRulesState ¶
type ExportPolicyRulesState struct { AccessType string `json:"access_type"` AllowedClients string `json:"allowed_clients"` HasRootAccess string `json:"has_root_access"` Kerberos5ReadOnly bool `json:"kerberos5_read_only"` Kerberos5ReadWrite bool `json:"kerberos5_read_write"` Kerberos5IReadOnly bool `json:"kerberos5i_read_only"` Kerberos5IReadWrite bool `json:"kerberos5i_read_write"` Kerberos5PReadOnly bool `json:"kerberos5p_read_only"` Kerberos5PReadWrite bool `json:"kerberos5p_read_write"` Nfsv3 bool `json:"nfsv3"` Nfsv4 bool `json:"nfsv4"` }
type ExportPolicyState ¶
type ExportPolicyState struct {
Rules []ExportPolicyRulesState `json:"rules"`
}
type MountOptionsAttributes ¶
type MountOptionsAttributes struct {
// contains filtered or unexported fields
}
func (MountOptionsAttributes) Export ¶
func (mo MountOptionsAttributes) Export() terra.StringValue
func (MountOptionsAttributes) ExportFull ¶
func (mo MountOptionsAttributes) ExportFull() terra.StringValue
func (MountOptionsAttributes) Instructions ¶
func (mo MountOptionsAttributes) Instructions() terra.StringValue
func (MountOptionsAttributes) InternalRef ¶
func (mo MountOptionsAttributes) InternalRef() (terra.Reference, error)
func (MountOptionsAttributes) InternalTokens ¶
func (mo MountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MountOptionsAttributes) InternalWithRef ¶
func (mo MountOptionsAttributes) InternalWithRef(ref terra.Reference) MountOptionsAttributes
func (MountOptionsAttributes) Protocol ¶
func (mo MountOptionsAttributes) Protocol() terra.StringValue
type MountOptionsState ¶
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_netapp_volume.
func (*Resource) Attributes ¶
func (gnv *Resource) Attributes() googleNetappVolumeAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gnv *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gnv *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 RestoreParameters ¶
type RestoreParameters struct { // SourceBackup: string, optional SourceBackup terra.StringValue `hcl:"source_backup,attr"` // SourceSnapshot: string, optional SourceSnapshot terra.StringValue `hcl:"source_snapshot,attr"` }
type RestoreParametersAttributes ¶
type RestoreParametersAttributes struct {
// contains filtered or unexported fields
}
func (RestoreParametersAttributes) InternalRef ¶
func (rp RestoreParametersAttributes) InternalRef() (terra.Reference, error)
func (RestoreParametersAttributes) InternalTokens ¶
func (rp RestoreParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestoreParametersAttributes) InternalWithRef ¶
func (rp RestoreParametersAttributes) InternalWithRef(ref terra.Reference) RestoreParametersAttributes
func (RestoreParametersAttributes) SourceBackup ¶
func (rp RestoreParametersAttributes) SourceBackup() terra.StringValue
func (RestoreParametersAttributes) SourceSnapshot ¶
func (rp RestoreParametersAttributes) SourceSnapshot() terra.StringValue
type RestoreParametersState ¶
type SnapshotPolicy ¶
type SnapshotPolicy struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // SnapshotPolicyDailySchedule: optional DailySchedule *SnapshotPolicyDailySchedule `hcl:"daily_schedule,block"` // SnapshotPolicyHourlySchedule: optional HourlySchedule *SnapshotPolicyHourlySchedule `hcl:"hourly_schedule,block"` // SnapshotPolicyMonthlySchedule: optional MonthlySchedule *SnapshotPolicyMonthlySchedule `hcl:"monthly_schedule,block"` // SnapshotPolicyWeeklySchedule: optional WeeklySchedule *SnapshotPolicyWeeklySchedule `hcl:"weekly_schedule,block"` }
type SnapshotPolicyAttributes ¶
type SnapshotPolicyAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotPolicyAttributes) DailySchedule ¶
func (sp SnapshotPolicyAttributes) DailySchedule() terra.ListValue[SnapshotPolicyDailyScheduleAttributes]
func (SnapshotPolicyAttributes) Enabled ¶
func (sp SnapshotPolicyAttributes) Enabled() terra.BoolValue
func (SnapshotPolicyAttributes) HourlySchedule ¶
func (sp SnapshotPolicyAttributes) HourlySchedule() terra.ListValue[SnapshotPolicyHourlyScheduleAttributes]
func (SnapshotPolicyAttributes) InternalRef ¶
func (sp SnapshotPolicyAttributes) InternalRef() (terra.Reference, error)
func (SnapshotPolicyAttributes) InternalTokens ¶
func (sp SnapshotPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotPolicyAttributes) InternalWithRef ¶
func (sp SnapshotPolicyAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyAttributes
func (SnapshotPolicyAttributes) MonthlySchedule ¶
func (sp SnapshotPolicyAttributes) MonthlySchedule() terra.ListValue[SnapshotPolicyMonthlyScheduleAttributes]
func (SnapshotPolicyAttributes) WeeklySchedule ¶
func (sp SnapshotPolicyAttributes) WeeklySchedule() terra.ListValue[SnapshotPolicyWeeklyScheduleAttributes]
type SnapshotPolicyDailySchedule ¶
type SnapshotPolicyDailySchedule struct { // Hour: number, optional Hour terra.NumberValue `hcl:"hour,attr"` // Minute: number, optional Minute terra.NumberValue `hcl:"minute,attr"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type SnapshotPolicyDailyScheduleAttributes ¶
type SnapshotPolicyDailyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotPolicyDailyScheduleAttributes) Hour ¶
func (ds SnapshotPolicyDailyScheduleAttributes) Hour() terra.NumberValue
func (SnapshotPolicyDailyScheduleAttributes) InternalRef ¶
func (ds SnapshotPolicyDailyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotPolicyDailyScheduleAttributes) InternalTokens ¶
func (ds SnapshotPolicyDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotPolicyDailyScheduleAttributes) InternalWithRef ¶
func (ds SnapshotPolicyDailyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyDailyScheduleAttributes
func (SnapshotPolicyDailyScheduleAttributes) Minute ¶
func (ds SnapshotPolicyDailyScheduleAttributes) Minute() terra.NumberValue
func (SnapshotPolicyDailyScheduleAttributes) SnapshotsToKeep ¶
func (ds SnapshotPolicyDailyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type SnapshotPolicyHourlySchedule ¶
type SnapshotPolicyHourlySchedule struct { // Minute: number, optional Minute terra.NumberValue `hcl:"minute,attr"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type SnapshotPolicyHourlyScheduleAttributes ¶
type SnapshotPolicyHourlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotPolicyHourlyScheduleAttributes) InternalRef ¶
func (hs SnapshotPolicyHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotPolicyHourlyScheduleAttributes) InternalTokens ¶
func (hs SnapshotPolicyHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotPolicyHourlyScheduleAttributes) InternalWithRef ¶
func (hs SnapshotPolicyHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyHourlyScheduleAttributes
func (SnapshotPolicyHourlyScheduleAttributes) Minute ¶
func (hs SnapshotPolicyHourlyScheduleAttributes) Minute() terra.NumberValue
func (SnapshotPolicyHourlyScheduleAttributes) SnapshotsToKeep ¶
func (hs SnapshotPolicyHourlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type SnapshotPolicyMonthlySchedule ¶
type SnapshotPolicyMonthlySchedule struct { // DaysOfMonth: string, optional DaysOfMonth terra.StringValue `hcl:"days_of_month,attr"` // Hour: number, optional Hour terra.NumberValue `hcl:"hour,attr"` // Minute: number, optional Minute terra.NumberValue `hcl:"minute,attr"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type SnapshotPolicyMonthlyScheduleAttributes ¶
type SnapshotPolicyMonthlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotPolicyMonthlyScheduleAttributes) DaysOfMonth ¶
func (ms SnapshotPolicyMonthlyScheduleAttributes) DaysOfMonth() terra.StringValue
func (SnapshotPolicyMonthlyScheduleAttributes) Hour ¶
func (ms SnapshotPolicyMonthlyScheduleAttributes) Hour() terra.NumberValue
func (SnapshotPolicyMonthlyScheduleAttributes) InternalRef ¶
func (ms SnapshotPolicyMonthlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotPolicyMonthlyScheduleAttributes) InternalTokens ¶
func (ms SnapshotPolicyMonthlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotPolicyMonthlyScheduleAttributes) InternalWithRef ¶
func (ms SnapshotPolicyMonthlyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyMonthlyScheduleAttributes
func (SnapshotPolicyMonthlyScheduleAttributes) Minute ¶
func (ms SnapshotPolicyMonthlyScheduleAttributes) Minute() terra.NumberValue
func (SnapshotPolicyMonthlyScheduleAttributes) SnapshotsToKeep ¶
func (ms SnapshotPolicyMonthlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type SnapshotPolicyState ¶
type SnapshotPolicyState struct { Enabled bool `json:"enabled"` DailySchedule []SnapshotPolicyDailyScheduleState `json:"daily_schedule"` HourlySchedule []SnapshotPolicyHourlyScheduleState `json:"hourly_schedule"` MonthlySchedule []SnapshotPolicyMonthlyScheduleState `json:"monthly_schedule"` WeeklySchedule []SnapshotPolicyWeeklyScheduleState `json:"weekly_schedule"` }
type SnapshotPolicyWeeklySchedule ¶
type SnapshotPolicyWeeklySchedule struct { // Day: string, optional Day terra.StringValue `hcl:"day,attr"` // Hour: number, optional Hour terra.NumberValue `hcl:"hour,attr"` // Minute: number, optional Minute terra.NumberValue `hcl:"minute,attr"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type SnapshotPolicyWeeklyScheduleAttributes ¶
type SnapshotPolicyWeeklyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotPolicyWeeklyScheduleAttributes) Day ¶
func (ws SnapshotPolicyWeeklyScheduleAttributes) Day() terra.StringValue
func (SnapshotPolicyWeeklyScheduleAttributes) Hour ¶
func (ws SnapshotPolicyWeeklyScheduleAttributes) Hour() terra.NumberValue
func (SnapshotPolicyWeeklyScheduleAttributes) InternalRef ¶
func (ws SnapshotPolicyWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
func (SnapshotPolicyWeeklyScheduleAttributes) InternalTokens ¶
func (ws SnapshotPolicyWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotPolicyWeeklyScheduleAttributes) InternalWithRef ¶
func (ws SnapshotPolicyWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) SnapshotPolicyWeeklyScheduleAttributes
func (SnapshotPolicyWeeklyScheduleAttributes) Minute ¶
func (ws SnapshotPolicyWeeklyScheduleAttributes) Minute() terra.NumberValue
func (SnapshotPolicyWeeklyScheduleAttributes) SnapshotsToKeep ¶
func (ws SnapshotPolicyWeeklyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
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.