Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataIpConfigurationAttributes
- func (ic DataIpConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ic DataIpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic DataIpConfigurationAttributes) InternalWithRef(ref terra.Reference) DataIpConfigurationAttributes
- func (ic DataIpConfigurationAttributes) Name() terra.StringValue
- func (ic DataIpConfigurationAttributes) PrivateIpAddress() terra.StringValue
- func (ic DataIpConfigurationAttributes) PublicIpAddressId() terra.StringValue
- func (ic DataIpConfigurationAttributes) SubnetId() terra.StringValue
- type DataIpConfigurationState
- type DataManagementIpConfigurationAttributes
- func (mic DataManagementIpConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (mic DataManagementIpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mic DataManagementIpConfigurationAttributes) InternalWithRef(ref terra.Reference) DataManagementIpConfigurationAttributes
- func (mic DataManagementIpConfigurationAttributes) Name() terra.StringValue
- func (mic DataManagementIpConfigurationAttributes) PrivateIpAddress() terra.StringValue
- func (mic DataManagementIpConfigurationAttributes) PublicIpAddressId() terra.StringValue
- func (mic DataManagementIpConfigurationAttributes) SubnetId() terra.StringValue
- type DataManagementIpConfigurationState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type DataVirtualHubAttributes
- func (vh DataVirtualHubAttributes) InternalRef() (terra.Reference, error)
- func (vh DataVirtualHubAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vh DataVirtualHubAttributes) InternalWithRef(ref terra.Reference) DataVirtualHubAttributes
- func (vh DataVirtualHubAttributes) PrivateIpAddress() terra.StringValue
- func (vh DataVirtualHubAttributes) PublicIpAddresses() terra.ListValue[terra.StringValue]
- func (vh DataVirtualHubAttributes) PublicIpCount() terra.NumberValue
- func (vh DataVirtualHubAttributes) VirtualHubId() terra.StringValue
- type DataVirtualHubState
- type IpConfiguration
- type IpConfigurationAttributes
- func (ic IpConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ic IpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic IpConfigurationAttributes) InternalWithRef(ref terra.Reference) IpConfigurationAttributes
- func (ic IpConfigurationAttributes) Name() terra.StringValue
- func (ic IpConfigurationAttributes) PrivateIpAddress() terra.StringValue
- func (ic IpConfigurationAttributes) PublicIpAddressId() terra.StringValue
- func (ic IpConfigurationAttributes) SubnetId() terra.StringValue
- type IpConfigurationState
- type ManagementIpConfiguration
- type ManagementIpConfigurationAttributes
- func (mic ManagementIpConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (mic ManagementIpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mic ManagementIpConfigurationAttributes) InternalWithRef(ref terra.Reference) ManagementIpConfigurationAttributes
- func (mic ManagementIpConfigurationAttributes) Name() terra.StringValue
- func (mic ManagementIpConfigurationAttributes) PrivateIpAddress() terra.StringValue
- func (mic ManagementIpConfigurationAttributes) PublicIpAddressId() terra.StringValue
- func (mic ManagementIpConfigurationAttributes) SubnetId() terra.StringValue
- type ManagementIpConfigurationState
- type Resource
- func (af *Resource) Attributes() azurermFirewallAttributes
- func (af *Resource) Configuration() interface{}
- func (af *Resource) DependOn() terra.Reference
- func (af *Resource) Dependencies() terra.Dependencies
- func (af *Resource) ImportState(state io.Reader) error
- func (af *Resource) LifecycleManagement() *terra.Lifecycle
- func (af *Resource) LocalName() string
- func (af *Resource) State() (*azurermFirewallState, bool)
- func (af *Resource) StateMust() *azurermFirewallState
- func (af *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
- type VirtualHub
- type VirtualHubAttributes
- func (vh VirtualHubAttributes) InternalRef() (terra.Reference, error)
- func (vh VirtualHubAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vh VirtualHubAttributes) InternalWithRef(ref terra.Reference) VirtualHubAttributes
- func (vh VirtualHubAttributes) PrivateIpAddress() terra.StringValue
- func (vh VirtualHubAttributes) PublicIpAddresses() terra.ListValue[terra.StringValue]
- func (vh VirtualHubAttributes) PublicIpCount() terra.NumberValue
- func (vh VirtualHubAttributes) VirtualHubId() terra.StringValue
- type VirtualHubState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DnsProxyEnabled: bool, optional DnsProxyEnabled terra.BoolValue `hcl:"dns_proxy_enabled,attr"` // DnsServers: list of string, optional DnsServers terra.ListValue[terra.StringValue] `hcl:"dns_servers,attr"` // FirewallPolicyId: string, optional FirewallPolicyId terra.StringValue `hcl:"firewall_policy_id,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PrivateIpRanges: set of string, optional PrivateIpRanges terra.SetValue[terra.StringValue] `hcl:"private_ip_ranges,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // SkuName: string, required SkuName terra.StringValue `hcl:"sku_name,attr" validate:"required"` // SkuTier: string, required SkuTier terra.StringValue `hcl:"sku_tier,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // ThreatIntelMode: string, optional ThreatIntelMode terra.StringValue `hcl:"threat_intel_mode,attr"` // Zones: set of string, optional Zones terra.SetValue[terra.StringValue] `hcl:"zones,attr"` // IpConfiguration: min=0 IpConfiguration []IpConfiguration `hcl:"ip_configuration,block" validate:"min=0"` // ManagementIpConfiguration: optional ManagementIpConfiguration *ManagementIpConfiguration `hcl:"management_ip_configuration,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // VirtualHub: optional VirtualHub *VirtualHub `hcl:"virtual_hub,block"` }
Args contains the configurations for azurerm_firewall.
type DataArgs ¶
type DataArgs struct { // DnsProxyEnabled: bool, optional DnsProxyEnabled terra.BoolValue `hcl:"dns_proxy_enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,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"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_firewall.
type DataIpConfigurationAttributes ¶
type DataIpConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (DataIpConfigurationAttributes) InternalRef ¶
func (ic DataIpConfigurationAttributes) InternalRef() (terra.Reference, error)
func (DataIpConfigurationAttributes) InternalTokens ¶
func (ic DataIpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataIpConfigurationAttributes) InternalWithRef ¶
func (ic DataIpConfigurationAttributes) InternalWithRef(ref terra.Reference) DataIpConfigurationAttributes
func (DataIpConfigurationAttributes) Name ¶
func (ic DataIpConfigurationAttributes) Name() terra.StringValue
func (DataIpConfigurationAttributes) PrivateIpAddress ¶
func (ic DataIpConfigurationAttributes) PrivateIpAddress() terra.StringValue
func (DataIpConfigurationAttributes) PublicIpAddressId ¶
func (ic DataIpConfigurationAttributes) PublicIpAddressId() terra.StringValue
func (DataIpConfigurationAttributes) SubnetId ¶
func (ic DataIpConfigurationAttributes) SubnetId() terra.StringValue
type DataManagementIpConfigurationAttributes ¶
type DataManagementIpConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (DataManagementIpConfigurationAttributes) InternalRef ¶
func (mic DataManagementIpConfigurationAttributes) InternalRef() (terra.Reference, error)
func (DataManagementIpConfigurationAttributes) InternalTokens ¶
func (mic DataManagementIpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataManagementIpConfigurationAttributes) InternalWithRef ¶
func (mic DataManagementIpConfigurationAttributes) InternalWithRef(ref terra.Reference) DataManagementIpConfigurationAttributes
func (DataManagementIpConfigurationAttributes) Name ¶
func (mic DataManagementIpConfigurationAttributes) Name() terra.StringValue
func (DataManagementIpConfigurationAttributes) PrivateIpAddress ¶
func (mic DataManagementIpConfigurationAttributes) PrivateIpAddress() terra.StringValue
func (DataManagementIpConfigurationAttributes) PublicIpAddressId ¶
func (mic DataManagementIpConfigurationAttributes) PublicIpAddressId() terra.StringValue
func (DataManagementIpConfigurationAttributes) SubnetId ¶
func (mic DataManagementIpConfigurationAttributes) SubnetId() terra.StringValue
type DataSource ¶
DataSource represents the Terraform data resource azurerm_firewall.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (af *DataSource) Attributes() dataAzurermFirewallAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (af *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (af *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (af *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type DataVirtualHubAttributes ¶
type DataVirtualHubAttributes struct {
// contains filtered or unexported fields
}
func (DataVirtualHubAttributes) InternalRef ¶
func (vh DataVirtualHubAttributes) InternalRef() (terra.Reference, error)
func (DataVirtualHubAttributes) InternalTokens ¶
func (vh DataVirtualHubAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataVirtualHubAttributes) InternalWithRef ¶
func (vh DataVirtualHubAttributes) InternalWithRef(ref terra.Reference) DataVirtualHubAttributes
func (DataVirtualHubAttributes) PrivateIpAddress ¶
func (vh DataVirtualHubAttributes) PrivateIpAddress() terra.StringValue
func (DataVirtualHubAttributes) PublicIpAddresses ¶
func (vh DataVirtualHubAttributes) PublicIpAddresses() terra.ListValue[terra.StringValue]
func (DataVirtualHubAttributes) PublicIpCount ¶
func (vh DataVirtualHubAttributes) PublicIpCount() terra.NumberValue
func (DataVirtualHubAttributes) VirtualHubId ¶
func (vh DataVirtualHubAttributes) VirtualHubId() terra.StringValue
type DataVirtualHubState ¶
type IpConfiguration ¶
type IpConfiguration struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PublicIpAddressId: string, optional PublicIpAddressId terra.StringValue `hcl:"public_ip_address_id,attr"` // SubnetId: string, optional SubnetId terra.StringValue `hcl:"subnet_id,attr"` }
type IpConfigurationAttributes ¶
type IpConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (IpConfigurationAttributes) InternalRef ¶
func (ic IpConfigurationAttributes) InternalRef() (terra.Reference, error)
func (IpConfigurationAttributes) InternalTokens ¶
func (ic IpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IpConfigurationAttributes) InternalWithRef ¶
func (ic IpConfigurationAttributes) InternalWithRef(ref terra.Reference) IpConfigurationAttributes
func (IpConfigurationAttributes) Name ¶
func (ic IpConfigurationAttributes) Name() terra.StringValue
func (IpConfigurationAttributes) PrivateIpAddress ¶
func (ic IpConfigurationAttributes) PrivateIpAddress() terra.StringValue
func (IpConfigurationAttributes) PublicIpAddressId ¶
func (ic IpConfigurationAttributes) PublicIpAddressId() terra.StringValue
func (IpConfigurationAttributes) SubnetId ¶
func (ic IpConfigurationAttributes) SubnetId() terra.StringValue
type IpConfigurationState ¶
type ManagementIpConfiguration ¶
type ManagementIpConfiguration struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PublicIpAddressId: string, required PublicIpAddressId terra.StringValue `hcl:"public_ip_address_id,attr" validate:"required"` // SubnetId: string, required SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"` }
type ManagementIpConfigurationAttributes ¶
type ManagementIpConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ManagementIpConfigurationAttributes) InternalRef ¶
func (mic ManagementIpConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ManagementIpConfigurationAttributes) InternalTokens ¶
func (mic ManagementIpConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagementIpConfigurationAttributes) InternalWithRef ¶
func (mic ManagementIpConfigurationAttributes) InternalWithRef(ref terra.Reference) ManagementIpConfigurationAttributes
func (ManagementIpConfigurationAttributes) Name ¶
func (mic ManagementIpConfigurationAttributes) Name() terra.StringValue
func (ManagementIpConfigurationAttributes) PrivateIpAddress ¶
func (mic ManagementIpConfigurationAttributes) PrivateIpAddress() terra.StringValue
func (ManagementIpConfigurationAttributes) PublicIpAddressId ¶
func (mic ManagementIpConfigurationAttributes) PublicIpAddressId() terra.StringValue
func (ManagementIpConfigurationAttributes) SubnetId ¶
func (mic ManagementIpConfigurationAttributes) SubnetId() terra.StringValue
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_firewall.
func (*Resource) Attributes ¶
func (af *Resource) Attributes() azurermFirewallAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (af *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (af *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
type TimeoutsState ¶
type VirtualHub ¶
type VirtualHub struct { // PublicIpCount: number, optional PublicIpCount terra.NumberValue `hcl:"public_ip_count,attr"` // VirtualHubId: string, required VirtualHubId terra.StringValue `hcl:"virtual_hub_id,attr" validate:"required"` }
type VirtualHubAttributes ¶
type VirtualHubAttributes struct {
// contains filtered or unexported fields
}
func (VirtualHubAttributes) InternalRef ¶
func (vh VirtualHubAttributes) InternalRef() (terra.Reference, error)
func (VirtualHubAttributes) InternalTokens ¶
func (vh VirtualHubAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VirtualHubAttributes) InternalWithRef ¶
func (vh VirtualHubAttributes) InternalWithRef(ref terra.Reference) VirtualHubAttributes
func (VirtualHubAttributes) PrivateIpAddress ¶
func (vh VirtualHubAttributes) PrivateIpAddress() terra.StringValue
func (VirtualHubAttributes) PublicIpAddresses ¶
func (vh VirtualHubAttributes) PublicIpAddresses() terra.ListValue[terra.StringValue]
func (VirtualHubAttributes) PublicIpCount ¶
func (vh VirtualHubAttributes) PublicIpCount() terra.NumberValue
func (VirtualHubAttributes) VirtualHubId ¶
func (vh VirtualHubAttributes) VirtualHubId() terra.StringValue