Oracle Cloud Infrastructure

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

getNetworkLoadBalancersPolicies

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

Lists the available network load balancer policies.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testNetworkLoadBalancersPolicies = Output.Create(Oci.NetworkLoadBalancer.GetNetworkLoadBalancersPolicies.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.GetNetworkLoadBalancersPolicies(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_network_load_balancers_policies = oci.NetworkLoadBalancer.get_network_load_balancers_policies()
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testNetworkLoadBalancersPolicies = pulumi.output(oci.NetworkLoadBalancer.getNetworkLoadBalancersPolicies());

Coming soon!

Using getNetworkLoadBalancersPolicies

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 getNetworkLoadBalancersPolicies(args: GetNetworkLoadBalancersPoliciesArgs, opts?: InvokeOptions): Promise<GetNetworkLoadBalancersPoliciesResult>
function getNetworkLoadBalancersPoliciesOutput(args: GetNetworkLoadBalancersPoliciesOutputArgs, opts?: InvokeOptions): Output<GetNetworkLoadBalancersPoliciesResult>
def get_network_load_balancers_policies(filters: Optional[Sequence[_networkloadbalancer.GetNetworkLoadBalancersPoliciesFilter]] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetNetworkLoadBalancersPoliciesResult
def get_network_load_balancers_policies_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_networkloadbalancer.GetNetworkLoadBalancersPoliciesFilterArgs]]]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetNetworkLoadBalancersPoliciesResult]
func GetNetworkLoadBalancersPolicies(ctx *Context, args *GetNetworkLoadBalancersPoliciesArgs, opts ...InvokeOption) (*GetNetworkLoadBalancersPoliciesResult, error)
func GetNetworkLoadBalancersPoliciesOutput(ctx *Context, args *GetNetworkLoadBalancersPoliciesOutputArgs, opts ...InvokeOption) GetNetworkLoadBalancersPoliciesResultOutput

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

public static class GetNetworkLoadBalancersPolicies 
{
    public static Task<GetNetworkLoadBalancersPoliciesResult> InvokeAsync(GetNetworkLoadBalancersPoliciesArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkLoadBalancersPoliciesResult> Invoke(GetNetworkLoadBalancersPoliciesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNetworkLoadBalancersPoliciesResult> getNetworkLoadBalancersPolicies(GetNetworkLoadBalancersPoliciesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:NetworkLoadBalancer/getNetworkLoadBalancersPolicies:getNetworkLoadBalancersPolicies
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getNetworkLoadBalancersPolicies Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

NetworkLoadBalancersPolicyCollections List<GetNetworkLoadBalancersPoliciesNetworkLoadBalancersPolicyCollection>

The list of network_load_balancers_policy_collection.

Filters List<GetNetworkLoadBalancersPoliciesFilter>
Id string

The provider-assigned unique ID for this managed resource.

NetworkLoadBalancersPolicyCollections []GetNetworkLoadBalancersPoliciesNetworkLoadBalancersPolicyCollection

The list of network_load_balancers_policy_collection.

Filters []GetNetworkLoadBalancersPoliciesFilter
id String

The provider-assigned unique ID for this managed resource.

networkLoadBalancersPolicyCollections List<GetsPoliciessPolicyCollection>

The list of network_load_balancers_policy_collection.

filters List<GetsPoliciesFilter>
id string

The provider-assigned unique ID for this managed resource.

networkLoadBalancersPolicyCollections GetNetworkLoadBalancersPoliciesNetworkLoadBalancersPolicyCollection[]

The list of network_load_balancers_policy_collection.

filters GetNetworkLoadBalancersPoliciesFilter[]
id str

The provider-assigned unique ID for this managed resource.

network_load_balancers_policy_collections GetNetworkLoadBalancersPoliciesNetworkLoadBalancersPolicyCollection]

The list of network_load_balancers_policy_collection.

filters GetNetworkLoadBalancersPoliciesFilter]
id String

The provider-assigned unique ID for this managed resource.

networkLoadBalancersPolicyCollections List<Property Map>

The list of network_load_balancers_policy_collection.

filters List<Property Map>

Supporting Types

GetNetworkLoadBalancersPoliciesFilter

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

GetNetworkLoadBalancersPoliciesNetworkLoadBalancersPolicyCollection

Items List<string>

Array of NetworkLoadBalancersPolicySummary objects.

Items []string

Array of NetworkLoadBalancersPolicySummary objects.

items List<String>

Array of NetworkLoadBalancersPolicySummary objects.

items string[]

Array of NetworkLoadBalancersPolicySummary objects.

items Sequence[str]

Array of NetworkLoadBalancersPolicySummary objects.

items List<String>

Array of NetworkLoadBalancersPolicySummary 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.