oci.LoadBalancer.getSslCipherSuite
Explore with Pulumi AI
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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testSslCipherSuite:
    fn::invoke:
      function: oci:LoadBalancer:getSslCipherSuite
      arguments:
        loadBalancerId: ${testLoadBalancer.id}
        name: ${sslCipherSuiteName}
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 LookupSslCipherSuite(ctx *Context, args *LookupSslCipherSuiteArgs, opts ...InvokeOption) (*LookupSslCipherSuiteResult, error)
func LookupSslCipherSuiteOutput(ctx *Context, args *LookupSslCipherSuiteOutputArgs, opts ...InvokeOption) LookupSslCipherSuiteResultOutput> Note: This function is named LookupSslCipherSuite 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)
public static Output<GetSslCipherSuiteResult> getSslCipherSuite(GetSslCipherSuiteArgs args, InvokeOptions options)
fn::invoke:
  function: oci:LoadBalancer/getSslCipherSuite:getSslCipherSuite
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LoadBalancer stringId 
- The OCID of the associated load balancer.
- Name string
- The name of the SSL cipher suite to retrieve. - example: - example_cipher_suite
- LoadBalancer stringId 
- The OCID of the associated load balancer.
- Name string
- The name of the SSL cipher suite to retrieve. - example: - example_cipher_suite
- loadBalancer StringId 
- The OCID of the associated load balancer.
- name String
- The name of the SSL cipher suite to retrieve. - example: - example_cipher_suite
- loadBalancer stringId 
- The OCID of the associated load balancer.
- name string
- The name of the SSL cipher suite to retrieve. - example: - example_cipher_suite
- load_balancer_ strid 
- The OCID of the associated load balancer.
- name str
- The name of the SSL cipher suite to retrieve. - example: - example_cipher_suite
- loadBalancer StringId 
- The OCID of the associated load balancer.
- name 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
- LoadBalancer stringId 
- 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
- LoadBalancer stringId 
- 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
- loadBalancer StringId 
- 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
- loadBalancer stringId 
- 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_ strid 
- 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
- loadBalancer StringId 
- 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 ociTerraform Provider.