Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataPolicyDefinitionGroupAttributes
- func (pdg DataPolicyDefinitionGroupAttributes) AdditionalMetadataResourceId() terra.StringValue
- func (pdg DataPolicyDefinitionGroupAttributes) Category() terra.StringValue
- func (pdg DataPolicyDefinitionGroupAttributes) Description() terra.StringValue
- func (pdg DataPolicyDefinitionGroupAttributes) DisplayName() terra.StringValue
- func (pdg DataPolicyDefinitionGroupAttributes) InternalRef() (terra.Reference, error)
- func (pdg DataPolicyDefinitionGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pdg DataPolicyDefinitionGroupAttributes) InternalWithRef(ref terra.Reference) DataPolicyDefinitionGroupAttributes
- func (pdg DataPolicyDefinitionGroupAttributes) Name() terra.StringValue
- type DataPolicyDefinitionGroupState
- type DataPolicyDefinitionReferenceAttributes
- func (pdr DataPolicyDefinitionReferenceAttributes) InternalRef() (terra.Reference, error)
- func (pdr DataPolicyDefinitionReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pdr DataPolicyDefinitionReferenceAttributes) InternalWithRef(ref terra.Reference) DataPolicyDefinitionReferenceAttributes
- func (pdr DataPolicyDefinitionReferenceAttributes) ParameterValues() terra.StringValue
- func (pdr DataPolicyDefinitionReferenceAttributes) Parameters() terra.MapValue[terra.StringValue]
- func (pdr DataPolicyDefinitionReferenceAttributes) PolicyDefinitionId() terra.StringValue
- func (pdr DataPolicyDefinitionReferenceAttributes) PolicyGroupNames() terra.ListValue[terra.StringValue]
- func (pdr DataPolicyDefinitionReferenceAttributes) ReferenceId() terra.StringValue
- type DataPolicyDefinitionReferenceState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type PolicyDefinitionGroup
- type PolicyDefinitionGroupAttributes
- func (pdg PolicyDefinitionGroupAttributes) AdditionalMetadataResourceId() terra.StringValue
- func (pdg PolicyDefinitionGroupAttributes) Category() terra.StringValue
- func (pdg PolicyDefinitionGroupAttributes) Description() terra.StringValue
- func (pdg PolicyDefinitionGroupAttributes) DisplayName() terra.StringValue
- func (pdg PolicyDefinitionGroupAttributes) InternalRef() (terra.Reference, error)
- func (pdg PolicyDefinitionGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pdg PolicyDefinitionGroupAttributes) InternalWithRef(ref terra.Reference) PolicyDefinitionGroupAttributes
- func (pdg PolicyDefinitionGroupAttributes) Name() terra.StringValue
- type PolicyDefinitionGroupState
- type PolicyDefinitionReference
- type PolicyDefinitionReferenceAttributes
- func (pdr PolicyDefinitionReferenceAttributes) InternalRef() (terra.Reference, error)
- func (pdr PolicyDefinitionReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pdr PolicyDefinitionReferenceAttributes) InternalWithRef(ref terra.Reference) PolicyDefinitionReferenceAttributes
- func (pdr PolicyDefinitionReferenceAttributes) ParameterValues() terra.StringValue
- func (pdr PolicyDefinitionReferenceAttributes) PolicyDefinitionId() terra.StringValue
- func (pdr PolicyDefinitionReferenceAttributes) PolicyGroupNames() terra.SetValue[terra.StringValue]
- func (pdr PolicyDefinitionReferenceAttributes) ReferenceId() terra.StringValue
- type PolicyDefinitionReferenceState
- type Resource
- func (apsd *Resource) Attributes() azurermPolicySetDefinitionAttributes
- func (apsd *Resource) Configuration() interface{}
- func (apsd *Resource) DependOn() terra.Reference
- func (apsd *Resource) Dependencies() terra.Dependencies
- func (apsd *Resource) ImportState(state io.Reader) error
- func (apsd *Resource) LifecycleManagement() *terra.Lifecycle
- func (apsd *Resource) LocalName() string
- func (apsd *Resource) State() (*azurermPolicySetDefinitionState, bool)
- func (apsd *Resource) StateMust() *azurermPolicySetDefinitionState
- func (apsd *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 { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ManagementGroupId: string, optional ManagementGroupId terra.StringValue `hcl:"management_group_id,attr"` // Metadata: string, optional Metadata terra.StringValue `hcl:"metadata,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Parameters: string, optional Parameters terra.StringValue `hcl:"parameters,attr"` // PolicyType: string, required PolicyType terra.StringValue `hcl:"policy_type,attr" validate:"required"` // PolicyDefinitionGroup: min=0 PolicyDefinitionGroup []PolicyDefinitionGroup `hcl:"policy_definition_group,block" validate:"min=0"` // PolicyDefinitionReference: min=1 PolicyDefinitionReference []PolicyDefinitionReference `hcl:"policy_definition_reference,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_policy_set_definition.
type DataArgs ¶
type DataArgs struct { // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ManagementGroupName: string, optional ManagementGroupName terra.StringValue `hcl:"management_group_name,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_policy_set_definition.
type DataPolicyDefinitionGroupAttributes ¶
type DataPolicyDefinitionGroupAttributes struct {
// contains filtered or unexported fields
}
func (DataPolicyDefinitionGroupAttributes) AdditionalMetadataResourceId ¶
func (pdg DataPolicyDefinitionGroupAttributes) AdditionalMetadataResourceId() terra.StringValue
func (DataPolicyDefinitionGroupAttributes) Category ¶
func (pdg DataPolicyDefinitionGroupAttributes) Category() terra.StringValue
func (DataPolicyDefinitionGroupAttributes) Description ¶
func (pdg DataPolicyDefinitionGroupAttributes) Description() terra.StringValue
func (DataPolicyDefinitionGroupAttributes) DisplayName ¶
func (pdg DataPolicyDefinitionGroupAttributes) DisplayName() terra.StringValue
func (DataPolicyDefinitionGroupAttributes) InternalRef ¶
func (pdg DataPolicyDefinitionGroupAttributes) InternalRef() (terra.Reference, error)
func (DataPolicyDefinitionGroupAttributes) InternalTokens ¶
func (pdg DataPolicyDefinitionGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataPolicyDefinitionGroupAttributes) InternalWithRef ¶
func (pdg DataPolicyDefinitionGroupAttributes) InternalWithRef(ref terra.Reference) DataPolicyDefinitionGroupAttributes
func (DataPolicyDefinitionGroupAttributes) Name ¶
func (pdg DataPolicyDefinitionGroupAttributes) Name() terra.StringValue
type DataPolicyDefinitionReferenceAttributes ¶
type DataPolicyDefinitionReferenceAttributes struct {
// contains filtered or unexported fields
}
func (DataPolicyDefinitionReferenceAttributes) InternalRef ¶
func (pdr DataPolicyDefinitionReferenceAttributes) InternalRef() (terra.Reference, error)
func (DataPolicyDefinitionReferenceAttributes) InternalTokens ¶
func (pdr DataPolicyDefinitionReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataPolicyDefinitionReferenceAttributes) InternalWithRef ¶
func (pdr DataPolicyDefinitionReferenceAttributes) InternalWithRef(ref terra.Reference) DataPolicyDefinitionReferenceAttributes
func (DataPolicyDefinitionReferenceAttributes) ParameterValues ¶
func (pdr DataPolicyDefinitionReferenceAttributes) ParameterValues() terra.StringValue
func (DataPolicyDefinitionReferenceAttributes) Parameters ¶
func (pdr DataPolicyDefinitionReferenceAttributes) Parameters() terra.MapValue[terra.StringValue]
func (DataPolicyDefinitionReferenceAttributes) PolicyDefinitionId ¶
func (pdr DataPolicyDefinitionReferenceAttributes) PolicyDefinitionId() terra.StringValue
func (DataPolicyDefinitionReferenceAttributes) PolicyGroupNames ¶
func (pdr DataPolicyDefinitionReferenceAttributes) PolicyGroupNames() terra.ListValue[terra.StringValue]
func (DataPolicyDefinitionReferenceAttributes) ReferenceId ¶
func (pdr DataPolicyDefinitionReferenceAttributes) ReferenceId() terra.StringValue
type DataSource ¶
DataSource represents the Terraform data resource azurerm_policy_set_definition.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (apsd *DataSource) Attributes() dataAzurermPolicySetDefinitionAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (apsd *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (apsd *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (apsd *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 PolicyDefinitionGroup ¶
type PolicyDefinitionGroup struct { // AdditionalMetadataResourceId: string, optional AdditionalMetadataResourceId terra.StringValue `hcl:"additional_metadata_resource_id,attr"` // Category: string, optional Category terra.StringValue `hcl:"category,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DisplayName: string, optional DisplayName terra.StringValue `hcl:"display_name,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type PolicyDefinitionGroupAttributes ¶
type PolicyDefinitionGroupAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDefinitionGroupAttributes) AdditionalMetadataResourceId ¶
func (pdg PolicyDefinitionGroupAttributes) AdditionalMetadataResourceId() terra.StringValue
func (PolicyDefinitionGroupAttributes) Category ¶
func (pdg PolicyDefinitionGroupAttributes) Category() terra.StringValue
func (PolicyDefinitionGroupAttributes) Description ¶
func (pdg PolicyDefinitionGroupAttributes) Description() terra.StringValue
func (PolicyDefinitionGroupAttributes) DisplayName ¶
func (pdg PolicyDefinitionGroupAttributes) DisplayName() terra.StringValue
func (PolicyDefinitionGroupAttributes) InternalRef ¶
func (pdg PolicyDefinitionGroupAttributes) InternalRef() (terra.Reference, error)
func (PolicyDefinitionGroupAttributes) InternalTokens ¶
func (pdg PolicyDefinitionGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDefinitionGroupAttributes) InternalWithRef ¶
func (pdg PolicyDefinitionGroupAttributes) InternalWithRef(ref terra.Reference) PolicyDefinitionGroupAttributes
func (PolicyDefinitionGroupAttributes) Name ¶
func (pdg PolicyDefinitionGroupAttributes) Name() terra.StringValue
type PolicyDefinitionReference ¶
type PolicyDefinitionReference struct { // ParameterValues: string, optional ParameterValues terra.StringValue `hcl:"parameter_values,attr"` // PolicyDefinitionId: string, required PolicyDefinitionId terra.StringValue `hcl:"policy_definition_id,attr" validate:"required"` // PolicyGroupNames: set of string, optional PolicyGroupNames terra.SetValue[terra.StringValue] `hcl:"policy_group_names,attr"` // ReferenceId: string, optional ReferenceId terra.StringValue `hcl:"reference_id,attr"` }
type PolicyDefinitionReferenceAttributes ¶
type PolicyDefinitionReferenceAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDefinitionReferenceAttributes) InternalRef ¶
func (pdr PolicyDefinitionReferenceAttributes) InternalRef() (terra.Reference, error)
func (PolicyDefinitionReferenceAttributes) InternalTokens ¶
func (pdr PolicyDefinitionReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDefinitionReferenceAttributes) InternalWithRef ¶
func (pdr PolicyDefinitionReferenceAttributes) InternalWithRef(ref terra.Reference) PolicyDefinitionReferenceAttributes
func (PolicyDefinitionReferenceAttributes) ParameterValues ¶
func (pdr PolicyDefinitionReferenceAttributes) ParameterValues() terra.StringValue
func (PolicyDefinitionReferenceAttributes) PolicyDefinitionId ¶
func (pdr PolicyDefinitionReferenceAttributes) PolicyDefinitionId() terra.StringValue
func (PolicyDefinitionReferenceAttributes) PolicyGroupNames ¶
func (pdr PolicyDefinitionReferenceAttributes) PolicyGroupNames() terra.SetValue[terra.StringValue]
func (PolicyDefinitionReferenceAttributes) ReferenceId ¶
func (pdr PolicyDefinitionReferenceAttributes) ReferenceId() 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_policy_set_definition.
func (*Resource) Attributes ¶
func (apsd *Resource) Attributes() azurermPolicySetDefinitionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (apsd *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (apsd *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