Documentation ¶
Index ¶
- type AcceleratorConfig
- type AcceleratorConfigAttributes
- func (ac AcceleratorConfigAttributes) CoreCount() terra.NumberValue
- func (ac AcceleratorConfigAttributes) InternalRef() (terra.Reference, error)
- func (ac AcceleratorConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac AcceleratorConfigAttributes) InternalWithRef(ref terra.Reference) AcceleratorConfigAttributes
- func (ac AcceleratorConfigAttributes) Type() terra.StringValue
- type AcceleratorConfigState
- type Args
- type ContainerImage
- type ContainerImageAttributes
- func (ci ContainerImageAttributes) InternalRef() (terra.Reference, error)
- func (ci ContainerImageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ci ContainerImageAttributes) InternalWithRef(ref terra.Reference) ContainerImageAttributes
- func (ci ContainerImageAttributes) Repository() terra.StringValue
- func (ci ContainerImageAttributes) Tag() terra.StringValue
- type ContainerImageState
- type ReservationAffinity
- type ReservationAffinityAttributes
- func (ra ReservationAffinityAttributes) ConsumeReservationType() terra.StringValue
- func (ra ReservationAffinityAttributes) InternalRef() (terra.Reference, error)
- func (ra ReservationAffinityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ra ReservationAffinityAttributes) InternalWithRef(ref terra.Reference) ReservationAffinityAttributes
- func (ra ReservationAffinityAttributes) Key() terra.StringValue
- func (ra ReservationAffinityAttributes) Values() terra.ListValue[terra.StringValue]
- type ReservationAffinityState
- type Resource
- func (gni *Resource) Attributes() googleNotebooksInstanceAttributes
- func (gni *Resource) Configuration() interface{}
- func (gni *Resource) DependOn() terra.Reference
- func (gni *Resource) Dependencies() terra.Dependencies
- func (gni *Resource) ImportState(state io.Reader) error
- func (gni *Resource) LifecycleManagement() *terra.Lifecycle
- func (gni *Resource) LocalName() string
- func (gni *Resource) State() (*googleNotebooksInstanceState, bool)
- func (gni *Resource) StateMust() *googleNotebooksInstanceState
- func (gni *Resource) Type() string
- type ShieldedInstanceConfig
- type ShieldedInstanceConfigAttributes
- func (sic ShieldedInstanceConfigAttributes) EnableIntegrityMonitoring() terra.BoolValue
- func (sic ShieldedInstanceConfigAttributes) EnableSecureBoot() terra.BoolValue
- func (sic ShieldedInstanceConfigAttributes) EnableVtpm() terra.BoolValue
- func (sic ShieldedInstanceConfigAttributes) InternalRef() (terra.Reference, error)
- func (sic ShieldedInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sic ShieldedInstanceConfigAttributes) InternalWithRef(ref terra.Reference) ShieldedInstanceConfigAttributes
- type ShieldedInstanceConfigState
- 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
- type VmImage
- type VmImageAttributes
- func (vi VmImageAttributes) ImageFamily() terra.StringValue
- func (vi VmImageAttributes) ImageName() terra.StringValue
- func (vi VmImageAttributes) InternalRef() (terra.Reference, error)
- func (vi VmImageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vi VmImageAttributes) InternalWithRef(ref terra.Reference) VmImageAttributes
- func (vi VmImageAttributes) Project() terra.StringValue
- type VmImageState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceleratorConfig ¶
type AcceleratorConfig struct { // CoreCount: number, required CoreCount terra.NumberValue `hcl:"core_count,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type AcceleratorConfigAttributes ¶
type AcceleratorConfigAttributes struct {
// contains filtered or unexported fields
}
func (AcceleratorConfigAttributes) CoreCount ¶
func (ac AcceleratorConfigAttributes) CoreCount() terra.NumberValue
func (AcceleratorConfigAttributes) InternalRef ¶
func (ac AcceleratorConfigAttributes) InternalRef() (terra.Reference, error)
func (AcceleratorConfigAttributes) InternalTokens ¶
func (ac AcceleratorConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AcceleratorConfigAttributes) InternalWithRef ¶
func (ac AcceleratorConfigAttributes) InternalWithRef(ref terra.Reference) AcceleratorConfigAttributes
func (AcceleratorConfigAttributes) Type ¶
func (ac AcceleratorConfigAttributes) Type() terra.StringValue
type AcceleratorConfigState ¶
type Args ¶
type Args struct { // BootDiskSizeGb: number, optional BootDiskSizeGb terra.NumberValue `hcl:"boot_disk_size_gb,attr"` // BootDiskType: string, optional BootDiskType terra.StringValue `hcl:"boot_disk_type,attr"` // CreateTime: string, optional CreateTime terra.StringValue `hcl:"create_time,attr"` // CustomGpuDriverPath: string, optional CustomGpuDriverPath terra.StringValue `hcl:"custom_gpu_driver_path,attr"` // DataDiskSizeGb: number, optional DataDiskSizeGb terra.NumberValue `hcl:"data_disk_size_gb,attr"` // DataDiskType: string, optional DataDiskType terra.StringValue `hcl:"data_disk_type,attr"` // DesiredState: string, optional DesiredState terra.StringValue `hcl:"desired_state,attr"` // DiskEncryption: string, optional DiskEncryption terra.StringValue `hcl:"disk_encryption,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstallGpuDriver: bool, optional InstallGpuDriver terra.BoolValue `hcl:"install_gpu_driver,attr"` // InstanceOwners: list of string, optional InstanceOwners terra.ListValue[terra.StringValue] `hcl:"instance_owners,attr"` // KmsKey: string, optional KmsKey terra.StringValue `hcl:"kms_key,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // MachineType: string, required MachineType terra.StringValue `hcl:"machine_type,attr" validate:"required"` // Metadata: map of string, optional Metadata terra.MapValue[terra.StringValue] `hcl:"metadata,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Network: string, optional Network terra.StringValue `hcl:"network,attr"` // NicType: string, optional NicType terra.StringValue `hcl:"nic_type,attr"` // NoProxyAccess: bool, optional NoProxyAccess terra.BoolValue `hcl:"no_proxy_access,attr"` // NoPublicIp: bool, optional NoPublicIp terra.BoolValue `hcl:"no_public_ip,attr"` // NoRemoveDataDisk: bool, optional NoRemoveDataDisk terra.BoolValue `hcl:"no_remove_data_disk,attr"` // PostStartupScript: string, optional PostStartupScript terra.StringValue `hcl:"post_startup_script,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ServiceAccount: string, optional ServiceAccount terra.StringValue `hcl:"service_account,attr"` // ServiceAccountScopes: list of string, optional ServiceAccountScopes terra.ListValue[terra.StringValue] `hcl:"service_account_scopes,attr"` // Subnet: string, optional Subnet terra.StringValue `hcl:"subnet,attr"` // Tags: list of string, optional Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"` // UpdateTime: string, optional UpdateTime terra.StringValue `hcl:"update_time,attr"` // AcceleratorConfig: optional AcceleratorConfig *AcceleratorConfig `hcl:"accelerator_config,block"` // ContainerImage: optional ContainerImage *ContainerImage `hcl:"container_image,block"` // ReservationAffinity: optional ReservationAffinity *ReservationAffinity `hcl:"reservation_affinity,block"` // ShieldedInstanceConfig: optional ShieldedInstanceConfig *ShieldedInstanceConfig `hcl:"shielded_instance_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VmImage: optional VmImage *VmImage `hcl:"vm_image,block"` }
Args contains the configurations for google_notebooks_instance.
type ContainerImage ¶
type ContainerImage struct { // Repository: string, required Repository terra.StringValue `hcl:"repository,attr" validate:"required"` // Tag: string, optional Tag terra.StringValue `hcl:"tag,attr"` }
type ContainerImageAttributes ¶
type ContainerImageAttributes struct {
// contains filtered or unexported fields
}
func (ContainerImageAttributes) InternalRef ¶
func (ci ContainerImageAttributes) InternalRef() (terra.Reference, error)
func (ContainerImageAttributes) InternalTokens ¶
func (ci ContainerImageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContainerImageAttributes) InternalWithRef ¶
func (ci ContainerImageAttributes) InternalWithRef(ref terra.Reference) ContainerImageAttributes
func (ContainerImageAttributes) Repository ¶
func (ci ContainerImageAttributes) Repository() terra.StringValue
func (ContainerImageAttributes) Tag ¶
func (ci ContainerImageAttributes) Tag() terra.StringValue
type ContainerImageState ¶
type ReservationAffinity ¶
type ReservationAffinity struct { // ConsumeReservationType: string, required ConsumeReservationType terra.StringValue `hcl:"consume_reservation_type,attr" validate:"required"` // Key: string, optional Key terra.StringValue `hcl:"key,attr"` // Values: list of string, optional Values terra.ListValue[terra.StringValue] `hcl:"values,attr"` }
type ReservationAffinityAttributes ¶
type ReservationAffinityAttributes struct {
// contains filtered or unexported fields
}
func (ReservationAffinityAttributes) ConsumeReservationType ¶
func (ra ReservationAffinityAttributes) ConsumeReservationType() terra.StringValue
func (ReservationAffinityAttributes) InternalRef ¶
func (ra ReservationAffinityAttributes) InternalRef() (terra.Reference, error)
func (ReservationAffinityAttributes) InternalTokens ¶
func (ra ReservationAffinityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReservationAffinityAttributes) InternalWithRef ¶
func (ra ReservationAffinityAttributes) InternalWithRef(ref terra.Reference) ReservationAffinityAttributes
func (ReservationAffinityAttributes) Key ¶
func (ra ReservationAffinityAttributes) Key() terra.StringValue
func (ReservationAffinityAttributes) Values ¶
func (ra ReservationAffinityAttributes) Values() terra.ListValue[terra.StringValue]
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_notebooks_instance.
func (*Resource) Attributes ¶
func (gni *Resource) Attributes() googleNotebooksInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gni *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gni *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 ShieldedInstanceConfig ¶
type ShieldedInstanceConfig struct { // EnableIntegrityMonitoring: bool, optional EnableIntegrityMonitoring terra.BoolValue `hcl:"enable_integrity_monitoring,attr"` // EnableSecureBoot: bool, optional EnableSecureBoot terra.BoolValue `hcl:"enable_secure_boot,attr"` // EnableVtpm: bool, optional EnableVtpm terra.BoolValue `hcl:"enable_vtpm,attr"` }
type ShieldedInstanceConfigAttributes ¶
type ShieldedInstanceConfigAttributes struct {
// contains filtered or unexported fields
}
func (ShieldedInstanceConfigAttributes) EnableIntegrityMonitoring ¶
func (sic ShieldedInstanceConfigAttributes) EnableIntegrityMonitoring() terra.BoolValue
func (ShieldedInstanceConfigAttributes) EnableSecureBoot ¶
func (sic ShieldedInstanceConfigAttributes) EnableSecureBoot() terra.BoolValue
func (ShieldedInstanceConfigAttributes) EnableVtpm ¶
func (sic ShieldedInstanceConfigAttributes) EnableVtpm() terra.BoolValue
func (ShieldedInstanceConfigAttributes) InternalRef ¶
func (sic ShieldedInstanceConfigAttributes) InternalRef() (terra.Reference, error)
func (ShieldedInstanceConfigAttributes) InternalTokens ¶
func (sic ShieldedInstanceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShieldedInstanceConfigAttributes) InternalWithRef ¶
func (sic ShieldedInstanceConfigAttributes) InternalWithRef(ref terra.Reference) ShieldedInstanceConfigAttributes
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 ¶
type VmImage ¶
type VmImage struct { // ImageFamily: string, optional ImageFamily terra.StringValue `hcl:"image_family,attr"` // ImageName: string, optional ImageName terra.StringValue `hcl:"image_name,attr"` // Project: string, required Project terra.StringValue `hcl:"project,attr" validate:"required"` }
type VmImageAttributes ¶
type VmImageAttributes struct {
// contains filtered or unexported fields
}
func (VmImageAttributes) ImageFamily ¶
func (vi VmImageAttributes) ImageFamily() terra.StringValue
func (VmImageAttributes) ImageName ¶
func (vi VmImageAttributes) ImageName() terra.StringValue
func (VmImageAttributes) InternalRef ¶
func (vi VmImageAttributes) InternalRef() (terra.Reference, error)
func (VmImageAttributes) InternalTokens ¶
func (vi VmImageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VmImageAttributes) InternalWithRef ¶
func (vi VmImageAttributes) InternalWithRef(ref terra.Reference) VmImageAttributes
func (VmImageAttributes) Project ¶
func (vi VmImageAttributes) Project() terra.StringValue
type VmImageState ¶
Click to show internal directories.
Click to hide internal directories.