Documentation ¶
Index ¶
- type Args
- type Resource
- func (gcvt *Resource) Attributes() googleComputeVpnTunnelAttributes
- func (gcvt *Resource) Configuration() interface{}
- func (gcvt *Resource) DependOn() terra.Reference
- func (gcvt *Resource) Dependencies() terra.Dependencies
- func (gcvt *Resource) ImportState(state io.Reader) error
- func (gcvt *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcvt *Resource) LocalName() string
- func (gcvt *Resource) State() (*googleComputeVpnTunnelState, bool)
- func (gcvt *Resource) StateMust() *googleComputeVpnTunnelState
- func (gcvt *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"` // IkeVersion: number, optional IkeVersion terra.NumberValue `hcl:"ike_version,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // LocalTrafficSelector: set of string, optional LocalTrafficSelector terra.SetValue[terra.StringValue] `hcl:"local_traffic_selector,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PeerExternalGateway: string, optional PeerExternalGateway terra.StringValue `hcl:"peer_external_gateway,attr"` // PeerExternalGatewayInterface: number, optional PeerExternalGatewayInterface terra.NumberValue `hcl:"peer_external_gateway_interface,attr"` // PeerGcpGateway: string, optional PeerGcpGateway terra.StringValue `hcl:"peer_gcp_gateway,attr"` // PeerIp: string, optional PeerIp terra.StringValue `hcl:"peer_ip,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // RemoteTrafficSelector: set of string, optional RemoteTrafficSelector terra.SetValue[terra.StringValue] `hcl:"remote_traffic_selector,attr"` // Router: string, optional Router terra.StringValue `hcl:"router,attr"` SharedSecret terra.StringValue `hcl:"shared_secret,attr" validate:"required"` // TargetVpnGateway: string, optional TargetVpnGateway terra.StringValue `hcl:"target_vpn_gateway,attr"` // VpnGateway: string, optional VpnGateway terra.StringValue `hcl:"vpn_gateway,attr"` // VpnGatewayInterface: number, optional VpnGatewayInterface terra.NumberValue `hcl:"vpn_gateway_interface,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_vpn_tunnel.
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_compute_vpn_tunnel.
func (*Resource) Attributes ¶
func (gcvt *Resource) Attributes() googleComputeVpnTunnelAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcvt *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcvt *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.