Documentation ¶
Index ¶
- type Args
- type CollectorIlb
- type CollectorIlbAttributes
- type CollectorIlbState
- type Filter
- type FilterAttributes
- func (f FilterAttributes) CidrRanges() terra.ListValue[terra.StringValue]
- func (f FilterAttributes) Direction() 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) IpProtocols() terra.ListValue[terra.StringValue]
- type FilterState
- type MirroredResources
- type MirroredResourcesAttributes
- func (mr MirroredResourcesAttributes) Instances() terra.ListValue[MirroredResourcesInstancesAttributes]
- func (mr MirroredResourcesAttributes) InternalRef() (terra.Reference, error)
- func (mr MirroredResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mr MirroredResourcesAttributes) InternalWithRef(ref terra.Reference) MirroredResourcesAttributes
- func (mr MirroredResourcesAttributes) Subnetworks() terra.ListValue[MirroredResourcesSubnetworksAttributes]
- func (mr MirroredResourcesAttributes) Tags() terra.ListValue[terra.StringValue]
- type MirroredResourcesInstances
- type MirroredResourcesInstancesAttributes
- func (i MirroredResourcesInstancesAttributes) InternalRef() (terra.Reference, error)
- func (i MirroredResourcesInstancesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i MirroredResourcesInstancesAttributes) InternalWithRef(ref terra.Reference) MirroredResourcesInstancesAttributes
- func (i MirroredResourcesInstancesAttributes) Url() terra.StringValue
- type MirroredResourcesInstancesState
- type MirroredResourcesState
- type MirroredResourcesSubnetworks
- type MirroredResourcesSubnetworksAttributes
- func (s MirroredResourcesSubnetworksAttributes) InternalRef() (terra.Reference, error)
- func (s MirroredResourcesSubnetworksAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s MirroredResourcesSubnetworksAttributes) InternalWithRef(ref terra.Reference) MirroredResourcesSubnetworksAttributes
- func (s MirroredResourcesSubnetworksAttributes) Url() terra.StringValue
- type MirroredResourcesSubnetworksState
- type Network
- type NetworkAttributes
- type NetworkState
- type Resource
- func (gcpm *Resource) Attributes() googleComputePacketMirroringAttributes
- func (gcpm *Resource) Configuration() interface{}
- func (gcpm *Resource) DependOn() terra.Reference
- func (gcpm *Resource) Dependencies() terra.Dependencies
- func (gcpm *Resource) ImportState(state io.Reader) error
- func (gcpm *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcpm *Resource) LocalName() string
- func (gcpm *Resource) State() (*googleComputePacketMirroringState, bool)
- func (gcpm *Resource) StateMust() *googleComputePacketMirroringState
- func (gcpm *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"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // CollectorIlb: required CollectorIlb *CollectorIlb `hcl:"collector_ilb,block" validate:"required"` // Filter: optional Filter *Filter `hcl:"filter,block"` // MirroredResources: required MirroredResources *MirroredResources `hcl:"mirrored_resources,block" validate:"required"` // Network: required Network *Network `hcl:"network,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_packet_mirroring.
type CollectorIlb ¶
type CollectorIlb struct { // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` }
type CollectorIlbAttributes ¶
type CollectorIlbAttributes struct {
// contains filtered or unexported fields
}
func (CollectorIlbAttributes) InternalRef ¶
func (ci CollectorIlbAttributes) InternalRef() (terra.Reference, error)
func (CollectorIlbAttributes) InternalTokens ¶
func (ci CollectorIlbAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CollectorIlbAttributes) InternalWithRef ¶
func (ci CollectorIlbAttributes) InternalWithRef(ref terra.Reference) CollectorIlbAttributes
func (CollectorIlbAttributes) Url ¶
func (ci CollectorIlbAttributes) Url() terra.StringValue
type CollectorIlbState ¶
type CollectorIlbState struct {
Url string `json:"url"`
}
type Filter ¶
type Filter struct { // CidrRanges: list of string, optional CidrRanges terra.ListValue[terra.StringValue] `hcl:"cidr_ranges,attr"` // Direction: string, optional Direction terra.StringValue `hcl:"direction,attr"` // IpProtocols: list of string, optional IpProtocols terra.ListValue[terra.StringValue] `hcl:"ip_protocols,attr"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) CidrRanges ¶
func (f FilterAttributes) CidrRanges() terra.ListValue[terra.StringValue]
func (FilterAttributes) Direction ¶
func (f FilterAttributes) Direction() 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) IpProtocols ¶
func (f FilterAttributes) IpProtocols() terra.ListValue[terra.StringValue]
type FilterState ¶
type MirroredResources ¶
type MirroredResources struct { // Tags: list of string, optional Tags terra.ListValue[terra.StringValue] `hcl:"tags,attr"` // MirroredResourcesInstances: min=0 Instances []MirroredResourcesInstances `hcl:"instances,block" validate:"min=0"` // MirroredResourcesSubnetworks: min=0 Subnetworks []MirroredResourcesSubnetworks `hcl:"subnetworks,block" validate:"min=0"` }
type MirroredResourcesAttributes ¶
type MirroredResourcesAttributes struct {
// contains filtered or unexported fields
}
func (MirroredResourcesAttributes) Instances ¶
func (mr MirroredResourcesAttributes) Instances() terra.ListValue[MirroredResourcesInstancesAttributes]
func (MirroredResourcesAttributes) InternalRef ¶
func (mr MirroredResourcesAttributes) InternalRef() (terra.Reference, error)
func (MirroredResourcesAttributes) InternalTokens ¶
func (mr MirroredResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MirroredResourcesAttributes) InternalWithRef ¶
func (mr MirroredResourcesAttributes) InternalWithRef(ref terra.Reference) MirroredResourcesAttributes
func (MirroredResourcesAttributes) Subnetworks ¶
func (mr MirroredResourcesAttributes) Subnetworks() terra.ListValue[MirroredResourcesSubnetworksAttributes]
func (MirroredResourcesAttributes) Tags ¶
func (mr MirroredResourcesAttributes) Tags() terra.ListValue[terra.StringValue]
type MirroredResourcesInstances ¶
type MirroredResourcesInstances struct { // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` }
type MirroredResourcesInstancesAttributes ¶
type MirroredResourcesInstancesAttributes struct {
// contains filtered or unexported fields
}
func (MirroredResourcesInstancesAttributes) InternalRef ¶
func (i MirroredResourcesInstancesAttributes) InternalRef() (terra.Reference, error)
func (MirroredResourcesInstancesAttributes) InternalTokens ¶
func (i MirroredResourcesInstancesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MirroredResourcesInstancesAttributes) InternalWithRef ¶
func (i MirroredResourcesInstancesAttributes) InternalWithRef(ref terra.Reference) MirroredResourcesInstancesAttributes
func (MirroredResourcesInstancesAttributes) Url ¶
func (i MirroredResourcesInstancesAttributes) Url() terra.StringValue
type MirroredResourcesInstancesState ¶
type MirroredResourcesInstancesState struct {
Url string `json:"url"`
}
type MirroredResourcesState ¶
type MirroredResourcesState struct { Tags []string `json:"tags"` Instances []MirroredResourcesInstancesState `json:"instances"` Subnetworks []MirroredResourcesSubnetworksState `json:"subnetworks"` }
type MirroredResourcesSubnetworks ¶
type MirroredResourcesSubnetworks struct { // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` }
type MirroredResourcesSubnetworksAttributes ¶
type MirroredResourcesSubnetworksAttributes struct {
// contains filtered or unexported fields
}
func (MirroredResourcesSubnetworksAttributes) InternalRef ¶
func (s MirroredResourcesSubnetworksAttributes) InternalRef() (terra.Reference, error)
func (MirroredResourcesSubnetworksAttributes) InternalTokens ¶
func (s MirroredResourcesSubnetworksAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MirroredResourcesSubnetworksAttributes) InternalWithRef ¶
func (s MirroredResourcesSubnetworksAttributes) InternalWithRef(ref terra.Reference) MirroredResourcesSubnetworksAttributes
func (MirroredResourcesSubnetworksAttributes) Url ¶
func (s MirroredResourcesSubnetworksAttributes) Url() terra.StringValue
type MirroredResourcesSubnetworksState ¶
type MirroredResourcesSubnetworksState struct {
Url string `json:"url"`
}
type Network ¶
type Network struct { // Url: string, required Url terra.StringValue `hcl:"url,attr" validate:"required"` }
type NetworkAttributes ¶
type NetworkAttributes struct {
// contains filtered or unexported fields
}
func (NetworkAttributes) InternalRef ¶
func (n NetworkAttributes) InternalRef() (terra.Reference, error)
func (NetworkAttributes) InternalTokens ¶
func (n NetworkAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkAttributes) InternalWithRef ¶
func (n NetworkAttributes) InternalWithRef(ref terra.Reference) NetworkAttributes
func (NetworkAttributes) Url ¶
func (n NetworkAttributes) Url() terra.StringValue
type NetworkState ¶
type NetworkState struct {
Url string `json:"url"`
}
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_packet_mirroring.
func (*Resource) Attributes ¶
func (gcpm *Resource) Attributes() googleComputePacketMirroringAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcpm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcpm *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.