Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyServiceList
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Network Firewall Policy Service List resource in Oracle Cloud Infrastructure Network Firewall service.
Get ServiceList 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.GetNetworkFirewallPolicyServiceListArgs;
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 testNetworkFirewallPolicyServiceList = NetworkFirewallFunctions.getNetworkFirewallPolicyServiceList(GetNetworkFirewallPolicyServiceListArgs.builder()
.networkFirewallPolicyId(testNetworkFirewallPolicy.id())
.serviceListName(networkFirewallPolicyServiceListServiceListName)
.build());
}
}
variables:
testNetworkFirewallPolicyServiceList:
fn::invoke:
Function: oci:NetworkFirewall:getNetworkFirewallPolicyServiceList
Arguments:
networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
serviceListName: ${networkFirewallPolicyServiceListServiceListName}
Using getNetworkFirewallPolicyServiceList
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 getNetworkFirewallPolicyServiceList(args: GetNetworkFirewallPolicyServiceListArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyServiceListResult>
function getNetworkFirewallPolicyServiceListOutput(args: GetNetworkFirewallPolicyServiceListOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyServiceListResult>
def get_network_firewall_policy_service_list(name: Optional[str] = None,
network_firewall_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyServiceListResult
def get_network_firewall_policy_service_list_output(name: Optional[pulumi.Input[str]] = None,
network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyServiceListResult]
func GetNetworkFirewallPolicyServiceList(ctx *Context, args *GetNetworkFirewallPolicyServiceListArgs, opts ...InvokeOption) (*GetNetworkFirewallPolicyServiceListResult, error)
func GetNetworkFirewallPolicyServiceListOutput(ctx *Context, args *GetNetworkFirewallPolicyServiceListOutputArgs, opts ...InvokeOption) GetNetworkFirewallPolicyServiceListResultOutput
> Note: This function is named GetNetworkFirewallPolicyServiceList
in the Go SDK.
public static class GetNetworkFirewallPolicyServiceList
{
public static Task<GetNetworkFirewallPolicyServiceListResult> InvokeAsync(GetNetworkFirewallPolicyServiceListArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkFirewallPolicyServiceListResult> Invoke(GetNetworkFirewallPolicyServiceListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkFirewallPolicyServiceListResult> getNetworkFirewallPolicyServiceList(GetNetworkFirewallPolicyServiceListArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:NetworkFirewall/getNetworkFirewallPolicyServiceList:getNetworkFirewallPolicyServiceList
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the service Group.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- Name string
- Name of the service Group.
- Network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name String
- Name of the service Group.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
- name string
- Name of the service Group.
- network
Firewall stringPolicy Id - Unique Network Firewall Policy identifier
- name str
- Name of the service Group.
- network_
firewall_ strpolicy_ id - Unique Network Firewall Policy identifier
- name String
- Name of the service Group.
- network
Firewall StringPolicy Id - Unique Network Firewall Policy identifier
getNetworkFirewallPolicyServiceList Result
The following output properties are available:
- Id string
- Name string
- Name of the service Group.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this serviceList belongs to.
- Services List<string>
- List of services in the group.
- Total
Services int - Count of total services in the given service List.
- Id string
- Name string
- Name of the service Group.
- Network
Firewall stringPolicy Id - Parent
Resource stringId - OCID of the Network Firewall Policy this serviceList belongs to.
- Services []string
- List of services in the group.
- Total
Services int - Count of total services in the given service List.
- id String
- name String
- Name of the service Group.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this serviceList belongs to.
- services List<String>
- List of services in the group.
- total
Services Integer - Count of total services in the given service List.
- id string
- name string
- Name of the service Group.
- network
Firewall stringPolicy Id - parent
Resource stringId - OCID of the Network Firewall Policy this serviceList belongs to.
- services string[]
- List of services in the group.
- total
Services number - Count of total services in the given service List.
- id str
- name str
- Name of the service Group.
- network_
firewall_ strpolicy_ id - parent_
resource_ strid - OCID of the Network Firewall Policy this serviceList belongs to.
- services Sequence[str]
- List of services in the group.
- total_
services int - Count of total services in the given service List.
- id String
- name String
- Name of the service Group.
- network
Firewall StringPolicy Id - parent
Resource StringId - OCID of the Network Firewall Policy this serviceList belongs to.
- services List<String>
- List of services in the group.
- total
Services Number - Count of total services in the given service List.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi