Documentation ¶
Index ¶
- type Args
- type Resource
- func (acmsa *Resource) Attributes() azurermCostManagementScheduledActionAttributes
- func (acmsa *Resource) Configuration() interface{}
- func (acmsa *Resource) DependOn() terra.Reference
- func (acmsa *Resource) Dependencies() terra.Dependencies
- func (acmsa *Resource) ImportState(state io.Reader) error
- func (acmsa *Resource) LifecycleManagement() *terra.Lifecycle
- func (acmsa *Resource) LocalName() string
- func (acmsa *Resource) State() (*azurermCostManagementScheduledActionState, bool)
- func (acmsa *Resource) StateMust() *azurermCostManagementScheduledActionState
- func (acmsa *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 { // DayOfMonth: number, optional DayOfMonth terra.NumberValue `hcl:"day_of_month,attr"` // DaysOfWeek: list of string, optional DaysOfWeek terra.ListValue[terra.StringValue] `hcl:"days_of_week,attr"` // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // EmailAddressSender: string, required EmailAddressSender terra.StringValue `hcl:"email_address_sender,attr" validate:"required"` // EmailAddresses: list of string, required EmailAddresses terra.ListValue[terra.StringValue] `hcl:"email_addresses,attr" validate:"required"` // EmailSubject: string, required EmailSubject terra.StringValue `hcl:"email_subject,attr" validate:"required"` // EndDate: string, required EndDate terra.StringValue `hcl:"end_date,attr" validate:"required"` // Frequency: string, required Frequency terra.StringValue `hcl:"frequency,attr" validate:"required"` // HourOfDay: number, optional HourOfDay terra.NumberValue `hcl:"hour_of_day,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Message: string, optional Message terra.StringValue `hcl:"message,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // StartDate: string, required StartDate terra.StringValue `hcl:"start_date,attr" validate:"required"` // ViewId: string, required ViewId terra.StringValue `hcl:"view_id,attr" validate:"required"` // WeeksOfMonth: list of string, optional WeeksOfMonth terra.ListValue[terra.StringValue] `hcl:"weeks_of_month,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_cost_management_scheduled_action.
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_cost_management_scheduled_action.
func (*Resource) Attributes ¶
func (acmsa *Resource) Attributes() azurermCostManagementScheduledActionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acmsa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acmsa *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.