1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkLoadBalancer
  5. getNetworkLoadBalancersProtocols
Oracle Cloud Infrastructure v2.16.0 published on Wednesday, Nov 13, 2024 by Pulumi

oci.NetworkLoadBalancer.getNetworkLoadBalancersProtocols

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.16.0 published on Wednesday, Nov 13, 2024 by Pulumi

    This data source provides the list of Network Load Balancers Protocols in Oracle Cloud Infrastructure Network Load Balancer service.

    This API has been deprecated so it won’t return the updated list of supported protocls. Lists all supported traffic protocols.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNetworkLoadBalancersProtocols = oci.NetworkLoadBalancer.getNetworkLoadBalancersProtocols({});
    
    import pulumi
    import pulumi_oci as oci
    
    test_network_load_balancers_protocols = oci.NetworkLoadBalancer.get_network_load_balancers_protocols()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/NetworkLoadBalancer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := NetworkLoadBalancer.GetNetworkLoadBalancersProtocols(ctx, &networkloadbalancer.GetNetworkLoadBalancersProtocolsArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testNetworkLoadBalancersProtocols = Oci.NetworkLoadBalancer.GetNetworkLoadBalancersProtocols.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.NetworkLoadBalancer.NetworkLoadBalancerFunctions;
    import com.pulumi.oci.NetworkLoadBalancer.inputs.GetNetworkLoadBalancersProtocolsArgs;
    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 testNetworkLoadBalancersProtocols = NetworkLoadBalancerFunctions.getNetworkLoadBalancersProtocols();
    
        }
    }
    
    variables:
      testNetworkLoadBalancersProtocols:
        fn::invoke:
          Function: oci:NetworkLoadBalancer:getNetworkLoadBalancersProtocols
          Arguments: {}
    

    Using getNetworkLoadBalancersProtocols

    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 getNetworkLoadBalancersProtocols(args: GetNetworkLoadBalancersProtocolsArgs, opts?: InvokeOptions): Promise<GetNetworkLoadBalancersProtocolsResult>
    function getNetworkLoadBalancersProtocolsOutput(args: GetNetworkLoadBalancersProtocolsOutputArgs, opts?: InvokeOptions): Output<GetNetworkLoadBalancersProtocolsResult>
    def get_network_load_balancers_protocols(filters: Optional[Sequence[_networkloadbalancer.GetNetworkLoadBalancersProtocolsFilter]] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetNetworkLoadBalancersProtocolsResult
    def get_network_load_balancers_protocols_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_networkloadbalancer.GetNetworkLoadBalancersProtocolsFilterArgs]]]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetNetworkLoadBalancersProtocolsResult]
    func GetNetworkLoadBalancersProtocols(ctx *Context, args *GetNetworkLoadBalancersProtocolsArgs, opts ...InvokeOption) (*GetNetworkLoadBalancersProtocolsResult, error)
    func GetNetworkLoadBalancersProtocolsOutput(ctx *Context, args *GetNetworkLoadBalancersProtocolsOutputArgs, opts ...InvokeOption) GetNetworkLoadBalancersProtocolsResultOutput

    > Note: This function is named GetNetworkLoadBalancersProtocols in the Go SDK.

    public static class GetNetworkLoadBalancersProtocols 
    {
        public static Task<GetNetworkLoadBalancersProtocolsResult> InvokeAsync(GetNetworkLoadBalancersProtocolsArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkLoadBalancersProtocolsResult> Invoke(GetNetworkLoadBalancersProtocolsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkLoadBalancersProtocolsResult> getNetworkLoadBalancersProtocols(GetNetworkLoadBalancersProtocolsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkLoadBalancer/getNetworkLoadBalancersProtocols:getNetworkLoadBalancersProtocols
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getNetworkLoadBalancersProtocols Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkLoadBalancersProtocolCollections List<GetNetworkLoadBalancersProtocolsNetworkLoadBalancersProtocolCollection>
    The list of network_load_balancers_protocol_collection.
    Filters List<GetNetworkLoadBalancersProtocolsFilter>
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkLoadBalancersProtocolCollections []GetNetworkLoadBalancersProtocolsNetworkLoadBalancersProtocolCollection
    The list of network_load_balancers_protocol_collection.
    Filters []GetNetworkLoadBalancersProtocolsFilter
    id String
    The provider-assigned unique ID for this managed resource.
    networkLoadBalancersProtocolCollections List<GetsProtocolssProtocolCollection>
    The list of network_load_balancers_protocol_collection.
    filters List<GetsProtocolsFilter>
    id string
    The provider-assigned unique ID for this managed resource.
    networkLoadBalancersProtocolCollections GetNetworkLoadBalancersProtocolsNetworkLoadBalancersProtocolCollection[]
    The list of network_load_balancers_protocol_collection.
    filters GetNetworkLoadBalancersProtocolsFilter[]
    id String
    The provider-assigned unique ID for this managed resource.
    networkLoadBalancersProtocolCollections List<Property Map>
    The list of network_load_balancers_protocol_collection.
    filters List<Property Map>

    Supporting Types

    GetNetworkLoadBalancersProtocolsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetNetworkLoadBalancersProtocolsNetworkLoadBalancersProtocolCollection

    Items List<string>
    Array of NetworkLoadBalancersProtocolSummary objects.
    Items []string
    Array of NetworkLoadBalancersProtocolSummary objects.
    items List<String>
    Array of NetworkLoadBalancersProtocolSummary objects.
    items string[]
    Array of NetworkLoadBalancersProtocolSummary objects.
    items Sequence[str]
    Array of NetworkLoadBalancersProtocolSummary objects.
    items List<String>
    Array of NetworkLoadBalancersProtocolSummary objects.

    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.16.0 published on Wednesday, Nov 13, 2024 by Pulumi