Documentation ¶
Index ¶
- type Args
- type Filter
- type FilterAttributes
- func (f FilterAttributes) DestRange() terra.StringValue
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) IpProtocol() terra.StringValue
- func (f FilterAttributes) ProtocolVersion() terra.StringValue
- func (f FilterAttributes) SrcRange() terra.StringValue
- type FilterState
- type InterconnectAttachment
- type InterconnectAttachmentAttributes
- func (ia InterconnectAttachmentAttributes) InternalRef() (terra.Reference, error)
- func (ia InterconnectAttachmentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ia InterconnectAttachmentAttributes) InternalWithRef(ref terra.Reference) InterconnectAttachmentAttributes
- func (ia InterconnectAttachmentAttributes) Region() terra.StringValue
- type InterconnectAttachmentState
- type Resource
- func (gncpbr *Resource) Attributes() googleNetworkConnectivityPolicyBasedRouteAttributes
- func (gncpbr *Resource) Configuration() interface{}
- func (gncpbr *Resource) DependOn() terra.Reference
- func (gncpbr *Resource) Dependencies() terra.Dependencies
- func (gncpbr *Resource) ImportState(state io.Reader) error
- func (gncpbr *Resource) LifecycleManagement() *terra.Lifecycle
- func (gncpbr *Resource) LocalName() string
- func (gncpbr *Resource) State() (*googleNetworkConnectivityPolicyBasedRouteState, bool)
- func (gncpbr *Resource) StateMust() *googleNetworkConnectivityPolicyBasedRouteState
- func (gncpbr *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
- type VirtualMachine
- type VirtualMachineAttributes
- func (vm VirtualMachineAttributes) InternalRef() (terra.Reference, error)
- func (vm VirtualMachineAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vm VirtualMachineAttributes) InternalWithRef(ref terra.Reference) VirtualMachineAttributes
- func (vm VirtualMachineAttributes) Tags() terra.ListValue[terra.StringValue]
- type VirtualMachineState
- type WarningsAttributes
- func (w WarningsAttributes) Code() terra.StringValue
- func (w WarningsAttributes) Data() terra.MapValue[terra.StringValue]
- func (w WarningsAttributes) InternalRef() (terra.Reference, error)
- func (w WarningsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (w WarningsAttributes) InternalWithRef(ref terra.Reference) WarningsAttributes
- func (w WarningsAttributes) WarningMessage() terra.StringValue
- type WarningsState
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"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Network: string, required Network terra.StringValue `hcl:"network,attr" validate:"required"` // NextHopIlbIp: string, optional NextHopIlbIp terra.StringValue `hcl:"next_hop_ilb_ip,attr"` // NextHopOtherRoutes: string, optional NextHopOtherRoutes terra.StringValue `hcl:"next_hop_other_routes,attr"` // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Filter: required Filter *Filter `hcl:"filter,block" validate:"required"` // InterconnectAttachment: optional InterconnectAttachment *InterconnectAttachment `hcl:"interconnect_attachment,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VirtualMachine: optional VirtualMachine *VirtualMachine `hcl:"virtual_machine,block"` }
Args contains the configurations for google_network_connectivity_policy_based_route.
type Filter ¶
type Filter struct { // DestRange: string, optional DestRange terra.StringValue `hcl:"dest_range,attr"` // IpProtocol: string, optional IpProtocol terra.StringValue `hcl:"ip_protocol,attr"` // ProtocolVersion: string, required ProtocolVersion terra.StringValue `hcl:"protocol_version,attr" validate:"required"` // SrcRange: string, optional SrcRange terra.StringValue `hcl:"src_range,attr"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) DestRange ¶
func (f FilterAttributes) DestRange() terra.StringValue
func (FilterAttributes) InternalRef ¶
func (f FilterAttributes) InternalRef() (terra.Reference, error)
func (FilterAttributes) InternalTokens ¶
func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FilterAttributes) InternalWithRef ¶
func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
func (FilterAttributes) IpProtocol ¶
func (f FilterAttributes) IpProtocol() terra.StringValue
func (FilterAttributes) ProtocolVersion ¶
func (f FilterAttributes) ProtocolVersion() terra.StringValue
func (FilterAttributes) SrcRange ¶
func (f FilterAttributes) SrcRange() terra.StringValue
type FilterState ¶
type InterconnectAttachment ¶
type InterconnectAttachment struct { // Region: string, required Region terra.StringValue `hcl:"region,attr" validate:"required"` }
type InterconnectAttachmentAttributes ¶
type InterconnectAttachmentAttributes struct {
// contains filtered or unexported fields
}
func (InterconnectAttachmentAttributes) InternalRef ¶
func (ia InterconnectAttachmentAttributes) InternalRef() (terra.Reference, error)
func (InterconnectAttachmentAttributes) InternalTokens ¶
func (ia InterconnectAttachmentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InterconnectAttachmentAttributes) InternalWithRef ¶
func (ia InterconnectAttachmentAttributes) InternalWithRef(ref terra.Reference) InterconnectAttachmentAttributes
func (InterconnectAttachmentAttributes) Region ¶
func (ia InterconnectAttachmentAttributes) Region() terra.StringValue
type InterconnectAttachmentState ¶
type InterconnectAttachmentState struct {
Region string `json:"region"`
}
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_network_connectivity_policy_based_route.
func (*Resource) Attributes ¶
func (gncpbr *Resource) Attributes() googleNetworkConnectivityPolicyBasedRouteAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gncpbr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gncpbr *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 ¶
type VirtualMachine ¶
type VirtualMachine struct { // Tags: list of string, required Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr" validate:"required"` }
type VirtualMachineAttributes ¶
type VirtualMachineAttributes struct {
// contains filtered or unexported fields
}
func (VirtualMachineAttributes) InternalRef ¶
func (vm VirtualMachineAttributes) InternalRef() (terra.Reference, error)
func (VirtualMachineAttributes) InternalTokens ¶
func (vm VirtualMachineAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualMachineAttributes) InternalWithRef ¶
func (vm VirtualMachineAttributes) InternalWithRef(ref terra.Reference) VirtualMachineAttributes
func (VirtualMachineAttributes) Tags ¶
func (vm VirtualMachineAttributes) Tags() terra.ListValue[terra.StringValue]
type VirtualMachineState ¶
type VirtualMachineState struct {
Tags []string `json:"tags"`
}
type WarningsAttributes ¶
type WarningsAttributes struct {
// contains filtered or unexported fields
}
func (WarningsAttributes) Code ¶
func (w WarningsAttributes) Code() terra.StringValue
func (WarningsAttributes) Data ¶
func (w WarningsAttributes) Data() terra.MapValue[terra.StringValue]
func (WarningsAttributes) InternalRef ¶
func (w WarningsAttributes) InternalRef() (terra.Reference, error)
func (WarningsAttributes) InternalTokens ¶
func (w WarningsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WarningsAttributes) InternalWithRef ¶
func (w WarningsAttributes) InternalWithRef(ref terra.Reference) WarningsAttributes
func (WarningsAttributes) WarningMessage ¶
func (w WarningsAttributes) WarningMessage() terra.StringValue
Click to show internal directories.
Click to hide internal directories.