Documentation ¶
Index ¶
- type Args
- type DdosProtectionConfig
- type DdosProtectionConfigAttributes
- func (dpc DdosProtectionConfigAttributes) DdosProtection() terra.StringValue
- func (dpc DdosProtectionConfigAttributes) InternalRef() (terra.Reference, error)
- func (dpc DdosProtectionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dpc DdosProtectionConfigAttributes) InternalWithRef(ref terra.Reference) DdosProtectionConfigAttributes
- type DdosProtectionConfigState
- type Resource
- func (gcrsp *Resource) Attributes() googleComputeRegionSecurityPolicyAttributes
- func (gcrsp *Resource) Configuration() interface{}
- func (gcrsp *Resource) DependOn() terra.Reference
- func (gcrsp *Resource) Dependencies() terra.Dependencies
- func (gcrsp *Resource) ImportState(state io.Reader) error
- func (gcrsp *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcrsp *Resource) LocalName() string
- func (gcrsp *Resource) State() (*googleComputeRegionSecurityPolicyState, bool)
- func (gcrsp *Resource) StateMust() *googleComputeRegionSecurityPolicyState
- func (gcrsp *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 UserDefinedFields
- type UserDefinedFieldsAttributes
- func (udf UserDefinedFieldsAttributes) Base() terra.StringValue
- func (udf UserDefinedFieldsAttributes) InternalRef() (terra.Reference, error)
- func (udf UserDefinedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (udf UserDefinedFieldsAttributes) InternalWithRef(ref terra.Reference) UserDefinedFieldsAttributes
- func (udf UserDefinedFieldsAttributes) Mask() terra.StringValue
- func (udf UserDefinedFieldsAttributes) Name() terra.StringValue
- func (udf UserDefinedFieldsAttributes) Offset() terra.NumberValue
- func (udf UserDefinedFieldsAttributes) Size() terra.NumberValue
- type UserDefinedFieldsState
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"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // DdosProtectionConfig: optional DdosProtectionConfig *DdosProtectionConfig `hcl:"ddos_protection_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // UserDefinedFields: min=0 UserDefinedFields []UserDefinedFields `hcl:"user_defined_fields,block" validate:"min=0"` }
Args contains the configurations for google_compute_region_security_policy.
type DdosProtectionConfig ¶
type DdosProtectionConfig struct { // DdosProtection: string, required DdosProtection terra.StringValue `hcl:"ddos_protection,attr" validate:"required"` }
type DdosProtectionConfigAttributes ¶
type DdosProtectionConfigAttributes struct {
// contains filtered or unexported fields
}
func (DdosProtectionConfigAttributes) DdosProtection ¶
func (dpc DdosProtectionConfigAttributes) DdosProtection() terra.StringValue
func (DdosProtectionConfigAttributes) InternalRef ¶
func (dpc DdosProtectionConfigAttributes) InternalRef() (terra.Reference, error)
func (DdosProtectionConfigAttributes) InternalTokens ¶
func (dpc DdosProtectionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DdosProtectionConfigAttributes) InternalWithRef ¶
func (dpc DdosProtectionConfigAttributes) InternalWithRef(ref terra.Reference) DdosProtectionConfigAttributes
type DdosProtectionConfigState ¶
type DdosProtectionConfigState struct {
DdosProtection string `json:"ddos_protection"`
}
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_region_security_policy.
func (*Resource) Attributes ¶
func (gcrsp *Resource) Attributes() googleComputeRegionSecurityPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcrsp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcrsp *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 UserDefinedFields ¶
type UserDefinedFields struct { // Base: string, required Base terra.StringValue `hcl:"base,attr" validate:"required"` // Mask: string, optional Mask terra.StringValue `hcl:"mask,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Offset: number, optional Offset terra.NumberValue `hcl:"offset,attr"` // Size: number, optional Size terra.NumberValue `hcl:"size,attr"` }
type UserDefinedFieldsAttributes ¶
type UserDefinedFieldsAttributes struct {
// contains filtered or unexported fields
}
func (UserDefinedFieldsAttributes) Base ¶
func (udf UserDefinedFieldsAttributes) Base() terra.StringValue
func (UserDefinedFieldsAttributes) InternalRef ¶
func (udf UserDefinedFieldsAttributes) InternalRef() (terra.Reference, error)
func (UserDefinedFieldsAttributes) InternalTokens ¶
func (udf UserDefinedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UserDefinedFieldsAttributes) InternalWithRef ¶
func (udf UserDefinedFieldsAttributes) InternalWithRef(ref terra.Reference) UserDefinedFieldsAttributes
func (UserDefinedFieldsAttributes) Mask ¶
func (udf UserDefinedFieldsAttributes) Mask() terra.StringValue
func (UserDefinedFieldsAttributes) Name ¶
func (udf UserDefinedFieldsAttributes) Name() terra.StringValue
func (UserDefinedFieldsAttributes) Offset ¶
func (udf UserDefinedFieldsAttributes) Offset() terra.NumberValue
func (UserDefinedFieldsAttributes) Size ¶
func (udf UserDefinedFieldsAttributes) Size() terra.NumberValue
Click to show internal directories.
Click to hide internal directories.