1. Packages
  2. Confluent Provider
  3. API Docs
  4. getCertificatePool
Confluent v2.23.0 published on Tuesday, Apr 1, 2025 by Pulumi

confluentcloud.getCertificatePool

Explore with Pulumi AI

General Availability

confluentcloud.CertificatePool describes a Certificate Pool data source.

Example Usage

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

const main = confluentcloud.getCertificatePool({
    id: "pool-def456",
    certificateAuthority: {
        id: "op-abc123",
    },
});
export const certificatePool = main;
Copy
import pulumi
import pulumi_confluentcloud as confluentcloud

main = confluentcloud.get_certificate_pool(id="pool-def456",
    certificate_authority={
        "id": "op-abc123",
    })
pulumi.export("certificatePool", main)
Copy
package main

import (
	"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := confluentcloud.LookupCertificatePool(ctx, &confluentcloud.LookupCertificatePoolArgs{
			Id: "pool-def456",
			CertificateAuthority: confluentcloud.GetCertificatePoolCertificateAuthority{
				Id: "op-abc123",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("certificatePool", main)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;

return await Deployment.RunAsync(() => 
{
    var main = ConfluentCloud.GetCertificatePool.Invoke(new()
    {
        Id = "pool-def456",
        CertificateAuthority = new ConfluentCloud.Inputs.GetCertificatePoolCertificateAuthorityInputArgs
        {
            Id = "op-abc123",
        },
    });

    return new Dictionary<string, object?>
    {
        ["certificatePool"] = main,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.ConfluentcloudFunctions;
import com.pulumi.confluentcloud.inputs.GetCertificatePoolArgs;
import com.pulumi.confluentcloud.inputs.GetCertificatePoolCertificateAuthorityArgs;
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 main = ConfluentcloudFunctions.getCertificatePool(GetCertificatePoolArgs.builder()
            .id("pool-def456")
            .certificateAuthority(GetCertificatePoolCertificateAuthorityArgs.builder()
                .id("op-abc123")
                .build())
            .build());

        ctx.export("certificatePool", main.applyValue(getCertificatePoolResult -> getCertificatePoolResult));
    }
}
Copy
variables:
  main:
    fn::invoke:
      function: confluentcloud:getCertificatePool
      arguments:
        id: pool-def456
        certificateAuthority:
          id: op-abc123
outputs:
  certificatePool: ${main}
Copy

Using getCertificatePool

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 getCertificatePool(args: GetCertificatePoolArgs, opts?: InvokeOptions): Promise<GetCertificatePoolResult>
function getCertificatePoolOutput(args: GetCertificatePoolOutputArgs, opts?: InvokeOptions): Output<GetCertificatePoolResult>
Copy
def get_certificate_pool(certificate_authority: Optional[GetCertificatePoolCertificateAuthority] = None,
                         id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCertificatePoolResult
def get_certificate_pool_output(certificate_authority: Optional[pulumi.Input[GetCertificatePoolCertificateAuthorityArgs]] = None,
                         id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCertificatePoolResult]
Copy
func LookupCertificatePool(ctx *Context, args *LookupCertificatePoolArgs, opts ...InvokeOption) (*LookupCertificatePoolResult, error)
func LookupCertificatePoolOutput(ctx *Context, args *LookupCertificatePoolOutputArgs, opts ...InvokeOption) LookupCertificatePoolResultOutput
Copy

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

public static class GetCertificatePool 
{
    public static Task<GetCertificatePoolResult> InvokeAsync(GetCertificatePoolArgs args, InvokeOptions? opts = null)
    public static Output<GetCertificatePoolResult> Invoke(GetCertificatePoolInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCertificatePoolResult> getCertificatePool(GetCertificatePoolArgs args, InvokeOptions options)
public static Output<GetCertificatePoolResult> getCertificatePool(GetCertificatePoolArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: confluentcloud:index/getCertificatePool:getCertificatePool
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CertificateAuthority This property is required. Pulumi.ConfluentCloud.Inputs.GetCertificatePoolCertificateAuthority
Id This property is required. string
The ID of the Certificate Pool, for example, pool-abc123.
CertificateAuthority This property is required. GetCertificatePoolCertificateAuthority
Id This property is required. string
The ID of the Certificate Pool, for example, pool-abc123.
certificateAuthority This property is required. GetCertificatePoolCertificateAuthority
id This property is required. String
The ID of the Certificate Pool, for example, pool-abc123.
certificateAuthority This property is required. GetCertificatePoolCertificateAuthority
id This property is required. string
The ID of the Certificate Pool, for example, pool-abc123.
certificate_authority This property is required. GetCertificatePoolCertificateAuthority
id This property is required. str
The ID of the Certificate Pool, for example, pool-abc123.
certificateAuthority This property is required. Property Map
id This property is required. String
The ID of the Certificate Pool, for example, pool-abc123.

getCertificatePool Result

The following output properties are available:

CertificateAuthority Pulumi.ConfluentCloud.Outputs.GetCertificatePoolCertificateAuthority
Description string
(Required String) A description of the Certificate Pool.
DisplayName string
(Required String) A human-readable name for the Certificate Pool.
ExternalIdentifier string
(Required String) The certificate field that will be used to represent the pool's external identity for audit logging, for example, UID.
Filter string
(Required String) A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate pool.
Id string
CertificateAuthority GetCertificatePoolCertificateAuthority
Description string
(Required String) A description of the Certificate Pool.
DisplayName string
(Required String) A human-readable name for the Certificate Pool.
ExternalIdentifier string
(Required String) The certificate field that will be used to represent the pool's external identity for audit logging, for example, UID.
Filter string
(Required String) A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate pool.
Id string
certificateAuthority GetCertificatePoolCertificateAuthority
description String
(Required String) A description of the Certificate Pool.
displayName String
(Required String) A human-readable name for the Certificate Pool.
externalIdentifier String
(Required String) The certificate field that will be used to represent the pool's external identity for audit logging, for example, UID.
filter String
(Required String) A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate pool.
id String
certificateAuthority GetCertificatePoolCertificateAuthority
description string
(Required String) A description of the Certificate Pool.
displayName string
(Required String) A human-readable name for the Certificate Pool.
externalIdentifier string
(Required String) The certificate field that will be used to represent the pool's external identity for audit logging, for example, UID.
filter string
(Required String) A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate pool.
id string
certificate_authority GetCertificatePoolCertificateAuthority
description str
(Required String) A description of the Certificate Pool.
display_name str
(Required String) A human-readable name for the Certificate Pool.
external_identifier str
(Required String) The certificate field that will be used to represent the pool's external identity for audit logging, for example, UID.
filter str
(Required String) A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate pool.
id str
certificateAuthority Property Map
description String
(Required String) A description of the Certificate Pool.
displayName String
(Required String) A human-readable name for the Certificate Pool.
externalIdentifier String
(Required String) The certificate field that will be used to represent the pool's external identity for audit logging, for example, UID.
filter String
(Required String) A filter expression in Supported Common Expression Language (CEL) that specifies which identities can authenticate using your certificate pool.
id String

Supporting Types

GetCertificatePoolCertificateAuthority

Id This property is required. string
The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
Id This property is required. string
The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
id This property is required. String
The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
id This property is required. string
The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
id This property is required. str
The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
id This property is required. String
The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.

Package Details

Repository
Confluent Cloud pulumi/pulumi-confluentcloud
License
Apache-2.0
Notes
This Pulumi package is based on the confluent Terraform Provider.