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

oci.LoadBalancer.getSslCipherSuite

This data source provides details about a specific Ssl Cipher Suite resource in Oracle Cloud Infrastructure Load Balancer service.

Gets the specified SSL cipher suite’s configuration information.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testSslCipherSuite = Oci.LoadBalancer.GetSslCipherSuite.Invoke(new()
    {
        Name = @var.Ssl_cipher_suite_name,
        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.GetSslCipherSuite(ctx, &loadbalancer.GetSslCipherSuiteArgs{
			Name:           _var.Ssl_cipher_suite_name,
			LoadBalancerId: 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.GetSslCipherSuiteArgs;
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 testSslCipherSuite = LoadBalancerFunctions.getSslCipherSuite(GetSslCipherSuiteArgs.builder()
            .name(var_.ssl_cipher_suite_name())
            .loadBalancerId(oci_load_balancer_load_balancer.test_load_balancer().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_ssl_cipher_suite = oci.LoadBalancer.get_ssl_cipher_suite(name=var["ssl_cipher_suite_name"],
    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 testSslCipherSuite = oci.LoadBalancer.getSslCipherSuite({
    name: _var.ssl_cipher_suite_name,
    loadBalancerId: oci_load_balancer_load_balancer.test_load_balancer.id,
});
variables:
  testSslCipherSuite:
    fn::invoke:
      Function: oci:LoadBalancer:getSslCipherSuite
      Arguments:
        name: ${var.ssl_cipher_suite_name}
        loadBalancerId: ${oci_load_balancer_load_balancer.test_load_balancer.id}

Using getSslCipherSuite

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 getSslCipherSuite(args: GetSslCipherSuiteArgs, opts?: InvokeOptions): Promise<GetSslCipherSuiteResult>
function getSslCipherSuiteOutput(args: GetSslCipherSuiteOutputArgs, opts?: InvokeOptions): Output<GetSslCipherSuiteResult>
def get_ssl_cipher_suite(load_balancer_id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSslCipherSuiteResult
def get_ssl_cipher_suite_output(load_balancer_id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSslCipherSuiteResult]
func GetSslCipherSuite(ctx *Context, args *GetSslCipherSuiteArgs, opts ...InvokeOption) (*GetSslCipherSuiteResult, error)
func GetSslCipherSuiteOutput(ctx *Context, args *GetSslCipherSuiteOutputArgs, opts ...InvokeOption) GetSslCipherSuiteResultOutput

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

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

The following arguments are supported:

LoadBalancerId string

The OCID of the associated load balancer.

Name string

The name of the SSL cipher suite to retrieve.

LoadBalancerId string

The OCID of the associated load balancer.

Name string

The name of the SSL cipher suite to retrieve.

loadBalancerId String

The OCID of the associated load balancer.

name String

The name of the SSL cipher suite to retrieve.

loadBalancerId string

The OCID of the associated load balancer.

name string

The name of the SSL cipher suite to retrieve.

load_balancer_id str

The OCID of the associated load balancer.

name str

The name of the SSL cipher suite to retrieve.

loadBalancerId String

The OCID of the associated load balancer.

name String

The name of the SSL cipher suite to retrieve.

getSslCipherSuite Result

The following output properties are available:

Ciphers List<string>

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

Id string
LoadBalancerId string
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.

Id string
LoadBalancerId string
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.

id String
loadBalancerId String
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.

id string
loadBalancerId string
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.

id str
load_balancer_id str
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.

id String
loadBalancerId String
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.