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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aquasec:index/getFirewallPolicy:getFirewallPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the policy, no longer than 128 characters and no slash characters.
- Outbound
Networks 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.
- Outbound
Networks []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.
- outbound
Networks 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.
- outbound
Networks 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.
- outbound
Networks 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.
- 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 string
- Description of the Firewall Policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inbound
Networks 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
- Outbound
Networks 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.
- 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 string
- Description of the Firewall Policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inbound
Networks []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
- Outbound
Networks []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.
- block
Icmp BooleanPing - Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata 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.
- inbound
Networks 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
- outbound
Networks 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.
- block
Icmp booleanPing - Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata 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.
- inbound
Networks 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
- outbound
Networks 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.
- block
Icmp BooleanPing - Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata 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.
- inbound
Networks 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
- outbound
Networks 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.
- Port
Range string - Range of ports affected by firewall.
- Resource string
- Information of the resource.
- Resource
Type string - Type of the resource
- Allow bool
- Indicates whether the specified resources are allowed to pass in data or requests.
- Port
Range string - Range of ports affected by firewall.
- Resource string
- Information of the resource.
- Resource
Type string - Type of the resource
- allow Boolean
- Indicates whether the specified resources are allowed to pass in data or requests.
- port
Range String - Range of ports affected by firewall.
- resource String
- Information of the resource.
- resource
Type String - Type of the resource
- allow boolean
- Indicates whether the specified resources are allowed to pass in data or requests.
- port
Range string - Range of ports affected by firewall.
- resource string
- Information of the resource.
- resource
Type 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.
- port
Range String - Range of ports affected by firewall.
- resource String
- Information of the resource.
- resource
Type String - Type of the resource
GetFirewallPolicyOutboundNetwork
- Allow bool
- Indicates whether the specified resources are allowed to receive data or requests.
- Port
Range string - Range of ports affected by firewall.
- Resource string
- Information of the resource.
- Resource
Type string - Type of the resource.
- Allow bool
- Indicates whether the specified resources are allowed to receive data or requests.
- Port
Range string - Range of ports affected by firewall.
- Resource string
- Information of the resource.
- Resource
Type string - Type of the resource.
- allow Boolean
- Indicates whether the specified resources are allowed to receive data or requests.
- port
Range String - Range of ports affected by firewall.
- resource String
- Information of the resource.
- resource
Type String - Type of the resource.
- allow boolean
- Indicates whether the specified resources are allowed to receive data or requests.
- port
Range string - Range of ports affected by firewall.
- resource string
- Information of the resource.
- resource
Type 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.
- port
Range String - Range of ports affected by firewall.
- resource String
- Information of the resource.
- resource
Type String - Type of the resource.
Package Details
- Repository
- aquasec pulumiverse/pulumi-aquasec
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aquasec
Terraform Provider.