Documentation
¶
Index ¶
- func BackendEndpointSchema() *pluginsdk.Schema
- func CategorySchema() *pluginsdk.Schema
- func DNSSettingsSchema() *pluginsdk.Schema
- func DestinationNATSchema() *pluginsdk.Schema
- func DestinationSchema() *pluginsdk.Schema
- func ExpandCategory(input []Category) *localrules.Category
- func ExpandDNSSettings(input []DNSSettings) firewalls.DNSSettings
- func ExpandDestination(input []Destination) (*localrules.DestinationAddr, error)
- func ExpandDestinationNAT(input []DestinationNAT) *[]firewalls.FrontendSetting
- func ExpandNetworkProfileVHub(input []NetworkProfileVHub) firewalls.NetworkProfile
- func ExpandNetworkProfileVnet(input []NetworkProfileVnet) firewalls.NetworkProfile
- func ExpandSource(input []Source) (*localrules.SourceAddr, error)
- func FrontendEndpointSchema() *pluginsdk.Schema
- func PanoramaSchema() *pluginsdk.Schema
- func SourceSchema() *pluginsdk.Schema
- func VHubNetworkProfileSchema() *pluginsdk.Schema
- func VnetConfigurationSchema() *pluginsdk.Schema
- func VnetNetworkProfileSchema() *pluginsdk.Schema
- type BackendEndpointConfiguration
- type Category
- type DNSSettings
- type Destination
- type DestinationNAT
- type FrontendEndpointConfiguration
- type NetworkProfileVHub
- type NetworkProfileVnet
- type Panorama
- type Source
- type VnetConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackendEndpointSchema ¶
func CategorySchema ¶
func DNSSettingsSchema ¶
func DestinationNATSchema ¶
DestinationNATSchema returns the schema for a Palo Alto NGFW Front End Settings
func DestinationSchema ¶
func ExpandCategory ¶
func ExpandCategory(input []Category) *localrules.Category
func ExpandDNSSettings ¶
func ExpandDNSSettings(input []DNSSettings) firewalls.DNSSettings
func ExpandDestination ¶
func ExpandDestination(input []Destination) (*localrules.DestinationAddr, error)
func ExpandDestinationNAT ¶
func ExpandDestinationNAT(input []DestinationNAT) *[]firewalls.FrontendSetting
func ExpandNetworkProfileVHub ¶
func ExpandNetworkProfileVHub(input []NetworkProfileVHub) firewalls.NetworkProfile
func ExpandNetworkProfileVnet ¶
func ExpandNetworkProfileVnet(input []NetworkProfileVnet) firewalls.NetworkProfile
func ExpandSource ¶
func ExpandSource(input []Source) (*localrules.SourceAddr, error)
func FrontendEndpointSchema ¶
func PanoramaSchema ¶
func SourceSchema ¶
func VnetConfigurationSchema ¶
Types ¶
type Category ¶
type Category struct { Feeds []string `tfschema:"feeds"` CustomUrls []string `tfschema:"custom_urls"` }
func FlattenCategory ¶
func FlattenCategory(input *localrules.Category) []Category
type DNSSettings ¶
type DNSSettings struct { DnsServers []string `tfschema:"dns_servers"` AzureDNS bool `tfschema:"use_azure_dns"` AzureDNSServers []string `tfschema:"azure_dns_servers"` }
func FlattenDNSSettings ¶
func FlattenDNSSettings(input firewalls.DNSSettings) []DNSSettings
type Destination ¶
type Destination struct { CIDRS []string `tfschema:"cidrs"` Countries []string `tfschema:"countries"` Feeds []string `tfschema:"feeds"` FQDNLists []string `tfschema:"local_rulestack_fqdn_list_ids"` PrefixLists []string `tfschema:"local_rulestack_prefix_list_ids"` }
func FlattenDestination ¶
func FlattenDestination(input *localrules.DestinationAddr, ruleId localrules.LocalRuleId) []Destination
type DestinationNAT ¶
type DestinationNAT struct { Name string `tfschema:"name"` Protocol string `tfschema:"protocol"` FrontendConfiguration []FrontendEndpointConfiguration `tfschema:"frontend_config"` BackendConfiguration []BackendEndpointConfiguration `tfschema:"backend_config"` }
func FlattenDestinationNAT ¶
func FlattenDestinationNAT(input *[]firewalls.FrontendSetting) []DestinationNAT
type NetworkProfileVHub ¶
type NetworkProfileVHub struct { VHubID string `tfschema:"virtual_hub_id"` PublicIPIDs []string `tfschema:"public_ip_address_ids"` // Optional EgressNatIPIDs []string `tfschema:"egress_nat_ip_address_ids"` TrustedRanges []string `tfschema:"trusted_address_ranges"` // Computed PublicIPs []string `tfschema:"public_ip_addresses"` EgressNatIP []string `tfschema:"egress_nat_ip_addresses"` IpOfTrust string `tfschema:"ip_of_trust_for_user_defined_routes"` TrustedSubnet string `tfschema:"trusted_subnet_id"` UnTrustedSubnet string `tfschema:"untrusted_subnet_id"` ApplianceID string `tfschema:"network_virtual_appliance_id"` }
func FlattenNetworkProfileVHub ¶
func FlattenNetworkProfileVHub(input firewalls.NetworkProfile) (*NetworkProfileVHub, error)
type NetworkProfileVnet ¶
type NetworkProfileVnet struct { // Required PublicIPIDs []string `tfschema:"public_ip_address_ids"` // Optional EgressNatIPIDs []string `tfschema:"egress_nat_ip_address_ids"` TrustedRanges []string `tfschema:"trusted_address_ranges"` VnetConfiguration []VnetConfiguration `tfschema:"vnet_configuration"` // Computed PublicIPs []string `tfschema:"public_ip_addresses"` EgressNatIP []string `tfschema:"egress_nat_ip_addresses"` }
func FlattenNetworkProfileVnet ¶
func FlattenNetworkProfileVnet(input firewalls.NetworkProfile) []NetworkProfileVnet
type Panorama ¶
type Panorama struct { Name string `tfschema:"name"` DeviceGroupName string `tfschema:"device_group_name"` HostName string `tfschema:"host_name"` PanoramaServer string `tfschema:"panorama_server_1"` PanoramaServer2 string `tfschema:"panorama_server_2"` TplName string `tfschema:"template_name"` VMAuthKey string `tfschema:"virtual_machine_ssh_key"` }
type Source ¶
type Source struct { CIDRS []string `tfschema:"cidrs"` Countries []string `tfschema:"countries"` Feeds []string `tfschema:"feeds"` PrefixLists []string `tfschema:"local_rulestack_prefix_list_ids"` }
func FlattenSource ¶
func FlattenSource(input *localrules.SourceAddr, ruleId localrules.LocalRuleId) []Source
type VnetConfiguration ¶
Click to show internal directories.
Click to hide internal directories.