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

oci.NetworkFirewall.getNetworkFirewallPolicyServiceList

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 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.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    Name string
    Name of the service Group.
    NetworkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name String
    Name of the service Group.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier
    name string
    Name of the service Group.
    networkFirewallPolicyId string
    Unique Network Firewall Policy identifier
    name str
    Name of the service Group.
    network_firewall_policy_id str
    Unique Network Firewall Policy identifier
    name String
    Name of the service Group.
    networkFirewallPolicyId String
    Unique Network Firewall Policy identifier

    getNetworkFirewallPolicyServiceList Result

    The following output properties are available:

    Id string
    Name string
    Name of the service Group.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this serviceList belongs to.
    Services List<string>
    List of services in the group.
    TotalServices int
    Count of total services in the given service List.
    Id string
    Name string
    Name of the service Group.
    NetworkFirewallPolicyId string
    ParentResourceId string
    OCID of the Network Firewall Policy this serviceList belongs to.
    Services []string
    List of services in the group.
    TotalServices int
    Count of total services in the given service List.
    id String
    name String
    Name of the service Group.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this serviceList belongs to.
    services List<String>
    List of services in the group.
    totalServices Integer
    Count of total services in the given service List.
    id string
    name string
    Name of the service Group.
    networkFirewallPolicyId string
    parentResourceId string
    OCID of the Network Firewall Policy this serviceList belongs to.
    services string[]
    List of services in the group.
    totalServices number
    Count of total services in the given service List.
    id str
    name str
    Name of the service Group.
    network_firewall_policy_id str
    parent_resource_id str
    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.
    networkFirewallPolicyId String
    parentResourceId String
    OCID of the Network Firewall Policy this serviceList belongs to.
    services List<String>
    List of services in the group.
    totalServices 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi