Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyApplicationGroup
Explore with Pulumi AI
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.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Name string
- Name of the application Group.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name String
- Name of the application Group.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- name string
- Name of the application Group.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name str
- Name of the application Group.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- name String
- Name of the application Group.
- network
Firewall StringPolicy Id - 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.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this application group belongs to.
- Total
Apps 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.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - 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.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this application group belongs to.
- total
Apps 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.
- network
Firewall stringPolicy Id - parent
Resource stringId - OCID of the Network Firewall Policy this application group belongs to.
- total
Apps 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_ strpolicy_ id - parent_
resource_ strid - 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.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this application group belongs to.
- total
Apps 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.