Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) ActionGroupId() terra.StringValue
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- func (a ActionAttributes) WebhookProperties() terra.MapValue[terra.StringValue]
- type ActionState
- type Args
- type Criteria
- type CriteriaAttributes
- func (c CriteriaAttributes) Caller() terra.StringValue
- func (c CriteriaAttributes) Category() terra.StringValue
- func (c CriteriaAttributes) InternalRef() (terra.Reference, error)
- func (c CriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CriteriaAttributes) InternalWithRef(ref terra.Reference) CriteriaAttributes
- func (c CriteriaAttributes) Level() terra.StringValue
- func (c CriteriaAttributes) Levels() terra.ListValue[terra.StringValue]
- func (c CriteriaAttributes) OperationName() terra.StringValue
- func (c CriteriaAttributes) RecommendationCategory() terra.StringValue
- func (c CriteriaAttributes) RecommendationImpact() terra.StringValue
- func (c CriteriaAttributes) RecommendationType() terra.StringValue
- func (c CriteriaAttributes) ResourceGroup() terra.StringValue
- func (c CriteriaAttributes) ResourceGroups() terra.ListValue[terra.StringValue]
- func (c CriteriaAttributes) ResourceHealth() terra.ListValue[CriteriaResourceHealthAttributes]
- func (c CriteriaAttributes) ResourceId() terra.StringValue
- func (c CriteriaAttributes) ResourceIds() terra.ListValue[terra.StringValue]
- func (c CriteriaAttributes) ResourceProvider() terra.StringValue
- func (c CriteriaAttributes) ResourceProviders() terra.ListValue[terra.StringValue]
- func (c CriteriaAttributes) ResourceType() terra.StringValue
- func (c CriteriaAttributes) ResourceTypes() terra.ListValue[terra.StringValue]
- func (c CriteriaAttributes) ServiceHealth() terra.ListValue[CriteriaServiceHealthAttributes]
- func (c CriteriaAttributes) Status() terra.StringValue
- func (c CriteriaAttributes) Statuses() terra.ListValue[terra.StringValue]
- func (c CriteriaAttributes) SubStatus() terra.StringValue
- func (c CriteriaAttributes) SubStatuses() terra.ListValue[terra.StringValue]
- type CriteriaResourceHealth
- type CriteriaResourceHealthAttributes
- func (rh CriteriaResourceHealthAttributes) Current() terra.SetValue[terra.StringValue]
- func (rh CriteriaResourceHealthAttributes) InternalRef() (terra.Reference, error)
- func (rh CriteriaResourceHealthAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rh CriteriaResourceHealthAttributes) InternalWithRef(ref terra.Reference) CriteriaResourceHealthAttributes
- func (rh CriteriaResourceHealthAttributes) Previous() terra.SetValue[terra.StringValue]
- func (rh CriteriaResourceHealthAttributes) Reason() terra.SetValue[terra.StringValue]
- type CriteriaResourceHealthState
- type CriteriaServiceHealth
- type CriteriaServiceHealthAttributes
- func (sh CriteriaServiceHealthAttributes) Events() terra.SetValue[terra.StringValue]
- func (sh CriteriaServiceHealthAttributes) InternalRef() (terra.Reference, error)
- func (sh CriteriaServiceHealthAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sh CriteriaServiceHealthAttributes) InternalWithRef(ref terra.Reference) CriteriaServiceHealthAttributes
- func (sh CriteriaServiceHealthAttributes) Locations() terra.SetValue[terra.StringValue]
- func (sh CriteriaServiceHealthAttributes) Services() terra.SetValue[terra.StringValue]
- type CriteriaServiceHealthState
- type CriteriaState
- type Resource
- func (amala *Resource) Attributes() azurermMonitorActivityLogAlertAttributes
- func (amala *Resource) Configuration() interface{}
- func (amala *Resource) DependOn() terra.Reference
- func (amala *Resource) Dependencies() terra.Dependencies
- func (amala *Resource) ImportState(state io.Reader) error
- func (amala *Resource) LifecycleManagement() *terra.Lifecycle
- func (amala *Resource) LocalName() string
- func (amala *Resource) State() (*azurermMonitorActivityLogAlertState, bool)
- func (amala *Resource) StateMust() *azurermMonitorActivityLogAlertState
- func (amala *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 Action ¶
type Action struct { // ActionGroupId: string, required ActionGroupId terra.StringValue `hcl:"action_group_id,attr" validate:"required"` // WebhookProperties: map of string, optional WebhookProperties terra.MapValue[terra.StringValue] `hcl:"webhook_properties,attr"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) ActionGroupId ¶
func (a ActionAttributes) ActionGroupId() terra.StringValue
func (ActionAttributes) InternalRef ¶
func (a ActionAttributes) InternalRef() (terra.Reference, error)
func (ActionAttributes) InternalTokens ¶
func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAttributes) InternalWithRef ¶
func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
func (ActionAttributes) WebhookProperties ¶
func (a ActionAttributes) WebhookProperties() terra.MapValue[terra.StringValue]
type ActionState ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // 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"` // Scopes: set of string, required Scopes terra.SetValue[terra.StringValue] `hcl:"scopes,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Action: min=0 Action []Action `hcl:"action,block" validate:"min=0"` // Criteria: required Criteria *Criteria `hcl:"criteria,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_monitor_activity_log_alert.
type Criteria ¶
type Criteria struct { // Caller: string, optional Caller terra.StringValue `hcl:"caller,attr"` // Category: string, required Category terra.StringValue `hcl:"category,attr" validate:"required"` // Level: string, optional Level terra.StringValue `hcl:"level,attr"` // Levels: list of string, optional Levels terra.ListValue[terra.StringValue] `hcl:"levels,attr"` // OperationName: string, optional OperationName terra.StringValue `hcl:"operation_name,attr"` // RecommendationCategory: string, optional RecommendationCategory terra.StringValue `hcl:"recommendation_category,attr"` // RecommendationImpact: string, optional RecommendationImpact terra.StringValue `hcl:"recommendation_impact,attr"` // RecommendationType: string, optional RecommendationType terra.StringValue `hcl:"recommendation_type,attr"` // ResourceGroup: string, optional ResourceGroup terra.StringValue `hcl:"resource_group,attr"` // ResourceGroups: list of string, optional ResourceGroups terra.ListValue[terra.StringValue] `hcl:"resource_groups,attr"` // ResourceId: string, optional ResourceId terra.StringValue `hcl:"resource_id,attr"` // ResourceIds: list of string, optional ResourceIds terra.ListValue[terra.StringValue] `hcl:"resource_ids,attr"` // ResourceProvider: string, optional ResourceProvider terra.StringValue `hcl:"resource_provider,attr"` // ResourceProviders: list of string, optional ResourceProviders terra.ListValue[terra.StringValue] `hcl:"resource_providers,attr"` // ResourceType: string, optional ResourceType terra.StringValue `hcl:"resource_type,attr"` // ResourceTypes: list of string, optional ResourceTypes terra.ListValue[terra.StringValue] `hcl:"resource_types,attr"` // Status: string, optional Status terra.StringValue `hcl:"status,attr"` // Statuses: list of string, optional Statuses terra.ListValue[terra.StringValue] `hcl:"statuses,attr"` // SubStatus: string, optional SubStatus terra.StringValue `hcl:"sub_status,attr"` // SubStatuses: list of string, optional SubStatuses terra.ListValue[terra.StringValue] `hcl:"sub_statuses,attr"` // CriteriaResourceHealth: optional ResourceHealth *CriteriaResourceHealth `hcl:"resource_health,block"` // CriteriaServiceHealth: optional ServiceHealth *CriteriaServiceHealth `hcl:"service_health,block"` }
type CriteriaAttributes ¶
type CriteriaAttributes struct {
// contains filtered or unexported fields
}
func (CriteriaAttributes) Caller ¶
func (c CriteriaAttributes) Caller() terra.StringValue
func (CriteriaAttributes) Category ¶
func (c CriteriaAttributes) Category() terra.StringValue
func (CriteriaAttributes) InternalRef ¶
func (c CriteriaAttributes) InternalRef() (terra.Reference, error)
func (CriteriaAttributes) InternalTokens ¶
func (c CriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CriteriaAttributes) InternalWithRef ¶
func (c CriteriaAttributes) InternalWithRef(ref terra.Reference) CriteriaAttributes
func (CriteriaAttributes) Level ¶
func (c CriteriaAttributes) Level() terra.StringValue
func (CriteriaAttributes) Levels ¶
func (c CriteriaAttributes) Levels() terra.ListValue[terra.StringValue]
func (CriteriaAttributes) OperationName ¶
func (c CriteriaAttributes) OperationName() terra.StringValue
func (CriteriaAttributes) RecommendationCategory ¶
func (c CriteriaAttributes) RecommendationCategory() terra.StringValue
func (CriteriaAttributes) RecommendationImpact ¶
func (c CriteriaAttributes) RecommendationImpact() terra.StringValue
func (CriteriaAttributes) RecommendationType ¶
func (c CriteriaAttributes) RecommendationType() terra.StringValue
func (CriteriaAttributes) ResourceGroup ¶
func (c CriteriaAttributes) ResourceGroup() terra.StringValue
func (CriteriaAttributes) ResourceGroups ¶
func (c CriteriaAttributes) ResourceGroups() terra.ListValue[terra.StringValue]
func (CriteriaAttributes) ResourceHealth ¶
func (c CriteriaAttributes) ResourceHealth() terra.ListValue[CriteriaResourceHealthAttributes]
func (CriteriaAttributes) ResourceId ¶
func (c CriteriaAttributes) ResourceId() terra.StringValue
func (CriteriaAttributes) ResourceIds ¶
func (c CriteriaAttributes) ResourceIds() terra.ListValue[terra.StringValue]
func (CriteriaAttributes) ResourceProvider ¶
func (c CriteriaAttributes) ResourceProvider() terra.StringValue
func (CriteriaAttributes) ResourceProviders ¶
func (c CriteriaAttributes) ResourceProviders() terra.ListValue[terra.StringValue]
func (CriteriaAttributes) ResourceType ¶
func (c CriteriaAttributes) ResourceType() terra.StringValue
func (CriteriaAttributes) ResourceTypes ¶
func (c CriteriaAttributes) ResourceTypes() terra.ListValue[terra.StringValue]
func (CriteriaAttributes) ServiceHealth ¶
func (c CriteriaAttributes) ServiceHealth() terra.ListValue[CriteriaServiceHealthAttributes]
func (CriteriaAttributes) Status ¶
func (c CriteriaAttributes) Status() terra.StringValue
func (CriteriaAttributes) Statuses ¶
func (c CriteriaAttributes) Statuses() terra.ListValue[terra.StringValue]
func (CriteriaAttributes) SubStatus ¶
func (c CriteriaAttributes) SubStatus() terra.StringValue
func (CriteriaAttributes) SubStatuses ¶
func (c CriteriaAttributes) SubStatuses() terra.ListValue[terra.StringValue]
type CriteriaResourceHealth ¶
type CriteriaResourceHealth struct { // Current: set of string, optional Current terra.SetValue[terra.StringValue] `hcl:"current,attr"` // Previous: set of string, optional Previous terra.SetValue[terra.StringValue] `hcl:"previous,attr"` // Reason: set of string, optional Reason terra.SetValue[terra.StringValue] `hcl:"reason,attr"` }
type CriteriaResourceHealthAttributes ¶
type CriteriaResourceHealthAttributes struct {
// contains filtered or unexported fields
}
func (CriteriaResourceHealthAttributes) Current ¶
func (rh CriteriaResourceHealthAttributes) Current() terra.SetValue[terra.StringValue]
func (CriteriaResourceHealthAttributes) InternalRef ¶
func (rh CriteriaResourceHealthAttributes) InternalRef() (terra.Reference, error)
func (CriteriaResourceHealthAttributes) InternalTokens ¶
func (rh CriteriaResourceHealthAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CriteriaResourceHealthAttributes) InternalWithRef ¶
func (rh CriteriaResourceHealthAttributes) InternalWithRef(ref terra.Reference) CriteriaResourceHealthAttributes
func (CriteriaResourceHealthAttributes) Previous ¶
func (rh CriteriaResourceHealthAttributes) Previous() terra.SetValue[terra.StringValue]
func (CriteriaResourceHealthAttributes) Reason ¶
func (rh CriteriaResourceHealthAttributes) Reason() terra.SetValue[terra.StringValue]
type CriteriaServiceHealth ¶
type CriteriaServiceHealth struct { // Events: set of string, optional Events terra.SetValue[terra.StringValue] `hcl:"events,attr"` // Locations: set of string, optional Locations terra.SetValue[terra.StringValue] `hcl:"locations,attr"` // Services: set of string, optional Services terra.SetValue[terra.StringValue] `hcl:"services,attr"` }
type CriteriaServiceHealthAttributes ¶
type CriteriaServiceHealthAttributes struct {
// contains filtered or unexported fields
}
func (CriteriaServiceHealthAttributes) Events ¶
func (sh CriteriaServiceHealthAttributes) Events() terra.SetValue[terra.StringValue]
func (CriteriaServiceHealthAttributes) InternalRef ¶
func (sh CriteriaServiceHealthAttributes) InternalRef() (terra.Reference, error)
func (CriteriaServiceHealthAttributes) InternalTokens ¶
func (sh CriteriaServiceHealthAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CriteriaServiceHealthAttributes) InternalWithRef ¶
func (sh CriteriaServiceHealthAttributes) InternalWithRef(ref terra.Reference) CriteriaServiceHealthAttributes
func (CriteriaServiceHealthAttributes) Locations ¶
func (sh CriteriaServiceHealthAttributes) Locations() terra.SetValue[terra.StringValue]
func (CriteriaServiceHealthAttributes) Services ¶
func (sh CriteriaServiceHealthAttributes) Services() terra.SetValue[terra.StringValue]
type CriteriaState ¶
type CriteriaState struct { Caller string `json:"caller"` Category string `json:"category"` Level string `json:"level"` Levels []string `json:"levels"` OperationName string `json:"operation_name"` RecommendationCategory string `json:"recommendation_category"` RecommendationImpact string `json:"recommendation_impact"` RecommendationType string `json:"recommendation_type"` ResourceGroup string `json:"resource_group"` ResourceGroups []string `json:"resource_groups"` ResourceId string `json:"resource_id"` ResourceIds []string `json:"resource_ids"` ResourceProvider string `json:"resource_provider"` ResourceProviders []string `json:"resource_providers"` ResourceType string `json:"resource_type"` ResourceTypes []string `json:"resource_types"` Status string `json:"status"` Statuses []string `json:"statuses"` SubStatus string `json:"sub_status"` SubStatuses []string `json:"sub_statuses"` ResourceHealth []CriteriaResourceHealthState `json:"resource_health"` ServiceHealth []CriteriaServiceHealthState `json:"service_health"` }
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_monitor_activity_log_alert.
func (*Resource) Attributes ¶
func (amala *Resource) Attributes() azurermMonitorActivityLogAlertAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (amala *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (amala *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.