Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyApplication
Explore with Pulumi AI
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.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Name string
- Name of the application.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name String
- Name of the application.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- name string
- Name of the application.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name str
- Name of the application.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- name String
- Name of the application.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
getNetworkFirewallPolicyApplication Result
The following output properties are available:
- 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 string
- Name string
- Name of the application.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - 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 string
- Name string
- Name of the application.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this application belongs to.
- Type string
- Describes the type of application.
- icmp
Code Integer - The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
- icmp
Type Integer - The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
- id String
- name String
- Name of the application.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this application belongs to.
- type String
- Describes the type of application.
- icmp
Code number - The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
- icmp
Type number - The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
- id string
- name string
- Name of the application.
- network
Firewall stringPolicy Id - parent
Resource stringId - 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_ strpolicy_ id - parent_
resource_ strid - OCID of the Network Firewall Policy this application belongs to.
- type str
- Describes the type of application.
- icmp
Code Number - The value of the ICMP/ICMP_V6 message Code (subtype) field as defined by RFC 4443.
- icmp
Type Number - The value of the ICMP/ICMP_V6 message Type field as defined by RFC 4443.
- id String
- name String
- Name of the application.
- network
Firewall StringPolicy Id - parent
Resource StringId - 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.