Documentation ¶
Index ¶
- type Args
- type BooleanPolicy
- type BooleanPolicyAttributes
- func (bp BooleanPolicyAttributes) Enforced() terra.BoolValue
- func (bp BooleanPolicyAttributes) InternalRef() (terra.Reference, error)
- func (bp BooleanPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bp BooleanPolicyAttributes) InternalWithRef(ref terra.Reference) BooleanPolicyAttributes
- type BooleanPolicyState
- type ListPolicy
- type ListPolicyAllow
- type ListPolicyAllowAttributes
- func (a ListPolicyAllowAttributes) All() terra.BoolValue
- func (a ListPolicyAllowAttributes) InternalRef() (terra.Reference, error)
- func (a ListPolicyAllowAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ListPolicyAllowAttributes) InternalWithRef(ref terra.Reference) ListPolicyAllowAttributes
- func (a ListPolicyAllowAttributes) Values() terra.SetValue[terra.StringValue]
- type ListPolicyAllowState
- type ListPolicyAttributes
- func (lp ListPolicyAttributes) Allow() terra.ListValue[ListPolicyAllowAttributes]
- func (lp ListPolicyAttributes) Deny() terra.ListValue[ListPolicyDenyAttributes]
- func (lp ListPolicyAttributes) InheritFromParent() terra.BoolValue
- func (lp ListPolicyAttributes) InternalRef() (terra.Reference, error)
- func (lp ListPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lp ListPolicyAttributes) InternalWithRef(ref terra.Reference) ListPolicyAttributes
- func (lp ListPolicyAttributes) SuggestedValue() terra.StringValue
- type ListPolicyDeny
- type ListPolicyDenyAttributes
- func (d ListPolicyDenyAttributes) All() terra.BoolValue
- func (d ListPolicyDenyAttributes) InternalRef() (terra.Reference, error)
- func (d ListPolicyDenyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d ListPolicyDenyAttributes) InternalWithRef(ref terra.Reference) ListPolicyDenyAttributes
- func (d ListPolicyDenyAttributes) Values() terra.SetValue[terra.StringValue]
- type ListPolicyDenyState
- type ListPolicyState
- type Resource
- func (gop *Resource) Attributes() googleOrganizationPolicyAttributes
- func (gop *Resource) Configuration() interface{}
- func (gop *Resource) DependOn() terra.Reference
- func (gop *Resource) Dependencies() terra.Dependencies
- func (gop *Resource) ImportState(state io.Reader) error
- func (gop *Resource) LifecycleManagement() *terra.Lifecycle
- func (gop *Resource) LocalName() string
- func (gop *Resource) State() (*googleOrganizationPolicyState, bool)
- func (gop *Resource) StateMust() *googleOrganizationPolicyState
- func (gop *Resource) Type() string
- type RestorePolicy
- type RestorePolicyAttributes
- func (rp RestorePolicyAttributes) Default() terra.BoolValue
- func (rp RestorePolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp RestorePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp RestorePolicyAttributes) InternalWithRef(ref terra.Reference) RestorePolicyAttributes
- type RestorePolicyState
- 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 { // Constraint: string, required Constraint terra.StringValue `hcl:"constraint,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // OrgId: string, required OrgId terra.StringValue `hcl:"org_id,attr" validate:"required"` // Version: number, optional Version terra.NumberValue `hcl:"version,attr"` // BooleanPolicy: optional BooleanPolicy *BooleanPolicy `hcl:"boolean_policy,block"` // ListPolicy: optional ListPolicy *ListPolicy `hcl:"list_policy,block"` // RestorePolicy: optional RestorePolicy *RestorePolicy `hcl:"restore_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_organization_policy.
type BooleanPolicy ¶
type BooleanPolicyAttributes ¶
type BooleanPolicyAttributes struct {
// contains filtered or unexported fields
}
func (BooleanPolicyAttributes) Enforced ¶
func (bp BooleanPolicyAttributes) Enforced() terra.BoolValue
func (BooleanPolicyAttributes) InternalRef ¶
func (bp BooleanPolicyAttributes) InternalRef() (terra.Reference, error)
func (BooleanPolicyAttributes) InternalTokens ¶
func (bp BooleanPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BooleanPolicyAttributes) InternalWithRef ¶
func (bp BooleanPolicyAttributes) InternalWithRef(ref terra.Reference) BooleanPolicyAttributes
type BooleanPolicyState ¶
type BooleanPolicyState struct {
Enforced bool `json:"enforced"`
}
type ListPolicy ¶
type ListPolicy struct { // InheritFromParent: bool, optional InheritFromParent terra.BoolValue `hcl:"inherit_from_parent,attr"` // SuggestedValue: string, optional SuggestedValue terra.StringValue `hcl:"suggested_value,attr"` // ListPolicyAllow: optional Allow *ListPolicyAllow `hcl:"allow,block"` // ListPolicyDeny: optional Deny *ListPolicyDeny `hcl:"deny,block"` }
type ListPolicyAllow ¶
type ListPolicyAllowAttributes ¶
type ListPolicyAllowAttributes struct {
// contains filtered or unexported fields
}
func (ListPolicyAllowAttributes) All ¶
func (a ListPolicyAllowAttributes) All() terra.BoolValue
func (ListPolicyAllowAttributes) InternalRef ¶
func (a ListPolicyAllowAttributes) InternalRef() (terra.Reference, error)
func (ListPolicyAllowAttributes) InternalTokens ¶
func (a ListPolicyAllowAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ListPolicyAllowAttributes) InternalWithRef ¶
func (a ListPolicyAllowAttributes) InternalWithRef(ref terra.Reference) ListPolicyAllowAttributes
func (ListPolicyAllowAttributes) Values ¶
func (a ListPolicyAllowAttributes) Values() terra.SetValue[terra.StringValue]
type ListPolicyAllowState ¶
type ListPolicyAttributes ¶
type ListPolicyAttributes struct {
// contains filtered or unexported fields
}
func (ListPolicyAttributes) Allow ¶
func (lp ListPolicyAttributes) Allow() terra.ListValue[ListPolicyAllowAttributes]
func (ListPolicyAttributes) Deny ¶
func (lp ListPolicyAttributes) Deny() terra.ListValue[ListPolicyDenyAttributes]
func (ListPolicyAttributes) InheritFromParent ¶
func (lp ListPolicyAttributes) InheritFromParent() terra.BoolValue
func (ListPolicyAttributes) InternalRef ¶
func (lp ListPolicyAttributes) InternalRef() (terra.Reference, error)
func (ListPolicyAttributes) InternalTokens ¶
func (lp ListPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ListPolicyAttributes) InternalWithRef ¶
func (lp ListPolicyAttributes) InternalWithRef(ref terra.Reference) ListPolicyAttributes
func (ListPolicyAttributes) SuggestedValue ¶
func (lp ListPolicyAttributes) SuggestedValue() terra.StringValue
type ListPolicyDeny ¶
type ListPolicyDenyAttributes ¶
type ListPolicyDenyAttributes struct {
// contains filtered or unexported fields
}
func (ListPolicyDenyAttributes) All ¶
func (d ListPolicyDenyAttributes) All() terra.BoolValue
func (ListPolicyDenyAttributes) InternalRef ¶
func (d ListPolicyDenyAttributes) InternalRef() (terra.Reference, error)
func (ListPolicyDenyAttributes) InternalTokens ¶
func (d ListPolicyDenyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ListPolicyDenyAttributes) InternalWithRef ¶
func (d ListPolicyDenyAttributes) InternalWithRef(ref terra.Reference) ListPolicyDenyAttributes
func (ListPolicyDenyAttributes) Values ¶
func (d ListPolicyDenyAttributes) Values() terra.SetValue[terra.StringValue]
type ListPolicyDenyState ¶
type ListPolicyState ¶
type ListPolicyState struct { InheritFromParent bool `json:"inherit_from_parent"` SuggestedValue string `json:"suggested_value"` Allow []ListPolicyAllowState `json:"allow"` Deny []ListPolicyDenyState `json:"deny"` }
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_organization_policy.
func (*Resource) Attributes ¶
func (gop *Resource) Attributes() googleOrganizationPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gop *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gop *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 RestorePolicy ¶
type RestorePolicyAttributes ¶
type RestorePolicyAttributes struct {
// contains filtered or unexported fields
}
func (RestorePolicyAttributes) Default ¶
func (rp RestorePolicyAttributes) Default() terra.BoolValue
func (RestorePolicyAttributes) InternalRef ¶
func (rp RestorePolicyAttributes) InternalRef() (terra.Reference, error)
func (RestorePolicyAttributes) InternalTokens ¶
func (rp RestorePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RestorePolicyAttributes) InternalWithRef ¶
func (rp RestorePolicyAttributes) InternalWithRef(ref terra.Reference) RestorePolicyAttributes
type RestorePolicyState ¶
type RestorePolicyState struct {
Default bool `json:"default"`
}
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.