Aquasec v0.8.29 published on Monday, Jul 22, 2024 by Pulumiverse
aquasec.getFirewallPolicy
Explore with Pulumi AI
Using getFirewallPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFirewallPolicy(args: GetFirewallPolicyArgs, opts?: InvokeOptions): Promise<GetFirewallPolicyResult>
function getFirewallPolicyOutput(args: GetFirewallPolicyOutputArgs, opts?: InvokeOptions): Output<GetFirewallPolicyResult>def get_firewall_policy(name: Optional[str] = None,
                        outbound_networks: Optional[Sequence[GetFirewallPolicyOutboundNetwork]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetFirewallPolicyResult
def get_firewall_policy_output(name: Optional[pulumi.Input[str]] = None,
                        outbound_networks: Optional[pulumi.Input[Sequence[pulumi.Input[GetFirewallPolicyOutboundNetworkArgs]]]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetFirewallPolicyResult]func LookupFirewallPolicy(ctx *Context, args *LookupFirewallPolicyArgs, opts ...InvokeOption) (*LookupFirewallPolicyResult, error)
func LookupFirewallPolicyOutput(ctx *Context, args *LookupFirewallPolicyOutputArgs, opts ...InvokeOption) LookupFirewallPolicyResultOutput> Note: This function is named LookupFirewallPolicy in the Go SDK.
public static class GetFirewallPolicy 
{
    public static Task<GetFirewallPolicyResult> InvokeAsync(GetFirewallPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetFirewallPolicyResult> Invoke(GetFirewallPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFirewallPolicyResult> getFirewallPolicy(GetFirewallPolicyArgs args, InvokeOptions options)
public static Output<GetFirewallPolicyResult> getFirewallPolicy(GetFirewallPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: aquasec:index/getFirewallPolicy:getFirewallPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of the policy, no longer than 128 characters and no slash characters.
- OutboundNetworks List<Pulumiverse.Aquasec. Inputs. Get Firewall Policy Outbound Network> 
- Information on network addresses that are allowed to receive data or requests.
- Name string
- Name of the policy, no longer than 128 characters and no slash characters.
- OutboundNetworks []GetFirewall Policy Outbound Network 
- Information on network addresses that are allowed to receive data or requests.
- name String
- Name of the policy, no longer than 128 characters and no slash characters.
- outboundNetworks List<GetFirewall Policy Outbound Network> 
- Information on network addresses that are allowed to receive data or requests.
- name string
- Name of the policy, no longer than 128 characters and no slash characters.
- outboundNetworks GetFirewall Policy Outbound Network[] 
- Information on network addresses that are allowed to receive data or requests.
- name str
- Name of the policy, no longer than 128 characters and no slash characters.
- outbound_networks Sequence[GetFirewall Policy Outbound Network] 
- Information on network addresses that are allowed to receive data or requests.
- name String
- Name of the policy, no longer than 128 characters and no slash characters.
- outboundNetworks List<Property Map>
- Information on network addresses that are allowed to receive data or requests.
getFirewallPolicy Result
The following output properties are available:
- string
- Username of the account that created the policy.
- BlockIcmp boolPing 
- Indicates whether policy includes blocking incoming 'ping' requests.
- BlockMetadata boolService 
- Indicates whether policy includes blocking metadata services of the cloud.
- Description string
- Description of the Firewall Policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- InboundNetworks List<Pulumiverse.Aquasec. Outputs. Get Firewall Policy Inbound Network> 
- Information on network addresses that are allowed to pass in data or requests.
- Lastupdate int
- Timestamp of the last update in Unix time format.
- Name string
- Name of the policy, no longer than 128 characters and no slash characters.
- Type string
- Indicates the class of protection defined by the firewall.
- Version string
- Aqua version functionality supported
- OutboundNetworks List<Pulumiverse.Aquasec. Outputs. Get Firewall Policy Outbound Network> 
- Information on network addresses that are allowed to receive data or requests.
- string
- Username of the account that created the policy.
- BlockIcmp boolPing 
- Indicates whether policy includes blocking incoming 'ping' requests.
- BlockMetadata boolService 
- Indicates whether policy includes blocking metadata services of the cloud.
- Description string
- Description of the Firewall Policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- InboundNetworks []GetFirewall Policy Inbound Network 
- Information on network addresses that are allowed to pass in data or requests.
- Lastupdate int
- Timestamp of the last update in Unix time format.
- Name string
- Name of the policy, no longer than 128 characters and no slash characters.
- Type string
- Indicates the class of protection defined by the firewall.
- Version string
- Aqua version functionality supported
- OutboundNetworks []GetFirewall Policy Outbound Network 
- Information on network addresses that are allowed to receive data or requests.
- String
- Username of the account that created the policy.
- blockIcmp BooleanPing 
- Indicates whether policy includes blocking incoming 'ping' requests.
- blockMetadata BooleanService 
- Indicates whether policy includes blocking metadata services of the cloud.
- description String
- Description of the Firewall Policy.
- id String
- The provider-assigned unique ID for this managed resource.
- inboundNetworks List<GetFirewall Policy Inbound Network> 
- Information on network addresses that are allowed to pass in data or requests.
- lastupdate Integer
- Timestamp of the last update in Unix time format.
- name String
- Name of the policy, no longer than 128 characters and no slash characters.
- type String
- Indicates the class of protection defined by the firewall.
- version String
- Aqua version functionality supported
- outboundNetworks List<GetFirewall Policy Outbound Network> 
- Information on network addresses that are allowed to receive data or requests.
- string
- Username of the account that created the policy.
- blockIcmp booleanPing 
- Indicates whether policy includes blocking incoming 'ping' requests.
- blockMetadata booleanService 
- Indicates whether policy includes blocking metadata services of the cloud.
- description string
- Description of the Firewall Policy.
- id string
- The provider-assigned unique ID for this managed resource.
- inboundNetworks GetFirewall Policy Inbound Network[] 
- Information on network addresses that are allowed to pass in data or requests.
- lastupdate number
- Timestamp of the last update in Unix time format.
- name string
- Name of the policy, no longer than 128 characters and no slash characters.
- type string
- Indicates the class of protection defined by the firewall.
- version string
- Aqua version functionality supported
- outboundNetworks GetFirewall Policy Outbound Network[] 
- Information on network addresses that are allowed to receive data or requests.
- str
- Username of the account that created the policy.
- block_icmp_ boolping 
- Indicates whether policy includes blocking incoming 'ping' requests.
- block_metadata_ boolservice 
- Indicates whether policy includes blocking metadata services of the cloud.
- description str
- Description of the Firewall Policy.
- id str
- The provider-assigned unique ID for this managed resource.
- inbound_networks Sequence[GetFirewall Policy Inbound Network] 
- Information on network addresses that are allowed to pass in data or requests.
- lastupdate int
- Timestamp of the last update in Unix time format.
- name str
- Name of the policy, no longer than 128 characters and no slash characters.
- type str
- Indicates the class of protection defined by the firewall.
- version str
- Aqua version functionality supported
- outbound_networks Sequence[GetFirewall Policy Outbound Network] 
- Information on network addresses that are allowed to receive data or requests.
- String
- Username of the account that created the policy.
- blockIcmp BooleanPing 
- Indicates whether policy includes blocking incoming 'ping' requests.
- blockMetadata BooleanService 
- Indicates whether policy includes blocking metadata services of the cloud.
- description String
- Description of the Firewall Policy.
- id String
- The provider-assigned unique ID for this managed resource.
- inboundNetworks List<Property Map>
- Information on network addresses that are allowed to pass in data or requests.
- lastupdate Number
- Timestamp of the last update in Unix time format.
- name String
- Name of the policy, no longer than 128 characters and no slash characters.
- type String
- Indicates the class of protection defined by the firewall.
- version String
- Aqua version functionality supported
- outboundNetworks List<Property Map>
- Information on network addresses that are allowed to receive data or requests.
Supporting Types
GetFirewallPolicyInboundNetwork    
- Allow bool
- Indicates whether the specified resources are allowed to pass in data or requests.
- PortRange string
- Range of ports affected by firewall.
- Resource string
- Information of the resource.
- ResourceType string
- Type of the resource
- Allow bool
- Indicates whether the specified resources are allowed to pass in data or requests.
- PortRange string
- Range of ports affected by firewall.
- Resource string
- Information of the resource.
- ResourceType string
- Type of the resource
- allow Boolean
- Indicates whether the specified resources are allowed to pass in data or requests.
- portRange String
- Range of ports affected by firewall.
- resource String
- Information of the resource.
- resourceType String
- Type of the resource
- allow boolean
- Indicates whether the specified resources are allowed to pass in data or requests.
- portRange string
- Range of ports affected by firewall.
- resource string
- Information of the resource.
- resourceType string
- Type of the resource
- allow bool
- Indicates whether the specified resources are allowed to pass in data or requests.
- port_range str
- Range of ports affected by firewall.
- resource str
- Information of the resource.
- resource_type str
- Type of the resource
- allow Boolean
- Indicates whether the specified resources are allowed to pass in data or requests.
- portRange String
- Range of ports affected by firewall.
- resource String
- Information of the resource.
- resourceType String
- Type of the resource
GetFirewallPolicyOutboundNetwork    
- Allow bool
- Indicates whether the specified resources are allowed to receive data or requests.
- PortRange string
- Range of ports affected by firewall.
- Resource string
- Information of the resource.
- ResourceType string
- Type of the resource.
- Allow bool
- Indicates whether the specified resources are allowed to receive data or requests.
- PortRange string
- Range of ports affected by firewall.
- Resource string
- Information of the resource.
- ResourceType string
- Type of the resource.
- allow Boolean
- Indicates whether the specified resources are allowed to receive data or requests.
- portRange String
- Range of ports affected by firewall.
- resource String
- Information of the resource.
- resourceType String
- Type of the resource.
- allow boolean
- Indicates whether the specified resources are allowed to receive data or requests.
- portRange string
- Range of ports affected by firewall.
- resource string
- Information of the resource.
- resourceType string
- Type of the resource.
- allow bool
- Indicates whether the specified resources are allowed to receive data or requests.
- port_range str
- Range of ports affected by firewall.
- resource str
- Information of the resource.
- resource_type str
- Type of the resource.
- allow Boolean
- Indicates whether the specified resources are allowed to receive data or requests.
- portRange String
- Range of ports affected by firewall.
- resource String
- Information of the resource.
- resourceType String
- Type of the resource.
Package Details
- Repository
- aquasec pulumiverse/pulumi-aquasec
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the aquasecTerraform Provider.