Documentation ¶
Index ¶
- type Args
- type Resource
- func (gnsp *Resource) Attributes() googleNetappStoragePoolAttributes
- func (gnsp *Resource) Configuration() interface{}
- func (gnsp *Resource) DependOn() terra.Reference
- func (gnsp *Resource) Dependencies() terra.Dependencies
- func (gnsp *Resource) ImportState(state io.Reader) error
- func (gnsp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gnsp *Resource) LocalName() string
- func (gnsp *Resource) State() (*googleNetappStoragePoolState, bool)
- func (gnsp *Resource) StateMust() *googleNetappStoragePoolState
- func (gnsp *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) 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 { // ActiveDirectory: string, optional ActiveDirectory terra.StringValue `hcl:"active_directory,attr"` // CapacityGib: string, required CapacityGib terra.StringValue `hcl:"capacity_gib,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsConfig: string, optional KmsConfig terra.StringValue `hcl:"kms_config,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // LdapEnabled: bool, optional LdapEnabled terra.BoolValue `hcl:"ldap_enabled,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Network: string, required Network terra.StringValue `hcl:"network,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ServiceLevel: string, required ServiceLevel terra.StringValue `hcl:"service_level,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_netapp_storage_pool.
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_netapp_storage_pool.
func (*Resource) Attributes ¶
func (gnsp *Resource) Attributes() googleNetappStoragePoolAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gnsp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gnsp *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"` // 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.