1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkFirewall
  5. getNetworkFirewallPolicyApplicationGroup
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.NetworkFirewall.getNetworkFirewallPolicyApplicationGroup

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

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

    Get ApplicationGroup 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.GetNetworkFirewallPolicyApplicationGroupArgs;
    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 testNetworkFirewallPolicyApplicationGroup = NetworkFirewallFunctions.getNetworkFirewallPolicyApplicationGroup(GetNetworkFirewallPolicyApplicationGroupArgs.builder()
                .applicationGroupName(networkFirewallPolicyApplicationGroupDisplayName)
                .networkFirewallPolicyId(testNetworkFirewallPolicy.id())
                .build());
    
        }
    }
    
    variables:
      testNetworkFirewallPolicyApplicationGroup:
        fn::invoke:
          Function: oci:NetworkFirewall:getNetworkFirewallPolicyApplicationGroup
          Arguments:
            applicationGroupName: ${networkFirewallPolicyApplicationGroupDisplayName}
            networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
    

    Using getNetworkFirewallPolicyApplicationGroup

    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 getNetworkFirewallPolicyApplicationGroup(args: GetNetworkFirewallPolicyApplicationGroupArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyApplicationGroupResult>
    function getNetworkFirewallPolicyApplicationGroupOutput(args: GetNetworkFirewallPolicyApplicationGroupOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyApplicationGroupResult>
    def get_network_firewall_policy_application_group(name: Optional[str] = None,
                                                      network_firewall_policy_id: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyApplicationGroupResult
    def get_network_firewall_policy_application_group_output(name: Optional[pulumi.Input[str]] = None,
                                                      network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyApplicationGroupResult]
    func GetNetworkFirewallPolicyApplicationGroup(ctx *Context, args *GetNetworkFirewallPolicyApplicationGroupArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyApplicationGroupResult, error)
    func GetNetworkFirewallPolicyApplicationGroupOutput(ctx *Context, args *GetNetworkFirewallPolicyApplicationGroupOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyApplicationGroupResultOutput

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

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

    The following arguments are supported:

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

    getNetworkFirewallPolicyApplicationGroup Result

    The following output properties are available:

    Apps List<string>
    List of apps in the group.
    Id string
    Name string
    Name of the application Group.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this application group belongs to.
    TotalApps int
    Count of total applications in the given application group.
    Apps []string
    List of apps in the group.
    Id string
    Name string
    Name of the application Group.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this application group belongs to.
    TotalApps int
    Count of total applications in the given application group.
    apps List<String>
    List of apps in the group.
    id String
    name String
    Name of the application Group.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this application group belongs to.
    totalApps Integer
    Count of total applications in the given application group.
    apps string[]
    List of apps in the group.
    id string
    name string
    Name of the application Group.
    networkFirewallPolicyId string
    parentResourceId string
    OCID of the Network Firewall Policy this application group belongs to.
    totalApps number
    Count of total applications in the given application group.
    apps Sequence[str]
    List of apps in the group.
    id str
    name str
    Name of the application Group.
    network_firewall_policy_id str
    parent_resource_id str
    OCID of the Network Firewall Policy this application group belongs to.
    total_apps int
    Count of total applications in the given application group.
    apps List<String>
    List of apps in the group.
    id String
    name String
    Name of the application Group.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this application group belongs to.
    totalApps Number
    Count of total applications in the given application group.

    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.11.0 published on Thursday, Sep 19, 2024 by Pulumi