Documentation
¶
Index ¶
- type Args
- type Resource
- func (gcri *Resource) Attributes() googleComputeRouterInterfaceAttributes
- func (gcri *Resource) Configuration() interface{}
- func (gcri *Resource) DependOn() terra.Reference
- func (gcri *Resource) Dependencies() terra.Dependencies
- func (gcri *Resource) ImportState(state io.Reader) error
- func (gcri *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcri *Resource) LocalName() string
- func (gcri *Resource) State() (*googleComputeRouterInterfaceState, bool)
- func (gcri *Resource) StateMust() *googleComputeRouterInterfaceState
- func (gcri *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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InterconnectAttachment: string, optional InterconnectAttachment terra.StringValue `hcl:"interconnect_attachment,attr"` // IpRange: string, optional IpRange terra.StringValue `hcl:"ip_range,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PrivateIpAddress: string, optional PrivateIpAddress terra.StringValue `hcl:"private_ip_address,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // RedundantInterface: string, optional RedundantInterface terra.StringValue `hcl:"redundant_interface,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Router: string, required Router terra.StringValue `hcl:"router,attr" validate:"required"` // Subnetwork: string, optional Subnetwork terra.StringValue `hcl:"subnetwork,attr"` // VpnTunnel: string, optional VpnTunnel terra.StringValue `hcl:"vpn_tunnel,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_router_interface.
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_router_interface.
func (*Resource) Attributes ¶
func (gcri *Resource) Attributes() googleComputeRouterInterfaceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcri *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcri *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"` }
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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.