Documentation ¶
Index ¶
- type Args
- type NotificationSettings
- type NotificationSettingsAttributes
- func (ns NotificationSettingsAttributes) Email() terra.StringValue
- func (ns NotificationSettingsAttributes) Enabled() terra.BoolValue
- func (ns NotificationSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ns NotificationSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ns NotificationSettingsAttributes) InternalWithRef(ref terra.Reference) NotificationSettingsAttributes
- func (ns NotificationSettingsAttributes) TimeInMinutes() terra.NumberValue
- func (ns NotificationSettingsAttributes) WebhookUrl() terra.StringValue
- type NotificationSettingsState
- type Resource
- func (adtgvss *Resource) Attributes() azurermDevTestGlobalVmShutdownScheduleAttributes
- func (adtgvss *Resource) Configuration() interface{}
- func (adtgvss *Resource) DependOn() terra.Reference
- func (adtgvss *Resource) Dependencies() terra.Dependencies
- func (adtgvss *Resource) ImportState(state io.Reader) error
- func (adtgvss *Resource) LifecycleManagement() *terra.Lifecycle
- func (adtgvss *Resource) LocalName() string
- func (adtgvss *Resource) State() (*azurermDevTestGlobalVmShutdownScheduleState, bool)
- func (adtgvss *Resource) StateMust() *azurermDevTestGlobalVmShutdownScheduleState
- func (adtgvss *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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DailyRecurrenceTime: string, required DailyRecurrenceTime terra.StringValue `hcl:"daily_recurrence_time,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Timezone: string, required Timezone terra.StringValue `hcl:"timezone,attr" validate:"required"` // VirtualMachineId: string, required VirtualMachineId terra.StringValue `hcl:"virtual_machine_id,attr" validate:"required"` // NotificationSettings: required NotificationSettings *NotificationSettings `hcl:"notification_settings,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_dev_test_global_vm_shutdown_schedule.
type NotificationSettings ¶
type NotificationSettings struct { // Email: string, optional Email terra.StringValue `hcl:"email,attr"` // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // TimeInMinutes: number, optional TimeInMinutes terra.NumberValue `hcl:"time_in_minutes,attr"` // WebhookUrl: string, optional WebhookUrl terra.StringValue `hcl:"webhook_url,attr"` }
type NotificationSettingsAttributes ¶
type NotificationSettingsAttributes struct {
// contains filtered or unexported fields
}
func (NotificationSettingsAttributes) Email ¶
func (ns NotificationSettingsAttributes) Email() terra.StringValue
func (NotificationSettingsAttributes) Enabled ¶
func (ns NotificationSettingsAttributes) Enabled() terra.BoolValue
func (NotificationSettingsAttributes) InternalRef ¶
func (ns NotificationSettingsAttributes) InternalRef() (terra.Reference, error)
func (NotificationSettingsAttributes) InternalTokens ¶
func (ns NotificationSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotificationSettingsAttributes) InternalWithRef ¶
func (ns NotificationSettingsAttributes) InternalWithRef(ref terra.Reference) NotificationSettingsAttributes
func (NotificationSettingsAttributes) TimeInMinutes ¶
func (ns NotificationSettingsAttributes) TimeInMinutes() terra.NumberValue
func (NotificationSettingsAttributes) WebhookUrl ¶
func (ns NotificationSettingsAttributes) WebhookUrl() terra.StringValue
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_dev_test_global_vm_shutdown_schedule.
func (*Resource) Attributes ¶
func (adtgvss *Resource) Attributes() azurermDevTestGlobalVmShutdownScheduleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adtgvss *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adtgvss *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
Click to show internal directories.
Click to hide internal directories.