Aquasec

v0.2.2 published on Monday, Nov 14, 2022 by Pulumiverse

getFirewallPolicy

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.

OutboundNetworks List<Pulumiverse.Aquasec.Inputs.GetFirewallPolicyOutboundNetwork>

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 []GetFirewallPolicyOutboundNetwork

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<GetFirewallPolicyOutboundNetwork>

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 GetFirewallPolicyOutboundNetwork[]

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[GetFirewallPolicyOutboundNetwork]

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:

Author string

Username of the account that created the policy.

BlockIcmpPing bool

Indicates whether policy includes blocking incoming 'ping' requests.

BlockMetadataService bool

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.GetFirewallPolicyInboundNetwork>

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.GetFirewallPolicyOutboundNetwork>

Information on network addresses that are allowed to receive data or requests.

Author string

Username of the account that created the policy.

BlockIcmpPing bool

Indicates whether policy includes blocking incoming 'ping' requests.

BlockMetadataService bool

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 []GetFirewallPolicyInboundNetwork

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 []GetFirewallPolicyOutboundNetwork

Information on network addresses that are allowed to receive data or requests.

author String

Username of the account that created the policy.

blockIcmpPing Boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService Boolean

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<GetFirewallPolicyInboundNetwork>

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<GetFirewallPolicyOutboundNetwork>

Information on network addresses that are allowed to receive data or requests.

author string

Username of the account that created the policy.

blockIcmpPing boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService boolean

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 GetFirewallPolicyInboundNetwork[]

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 GetFirewallPolicyOutboundNetwork[]

Information on network addresses that are allowed to receive data or requests.

author str

Username of the account that created the policy.

block_icmp_ping bool

Indicates whether policy includes blocking incoming 'ping' requests.

block_metadata_service bool

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[GetFirewallPolicyInboundNetwork]

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[GetFirewallPolicyOutboundNetwork]

Information on network addresses that are allowed to receive data or requests.

author String

Username of the account that created the policy.

blockIcmpPing Boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService Boolean

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
PortRange string
Resource string
ResourceType string
Allow bool
PortRange string
Resource string
ResourceType string
allow Boolean
portRange String
resource String
resourceType String
allow boolean
portRange string
resource string
resourceType string
allow Boolean
portRange String
resource String
resourceType String

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
https://github.com/pulumiverse/pulumi-aquasec
License
Apache-2.0
Notes

This Pulumi package is based on the aquasec Terraform Provider.