1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LoadBalancer
  5. getSslCipherSuites
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.LoadBalancer.getSslCipherSuites

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSslCipherSuites = oci.LoadBalancer.getSslCipherSuites({
        loadBalancerId: testLoadBalancer.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_ssl_cipher_suites = oci.LoadBalancer.get_ssl_cipher_suites(load_balancer_id=test_load_balancer["id"])
    
    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.GetSslCipherSuites(ctx, &loadbalancer.GetSslCipherSuitesArgs{
    			LoadBalancerId: testLoadBalancer.Id,
    		}, 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 testSslCipherSuites = Oci.LoadBalancer.GetSslCipherSuites.Invoke(new()
        {
            LoadBalancerId = testLoadBalancer.Id,
        });
    
    });
    
    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(testLoadBalancer.id())
                .build());
    
        }
    }
    
    variables:
      testSslCipherSuites:
        fn::invoke:
          Function: oci:LoadBalancer:getSslCipherSuites
          Arguments:
            loadBalancerId: ${testLoadBalancer.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:

    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 List<GetSslCipherSuitesFilter>
    loadBalancerId string
    The OCID of the associated load balancer.
    filters GetSslCipherSuitesFilter[]
    loadBalancerId String
    The OCID of the associated load balancer.
    filters List<Property Map>

    getSslCipherSuites Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    LoadBalancerId string
    SslCipherSuites List<GetSslCipherSuitesSslCipherSuite>
    The list of ssl_cipher_suites.
    Filters List<GetSslCipherSuitesFilter>
    Id string
    The provider-assigned unique ID for this managed resource.
    LoadBalancerId string
    SslCipherSuites []GetSslCipherSuitesSslCipherSuite
    The list of ssl_cipher_suites.
    Filters []GetSslCipherSuitesFilter
    id String
    The provider-assigned unique ID for this managed resource.
    loadBalancerId String
    sslCipherSuites List<GetSslCipherSuitesSslCipherSuite>
    The list of ssl_cipher_suites.
    filters List<GetSslCipherSuitesFilter>
    id string
    The provider-assigned unique ID for this managed resource.
    loadBalancerId string
    sslCipherSuites GetSslCipherSuitesSslCipherSuite[]
    The list of ssl_cipher_suites.
    filters GetSslCipherSuitesFilter[]
    id str
    The provider-assigned unique ID for this managed resource.
    load_balancer_id str
    ssl_cipher_suites Sequence[loadbalancer.GetSslCipherSuitesSslCipherSuite]
    The list of ssl_cipher_suites.
    filters Sequence[loadbalancer.GetSslCipherSuitesFilter]
    id String
    The provider-assigned unique ID for this managed resource.
    loadBalancerId String
    sslCipherSuites List<Property Map>
    The list of ssl_cipher_suites.
    filters List<Property Map>

    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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi