Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (gou *Resource) Attributes() googleworkspaceOrgUnitAttributes
- func (gou *Resource) Configuration() interface{}
- func (gou *Resource) DependOn() terra.Reference
- func (gou *Resource) Dependencies() terra.Dependencies
- func (gou *Resource) ImportState(state io.Reader) error
- func (gou *Resource) LifecycleManagement() *terra.Lifecycle
- func (gou *Resource) LocalName() string
- func (gou *Resource) State() (*googleworkspaceOrgUnitState, bool)
- func (gou *Resource) StateMust() *googleworkspaceOrgUnitState
- func (gou *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BlockInheritance: bool, optional BlockInheritance terra.BoolValue `hcl:"block_inheritance,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ParentOrgUnitId: string, optional ParentOrgUnitId terra.StringValue `hcl:"parent_org_unit_id,attr"` // ParentOrgUnitPath: string, optional ParentOrgUnitPath terra.StringValue `hcl:"parent_org_unit_path,attr"` }
Args contains the configurations for googleworkspace_org_unit.
type DataArgs ¶
type DataArgs struct { // OrgUnitId: string, optional OrgUnitId terra.StringValue `hcl:"org_unit_id,attr"` // OrgUnitPath: string, optional OrgUnitPath terra.StringValue `hcl:"org_unit_path,attr"` }
DataArgs contains the configurations for googleworkspace_org_unit.
type DataSource ¶
DataSource represents the Terraform data resource googleworkspace_org_unit.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gou *DataSource) Attributes() dataGoogleworkspaceOrgUnitAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gou *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gou *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gou *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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 googleworkspace_org_unit.
func (*Resource) Attributes ¶
func (gou *Resource) Attributes() googleworkspaceOrgUnitAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gou *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gou *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.