Documentation ¶
Index ¶
- type Args
- type DailySchedule
- type DailyScheduleAttributes
- func (ds DailyScheduleAttributes) Hour() terra.NumberValue
- func (ds DailyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ds DailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds DailyScheduleAttributes) InternalWithRef(ref terra.Reference) DailyScheduleAttributes
- func (ds DailyScheduleAttributes) Minute() terra.NumberValue
- func (ds DailyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type DailyScheduleState
- type DataArgs
- type DataDailyScheduleAttributes
- func (ds DataDailyScheduleAttributes) Hour() terra.NumberValue
- func (ds DataDailyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ds DataDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds DataDailyScheduleAttributes) InternalWithRef(ref terra.Reference) DataDailyScheduleAttributes
- func (ds DataDailyScheduleAttributes) Minute() terra.NumberValue
- func (ds DataDailyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type DataDailyScheduleState
- type DataHourlyScheduleAttributes
- func (hs DataHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (hs DataHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hs DataHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) DataHourlyScheduleAttributes
- func (hs DataHourlyScheduleAttributes) Minute() terra.NumberValue
- func (hs DataHourlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type DataHourlyScheduleState
- type DataMonthlyScheduleAttributes
- func (ms DataMonthlyScheduleAttributes) DaysOfMonth() terra.SetValue[terra.NumberValue]
- func (ms DataMonthlyScheduleAttributes) Hour() terra.NumberValue
- func (ms DataMonthlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ms DataMonthlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms DataMonthlyScheduleAttributes) InternalWithRef(ref terra.Reference) DataMonthlyScheduleAttributes
- func (ms DataMonthlyScheduleAttributes) Minute() terra.NumberValue
- func (ms DataMonthlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type DataMonthlyScheduleState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type DataWeeklyScheduleAttributes
- func (ws DataWeeklyScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
- func (ws DataWeeklyScheduleAttributes) Hour() terra.NumberValue
- func (ws DataWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ws DataWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ws DataWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) DataWeeklyScheduleAttributes
- func (ws DataWeeklyScheduleAttributes) Minute() terra.NumberValue
- func (ws DataWeeklyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type DataWeeklyScheduleState
- type HourlySchedule
- type HourlyScheduleAttributes
- func (hs HourlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (hs HourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hs HourlyScheduleAttributes) InternalWithRef(ref terra.Reference) HourlyScheduleAttributes
- func (hs HourlyScheduleAttributes) Minute() terra.NumberValue
- func (hs HourlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type HourlyScheduleState
- type MonthlySchedule
- type MonthlyScheduleAttributes
- func (ms MonthlyScheduleAttributes) DaysOfMonth() terra.SetValue[terra.NumberValue]
- func (ms MonthlyScheduleAttributes) Hour() terra.NumberValue
- func (ms MonthlyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ms MonthlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms MonthlyScheduleAttributes) InternalWithRef(ref terra.Reference) MonthlyScheduleAttributes
- func (ms MonthlyScheduleAttributes) Minute() terra.NumberValue
- func (ms MonthlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type MonthlyScheduleState
- type Resource
- func (ansp *Resource) Attributes() azurermNetappSnapshotPolicyAttributes
- func (ansp *Resource) Configuration() interface{}
- func (ansp *Resource) DependOn() terra.Reference
- func (ansp *Resource) Dependencies() terra.Dependencies
- func (ansp *Resource) ImportState(state io.Reader) error
- func (ansp *Resource) LifecycleManagement() *terra.Lifecycle
- func (ansp *Resource) LocalName() string
- func (ansp *Resource) State() (*azurermNetappSnapshotPolicyState, bool)
- func (ansp *Resource) StateMust() *azurermNetappSnapshotPolicyState
- func (ansp *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type WeeklySchedule
- type WeeklyScheduleAttributes
- func (ws WeeklyScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
- func (ws WeeklyScheduleAttributes) Hour() terra.NumberValue
- func (ws WeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ws WeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ws WeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) WeeklyScheduleAttributes
- func (ws WeeklyScheduleAttributes) Minute() terra.NumberValue
- func (ws WeeklyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
- type WeeklyScheduleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AccountName: string, required AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"` // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // DailySchedule: optional DailySchedule *DailySchedule `hcl:"daily_schedule,block"` // HourlySchedule: optional HourlySchedule *HourlySchedule `hcl:"hourly_schedule,block"` // MonthlySchedule: optional MonthlySchedule *MonthlySchedule `hcl:"monthly_schedule,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // WeeklySchedule: optional WeeklySchedule *WeeklySchedule `hcl:"weekly_schedule,block"` }
Args contains the configurations for azurerm_netapp_snapshot_policy.
type DailySchedule ¶
type DailySchedule struct { // Hour: number, required Hour terra.NumberValue `hcl:"hour,attr" validate:"required"` // Minute: number, required Minute terra.NumberValue `hcl:"minute,attr" validate:"required"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type DailyScheduleAttributes ¶
type DailyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DailyScheduleAttributes) Hour ¶
func (ds DailyScheduleAttributes) Hour() terra.NumberValue
func (DailyScheduleAttributes) InternalRef ¶
func (ds DailyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DailyScheduleAttributes) InternalTokens ¶
func (ds DailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DailyScheduleAttributes) InternalWithRef ¶
func (ds DailyScheduleAttributes) InternalWithRef(ref terra.Reference) DailyScheduleAttributes
func (DailyScheduleAttributes) Minute ¶
func (ds DailyScheduleAttributes) Minute() terra.NumberValue
func (DailyScheduleAttributes) SnapshotsToKeep ¶
func (ds DailyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type DailyScheduleState ¶
type DataArgs ¶
type DataArgs struct { // AccountName: string, required AccountName terra.StringValue `hcl:"account_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_netapp_snapshot_policy.
type DataDailyScheduleAttributes ¶
type DataDailyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataDailyScheduleAttributes) Hour ¶
func (ds DataDailyScheduleAttributes) Hour() terra.NumberValue
func (DataDailyScheduleAttributes) InternalRef ¶
func (ds DataDailyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataDailyScheduleAttributes) InternalTokens ¶
func (ds DataDailyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDailyScheduleAttributes) InternalWithRef ¶
func (ds DataDailyScheduleAttributes) InternalWithRef(ref terra.Reference) DataDailyScheduleAttributes
func (DataDailyScheduleAttributes) Minute ¶
func (ds DataDailyScheduleAttributes) Minute() terra.NumberValue
func (DataDailyScheduleAttributes) SnapshotsToKeep ¶
func (ds DataDailyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type DataDailyScheduleState ¶
type DataHourlyScheduleAttributes ¶
type DataHourlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataHourlyScheduleAttributes) InternalRef ¶
func (hs DataHourlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataHourlyScheduleAttributes) InternalTokens ¶
func (hs DataHourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataHourlyScheduleAttributes) InternalWithRef ¶
func (hs DataHourlyScheduleAttributes) InternalWithRef(ref terra.Reference) DataHourlyScheduleAttributes
func (DataHourlyScheduleAttributes) Minute ¶
func (hs DataHourlyScheduleAttributes) Minute() terra.NumberValue
func (DataHourlyScheduleAttributes) SnapshotsToKeep ¶
func (hs DataHourlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type DataHourlyScheduleState ¶
type DataMonthlyScheduleAttributes ¶
type DataMonthlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataMonthlyScheduleAttributes) DaysOfMonth ¶
func (ms DataMonthlyScheduleAttributes) DaysOfMonth() terra.SetValue[terra.NumberValue]
func (DataMonthlyScheduleAttributes) Hour ¶
func (ms DataMonthlyScheduleAttributes) Hour() terra.NumberValue
func (DataMonthlyScheduleAttributes) InternalRef ¶
func (ms DataMonthlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataMonthlyScheduleAttributes) InternalTokens ¶
func (ms DataMonthlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMonthlyScheduleAttributes) InternalWithRef ¶
func (ms DataMonthlyScheduleAttributes) InternalWithRef(ref terra.Reference) DataMonthlyScheduleAttributes
func (DataMonthlyScheduleAttributes) Minute ¶
func (ms DataMonthlyScheduleAttributes) Minute() terra.NumberValue
func (DataMonthlyScheduleAttributes) SnapshotsToKeep ¶
func (ms DataMonthlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type DataSource ¶
DataSource represents the Terraform data resource azurerm_netapp_snapshot_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ansp *DataSource) Attributes() dataAzurermNetappSnapshotPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ansp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ansp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ansp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type DataWeeklyScheduleAttributes ¶
type DataWeeklyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (DataWeeklyScheduleAttributes) DaysOfWeek ¶
func (ws DataWeeklyScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
func (DataWeeklyScheduleAttributes) Hour ¶
func (ws DataWeeklyScheduleAttributes) Hour() terra.NumberValue
func (DataWeeklyScheduleAttributes) InternalRef ¶
func (ws DataWeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
func (DataWeeklyScheduleAttributes) InternalTokens ¶
func (ws DataWeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataWeeklyScheduleAttributes) InternalWithRef ¶
func (ws DataWeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) DataWeeklyScheduleAttributes
func (DataWeeklyScheduleAttributes) Minute ¶
func (ws DataWeeklyScheduleAttributes) Minute() terra.NumberValue
func (DataWeeklyScheduleAttributes) SnapshotsToKeep ¶
func (ws DataWeeklyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type DataWeeklyScheduleState ¶
type HourlySchedule ¶
type HourlySchedule struct { // Minute: number, required Minute terra.NumberValue `hcl:"minute,attr" validate:"required"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type HourlyScheduleAttributes ¶
type HourlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (HourlyScheduleAttributes) InternalRef ¶
func (hs HourlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (HourlyScheduleAttributes) InternalTokens ¶
func (hs HourlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HourlyScheduleAttributes) InternalWithRef ¶
func (hs HourlyScheduleAttributes) InternalWithRef(ref terra.Reference) HourlyScheduleAttributes
func (HourlyScheduleAttributes) Minute ¶
func (hs HourlyScheduleAttributes) Minute() terra.NumberValue
func (HourlyScheduleAttributes) SnapshotsToKeep ¶
func (hs HourlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type HourlyScheduleState ¶
type MonthlySchedule ¶
type MonthlySchedule struct { // DaysOfMonth: set of number, required DaysOfMonth terra.SetValue[terra.NumberValue] `hcl:"days_of_month,attr" validate:"required"` // Hour: number, required Hour terra.NumberValue `hcl:"hour,attr" validate:"required"` // Minute: number, required Minute terra.NumberValue `hcl:"minute,attr" validate:"required"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type MonthlyScheduleAttributes ¶
type MonthlyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (MonthlyScheduleAttributes) DaysOfMonth ¶
func (ms MonthlyScheduleAttributes) DaysOfMonth() terra.SetValue[terra.NumberValue]
func (MonthlyScheduleAttributes) Hour ¶
func (ms MonthlyScheduleAttributes) Hour() terra.NumberValue
func (MonthlyScheduleAttributes) InternalRef ¶
func (ms MonthlyScheduleAttributes) InternalRef() (terra.Reference, error)
func (MonthlyScheduleAttributes) InternalTokens ¶
func (ms MonthlyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MonthlyScheduleAttributes) InternalWithRef ¶
func (ms MonthlyScheduleAttributes) InternalWithRef(ref terra.Reference) MonthlyScheduleAttributes
func (MonthlyScheduleAttributes) Minute ¶
func (ms MonthlyScheduleAttributes) Minute() terra.NumberValue
func (MonthlyScheduleAttributes) SnapshotsToKeep ¶
func (ms MonthlyScheduleAttributes) SnapshotsToKeep() terra.NumberValue
type MonthlyScheduleState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_netapp_snapshot_policy.
func (*Resource) Attributes ¶
func (ansp *Resource) Attributes() azurermNetappSnapshotPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ansp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ansp *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type WeeklySchedule ¶
type WeeklySchedule struct { // DaysOfWeek: set of string, required DaysOfWeek terra.SetValue[terra.StringValue] `hcl:"days_of_week,attr" validate:"required"` // Hour: number, required Hour terra.NumberValue `hcl:"hour,attr" validate:"required"` // Minute: number, required Minute terra.NumberValue `hcl:"minute,attr" validate:"required"` // SnapshotsToKeep: number, required SnapshotsToKeep terra.NumberValue `hcl:"snapshots_to_keep,attr" validate:"required"` }
type WeeklyScheduleAttributes ¶
type WeeklyScheduleAttributes struct {
// contains filtered or unexported fields
}
func (WeeklyScheduleAttributes) DaysOfWeek ¶
func (ws WeeklyScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
func (WeeklyScheduleAttributes) Hour ¶
func (ws WeeklyScheduleAttributes) Hour() terra.NumberValue
func (WeeklyScheduleAttributes) InternalRef ¶
func (ws WeeklyScheduleAttributes) InternalRef() (terra.Reference, error)
func (WeeklyScheduleAttributes) InternalTokens ¶
func (ws WeeklyScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WeeklyScheduleAttributes) InternalWithRef ¶
func (ws WeeklyScheduleAttributes) InternalWithRef(ref terra.Reference) WeeklyScheduleAttributes
func (WeeklyScheduleAttributes) Minute ¶
func (ws WeeklyScheduleAttributes) Minute() terra.NumberValue
func (WeeklyScheduleAttributes) SnapshotsToKeep ¶
func (ws WeeklyScheduleAttributes) SnapshotsToKeep() terra.NumberValue