Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataFileSharesAttributes
- func (fs DataFileSharesAttributes) CapacityGb() terra.NumberValue
- func (fs DataFileSharesAttributes) InternalRef() (terra.Reference, error)
- func (fs DataFileSharesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fs DataFileSharesAttributes) InternalWithRef(ref terra.Reference) DataFileSharesAttributes
- func (fs DataFileSharesAttributes) Name() terra.StringValue
- func (fs DataFileSharesAttributes) NfsExportOptions() terra.ListValue[DataFileSharesNfsExportOptionsAttributes]
- func (fs DataFileSharesAttributes) SourceBackup() terra.StringValue
- type DataFileSharesNfsExportOptionsAttributes
- func (neo DataFileSharesNfsExportOptionsAttributes) AccessMode() terra.StringValue
- func (neo DataFileSharesNfsExportOptionsAttributes) AnonGid() terra.NumberValue
- func (neo DataFileSharesNfsExportOptionsAttributes) AnonUid() terra.NumberValue
- func (neo DataFileSharesNfsExportOptionsAttributes) InternalRef() (terra.Reference, error)
- func (neo DataFileSharesNfsExportOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (neo DataFileSharesNfsExportOptionsAttributes) InternalWithRef(ref terra.Reference) DataFileSharesNfsExportOptionsAttributes
- func (neo DataFileSharesNfsExportOptionsAttributes) IpRanges() terra.ListValue[terra.StringValue]
- func (neo DataFileSharesNfsExportOptionsAttributes) SquashMode() terra.StringValue
- type DataFileSharesNfsExportOptionsState
- type DataFileSharesState
- type DataNetworksAttributes
- func (n DataNetworksAttributes) ConnectMode() terra.StringValue
- func (n DataNetworksAttributes) InternalRef() (terra.Reference, error)
- func (n DataNetworksAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n DataNetworksAttributes) InternalWithRef(ref terra.Reference) DataNetworksAttributes
- func (n DataNetworksAttributes) IpAddresses() terra.ListValue[terra.StringValue]
- func (n DataNetworksAttributes) Modes() terra.ListValue[terra.StringValue]
- func (n DataNetworksAttributes) Network() terra.StringValue
- func (n DataNetworksAttributes) ReservedIpRange() terra.StringValue
- type DataNetworksState
- type DataSource
- type FileShares
- type FileSharesAttributes
- func (fs FileSharesAttributes) CapacityGb() terra.NumberValue
- func (fs FileSharesAttributes) InternalRef() (terra.Reference, error)
- func (fs FileSharesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fs FileSharesAttributes) InternalWithRef(ref terra.Reference) FileSharesAttributes
- func (fs FileSharesAttributes) Name() terra.StringValue
- func (fs FileSharesAttributes) NfsExportOptions() terra.ListValue[FileSharesNfsExportOptionsAttributes]
- func (fs FileSharesAttributes) SourceBackup() terra.StringValue
- type FileSharesNfsExportOptions
- type FileSharesNfsExportOptionsAttributes
- func (neo FileSharesNfsExportOptionsAttributes) AccessMode() terra.StringValue
- func (neo FileSharesNfsExportOptionsAttributes) AnonGid() terra.NumberValue
- func (neo FileSharesNfsExportOptionsAttributes) AnonUid() terra.NumberValue
- func (neo FileSharesNfsExportOptionsAttributes) InternalRef() (terra.Reference, error)
- func (neo FileSharesNfsExportOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (neo FileSharesNfsExportOptionsAttributes) InternalWithRef(ref terra.Reference) FileSharesNfsExportOptionsAttributes
- func (neo FileSharesNfsExportOptionsAttributes) IpRanges() terra.ListValue[terra.StringValue]
- func (neo FileSharesNfsExportOptionsAttributes) SquashMode() terra.StringValue
- type FileSharesNfsExportOptionsState
- type FileSharesState
- type Networks
- type NetworksAttributes
- func (n NetworksAttributes) ConnectMode() terra.StringValue
- func (n NetworksAttributes) InternalRef() (terra.Reference, error)
- func (n NetworksAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (n NetworksAttributes) InternalWithRef(ref terra.Reference) NetworksAttributes
- func (n NetworksAttributes) IpAddresses() terra.ListValue[terra.StringValue]
- func (n NetworksAttributes) Modes() terra.ListValue[terra.StringValue]
- func (n NetworksAttributes) Network() terra.StringValue
- func (n NetworksAttributes) ReservedIpRange() terra.StringValue
- type NetworksState
- type Resource
- func (gfi *Resource) Attributes() googleFilestoreInstanceAttributes
- func (gfi *Resource) Configuration() interface{}
- func (gfi *Resource) DependOn() terra.Reference
- func (gfi *Resource) Dependencies() terra.Dependencies
- func (gfi *Resource) ImportState(state io.Reader) error
- func (gfi *Resource) LifecycleManagement() *terra.Lifecycle
- func (gfi *Resource) LocalName() string
- func (gfi *Resource) State() (*googleFilestoreInstanceState, bool)
- func (gfi *Resource) StateMust() *googleFilestoreInstanceState
- func (gfi *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 { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyName: string, optional KmsKeyName terra.StringValue `hcl:"kms_key_name,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Tier: string, required Tier terra.StringValue `hcl:"tier,attr" validate:"required"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` FileShares *FileShares `hcl:"file_shares,block" validate:"required"` // Networks: min=1 Networks []Networks `hcl:"networks,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_filestore_instance.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` }
DataArgs contains the configurations for google_filestore_instance.
type DataFileSharesAttributes ¶
type DataFileSharesAttributes struct {
// contains filtered or unexported fields
}
func (DataFileSharesAttributes) CapacityGb ¶
func (fs DataFileSharesAttributes) CapacityGb() terra.NumberValue
func (DataFileSharesAttributes) InternalRef ¶
func (fs DataFileSharesAttributes) InternalRef() (terra.Reference, error)
func (DataFileSharesAttributes) InternalTokens ¶
func (fs DataFileSharesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFileSharesAttributes) InternalWithRef ¶
func (fs DataFileSharesAttributes) InternalWithRef(ref terra.Reference) DataFileSharesAttributes
func (DataFileSharesAttributes) Name ¶
func (fs DataFileSharesAttributes) Name() terra.StringValue
func (DataFileSharesAttributes) NfsExportOptions ¶
func (fs DataFileSharesAttributes) NfsExportOptions() terra.ListValue[DataFileSharesNfsExportOptionsAttributes]
func (DataFileSharesAttributes) SourceBackup ¶
func (fs DataFileSharesAttributes) SourceBackup() terra.StringValue
type DataFileSharesNfsExportOptionsAttributes ¶
type DataFileSharesNfsExportOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataFileSharesNfsExportOptionsAttributes) AccessMode ¶
func (neo DataFileSharesNfsExportOptionsAttributes) AccessMode() terra.StringValue
func (DataFileSharesNfsExportOptionsAttributes) AnonGid ¶
func (neo DataFileSharesNfsExportOptionsAttributes) AnonGid() terra.NumberValue
func (DataFileSharesNfsExportOptionsAttributes) AnonUid ¶
func (neo DataFileSharesNfsExportOptionsAttributes) AnonUid() terra.NumberValue
func (DataFileSharesNfsExportOptionsAttributes) InternalRef ¶
func (neo DataFileSharesNfsExportOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataFileSharesNfsExportOptionsAttributes) InternalTokens ¶
func (neo DataFileSharesNfsExportOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFileSharesNfsExportOptionsAttributes) InternalWithRef ¶
func (neo DataFileSharesNfsExportOptionsAttributes) InternalWithRef(ref terra.Reference) DataFileSharesNfsExportOptionsAttributes
func (DataFileSharesNfsExportOptionsAttributes) IpRanges ¶
func (neo DataFileSharesNfsExportOptionsAttributes) IpRanges() terra.ListValue[terra.StringValue]
func (DataFileSharesNfsExportOptionsAttributes) SquashMode ¶
func (neo DataFileSharesNfsExportOptionsAttributes) SquashMode() terra.StringValue
type DataFileSharesNfsExportOptionsState ¶
type DataFileSharesNfsExportOptionsState struct {}
type DataFileSharesState ¶
type DataFileSharesState struct {}
type DataNetworksAttributes ¶
type DataNetworksAttributes struct {
// contains filtered or unexported fields
}
func (DataNetworksAttributes) ConnectMode ¶
func (n DataNetworksAttributes) ConnectMode() terra.StringValue
func (DataNetworksAttributes) InternalRef ¶
func (n DataNetworksAttributes) InternalRef() (terra.Reference, error)
func (DataNetworksAttributes) InternalTokens ¶
func (n DataNetworksAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataNetworksAttributes) InternalWithRef ¶
func (n DataNetworksAttributes) InternalWithRef(ref terra.Reference) DataNetworksAttributes
func (DataNetworksAttributes) IpAddresses ¶
func (n DataNetworksAttributes) IpAddresses() terra.ListValue[terra.StringValue]
func (DataNetworksAttributes) Modes ¶
func (n DataNetworksAttributes) Modes() terra.ListValue[terra.StringValue]
func (DataNetworksAttributes) Network ¶
func (n DataNetworksAttributes) Network() terra.StringValue
func (DataNetworksAttributes) ReservedIpRange ¶
func (n DataNetworksAttributes) ReservedIpRange() terra.StringValue
type DataNetworksState ¶
type DataSource ¶
DataSource represents the Terraform data resource google_filestore_instance.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gfi *DataSource) Attributes() dataGoogleFilestoreInstanceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gfi *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gfi *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gfi *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type FileShares ¶
type FileShares struct { terra.NumberValue `hcl:"capacity_gb,attr" validate:"required"` Name terra.StringValue `hcl:"name,attr" validate:"required"` SourceBackup terra.StringValue `hcl:"source_backup,attr"` NfsExportOptions []FileSharesNfsExportOptions `hcl:"nfs_export_options,block" validate:"min=0,max=10"` }CapacityGb
type FileSharesAttributes ¶
type FileSharesAttributes struct {
// contains filtered or unexported fields
}
func (FileSharesAttributes) CapacityGb ¶
func (fs FileSharesAttributes) CapacityGb() terra.NumberValue
func (FileSharesAttributes) InternalRef ¶
func (fs FileSharesAttributes) InternalRef() (terra.Reference, error)
func (FileSharesAttributes) InternalTokens ¶
func (fs FileSharesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FileSharesAttributes) InternalWithRef ¶
func (fs FileSharesAttributes) InternalWithRef(ref terra.Reference) FileSharesAttributes
func (FileSharesAttributes) Name ¶
func (fs FileSharesAttributes) Name() terra.StringValue
func (FileSharesAttributes) NfsExportOptions ¶
func (fs FileSharesAttributes) NfsExportOptions() terra.ListValue[FileSharesNfsExportOptionsAttributes]
func (FileSharesAttributes) SourceBackup ¶
func (fs FileSharesAttributes) SourceBackup() terra.StringValue
type FileSharesNfsExportOptions ¶
type FileSharesNfsExportOptions struct { terra.StringValue `hcl:"access_mode,attr"` AnonGid terra.NumberValue `hcl:"anon_gid,attr"` AnonUid terra.NumberValue `hcl:"anon_uid,attr"` IpRanges terra.ListValue[terra.StringValue] `hcl:"ip_ranges,attr"` SquashMode terra.StringValue `hcl:"squash_mode,attr"` }AccessMode
type FileSharesNfsExportOptionsAttributes ¶
type FileSharesNfsExportOptionsAttributes struct {
// contains filtered or unexported fields
}
func (FileSharesNfsExportOptionsAttributes) AccessMode ¶
func (neo FileSharesNfsExportOptionsAttributes) AccessMode() terra.StringValue
func (FileSharesNfsExportOptionsAttributes) AnonGid ¶
func (neo FileSharesNfsExportOptionsAttributes) AnonGid() terra.NumberValue
func (FileSharesNfsExportOptionsAttributes) AnonUid ¶
func (neo FileSharesNfsExportOptionsAttributes) AnonUid() terra.NumberValue
func (FileSharesNfsExportOptionsAttributes) InternalRef ¶
func (neo FileSharesNfsExportOptionsAttributes) InternalRef() (terra.Reference, error)
func (FileSharesNfsExportOptionsAttributes) InternalTokens ¶
func (neo FileSharesNfsExportOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FileSharesNfsExportOptionsAttributes) InternalWithRef ¶
func (neo FileSharesNfsExportOptionsAttributes) InternalWithRef(ref terra.Reference) FileSharesNfsExportOptionsAttributes
func (FileSharesNfsExportOptionsAttributes) IpRanges ¶
func (neo FileSharesNfsExportOptionsAttributes) IpRanges() terra.ListValue[terra.StringValue]
func (FileSharesNfsExportOptionsAttributes) SquashMode ¶
func (neo FileSharesNfsExportOptionsAttributes) SquashMode() terra.StringValue
type FileSharesNfsExportOptionsState ¶
type FileSharesNfsExportOptionsState struct {}
type FileSharesState ¶
type FileSharesState struct {}
type Networks ¶
type Networks struct { // ConnectMode: string, optional ConnectMode terra.StringValue `hcl:"connect_mode,attr"` // Modes: list of string, required Modes terra.ListValue[terra.StringValue] `hcl:"modes,attr" validate:"required"` // Network: string, required Network terra.StringValue `hcl:"network,attr" validate:"required"` // ReservedIpRange: string, optional ReservedIpRange terra.StringValue `hcl:"reserved_ip_range,attr"` }
type NetworksAttributes ¶
type NetworksAttributes struct {
// contains filtered or unexported fields
}
func (NetworksAttributes) ConnectMode ¶
func (n NetworksAttributes) ConnectMode() terra.StringValue
func (NetworksAttributes) InternalRef ¶
func (n NetworksAttributes) InternalRef() (terra.Reference, error)
func (NetworksAttributes) InternalTokens ¶
func (n NetworksAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworksAttributes) InternalWithRef ¶
func (n NetworksAttributes) InternalWithRef(ref terra.Reference) NetworksAttributes
func (NetworksAttributes) IpAddresses ¶
func (n NetworksAttributes) IpAddresses() terra.ListValue[terra.StringValue]
func (NetworksAttributes) Modes ¶
func (n NetworksAttributes) Modes() terra.ListValue[terra.StringValue]
func (NetworksAttributes) Network ¶
func (n NetworksAttributes) Network() terra.StringValue
func (NetworksAttributes) ReservedIpRange ¶
func (n NetworksAttributes) ReservedIpRange() terra.StringValue
type NetworksState ¶
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_filestore_instance.
func (*Resource) Attributes ¶
func (gfi *Resource) Attributes() googleFilestoreInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gfi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gfi *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