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 DataArgs
- type DataBooleanPolicyAttributes
- func (bp DataBooleanPolicyAttributes) Enforced() terra.BoolValue
- func (bp DataBooleanPolicyAttributes) InternalRef() (terra.Reference, error)
- func (bp DataBooleanPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bp DataBooleanPolicyAttributes) InternalWithRef(ref terra.Reference) DataBooleanPolicyAttributes
- type DataBooleanPolicyState
- type DataListPolicyAllowAttributes
- func (a DataListPolicyAllowAttributes) All() terra.BoolValue
- func (a DataListPolicyAllowAttributes) InternalRef() (terra.Reference, error)
- func (a DataListPolicyAllowAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a DataListPolicyAllowAttributes) InternalWithRef(ref terra.Reference) DataListPolicyAllowAttributes
- func (a DataListPolicyAllowAttributes) Values() terra.SetValue[terra.StringValue]
- type DataListPolicyAllowState
- type DataListPolicyAttributes
- func (lp DataListPolicyAttributes) Allow() terra.ListValue[DataListPolicyAllowAttributes]
- func (lp DataListPolicyAttributes) Deny() terra.ListValue[DataListPolicyDenyAttributes]
- func (lp DataListPolicyAttributes) InheritFromParent() terra.BoolValue
- func (lp DataListPolicyAttributes) InternalRef() (terra.Reference, error)
- func (lp DataListPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lp DataListPolicyAttributes) InternalWithRef(ref terra.Reference) DataListPolicyAttributes
- func (lp DataListPolicyAttributes) SuggestedValue() terra.StringValue
- type DataListPolicyDenyAttributes
- func (d DataListPolicyDenyAttributes) All() terra.BoolValue
- func (d DataListPolicyDenyAttributes) InternalRef() (terra.Reference, error)
- func (d DataListPolicyDenyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DataListPolicyDenyAttributes) InternalWithRef(ref terra.Reference) DataListPolicyDenyAttributes
- func (d DataListPolicyDenyAttributes) Values() terra.SetValue[terra.StringValue]
- type DataListPolicyDenyState
- type DataListPolicyState
- type DataRestorePolicyAttributes
- func (rp DataRestorePolicyAttributes) Default() terra.BoolValue
- func (rp DataRestorePolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp DataRestorePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp DataRestorePolicyAttributes) InternalWithRef(ref terra.Reference) DataRestorePolicyAttributes
- type DataRestorePolicyState
- type DataSource
- 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 (gfop *Resource) Attributes() googleFolderOrganizationPolicyAttributes
- func (gfop *Resource) Configuration() interface{}
- func (gfop *Resource) DependOn() terra.Reference
- func (gfop *Resource) Dependencies() terra.Dependencies
- func (gfop *Resource) ImportState(state io.Reader) error
- func (gfop *Resource) LifecycleManagement() *terra.Lifecycle
- func (gfop *Resource) LocalName() string
- func (gfop *Resource) State() (*googleFolderOrganizationPolicyState, bool)
- func (gfop *Resource) StateMust() *googleFolderOrganizationPolicyState
- func (gfop *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"` // Folder: string, required Folder terra.StringValue `hcl:"folder,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // 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_folder_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 DataArgs ¶
type DataArgs struct { // Constraint: string, required Constraint terra.StringValue `hcl:"constraint,attr" validate:"required"` // Folder: string, required Folder terra.StringValue `hcl:"folder,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` }
DataArgs contains the configurations for google_folder_organization_policy.
type DataBooleanPolicyAttributes ¶
type DataBooleanPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataBooleanPolicyAttributes) Enforced ¶
func (bp DataBooleanPolicyAttributes) Enforced() terra.BoolValue
func (DataBooleanPolicyAttributes) InternalRef ¶
func (bp DataBooleanPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataBooleanPolicyAttributes) InternalTokens ¶
func (bp DataBooleanPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBooleanPolicyAttributes) InternalWithRef ¶
func (bp DataBooleanPolicyAttributes) InternalWithRef(ref terra.Reference) DataBooleanPolicyAttributes
type DataBooleanPolicyState ¶
type DataBooleanPolicyState struct {
Enforced bool `json:"enforced"`
}
type DataListPolicyAllowAttributes ¶
type DataListPolicyAllowAttributes struct {
// contains filtered or unexported fields
}
func (DataListPolicyAllowAttributes) All ¶
func (a DataListPolicyAllowAttributes) All() terra.BoolValue
func (DataListPolicyAllowAttributes) InternalRef ¶
func (a DataListPolicyAllowAttributes) InternalRef() (terra.Reference, error)
func (DataListPolicyAllowAttributes) InternalTokens ¶
func (a DataListPolicyAllowAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataListPolicyAllowAttributes) InternalWithRef ¶
func (a DataListPolicyAllowAttributes) InternalWithRef(ref terra.Reference) DataListPolicyAllowAttributes
func (DataListPolicyAllowAttributes) Values ¶
func (a DataListPolicyAllowAttributes) Values() terra.SetValue[terra.StringValue]
type DataListPolicyAttributes ¶
type DataListPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataListPolicyAttributes) Allow ¶
func (lp DataListPolicyAttributes) Allow() terra.ListValue[DataListPolicyAllowAttributes]
func (DataListPolicyAttributes) Deny ¶
func (lp DataListPolicyAttributes) Deny() terra.ListValue[DataListPolicyDenyAttributes]
func (DataListPolicyAttributes) InheritFromParent ¶
func (lp DataListPolicyAttributes) InheritFromParent() terra.BoolValue
func (DataListPolicyAttributes) InternalRef ¶
func (lp DataListPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataListPolicyAttributes) InternalTokens ¶
func (lp DataListPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataListPolicyAttributes) InternalWithRef ¶
func (lp DataListPolicyAttributes) InternalWithRef(ref terra.Reference) DataListPolicyAttributes
func (DataListPolicyAttributes) SuggestedValue ¶
func (lp DataListPolicyAttributes) SuggestedValue() terra.StringValue
type DataListPolicyDenyAttributes ¶
type DataListPolicyDenyAttributes struct {
// contains filtered or unexported fields
}
func (DataListPolicyDenyAttributes) All ¶
func (d DataListPolicyDenyAttributes) All() terra.BoolValue
func (DataListPolicyDenyAttributes) InternalRef ¶
func (d DataListPolicyDenyAttributes) InternalRef() (terra.Reference, error)
func (DataListPolicyDenyAttributes) InternalTokens ¶
func (d DataListPolicyDenyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataListPolicyDenyAttributes) InternalWithRef ¶
func (d DataListPolicyDenyAttributes) InternalWithRef(ref terra.Reference) DataListPolicyDenyAttributes
func (DataListPolicyDenyAttributes) Values ¶
func (d DataListPolicyDenyAttributes) Values() terra.SetValue[terra.StringValue]
type DataListPolicyDenyState ¶
type DataListPolicyState ¶
type DataListPolicyState struct { InheritFromParent bool `json:"inherit_from_parent"` SuggestedValue string `json:"suggested_value"` Allow []DataListPolicyAllowState `json:"allow"` Deny []DataListPolicyDenyState `json:"deny"` }
type DataRestorePolicyAttributes ¶
type DataRestorePolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataRestorePolicyAttributes) Default ¶
func (rp DataRestorePolicyAttributes) Default() terra.BoolValue
func (DataRestorePolicyAttributes) InternalRef ¶
func (rp DataRestorePolicyAttributes) InternalRef() (terra.Reference, error)
func (DataRestorePolicyAttributes) InternalTokens ¶
func (rp DataRestorePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRestorePolicyAttributes) InternalWithRef ¶
func (rp DataRestorePolicyAttributes) InternalWithRef(ref terra.Reference) DataRestorePolicyAttributes
type DataRestorePolicyState ¶
type DataRestorePolicyState struct {
Default bool `json:"default"`
}
type DataSource ¶
DataSource represents the Terraform data resource google_folder_organization_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gfop *DataSource) Attributes() dataGoogleFolderOrganizationPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gfop *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gfop *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gfop *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_folder_organization_policy.
func (*Resource) Attributes ¶
func (gfop *Resource) Attributes() googleFolderOrganizationPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gfop *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gfop *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