Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.NetworkFirewall.getNetworkFirewallPolicyService
Explore with Pulumi AI
This data source provides details about a specific Network Firewall Policy Service resource in Oracle Cloud Infrastructure Network Firewall service.
Get Service by the given name in the context of network firewall policy.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
  testNetworkFirewallPolicyService:
    fn::invoke:
      function: oci:NetworkFirewall:getNetworkFirewallPolicyService
      arguments:
        networkFirewallPolicyId: ${testNetworkFirewallPolicy.id}
        serviceName: ${ociNetworkFirewallNetworkFirewallPolicyServiceName}
Using getNetworkFirewallPolicyService
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 getNetworkFirewallPolicyService(args: GetNetworkFirewallPolicyServiceArgs, opts?: InvokeOptions): Promise<GetNetworkFirewallPolicyServiceResult>
function getNetworkFirewallPolicyServiceOutput(args: GetNetworkFirewallPolicyServiceOutputArgs, opts?: InvokeOptions): Output<GetNetworkFirewallPolicyServiceResult>def get_network_firewall_policy_service(name: Optional[str] = None,
                                        network_firewall_policy_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetNetworkFirewallPolicyServiceResult
def get_network_firewall_policy_service_output(name: Optional[pulumi.Input[str]] = None,
                                        network_firewall_policy_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetNetworkFirewallPolicyServiceResult]func LookupNetworkFirewallPolicyService(ctx *Context, args *LookupNetworkFirewallPolicyServiceArgs, opts ...InvokeOption) (*LookupNetworkFirewallPolicyServiceResult, error)
func LookupNetworkFirewallPolicyServiceOutput(ctx *Context, args *LookupNetworkFirewallPolicyServiceOutputArgs, opts ...InvokeOption) LookupNetworkFirewallPolicyServiceResultOutput> Note: This function is named LookupNetworkFirewallPolicyService in the Go SDK.
public static class GetNetworkFirewallPolicyService 
{
    public static Task<GetNetworkFirewallPolicyServiceResult> InvokeAsync(GetNetworkFirewallPolicyServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkFirewallPolicyServiceResult> Invoke(GetNetworkFirewallPolicyServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkFirewallPolicyServiceResult> getNetworkFirewallPolicyService(GetNetworkFirewallPolicyServiceArgs args, InvokeOptions options)
public static Output<GetNetworkFirewallPolicyServiceResult> getNetworkFirewallPolicyService(GetNetworkFirewallPolicyServiceArgs args, InvokeOptions options)
fn::invoke:
  function: oci:NetworkFirewall/getNetworkFirewallPolicyService:getNetworkFirewallPolicyService
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Name of the service.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- Name string
- Name of the service.
- NetworkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- name String
- Name of the service.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
- name string
- Name of the service.
- networkFirewall stringPolicy Id 
- Unique Network Firewall Policy identifier
- name str
- Name of the service.
- network_firewall_ strpolicy_ id 
- Unique Network Firewall Policy identifier
- name String
- Name of the service.
- networkFirewall StringPolicy Id 
- Unique Network Firewall Policy identifier
getNetworkFirewallPolicyService Result
The following output properties are available:
- Id string
- Name string
- Name of the service.
- NetworkFirewall stringPolicy Id 
- ParentResource stringId 
- OCID of the Network Firewall Policy this service belongs to.
- PortRanges List<GetNetwork Firewall Policy Service Port Range> 
- List of port-ranges used.
- Type string
- Describes the type of Service.
- Id string
- Name string
- Name of the service.
- NetworkFirewall stringPolicy Id 
- ParentResource stringId 
- OCID of the Network Firewall Policy this service belongs to.
- PortRanges []GetNetwork Firewall Policy Service Port Range 
- List of port-ranges used.
- Type string
- Describes the type of Service.
- id String
- name String
- Name of the service.
- networkFirewall StringPolicy Id 
- parentResource StringId 
- OCID of the Network Firewall Policy this service belongs to.
- portRanges List<GetPolicy Service Port Range> 
- List of port-ranges used.
- type String
- Describes the type of Service.
- id string
- name string
- Name of the service.
- networkFirewall stringPolicy Id 
- parentResource stringId 
- OCID of the Network Firewall Policy this service belongs to.
- portRanges GetNetwork Firewall Policy Service Port Range[] 
- List of port-ranges used.
- type string
- Describes the type of Service.
- id str
- name str
- Name of the service.
- network_firewall_ strpolicy_ id 
- parent_resource_ strid 
- OCID of the Network Firewall Policy this service belongs to.
- port_ranges Sequence[GetNetwork Firewall Policy Service Port Range] 
- List of port-ranges used.
- type str
- Describes the type of Service.
- id String
- name String
- Name of the service.
- networkFirewall StringPolicy Id 
- parentResource StringId 
- OCID of the Network Firewall Policy this service belongs to.
- portRanges List<Property Map>
- List of port-ranges used.
- type String
- Describes the type of Service.
Supporting Types
GetNetworkFirewallPolicyServicePortRange      
- MaximumPort int
- The maximum port in the range (inclusive), which may be absent for a single-port range.
- MinimumPort int
- The minimum port in the range (inclusive), or the sole port of a single-port range.
- MaximumPort int
- The maximum port in the range (inclusive), which may be absent for a single-port range.
- MinimumPort int
- The minimum port in the range (inclusive), or the sole port of a single-port range.
- maximumPort Integer
- The maximum port in the range (inclusive), which may be absent for a single-port range.
- minimumPort Integer
- The minimum port in the range (inclusive), or the sole port of a single-port range.
- maximumPort number
- The maximum port in the range (inclusive), which may be absent for a single-port range.
- minimumPort number
- The minimum port in the range (inclusive), or the sole port of a single-port range.
- maximum_port int
- The maximum port in the range (inclusive), which may be absent for a single-port range.
- minimum_port int
- The minimum port in the range (inclusive), or the sole port of a single-port range.
- maximumPort Number
- The maximum port in the range (inclusive), which may be absent for a single-port range.
- minimumPort Number
- The minimum port in the range (inclusive), or the sole port of a single-port range.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.