1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyApplication
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyApplication

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides details about a specific Network Firewall Policy Application resource in Oracle Cloud Infrastructure Network Firewall service.

    Get Application by the given name in the context of network firewall policy.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.NetworkFirewall.NetworkFirewallFunctions;
    import com.pulumi.oci.NetworkFirewall.inputs.GetNetworkFirewallPolicyApplicationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testNetworkFirewallPolicyApplication = NetworkFirewallFunctions.getNetworkFirewallPolicyApplication(GetNetworkFirewallPolicyApplicationArgs.builder()
                .applicationName(networkFirewallPolicyApplicationName)
                .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
                .build());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyApplication:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyApplication
          Arguments:
            applicationName: ${networkFirewallPolicyApplicationName}
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
    

    Using getNetworkFirewallPolicyApplication

    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 getNetworkFirewallPolicyApplication(args: GetNetworkFirewallPolicyApplicationArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyApplicationResult>
    function getNetworkFirewallPolicyApplicationOutput(args: GetNetworkFirewallPolicyApplicationOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyApplicationResult>
    def get_network_firewall_policy_application(name: Optional[str] = None,
                                                network_firewall_policy_id: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyApplicationResult
    def get_network_firewall_policy_application_output(name: Optional[pulumi.Input[str]] = None,
                                                network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyApplicationResult]
    func GetNetworkFirewallPolicyApplication(ctx *Context, args *GetNetworkFirewallPolicyApplicationArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyApplicationResult, error)
    func GetNetworkFirewallPolicyApplicationOutput(ctx *Context, args *GetNetworkFirewallPolicyApplicationOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyApplicationResultOutput

    > Note: This function is named GetNetworkFirewallPolicyApplication in the Go SDK.

    public static class GetNetworkFirewallPolicyApplication 
    {
        public static Task<GetNetworkFirewallPolicyApplicationResult> InvokeAsync(GetNetworkFirewallPolicyApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkFirewallPolicyApplicationResult> Invoke(GetNetworkFirewallPolicyApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkFirewallPolicyApplicationResult> getNetworkFirewallPolicyApplication(GetNetworkFirewallPolicyApplicationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkFirewall/getNetworkFirewallPolicyApplication:getNetworkFirewallPolicyApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the application.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    Name string
    Name of the application.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name String
    Name of the application.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    name string
    Name of the application.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name str
    Name of the application.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    name String
    Name of the application.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier

    getNetworkFirewallPolicyApplication Result

    The following output properties are available:

    IcmpCode int
    The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
    IcmpType int
    The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
    Id string
    Name string
    Name of the application.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this application belongs to.
    Type string
    Describes the type of application.
    IcmpCode int
    The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
    IcmpType int
    The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
    Id string
    Name string
    Name of the application.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this application belongs to.
    Type string
    Describes the type of application.
    icmpCode Integer
    The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
    icmpType Integer
    The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
    id String
    name String
    Name of the application.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this application belongs to.
    type String
    Describes the type of application.
    icmpCode number
    The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
    icmpType number
    The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
    id string
    name string
    Name of the application.
    networkFirewallPolicyId string
    parentResourceId string
    OCID of the Network Firewall Policy this application belongs to.
    type string
    Describes the type of application.
    icmp_code int
    The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
    icmp_type int
    The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
    id str
    name str
    Name of the application.
    network_firewall_policy_id str
    parent_resource_id str
    OCID of the Network Firewall Policy this application belongs to.
    type str
    Describes the type of application.
    icmpCode Number
    The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
    icmpType Number
    The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
    id String
    name String
    Name of the application.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this application belongs to.
    type String
    Describes the type of application.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi