Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataSource
- type Resource
- func (gvnp *Resource) Attributes() googleVmwareengineNetworkPeeringAttributes
- func (gvnp *Resource) Configuration() interface{}
- func (gvnp *Resource) DependOn() terra.Reference
- func (gvnp *Resource) Dependencies() terra.Dependencies
- func (gvnp *Resource) ImportState(state io.Reader) error
- func (gvnp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gvnp *Resource) LocalName() string
- func (gvnp *Resource) State() (*googleVmwareengineNetworkPeeringState, bool)
- func (gvnp *Resource) StateMust() *googleVmwareengineNetworkPeeringState
- func (gvnp *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"` // ExportCustomRoutes: bool, optional ExportCustomRoutes terra.BoolValue `hcl:"export_custom_routes,attr"` // ExportCustomRoutesWithPublicIp: bool, optional ExportCustomRoutesWithPublicIp terra.BoolValue `hcl:"export_custom_routes_with_public_ip,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ImportCustomRoutes: bool, optional ImportCustomRoutes terra.BoolValue `hcl:"import_custom_routes,attr"` // ImportCustomRoutesWithPublicIp: bool, optional ImportCustomRoutesWithPublicIp terra.BoolValue `hcl:"import_custom_routes_with_public_ip,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PeerNetwork: string, required PeerNetwork terra.StringValue `hcl:"peer_network,attr" validate:"required"` // PeerNetworkType: string, required PeerNetworkType terra.StringValue `hcl:"peer_network_type,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // VmwareEngineNetwork: string, required VmwareEngineNetwork terra.StringValue `hcl:"vmware_engine_network,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_vmwareengine_network_peering.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` }
DataArgs contains the configurations for google_vmwareengine_network_peering.
type DataSource ¶
DataSource represents the Terraform data resource google_vmwareengine_network_peering.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gvnp *DataSource) Attributes() dataGoogleVmwareengineNetworkPeeringAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gvnp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gvnp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gvnp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_vmwareengine_network_peering.
func (*Resource) Attributes ¶
func (gvnp *Resource) Attributes() googleVmwareengineNetworkPeeringAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gvnp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gvnp *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