google_vmwareengine_external_access_rule

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DestinationPorts: list of string, required
	DestinationPorts terra.ListValue[terra.StringValue] `hcl:"destination_ports,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IpProtocol: string, required
	IpProtocol terra.StringValue `hcl:"ip_protocol,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// SourcePorts: list of string, required
	SourcePorts terra.ListValue[terra.StringValue] `hcl:"source_ports,attr" validate:"required"`
	// DestinationIpRanges: min=1
	DestinationIpRanges []DestinationIpRanges `hcl:"destination_ip_ranges,block" validate:"min=1"`
	// SourceIpRanges: min=1
	SourceIpRanges []SourceIpRanges `hcl:"source_ip_ranges,block" validate:"min=1"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_vmwareengine_external_access_rule.

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"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
}

DataArgs contains the configurations for google_vmwareengine_external_access_rule.

type DataDestinationIpRangesAttributes

type DataDestinationIpRangesAttributes struct {
	// contains filtered or unexported fields
}

func (DataDestinationIpRangesAttributes) ExternalAddress

func (dir DataDestinationIpRangesAttributes) ExternalAddress() terra.StringValue

func (DataDestinationIpRangesAttributes) InternalRef

func (DataDestinationIpRangesAttributes) InternalTokens

func (dir DataDestinationIpRangesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDestinationIpRangesAttributes) InternalWithRef

func (DataDestinationIpRangesAttributes) IpAddressRange

type DataDestinationIpRangesState

type DataDestinationIpRangesState struct {
	ExternalAddress string `json:"external_address"`
	IpAddressRange  string `json:"ip_address_range"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_vmwareengine_external_access_rule.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gvear *DataSource) Attributes() dataGoogleVmwareengineExternalAccessRuleAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gvear *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gvear *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gvear *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataSourceIpRangesAttributes

type DataSourceIpRangesAttributes struct {
	// contains filtered or unexported fields
}

func (DataSourceIpRangesAttributes) InternalRef

func (sir DataSourceIpRangesAttributes) InternalRef() (terra.Reference, error)

func (DataSourceIpRangesAttributes) InternalTokens

func (sir DataSourceIpRangesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSourceIpRangesAttributes) InternalWithRef

func (DataSourceIpRangesAttributes) IpAddress

func (DataSourceIpRangesAttributes) IpAddressRange

func (sir DataSourceIpRangesAttributes) IpAddressRange() terra.StringValue

type DataSourceIpRangesState

type DataSourceIpRangesState struct {
	IpAddress      string `json:"ip_address"`
	IpAddressRange string `json:"ip_address_range"`
}

type DestinationIpRanges

type DestinationIpRanges struct {
	// ExternalAddress: string, optional
	ExternalAddress terra.StringValue `hcl:"external_address,attr"`
	// IpAddressRange: string, optional
	IpAddressRange terra.StringValue `hcl:"ip_address_range,attr"`
}

type DestinationIpRangesAttributes

type DestinationIpRangesAttributes struct {
	// contains filtered or unexported fields
}

func (DestinationIpRangesAttributes) ExternalAddress

func (dir DestinationIpRangesAttributes) ExternalAddress() terra.StringValue

func (DestinationIpRangesAttributes) InternalRef

func (dir DestinationIpRangesAttributes) InternalRef() (terra.Reference, error)

func (DestinationIpRangesAttributes) InternalTokens

func (dir DestinationIpRangesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DestinationIpRangesAttributes) InternalWithRef

func (DestinationIpRangesAttributes) IpAddressRange

func (dir DestinationIpRangesAttributes) IpAddressRange() terra.StringValue

type DestinationIpRangesState

type DestinationIpRangesState struct {
	ExternalAddress string `json:"external_address"`
	IpAddressRange  string `json:"ip_address_range"`
}

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_external_access_rule.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gvear *Resource) Attributes() googleVmwareengineExternalAccessRuleAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gvear *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gvear *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gvear *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gvear *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gvear *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gvear *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gvear *Resource) State() (*googleVmwareengineExternalAccessRuleState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gvear *Resource) StateMust() *googleVmwareengineExternalAccessRuleState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gvear *Resource) Type() string

Type returns the Terraform object type for Resource.

type SourceIpRanges

type SourceIpRanges struct {
	// IpAddress: string, optional
	IpAddress terra.StringValue `hcl:"ip_address,attr"`
	// IpAddressRange: string, optional
	IpAddressRange terra.StringValue `hcl:"ip_address_range,attr"`
}

type SourceIpRangesAttributes

type SourceIpRangesAttributes struct {
	// contains filtered or unexported fields
}

func (SourceIpRangesAttributes) InternalRef

func (sir SourceIpRangesAttributes) InternalRef() (terra.Reference, error)

func (SourceIpRangesAttributes) InternalTokens

func (sir SourceIpRangesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceIpRangesAttributes) InternalWithRef

func (SourceIpRangesAttributes) IpAddress

func (sir SourceIpRangesAttributes) IpAddress() terra.StringValue

func (SourceIpRangesAttributes) IpAddressRange

func (sir SourceIpRangesAttributes) IpAddressRange() terra.StringValue

type SourceIpRangesState

type SourceIpRangesState struct {
	IpAddress      string `json:"ip_address"`
	IpAddressRange string `json:"ip_address_range"`
}

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL