oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.LoadBalancer.getSslCipherSuites

This data source provides the list of Ssl Cipher Suites in Oracle Cloud Infrastructure Load Balancer service.

Lists all SSL cipher suites associated with the specified load balancer.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testSslCipherSuites = Oci.LoadBalancer.GetSslCipherSuites.Invoke(new()
    {
        LoadBalancerId = oci_load_balancer_load_balancer.Test_load_balancer.Id,
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := LoadBalancer.GetSslCipherSuites(ctx, &loadbalancer.GetSslCipherSuitesArgs{
			LoadBalancerId: pulumi.StringRef(oci_load_balancer_load_balancer.Test_load_balancer.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LoadBalancer.LoadBalancerFunctions;
import com.pulumi.oci.LoadBalancer.inputs.GetSslCipherSuitesArgs;
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 testSslCipherSuites = LoadBalancerFunctions.getSslCipherSuites(GetSslCipherSuitesArgs.builder()
            .loadBalancerId(oci_load_balancer_load_balancer.test_load_balancer().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_ssl_cipher_suites = oci.LoadBalancer.get_ssl_cipher_suites(load_balancer_id=oci_load_balancer_load_balancer["test_load_balancer"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testSslCipherSuites = oci.LoadBalancer.getSslCipherSuites({
    loadBalancerId: oci_load_balancer_load_balancer.test_load_balancer.id,
});
variables:
  testSslCipherSuites:
    fn::invoke:
      Function: oci:LoadBalancer:getSslCipherSuites
      Arguments:
        loadBalancerId: ${oci_load_balancer_load_balancer.test_load_balancer.id}

Using getSslCipherSuites

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 getSslCipherSuites(args: GetSslCipherSuitesArgs, opts?: InvokeOptions): Promise<GetSslCipherSuitesResult>
function getSslCipherSuitesOutput(args: GetSslCipherSuitesOutputArgs, opts?: InvokeOptions): Output<GetSslCipherSuitesResult>
def get_ssl_cipher_suites(filters: Optional[Sequence[_loadbalancer.GetSslCipherSuitesFilter]] = None,
                          load_balancer_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetSslCipherSuitesResult
def get_ssl_cipher_suites_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_loadbalancer.GetSslCipherSuitesFilterArgs]]]] = None,
                          load_balancer_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetSslCipherSuitesResult]
func GetSslCipherSuites(ctx *Context, args *GetSslCipherSuitesArgs, opts ...InvokeOption) (*GetSslCipherSuitesResult, error)
func GetSslCipherSuitesOutput(ctx *Context, args *GetSslCipherSuitesOutputArgs, opts ...InvokeOption) GetSslCipherSuitesResultOutput

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

public static class GetSslCipherSuites 
{
    public static Task<GetSslCipherSuitesResult> InvokeAsync(GetSslCipherSuitesArgs args, InvokeOptions? opts = null)
    public static Output<GetSslCipherSuitesResult> Invoke(GetSslCipherSuitesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSslCipherSuitesResult> getSslCipherSuites(GetSslCipherSuitesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:LoadBalancer/getSslCipherSuites:getSslCipherSuites
  arguments:
    # arguments dictionary

The following arguments are supported:

Filters List<GetSslCipherSuitesFilter>
LoadBalancerId string

The OCID of the associated load balancer.

Filters []GetSslCipherSuitesFilter
LoadBalancerId string

The OCID of the associated load balancer.

filters List<GetSslCipherSuitesFilter>
loadBalancerId String

The OCID of the associated load balancer.

filters GetSslCipherSuitesFilter[]
loadBalancerId string

The OCID of the associated load balancer.

filters GetSslCipherSuitesFilter]
load_balancer_id str

The OCID of the associated load balancer.

filters List<Property Map>
loadBalancerId String

The OCID of the associated load balancer.

getSslCipherSuites Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

SslCipherSuites List<GetSslCipherSuitesSslCipherSuite>

The list of ssl_cipher_suites.

Filters List<GetSslCipherSuitesFilter>
LoadBalancerId string
Id string

The provider-assigned unique ID for this managed resource.

SslCipherSuites []GetSslCipherSuitesSslCipherSuite

The list of ssl_cipher_suites.

Filters []GetSslCipherSuitesFilter
LoadBalancerId string
id String

The provider-assigned unique ID for this managed resource.

sslCipherSuites List<GetSslCipherSuitesSslCipherSuite>

The list of ssl_cipher_suites.

filters List<GetSslCipherSuitesFilter>
loadBalancerId String
id string

The provider-assigned unique ID for this managed resource.

sslCipherSuites GetSslCipherSuitesSslCipherSuite[]

The list of ssl_cipher_suites.

filters GetSslCipherSuitesFilter[]
loadBalancerId string
id str

The provider-assigned unique ID for this managed resource.

ssl_cipher_suites GetSslCipherSuitesSslCipherSuite]

The list of ssl_cipher_suites.

filters GetSslCipherSuitesFilter]
load_balancer_id str
id String

The provider-assigned unique ID for this managed resource.

sslCipherSuites List<Property Map>

The list of ssl_cipher_suites.

filters List<Property Map>
loadBalancerId String

Supporting Types

GetSslCipherSuitesFilter

Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

Values List<string>
Regex bool
Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

Values []string
Regex bool
name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

values List<String>
regex Boolean
name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

values string[]
regex boolean
name str

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

values Sequence[str]
regex bool
name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

values List<String>
regex Boolean

GetSslCipherSuitesSslCipherSuite

Ciphers List<string>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

LoadBalancerId string

The OCID of the associated load balancer.

Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

State string
Ciphers []string

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

LoadBalancerId string

The OCID of the associated load balancer.

Name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

State string
ciphers List<String>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId String

The OCID of the associated load balancer.

name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state String
ciphers string[]

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId string

The OCID of the associated load balancer.

name string

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state string
ciphers Sequence[str]

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

load_balancer_id str

The OCID of the associated load balancer.

name str

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state str
ciphers List<String>

A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.

loadBalancerId String

The OCID of the associated load balancer.

name String

A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.

state String

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.