Documentation ¶
Index ¶
- type Args
- type PscConfig
- type PscConfigAttributes
- func (pc PscConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc PscConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PscConfigAttributes) InternalWithRef(ref terra.Reference) PscConfigAttributes
- func (pc PscConfigAttributes) Limit() terra.StringValue
- func (pc PscConfigAttributes) Subnetworks() terra.ListValue[terra.StringValue]
- type PscConfigState
- type PscConnectionsAttributes
- func (pc PscConnectionsAttributes) ConsumerAddress() terra.StringValue
- func (pc PscConnectionsAttributes) ConsumerForwardingRule() terra.StringValue
- func (pc PscConnectionsAttributes) ConsumerTargetProject() terra.StringValue
- func (pc PscConnectionsAttributes) Error() terra.ListValue[PscConnectionsErrorAttributes]
- func (pc PscConnectionsAttributes) ErrorInfo() terra.ListValue[PscConnectionsErrorInfoAttributes]
- func (pc PscConnectionsAttributes) ErrorType() terra.StringValue
- func (pc PscConnectionsAttributes) GceOperation() terra.StringValue
- func (pc PscConnectionsAttributes) InternalRef() (terra.Reference, error)
- func (pc PscConnectionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PscConnectionsAttributes) InternalWithRef(ref terra.Reference) PscConnectionsAttributes
- func (pc PscConnectionsAttributes) PscConnectionId() terra.StringValue
- func (pc PscConnectionsAttributes) State() terra.StringValue
- type PscConnectionsErrorAttributes
- func (e PscConnectionsErrorAttributes) Code() terra.NumberValue
- func (e PscConnectionsErrorAttributes) Details() terra.ListValue[terra.MapValue[terra.StringValue]]
- func (e PscConnectionsErrorAttributes) InternalRef() (terra.Reference, error)
- func (e PscConnectionsErrorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e PscConnectionsErrorAttributes) InternalWithRef(ref terra.Reference) PscConnectionsErrorAttributes
- func (e PscConnectionsErrorAttributes) Message() terra.StringValue
- type PscConnectionsErrorInfoAttributes
- func (ei PscConnectionsErrorInfoAttributes) Domain() terra.StringValue
- func (ei PscConnectionsErrorInfoAttributes) InternalRef() (terra.Reference, error)
- func (ei PscConnectionsErrorInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ei PscConnectionsErrorInfoAttributes) InternalWithRef(ref terra.Reference) PscConnectionsErrorInfoAttributes
- func (ei PscConnectionsErrorInfoAttributes) Metadata() terra.MapValue[terra.StringValue]
- func (ei PscConnectionsErrorInfoAttributes) Reason() terra.StringValue
- type PscConnectionsErrorInfoState
- type PscConnectionsErrorState
- type PscConnectionsState
- type Resource
- func (gncscp *Resource) Attributes() googleNetworkConnectivityServiceConnectionPolicyAttributes
- func (gncscp *Resource) Configuration() interface{}
- func (gncscp *Resource) DependOn() terra.Reference
- func (gncscp *Resource) Dependencies() terra.Dependencies
- func (gncscp *Resource) ImportState(state io.Reader) error
- func (gncscp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gncscp *Resource) LocalName() string
- func (gncscp *Resource) State() (*googleNetworkConnectivityServiceConnectionPolicyState, bool)
- func (gncscp *Resource) StateMust() *googleNetworkConnectivityServiceConnectionPolicyState
- func (gncscp *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"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Network: string, required Network terra.StringValue `hcl:"network,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ServiceClass: string, required ServiceClass terra.StringValue `hcl:"service_class,attr" validate:"required"` // PscConfig: optional PscConfig *PscConfig `hcl:"psc_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_network_connectivity_service_connection_policy.
type PscConfig ¶
type PscConfig struct { // Limit: string, optional Limit terra.StringValue `hcl:"limit,attr"` // Subnetworks: list of string, required Subnetworks terra.ListValue[terra.StringValue] `hcl:"subnetworks,attr" validate:"required"` }
type PscConfigAttributes ¶
type PscConfigAttributes struct {
// contains filtered or unexported fields
}
func (PscConfigAttributes) InternalRef ¶
func (pc PscConfigAttributes) InternalRef() (terra.Reference, error)
func (PscConfigAttributes) InternalTokens ¶
func (pc PscConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PscConfigAttributes) InternalWithRef ¶
func (pc PscConfigAttributes) InternalWithRef(ref terra.Reference) PscConfigAttributes
func (PscConfigAttributes) Limit ¶
func (pc PscConfigAttributes) Limit() terra.StringValue
func (PscConfigAttributes) Subnetworks ¶
func (pc PscConfigAttributes) Subnetworks() terra.ListValue[terra.StringValue]
type PscConfigState ¶
type PscConnectionsAttributes ¶
type PscConnectionsAttributes struct {
// contains filtered or unexported fields
}
func (PscConnectionsAttributes) ConsumerAddress ¶
func (pc PscConnectionsAttributes) ConsumerAddress() terra.StringValue
func (PscConnectionsAttributes) ConsumerForwardingRule ¶
func (pc PscConnectionsAttributes) ConsumerForwardingRule() terra.StringValue
func (PscConnectionsAttributes) ConsumerTargetProject ¶
func (pc PscConnectionsAttributes) ConsumerTargetProject() terra.StringValue
func (PscConnectionsAttributes) Error ¶
func (pc PscConnectionsAttributes) Error() terra.ListValue[PscConnectionsErrorAttributes]
func (PscConnectionsAttributes) ErrorInfo ¶
func (pc PscConnectionsAttributes) ErrorInfo() terra.ListValue[PscConnectionsErrorInfoAttributes]
func (PscConnectionsAttributes) ErrorType ¶
func (pc PscConnectionsAttributes) ErrorType() terra.StringValue
func (PscConnectionsAttributes) GceOperation ¶
func (pc PscConnectionsAttributes) GceOperation() terra.StringValue
func (PscConnectionsAttributes) InternalRef ¶
func (pc PscConnectionsAttributes) InternalRef() (terra.Reference, error)
func (PscConnectionsAttributes) InternalTokens ¶
func (pc PscConnectionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PscConnectionsAttributes) InternalWithRef ¶
func (pc PscConnectionsAttributes) InternalWithRef(ref terra.Reference) PscConnectionsAttributes
func (PscConnectionsAttributes) PscConnectionId ¶
func (pc PscConnectionsAttributes) PscConnectionId() terra.StringValue
func (PscConnectionsAttributes) State ¶
func (pc PscConnectionsAttributes) State() terra.StringValue
type PscConnectionsErrorAttributes ¶
type PscConnectionsErrorAttributes struct {
// contains filtered or unexported fields
}
func (PscConnectionsErrorAttributes) Code ¶
func (e PscConnectionsErrorAttributes) Code() terra.NumberValue
func (PscConnectionsErrorAttributes) Details ¶
func (e PscConnectionsErrorAttributes) Details() terra.ListValue[terra.MapValue[terra.StringValue]]
func (PscConnectionsErrorAttributes) InternalRef ¶
func (e PscConnectionsErrorAttributes) InternalRef() (terra.Reference, error)
func (PscConnectionsErrorAttributes) InternalTokens ¶
func (e PscConnectionsErrorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PscConnectionsErrorAttributes) InternalWithRef ¶
func (e PscConnectionsErrorAttributes) InternalWithRef(ref terra.Reference) PscConnectionsErrorAttributes
func (PscConnectionsErrorAttributes) Message ¶
func (e PscConnectionsErrorAttributes) Message() terra.StringValue
type PscConnectionsErrorInfoAttributes ¶
type PscConnectionsErrorInfoAttributes struct {
// contains filtered or unexported fields
}
func (PscConnectionsErrorInfoAttributes) Domain ¶
func (ei PscConnectionsErrorInfoAttributes) Domain() terra.StringValue
func (PscConnectionsErrorInfoAttributes) InternalRef ¶
func (ei PscConnectionsErrorInfoAttributes) InternalRef() (terra.Reference, error)
func (PscConnectionsErrorInfoAttributes) InternalTokens ¶
func (ei PscConnectionsErrorInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PscConnectionsErrorInfoAttributes) InternalWithRef ¶
func (ei PscConnectionsErrorInfoAttributes) InternalWithRef(ref terra.Reference) PscConnectionsErrorInfoAttributes
func (PscConnectionsErrorInfoAttributes) Metadata ¶
func (ei PscConnectionsErrorInfoAttributes) Metadata() terra.MapValue[terra.StringValue]
func (PscConnectionsErrorInfoAttributes) Reason ¶
func (ei PscConnectionsErrorInfoAttributes) Reason() terra.StringValue
type PscConnectionsState ¶
type PscConnectionsState struct { ConsumerAddress string `json:"consumer_address"` ConsumerForwardingRule string `json:"consumer_forwarding_rule"` ConsumerTargetProject string `json:"consumer_target_project"` ErrorType string `json:"error_type"` GceOperation string `json:"gce_operation"` PscConnectionId string `json:"psc_connection_id"` State string `json:"state"` Error []PscConnectionsErrorState `json:"error"` ErrorInfo []PscConnectionsErrorInfoState `json:"error_info"` }
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_service_connection_policy.
func (*Resource) Attributes ¶
func (gncscp *Resource) Attributes() googleNetworkConnectivityServiceConnectionPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gncscp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gncscp *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.