Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.LoadBalancer.getSslCipherSuites
Explore with Pulumi AI
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:
- Load
Balancer stringId - The OCID of the associated load balancer.
- Filters
List<Get
Ssl Cipher Suites Filter>
- Load
Balancer stringId - The OCID of the associated load balancer.
- Filters
[]Get
Ssl Cipher Suites Filter
- load
Balancer StringId - The OCID of the associated load balancer.
- filters
List<Get
Ssl Cipher Suites Filter>
- load
Balancer stringId - The OCID of the associated load balancer.
- filters
Get
Ssl Cipher Suites Filter[]
- load_
balancer_ strid - The OCID of the associated load balancer.
- filters
Sequence[loadbalancer.
Get Ssl Cipher Suites Filter]
- load
Balancer StringId - 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.
- Load
Balancer stringId - Ssl
Cipher List<GetSuites Ssl Cipher Suites Ssl Cipher Suite> - The list of ssl_cipher_suites.
- Filters
List<Get
Ssl Cipher Suites Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Load
Balancer stringId - Ssl
Cipher []GetSuites Ssl Cipher Suites Ssl Cipher Suite - The list of ssl_cipher_suites.
- Filters
[]Get
Ssl Cipher Suites Filter
- id String
- The provider-assigned unique ID for this managed resource.
- load
Balancer StringId - ssl
Cipher List<GetSuites Ssl Cipher Suites Ssl Cipher Suite> - The list of ssl_cipher_suites.
- filters
List<Get
Ssl Cipher Suites Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- load
Balancer stringId - ssl
Cipher GetSuites Ssl Cipher Suites Ssl Cipher Suite[] - The list of ssl_cipher_suites.
- filters
Get
Ssl Cipher Suites Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- load_
balancer_ strid - ssl_
cipher_ Sequence[loadbalancer.suites Get Ssl Cipher Suites Ssl Cipher Suite] - The list of ssl_cipher_suites.
- filters
Sequence[loadbalancer.
Get Ssl Cipher Suites Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- load
Balancer StringId - ssl
Cipher List<Property Map>Suites - The list of ssl_cipher_suites.
- filters List<Property Map>
Supporting Types
GetSslCipherSuitesFilter
GetSslCipherSuitesSslCipherSuite
- Ciphers List<string>
- A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.
- Load
Balancer stringId - 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.
- Load
Balancer stringId - 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.
- load
Balancer StringId - 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.
- load
Balancer stringId - 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_ strid - 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.
- load
Balancer StringId - 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.