Confluent v2.21.0 published on Wednesday, Mar 19, 2025 by Pulumi
confluentcloud.getCertificatePool
Explore with Pulumi AI
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;
import pulumi
import pulumi_confluentcloud as confluentcloud
main = confluentcloud.get_certificate_pool(id="pool-def456",
    certificate_authority={
        "id": "op-abc123",
    })
pulumi.export("certificatePool", main)
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
	})
}
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,
    };
});
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));
    }
}
variables:
  main:
    fn::invoke:
      function: confluentcloud:getCertificatePool
      arguments:
        id: pool-def456
        certificateAuthority:
          id: op-abc123
outputs:
  certificatePool: ${main}
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>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]func LookupCertificatePool(ctx *Context, args *LookupCertificatePoolArgs, opts ...InvokeOption) (*LookupCertificatePoolResult, error)
func LookupCertificatePoolOutput(ctx *Context, args *LookupCertificatePoolOutputArgs, opts ...InvokeOption) LookupCertificatePoolResultOutput> 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)
}public static CompletableFuture<GetCertificatePoolResult> getCertificatePool(GetCertificatePoolArgs args, InvokeOptions options)
public static Output<GetCertificatePoolResult> getCertificatePool(GetCertificatePoolArgs args, InvokeOptions options)
fn::invoke:
  function: confluentcloud:index/getCertificatePool:getCertificatePool
  arguments:
    # arguments dictionaryThe following arguments are supported:
- 
Pulumi.Confluent Cloud. Inputs. Get Certificate Pool Certificate Authority 
- Id string
- The ID of the Certificate Pool, for example, pool-abc123.
- 
GetCertificate Pool Certificate Authority 
- Id string
- The ID of the Certificate Pool, for example, pool-abc123.
- 
GetCertificate Pool Certificate Authority 
- id String
- The ID of the Certificate Pool, for example, pool-abc123.
- 
GetCertificate Pool Certificate Authority 
- id string
- The ID of the Certificate Pool, for example, pool-abc123.
- 
GetCertificate Pool Certificate Authority 
- id str
- The ID of the Certificate Pool, for example, pool-abc123.
- Property Map
- id String
- The ID of the Certificate Pool, for example, pool-abc123.
getCertificatePool Result
The following output properties are available:
- 
Pulumi.Confluent Cloud. Outputs. Get Certificate Pool Certificate Authority 
- 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
- 
GetCertificate Pool Certificate Authority 
- 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
- 
GetCertificate Pool Certificate Authority 
- 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
- 
GetCertificate Pool Certificate Authority 
- 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
- 
GetCertificate Pool Certificate Authority 
- 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
- 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 string
- The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
- Id string
- The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
- id String
- The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
- id string
- The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
- id str
- The ID of the Certificate Authority for this Certificate Pool, for example, op-123abc.
- id 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 confluentTerraform Provider.