1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LoadBalancer
  5. getSslCipherSuite
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.LoadBalancer.getSslCipherSuite

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

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

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testSslCipherSuite = oci.LoadBalancer.getSslCipherSuite({
    loadBalancerId: testLoadBalancer.id,
    name: sslCipherSuiteName,
});
Copy
import pulumi
import pulumi_oci as oci

test_ssl_cipher_suite = oci.LoadBalancer.get_ssl_cipher_suite(load_balancer_id=test_load_balancer["id"],
    name=ssl_cipher_suite_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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{
			LoadBalancerId: testLoadBalancer.Id,
			Name:           sslCipherSuiteName,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testSslCipherSuite = Oci.LoadBalancer.GetSslCipherSuite.Invoke(new()
    {
        LoadBalancerId = testLoadBalancer.Id,
        Name = sslCipherSuiteName,
    });

});
Copy
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()
            .loadBalancerId(testLoadBalancer.id())
            .name(sslCipherSuiteName)
            .build());

    }
}
Copy
variables:
  testSslCipherSuite:
    fn::invoke:
      function: oci:LoadBalancer:getSslCipherSuite
      arguments:
        loadBalancerId: ${testLoadBalancer.id}
        name: ${sslCipherSuiteName}
Copy

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>
Copy
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]
Copy
func GetSslCipherSuite(ctx *Context, args *GetSslCipherSuiteArgs, opts ...InvokeOption) (*GetSslCipherSuiteResult, error)
func GetSslCipherSuiteOutput(ctx *Context, args *GetSslCipherSuiteOutputArgs, opts ...InvokeOption) GetSslCipherSuiteResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSslCipherSuiteResult> getSslCipherSuite(GetSslCipherSuiteArgs args, InvokeOptions options)
public static Output<GetSslCipherSuiteResult> getSslCipherSuite(GetSslCipherSuiteArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:LoadBalancer/getSslCipherSuite:getSslCipherSuite
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

LoadBalancerId This property is required. string
The OCID of the associated load balancer.
Name This property is required. string

The name of the SSL cipher suite to retrieve.

example: example_cipher_suite

LoadBalancerId This property is required. string
The OCID of the associated load balancer.
Name This property is required. string

The name of the SSL cipher suite to retrieve.

example: example_cipher_suite

loadBalancerId This property is required. String
The OCID of the associated load balancer.
name This property is required. String

The name of the SSL cipher suite to retrieve.

example: example_cipher_suite

loadBalancerId This property is required. string
The OCID of the associated load balancer.
name This property is required. string

The name of the SSL cipher suite to retrieve.

example: example_cipher_suite

load_balancer_id This property is required. str
The OCID of the associated load balancer.
name This property is required. str

The name of the SSL cipher suite to retrieve.

example: example_cipher_suite

loadBalancerId This property is required. String
The OCID of the associated load balancer.
name This property is required. String

The name of the SSL cipher suite to retrieve.

example: example_cipher_suite

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.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi