Documentation ¶
Index ¶
- type Args
- type DryRunSpec
- type DryRunSpecAttributes
- func (drs DryRunSpecAttributes) Etag() terra.StringValue
- func (drs DryRunSpecAttributes) InheritFromParent() terra.BoolValue
- func (drs DryRunSpecAttributes) InternalRef() (terra.Reference, error)
- func (drs DryRunSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (drs DryRunSpecAttributes) InternalWithRef(ref terra.Reference) DryRunSpecAttributes
- func (drs DryRunSpecAttributes) Reset() terra.BoolValue
- func (drs DryRunSpecAttributes) Rules() terra.ListValue[DryRunSpecRulesAttributes]
- func (drs DryRunSpecAttributes) UpdateTime() terra.StringValue
- type DryRunSpecRules
- type DryRunSpecRulesAttributes
- func (r DryRunSpecRulesAttributes) AllowAll() terra.StringValue
- func (r DryRunSpecRulesAttributes) Condition() terra.ListValue[DryRunSpecRulesConditionAttributes]
- func (r DryRunSpecRulesAttributes) DenyAll() terra.StringValue
- func (r DryRunSpecRulesAttributes) Enforce() terra.StringValue
- func (r DryRunSpecRulesAttributes) InternalRef() (terra.Reference, error)
- func (r DryRunSpecRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r DryRunSpecRulesAttributes) InternalWithRef(ref terra.Reference) DryRunSpecRulesAttributes
- func (r DryRunSpecRulesAttributes) Values() terra.ListValue[DryRunSpecRulesValuesAttributes]
- type DryRunSpecRulesCondition
- type DryRunSpecRulesConditionAttributes
- func (c DryRunSpecRulesConditionAttributes) Description() terra.StringValue
- func (c DryRunSpecRulesConditionAttributes) Expression() terra.StringValue
- func (c DryRunSpecRulesConditionAttributes) InternalRef() (terra.Reference, error)
- func (c DryRunSpecRulesConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DryRunSpecRulesConditionAttributes) InternalWithRef(ref terra.Reference) DryRunSpecRulesConditionAttributes
- func (c DryRunSpecRulesConditionAttributes) Location() terra.StringValue
- func (c DryRunSpecRulesConditionAttributes) Title() terra.StringValue
- type DryRunSpecRulesConditionState
- type DryRunSpecRulesState
- type DryRunSpecRulesValues
- type DryRunSpecRulesValuesAttributes
- func (v DryRunSpecRulesValuesAttributes) AllowedValues() terra.ListValue[terra.StringValue]
- func (v DryRunSpecRulesValuesAttributes) DeniedValues() terra.ListValue[terra.StringValue]
- func (v DryRunSpecRulesValuesAttributes) InternalRef() (terra.Reference, error)
- func (v DryRunSpecRulesValuesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v DryRunSpecRulesValuesAttributes) InternalWithRef(ref terra.Reference) DryRunSpecRulesValuesAttributes
- type DryRunSpecRulesValuesState
- type DryRunSpecState
- type Resource
- func (gopp *Resource) Attributes() googleOrgPolicyPolicyAttributes
- func (gopp *Resource) Configuration() interface{}
- func (gopp *Resource) DependOn() terra.Reference
- func (gopp *Resource) Dependencies() terra.Dependencies
- func (gopp *Resource) ImportState(state io.Reader) error
- func (gopp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gopp *Resource) LocalName() string
- func (gopp *Resource) State() (*googleOrgPolicyPolicyState, bool)
- func (gopp *Resource) StateMust() *googleOrgPolicyPolicyState
- func (gopp *Resource) Type() string
- type Spec
- type SpecAttributes
- func (s SpecAttributes) Etag() terra.StringValue
- func (s SpecAttributes) InheritFromParent() terra.BoolValue
- func (s SpecAttributes) InternalRef() (terra.Reference, error)
- func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
- func (s SpecAttributes) Reset() terra.BoolValue
- func (s SpecAttributes) Rules() terra.ListValue[SpecRulesAttributes]
- func (s SpecAttributes) UpdateTime() terra.StringValue
- type SpecRules
- type SpecRulesAttributes
- func (r SpecRulesAttributes) AllowAll() terra.StringValue
- func (r SpecRulesAttributes) Condition() terra.ListValue[SpecRulesConditionAttributes]
- func (r SpecRulesAttributes) DenyAll() terra.StringValue
- func (r SpecRulesAttributes) Enforce() terra.StringValue
- func (r SpecRulesAttributes) InternalRef() (terra.Reference, error)
- func (r SpecRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r SpecRulesAttributes) InternalWithRef(ref terra.Reference) SpecRulesAttributes
- func (r SpecRulesAttributes) Values() terra.ListValue[SpecRulesValuesAttributes]
- type SpecRulesCondition
- type SpecRulesConditionAttributes
- func (c SpecRulesConditionAttributes) Description() terra.StringValue
- func (c SpecRulesConditionAttributes) Expression() terra.StringValue
- func (c SpecRulesConditionAttributes) InternalRef() (terra.Reference, error)
- func (c SpecRulesConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c SpecRulesConditionAttributes) InternalWithRef(ref terra.Reference) SpecRulesConditionAttributes
- func (c SpecRulesConditionAttributes) Location() terra.StringValue
- func (c SpecRulesConditionAttributes) Title() terra.StringValue
- type SpecRulesConditionState
- type SpecRulesState
- type SpecRulesValues
- type SpecRulesValuesAttributes
- func (v SpecRulesValuesAttributes) AllowedValues() terra.ListValue[terra.StringValue]
- func (v SpecRulesValuesAttributes) DeniedValues() terra.ListValue[terra.StringValue]
- func (v SpecRulesValuesAttributes) InternalRef() (terra.Reference, error)
- func (v SpecRulesValuesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v SpecRulesValuesAttributes) InternalWithRef(ref terra.Reference) SpecRulesValuesAttributes
- type SpecRulesValuesState
- type SpecState
- 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) 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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Parent: string, required Parent terra.StringValue `hcl:"parent,attr" validate:"required"` // DryRunSpec: optional DryRunSpec *DryRunSpec `hcl:"dry_run_spec,block"` // Spec: optional Spec *Spec `hcl:"spec,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_org_policy_policy.
type DryRunSpec ¶
type DryRunSpec struct { // InheritFromParent: bool, optional InheritFromParent terra.BoolValue `hcl:"inherit_from_parent,attr"` // Reset: bool, optional Reset terra.BoolValue `hcl:"reset,attr"` // DryRunSpecRules: min=0 Rules []DryRunSpecRules `hcl:"rules,block" validate:"min=0"` }
type DryRunSpecAttributes ¶
type DryRunSpecAttributes struct {
// contains filtered or unexported fields
}
func (DryRunSpecAttributes) Etag ¶
func (drs DryRunSpecAttributes) Etag() terra.StringValue
func (DryRunSpecAttributes) InheritFromParent ¶
func (drs DryRunSpecAttributes) InheritFromParent() terra.BoolValue
func (DryRunSpecAttributes) InternalRef ¶
func (drs DryRunSpecAttributes) InternalRef() (terra.Reference, error)
func (DryRunSpecAttributes) InternalTokens ¶
func (drs DryRunSpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DryRunSpecAttributes) InternalWithRef ¶
func (drs DryRunSpecAttributes) InternalWithRef(ref terra.Reference) DryRunSpecAttributes
func (DryRunSpecAttributes) Reset ¶
func (drs DryRunSpecAttributes) Reset() terra.BoolValue
func (DryRunSpecAttributes) Rules ¶
func (drs DryRunSpecAttributes) Rules() terra.ListValue[DryRunSpecRulesAttributes]
func (DryRunSpecAttributes) UpdateTime ¶
func (drs DryRunSpecAttributes) UpdateTime() terra.StringValue
type DryRunSpecRules ¶
type DryRunSpecRules struct { // AllowAll: string, optional AllowAll terra.StringValue `hcl:"allow_all,attr"` // DenyAll: string, optional DenyAll terra.StringValue `hcl:"deny_all,attr"` // Enforce: string, optional Enforce terra.StringValue `hcl:"enforce,attr"` // DryRunSpecRulesCondition: optional Condition *DryRunSpecRulesCondition `hcl:"condition,block"` // DryRunSpecRulesValues: optional Values *DryRunSpecRulesValues `hcl:"values,block"` }
type DryRunSpecRulesAttributes ¶
type DryRunSpecRulesAttributes struct {
// contains filtered or unexported fields
}
func (DryRunSpecRulesAttributes) AllowAll ¶
func (r DryRunSpecRulesAttributes) AllowAll() terra.StringValue
func (DryRunSpecRulesAttributes) Condition ¶
func (r DryRunSpecRulesAttributes) Condition() terra.ListValue[DryRunSpecRulesConditionAttributes]
func (DryRunSpecRulesAttributes) DenyAll ¶
func (r DryRunSpecRulesAttributes) DenyAll() terra.StringValue
func (DryRunSpecRulesAttributes) Enforce ¶
func (r DryRunSpecRulesAttributes) Enforce() terra.StringValue
func (DryRunSpecRulesAttributes) InternalRef ¶
func (r DryRunSpecRulesAttributes) InternalRef() (terra.Reference, error)
func (DryRunSpecRulesAttributes) InternalTokens ¶
func (r DryRunSpecRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DryRunSpecRulesAttributes) InternalWithRef ¶
func (r DryRunSpecRulesAttributes) InternalWithRef(ref terra.Reference) DryRunSpecRulesAttributes
func (DryRunSpecRulesAttributes) Values ¶
func (r DryRunSpecRulesAttributes) Values() terra.ListValue[DryRunSpecRulesValuesAttributes]
type DryRunSpecRulesCondition ¶
type DryRunSpecRulesCondition struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Expression: string, optional Expression terra.StringValue `hcl:"expression,attr"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Title: string, optional Title terra.StringValue `hcl:"title,attr"` }
type DryRunSpecRulesConditionAttributes ¶
type DryRunSpecRulesConditionAttributes struct {
// contains filtered or unexported fields
}
func (DryRunSpecRulesConditionAttributes) Description ¶
func (c DryRunSpecRulesConditionAttributes) Description() terra.StringValue
func (DryRunSpecRulesConditionAttributes) Expression ¶
func (c DryRunSpecRulesConditionAttributes) Expression() terra.StringValue
func (DryRunSpecRulesConditionAttributes) InternalRef ¶
func (c DryRunSpecRulesConditionAttributes) InternalRef() (terra.Reference, error)
func (DryRunSpecRulesConditionAttributes) InternalTokens ¶
func (c DryRunSpecRulesConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DryRunSpecRulesConditionAttributes) InternalWithRef ¶
func (c DryRunSpecRulesConditionAttributes) InternalWithRef(ref terra.Reference) DryRunSpecRulesConditionAttributes
func (DryRunSpecRulesConditionAttributes) Location ¶
func (c DryRunSpecRulesConditionAttributes) Location() terra.StringValue
func (DryRunSpecRulesConditionAttributes) Title ¶
func (c DryRunSpecRulesConditionAttributes) Title() terra.StringValue
type DryRunSpecRulesState ¶
type DryRunSpecRulesState struct { AllowAll string `json:"allow_all"` DenyAll string `json:"deny_all"` Enforce string `json:"enforce"` Condition []DryRunSpecRulesConditionState `json:"condition"` Values []DryRunSpecRulesValuesState `json:"values"` }
type DryRunSpecRulesValues ¶
type DryRunSpecRulesValues struct { // AllowedValues: list of string, optional AllowedValues terra.ListValue[terra.StringValue] `hcl:"allowed_values,attr"` // DeniedValues: list of string, optional DeniedValues terra.ListValue[terra.StringValue] `hcl:"denied_values,attr"` }
type DryRunSpecRulesValuesAttributes ¶
type DryRunSpecRulesValuesAttributes struct {
// contains filtered or unexported fields
}
func (DryRunSpecRulesValuesAttributes) AllowedValues ¶
func (v DryRunSpecRulesValuesAttributes) AllowedValues() terra.ListValue[terra.StringValue]
func (DryRunSpecRulesValuesAttributes) DeniedValues ¶
func (v DryRunSpecRulesValuesAttributes) DeniedValues() terra.ListValue[terra.StringValue]
func (DryRunSpecRulesValuesAttributes) InternalRef ¶
func (v DryRunSpecRulesValuesAttributes) InternalRef() (terra.Reference, error)
func (DryRunSpecRulesValuesAttributes) InternalTokens ¶
func (v DryRunSpecRulesValuesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DryRunSpecRulesValuesAttributes) InternalWithRef ¶
func (v DryRunSpecRulesValuesAttributes) InternalWithRef(ref terra.Reference) DryRunSpecRulesValuesAttributes
type DryRunSpecState ¶
type DryRunSpecState struct { Etag string `json:"etag"` InheritFromParent bool `json:"inherit_from_parent"` Reset bool `json:"reset"` UpdateTime string `json:"update_time"` Rules []DryRunSpecRulesState `json:"rules"` }
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 google_org_policy_policy.
func (*Resource) Attributes ¶
func (gopp *Resource) Attributes() googleOrgPolicyPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gopp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gopp *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 SpecAttributes ¶
type SpecAttributes struct {
// contains filtered or unexported fields
}
func (SpecAttributes) Etag ¶
func (s SpecAttributes) Etag() terra.StringValue
func (SpecAttributes) InheritFromParent ¶
func (s SpecAttributes) InheritFromParent() terra.BoolValue
func (SpecAttributes) InternalRef ¶
func (s SpecAttributes) InternalRef() (terra.Reference, error)
func (SpecAttributes) InternalTokens ¶
func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecAttributes) InternalWithRef ¶
func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes
func (SpecAttributes) Reset ¶
func (s SpecAttributes) Reset() terra.BoolValue
func (SpecAttributes) Rules ¶
func (s SpecAttributes) Rules() terra.ListValue[SpecRulesAttributes]
func (SpecAttributes) UpdateTime ¶
func (s SpecAttributes) UpdateTime() terra.StringValue
type SpecRules ¶
type SpecRules struct { // AllowAll: string, optional AllowAll terra.StringValue `hcl:"allow_all,attr"` // DenyAll: string, optional DenyAll terra.StringValue `hcl:"deny_all,attr"` // Enforce: string, optional Enforce terra.StringValue `hcl:"enforce,attr"` // SpecRulesCondition: optional Condition *SpecRulesCondition `hcl:"condition,block"` // SpecRulesValues: optional Values *SpecRulesValues `hcl:"values,block"` }
type SpecRulesAttributes ¶
type SpecRulesAttributes struct {
// contains filtered or unexported fields
}
func (SpecRulesAttributes) AllowAll ¶
func (r SpecRulesAttributes) AllowAll() terra.StringValue
func (SpecRulesAttributes) Condition ¶
func (r SpecRulesAttributes) Condition() terra.ListValue[SpecRulesConditionAttributes]
func (SpecRulesAttributes) DenyAll ¶
func (r SpecRulesAttributes) DenyAll() terra.StringValue
func (SpecRulesAttributes) Enforce ¶
func (r SpecRulesAttributes) Enforce() terra.StringValue
func (SpecRulesAttributes) InternalRef ¶
func (r SpecRulesAttributes) InternalRef() (terra.Reference, error)
func (SpecRulesAttributes) InternalTokens ¶
func (r SpecRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecRulesAttributes) InternalWithRef ¶
func (r SpecRulesAttributes) InternalWithRef(ref terra.Reference) SpecRulesAttributes
func (SpecRulesAttributes) Values ¶
func (r SpecRulesAttributes) Values() terra.ListValue[SpecRulesValuesAttributes]
type SpecRulesCondition ¶
type SpecRulesCondition struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Expression: string, optional Expression terra.StringValue `hcl:"expression,attr"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Title: string, optional Title terra.StringValue `hcl:"title,attr"` }
type SpecRulesConditionAttributes ¶
type SpecRulesConditionAttributes struct {
// contains filtered or unexported fields
}
func (SpecRulesConditionAttributes) Description ¶
func (c SpecRulesConditionAttributes) Description() terra.StringValue
func (SpecRulesConditionAttributes) Expression ¶
func (c SpecRulesConditionAttributes) Expression() terra.StringValue
func (SpecRulesConditionAttributes) InternalRef ¶
func (c SpecRulesConditionAttributes) InternalRef() (terra.Reference, error)
func (SpecRulesConditionAttributes) InternalTokens ¶
func (c SpecRulesConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecRulesConditionAttributes) InternalWithRef ¶
func (c SpecRulesConditionAttributes) InternalWithRef(ref terra.Reference) SpecRulesConditionAttributes
func (SpecRulesConditionAttributes) Location ¶
func (c SpecRulesConditionAttributes) Location() terra.StringValue
func (SpecRulesConditionAttributes) Title ¶
func (c SpecRulesConditionAttributes) Title() terra.StringValue
type SpecRulesConditionState ¶
type SpecRulesState ¶
type SpecRulesState struct { AllowAll string `json:"allow_all"` DenyAll string `json:"deny_all"` Enforce string `json:"enforce"` Condition []SpecRulesConditionState `json:"condition"` Values []SpecRulesValuesState `json:"values"` }
type SpecRulesValues ¶
type SpecRulesValues struct { // AllowedValues: list of string, optional AllowedValues terra.ListValue[terra.StringValue] `hcl:"allowed_values,attr"` // DeniedValues: list of string, optional DeniedValues terra.ListValue[terra.StringValue] `hcl:"denied_values,attr"` }
type SpecRulesValuesAttributes ¶
type SpecRulesValuesAttributes struct {
// contains filtered or unexported fields
}
func (SpecRulesValuesAttributes) AllowedValues ¶
func (v SpecRulesValuesAttributes) AllowedValues() terra.ListValue[terra.StringValue]
func (SpecRulesValuesAttributes) DeniedValues ¶
func (v SpecRulesValuesAttributes) DeniedValues() terra.ListValue[terra.StringValue]
func (SpecRulesValuesAttributes) InternalRef ¶
func (v SpecRulesValuesAttributes) InternalRef() (terra.Reference, error)
func (SpecRulesValuesAttributes) InternalTokens ¶
func (v SpecRulesValuesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpecRulesValuesAttributes) InternalWithRef ¶
func (v SpecRulesValuesAttributes) InternalWithRef(ref terra.Reference) SpecRulesValuesAttributes
type SpecRulesValuesState ¶
type SpecState ¶
type SpecState struct { Etag string `json:"etag"` InheritFromParent bool `json:"inherit_from_parent"` Reset bool `json:"reset"` UpdateTime string `json:"update_time"` Rules []SpecRulesState `json:"rules"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,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) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.