Documentation ¶
Index ¶
- type Args
- type Resource
- func (arpr *Resource) Attributes() azurermResourcePolicyRemediationAttributes
- func (arpr *Resource) Configuration() interface{}
- func (arpr *Resource) DependOn() terra.Reference
- func (arpr *Resource) Dependencies() terra.Dependencies
- func (arpr *Resource) ImportState(state io.Reader) error
- func (arpr *Resource) LifecycleManagement() *terra.Lifecycle
- func (arpr *Resource) LocalName() string
- func (arpr *Resource) State() (*azurermResourcePolicyRemediationState, bool)
- func (arpr *Resource) StateMust() *azurermResourcePolicyRemediationState
- func (arpr *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 { // FailurePercentage: number, optional FailurePercentage terra.NumberValue `hcl:"failure_percentage,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LocationFilters: list of string, optional LocationFilters terra.ListValue[terra.StringValue] `hcl:"location_filters,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ParallelDeployments: number, optional ParallelDeployments terra.NumberValue `hcl:"parallel_deployments,attr"` // PolicyAssignmentId: string, required PolicyAssignmentId terra.StringValue `hcl:"policy_assignment_id,attr" validate:"required"` // PolicyDefinitionId: string, optional PolicyDefinitionId terra.StringValue `hcl:"policy_definition_id,attr"` // PolicyDefinitionReferenceId: string, optional PolicyDefinitionReferenceId terra.StringValue `hcl:"policy_definition_reference_id,attr"` // ResourceCount: number, optional ResourceCount terra.NumberValue `hcl:"resource_count,attr"` // ResourceDiscoveryMode: string, optional ResourceDiscoveryMode terra.StringValue `hcl:"resource_discovery_mode,attr"` // ResourceId: string, required ResourceId terra.StringValue `hcl:"resource_id,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_resource_policy_remediation.
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_resource_policy_remediation.
func (*Resource) Attributes ¶
func (arpr *Resource) Attributes() azurermResourcePolicyRemediationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arpr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arpr *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.