Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getNetworkLoadBalancersProtocols

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

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testNetworkLoadBalancersProtocols = Output.Create(Oci.NetworkLoadBalancer.GetNetworkLoadBalancersProtocols.InvokeAsync());
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/NetworkLoadBalancer"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := NetworkLoadBalancer.GetNetworkLoadBalancersProtocols(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_network_load_balancers_protocols = oci.NetworkLoadBalancer.get_network_load_balancers_protocols()
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testNetworkLoadBalancersProtocols = pulumi.output(oci.NetworkLoadBalancer.getNetworkLoadBalancersProtocols());

Coming soon!

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 str

The provider-assigned unique ID for this managed resource.

network_load_balancers_protocol_collections 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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.