Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.NetworkLoadBalancer.getNetworkLoadBalancersProtocols
Explore with Pulumi AI
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.
- Network
Load List<GetBalancers Protocol Collections Network Load Balancers Protocols Network Load Balancers Protocol Collection> - The list of network_load_balancers_protocol_collection.
- Filters
List<Get
Network Load Balancers Protocols Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Load []GetBalancers Protocol Collections Network Load Balancers Protocols Network Load Balancers Protocol Collection - The list of network_load_balancers_protocol_collection.
- Filters
[]Get
Network Load Balancers Protocols Filter
- id String
- The provider-assigned unique ID for this managed resource.
- network
Load List<GetsBalancers Protocol Collections Protocolss Protocol Collection> - The list of network_load_balancers_protocol_collection.
- filters
List<Gets
Protocols Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- network
Load GetBalancers Protocol Collections Network Load Balancers Protocols Network Load Balancers Protocol Collection[] - The list of network_load_balancers_protocol_collection.
- filters
Get
Network Load Balancers Protocols Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- network_
load_ Sequence[networkloadbalancer.balancers_ protocol_ collections Get Network Load Balancers Protocols Network Load Balancers Protocol Collection] - The list of network_load_balancers_protocol_collection.
- filters
Sequence[networkloadbalancer.
Get Network Load Balancers Protocols Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- network
Load List<Property Map>Balancers Protocol Collections - The list of network_load_balancers_protocol_collection.
- filters List<Property Map>
Supporting Types
GetNetworkLoadBalancersProtocolsFilter
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.