Documentation ¶
Index ¶
- type Args
- type ExternalMapping
- type ExternalMappingAttributes
- func (em ExternalMappingAttributes) AddressSpace() terra.StringValue
- func (em ExternalMappingAttributes) InternalRef() (terra.Reference, error)
- func (em ExternalMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (em ExternalMappingAttributes) InternalWithRef(ref terra.Reference) ExternalMappingAttributes
- func (em ExternalMappingAttributes) PortRange() terra.StringValue
- type ExternalMappingState
- type InternalMapping
- type InternalMappingAttributes
- func (im InternalMappingAttributes) AddressSpace() terra.StringValue
- func (im InternalMappingAttributes) InternalRef() (terra.Reference, error)
- func (im InternalMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (im InternalMappingAttributes) InternalWithRef(ref terra.Reference) InternalMappingAttributes
- func (im InternalMappingAttributes) PortRange() terra.StringValue
- type InternalMappingState
- type Resource
- func (avgnr *Resource) Attributes() azurermVpnGatewayNatRuleAttributes
- func (avgnr *Resource) Configuration() interface{}
- func (avgnr *Resource) DependOn() terra.Reference
- func (avgnr *Resource) Dependencies() terra.Dependencies
- func (avgnr *Resource) ImportState(state io.Reader) error
- func (avgnr *Resource) LifecycleManagement() *terra.Lifecycle
- func (avgnr *Resource) LocalName() string
- func (avgnr *Resource) State() (*azurermVpnGatewayNatRuleState, bool)
- func (avgnr *Resource) StateMust() *azurermVpnGatewayNatRuleState
- func (avgnr *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) Read() terra.StringValue
- 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 { // ExternalAddressSpaceMappings: list of string, optional ExternalAddressSpaceMappings terra.ListValue[terra.StringValue] `hcl:"external_address_space_mappings,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InternalAddressSpaceMappings: list of string, optional InternalAddressSpaceMappings terra.ListValue[terra.StringValue] `hcl:"internal_address_space_mappings,attr"` // IpConfigurationId: string, optional IpConfigurationId terra.StringValue `hcl:"ip_configuration_id,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // VpnGatewayId: string, required VpnGatewayId terra.StringValue `hcl:"vpn_gateway_id,attr" validate:"required"` // ExternalMapping: min=0 ExternalMapping []ExternalMapping `hcl:"external_mapping,block" validate:"min=0"` // InternalMapping: min=0 InternalMapping []InternalMapping `hcl:"internal_mapping,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_vpn_gateway_nat_rule.
type ExternalMapping ¶
type ExternalMapping struct { // AddressSpace: string, required AddressSpace terra.StringValue `hcl:"address_space,attr" validate:"required"` // PortRange: string, optional PortRange terra.StringValue `hcl:"port_range,attr"` }
type ExternalMappingAttributes ¶
type ExternalMappingAttributes struct {
// contains filtered or unexported fields
}
func (ExternalMappingAttributes) AddressSpace ¶
func (em ExternalMappingAttributes) AddressSpace() terra.StringValue
func (ExternalMappingAttributes) InternalRef ¶
func (em ExternalMappingAttributes) InternalRef() (terra.Reference, error)
func (ExternalMappingAttributes) InternalTokens ¶
func (em ExternalMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExternalMappingAttributes) InternalWithRef ¶
func (em ExternalMappingAttributes) InternalWithRef(ref terra.Reference) ExternalMappingAttributes
func (ExternalMappingAttributes) PortRange ¶
func (em ExternalMappingAttributes) PortRange() terra.StringValue
type ExternalMappingState ¶
type InternalMapping ¶
type InternalMapping struct { // AddressSpace: string, required AddressSpace terra.StringValue `hcl:"address_space,attr" validate:"required"` // PortRange: string, optional PortRange terra.StringValue `hcl:"port_range,attr"` }
type InternalMappingAttributes ¶
type InternalMappingAttributes struct {
// contains filtered or unexported fields
}
func (InternalMappingAttributes) AddressSpace ¶
func (im InternalMappingAttributes) AddressSpace() terra.StringValue
func (InternalMappingAttributes) InternalRef ¶
func (im InternalMappingAttributes) InternalRef() (terra.Reference, error)
func (InternalMappingAttributes) InternalTokens ¶
func (im InternalMappingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InternalMappingAttributes) InternalWithRef ¶
func (im InternalMappingAttributes) InternalWithRef(ref terra.Reference) InternalMappingAttributes
func (InternalMappingAttributes) PortRange ¶
func (im InternalMappingAttributes) PortRange() terra.StringValue
type InternalMappingState ¶
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 azurerm_vpn_gateway_nat_rule.
func (*Resource) Attributes ¶
func (avgnr *Resource) Attributes() azurermVpnGatewayNatRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avgnr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avgnr *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"` // Read: string, optional Read terra.StringValue `hcl:"read,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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.