1. Packages
  2. Confluent Cloud
  3. API Docs
  4. getSchemaRegistryClusters
Confluent v2.3.0 published on Friday, Sep 27, 2024 by Pulumi

confluentcloud.getSchemaRegistryClusters

Explore with Pulumi AI

confluentcloud logo
Confluent v2.3.0 published on Friday, Sep 27, 2024 by Pulumi

    General Availability

    data.confluent_schema_registry_clusters describes a data source for Schema Registry Clusters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as confluentcloud from "@pulumi/confluentcloud";
    
    const main = confluentcloud.getSchemaRegistryClusters({
        environment: {
            id: "env-xyz456",
        },
    });
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    main = confluentcloud.get_schema_registry_clusters(environment={
        "id": "env-xyz456",
    })
    
    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 {
    		_, err := confluentcloud.GetSchemaRegistryClusters(ctx, &confluentcloud.GetSchemaRegistryClustersArgs{
    			Environment: confluentcloud.GetSchemaRegistryClustersEnvironment{
    				Id: "env-xyz456",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ConfluentCloud = Pulumi.ConfluentCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var main = ConfluentCloud.GetSchemaRegistryClusters.Invoke(new()
        {
            Environment = new ConfluentCloud.Inputs.GetSchemaRegistryClustersEnvironmentInputArgs
            {
                Id = "env-xyz456",
            },
        });
    
    });
    
    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.GetSchemaRegistryClustersArgs;
    import com.pulumi.confluentcloud.inputs.GetSchemaRegistryClustersEnvironmentArgs;
    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.getSchemaRegistryClusters(GetSchemaRegistryClustersArgs.builder()
                .environment(GetSchemaRegistryClustersEnvironmentArgs.builder()
                    .id("env-xyz456")
                    .build())
                .build());
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          Function: confluentcloud:getSchemaRegistryClusters
          Arguments:
            environment:
              id: env-xyz456
    

    Using getSchemaRegistryClusters

    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 getSchemaRegistryClusters(args: GetSchemaRegistryClustersArgs, opts?: InvokeOptions): Promise<GetSchemaRegistryClustersResult>
    function getSchemaRegistryClustersOutput(args: GetSchemaRegistryClustersOutputArgs, opts?: InvokeOptions): Output<GetSchemaRegistryClustersResult>
    def get_schema_registry_clusters(environment: Optional[GetSchemaRegistryClustersEnvironment] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetSchemaRegistryClustersResult
    def get_schema_registry_clusters_output(environment: Optional[pulumi.Input[GetSchemaRegistryClustersEnvironmentArgs]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetSchemaRegistryClustersResult]
    func GetSchemaRegistryClusters(ctx *Context, args *GetSchemaRegistryClustersArgs, opts ...InvokeOption) (*GetSchemaRegistryClustersResult, error)
    func GetSchemaRegistryClustersOutput(ctx *Context, args *GetSchemaRegistryClustersOutputArgs, opts ...InvokeOption) GetSchemaRegistryClustersResultOutput

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

    public static class GetSchemaRegistryClusters 
    {
        public static Task<GetSchemaRegistryClustersResult> InvokeAsync(GetSchemaRegistryClustersArgs args, InvokeOptions? opts = null)
        public static Output<GetSchemaRegistryClustersResult> Invoke(GetSchemaRegistryClustersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSchemaRegistryClustersResult> getSchemaRegistryClusters(GetSchemaRegistryClustersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: confluentcloud:index/getSchemaRegistryClusters:getSchemaRegistryClusters
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Environment Pulumi.ConfluentCloud.Inputs.GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    Environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    environment Property Map
    (Required Object) exports the following attributes:

    getSchemaRegistryClusters Result

    The following output properties are available:

    Clusters List<Pulumi.ConfluentCloud.Outputs.GetSchemaRegistryClustersCluster>
    (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
    Environment Pulumi.ConfluentCloud.Outputs.GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    Clusters []GetSchemaRegistryClustersCluster
    (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
    Environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    Id string
    The provider-assigned unique ID for this managed resource.
    clusters List<GetSchemaRegistryClustersCluster>
    (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
    environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.
    clusters GetSchemaRegistryClustersCluster[]
    (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
    environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    id string
    The provider-assigned unique ID for this managed resource.
    clusters Sequence[GetSchemaRegistryClustersCluster]
    (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
    environment GetSchemaRegistryClustersEnvironment
    (Required Object) exports the following attributes:
    id str
    The provider-assigned unique ID for this managed resource.
    clusters List<Property Map>
    (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
    environment Property Map
    (Required Object) exports the following attributes:
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetSchemaRegistryClustersCluster

    ApiVersion string
    (Required String) An API Version of the schema version of the Schema Registry cluster, for example, stream-governance/v2.
    CatalogEndpoint string
    (Required String) The Catalog endpoint of the Schema Registry cluster, for example, https://psrc-y1113.us-west-2.aws.confluent.cloud.
    Cloud string
    (Required String) The cloud service provider that that the Schema Registry cluster belongs to, for example, AWS.
    DisplayName string
    (Required String) The name of the Schema Registry cluster, for example, Stream Governance Package.
    Environment Pulumi.ConfluentCloud.Inputs.GetSchemaRegistryClustersClusterEnvironment
    (Required Object) exports the following attributes:
    Id string
    (Required String) The id of the environment.
    Kind string
    (Required String) A kind of the Schema Registry cluster, for example, Cluster.
    Package string
    (Required String) The type of the billing package. Accepted values are: ESSENTIALS and ADVANCED.
    PrivateRestEndpoint string
    (Required String) The private HTTP endpoint of the Schema Registry cluster, for example, https://lsrc.us-west-2.aws.private.stag.cpdev.cloud.
    Region string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, us-east4.
    ResourceName string
    (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123.
    RestEndpoint string
    (Required String) The HTTP endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-west-2.aws.confluent.cloud.
    ApiVersion string
    (Required String) An API Version of the schema version of the Schema Registry cluster, for example, stream-governance/v2.
    CatalogEndpoint string
    (Required String) The Catalog endpoint of the Schema Registry cluster, for example, https://psrc-y1113.us-west-2.aws.confluent.cloud.
    Cloud string
    (Required String) The cloud service provider that that the Schema Registry cluster belongs to, for example, AWS.
    DisplayName string
    (Required String) The name of the Schema Registry cluster, for example, Stream Governance Package.
    Environment GetSchemaRegistryClustersClusterEnvironment
    (Required Object) exports the following attributes:
    Id string
    (Required String) The id of the environment.
    Kind string
    (Required String) A kind of the Schema Registry cluster, for example, Cluster.
    Package string
    (Required String) The type of the billing package. Accepted values are: ESSENTIALS and ADVANCED.
    PrivateRestEndpoint string
    (Required String) The private HTTP endpoint of the Schema Registry cluster, for example, https://lsrc.us-west-2.aws.private.stag.cpdev.cloud.
    Region string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, us-east4.
    ResourceName string
    (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123.
    RestEndpoint string
    (Required String) The HTTP endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-west-2.aws.confluent.cloud.
    apiVersion String
    (Required String) An API Version of the schema version of the Schema Registry cluster, for example, stream-governance/v2.
    catalogEndpoint String
    (Required String) The Catalog endpoint of the Schema Registry cluster, for example, https://psrc-y1113.us-west-2.aws.confluent.cloud.
    cloud String
    (Required String) The cloud service provider that that the Schema Registry cluster belongs to, for example, AWS.
    displayName String
    (Required String) The name of the Schema Registry cluster, for example, Stream Governance Package.
    environment GetSchemaRegistryClustersClusterEnvironment
    (Required Object) exports the following attributes:
    id String
    (Required String) The id of the environment.
    kind String
    (Required String) A kind of the Schema Registry cluster, for example, Cluster.
    package_ String
    (Required String) The type of the billing package. Accepted values are: ESSENTIALS and ADVANCED.
    privateRestEndpoint String
    (Required String) The private HTTP endpoint of the Schema Registry cluster, for example, https://lsrc.us-west-2.aws.private.stag.cpdev.cloud.
    region String
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, us-east4.
    resourceName String
    (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123.
    restEndpoint String
    (Required String) The HTTP endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-west-2.aws.confluent.cloud.
    apiVersion string
    (Required String) An API Version of the schema version of the Schema Registry cluster, for example, stream-governance/v2.
    catalogEndpoint string
    (Required String) The Catalog endpoint of the Schema Registry cluster, for example, https://psrc-y1113.us-west-2.aws.confluent.cloud.
    cloud string
    (Required String) The cloud service provider that that the Schema Registry cluster belongs to, for example, AWS.
    displayName string
    (Required String) The name of the Schema Registry cluster, for example, Stream Governance Package.
    environment GetSchemaRegistryClustersClusterEnvironment
    (Required Object) exports the following attributes:
    id string
    (Required String) The id of the environment.
    kind string
    (Required String) A kind of the Schema Registry cluster, for example, Cluster.
    package string
    (Required String) The type of the billing package. Accepted values are: ESSENTIALS and ADVANCED.
    privateRestEndpoint string
    (Required String) The private HTTP endpoint of the Schema Registry cluster, for example, https://lsrc.us-west-2.aws.private.stag.cpdev.cloud.
    region string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, us-east4.
    resourceName string
    (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123.
    restEndpoint string
    (Required String) The HTTP endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-west-2.aws.confluent.cloud.
    api_version str
    (Required String) An API Version of the schema version of the Schema Registry cluster, for example, stream-governance/v2.
    catalog_endpoint str
    (Required String) The Catalog endpoint of the Schema Registry cluster, for example, https://psrc-y1113.us-west-2.aws.confluent.cloud.
    cloud str
    (Required String) The cloud service provider that that the Schema Registry cluster belongs to, for example, AWS.
    display_name str
    (Required String) The name of the Schema Registry cluster, for example, Stream Governance Package.
    environment GetSchemaRegistryClustersClusterEnvironment
    (Required Object) exports the following attributes:
    id str
    (Required String) The id of the environment.
    kind str
    (Required String) A kind of the Schema Registry cluster, for example, Cluster.
    package str
    (Required String) The type of the billing package. Accepted values are: ESSENTIALS and ADVANCED.
    private_rest_endpoint str
    (Required String) The private HTTP endpoint of the Schema Registry cluster, for example, https://lsrc.us-west-2.aws.private.stag.cpdev.cloud.
    region str
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, us-east4.
    resource_name str
    (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123.
    rest_endpoint str
    (Required String) The HTTP endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-west-2.aws.confluent.cloud.
    apiVersion String
    (Required String) An API Version of the schema version of the Schema Registry cluster, for example, stream-governance/v2.
    catalogEndpoint String
    (Required String) The Catalog endpoint of the Schema Registry cluster, for example, https://psrc-y1113.us-west-2.aws.confluent.cloud.
    cloud String
    (Required String) The cloud service provider that that the Schema Registry cluster belongs to, for example, AWS.
    displayName String
    (Required String) The name of the Schema Registry cluster, for example, Stream Governance Package.
    environment Property Map
    (Required Object) exports the following attributes:
    id String
    (Required String) The id of the environment.
    kind String
    (Required String) A kind of the Schema Registry cluster, for example, Cluster.
    package String
    (Required String) The type of the billing package. Accepted values are: ESSENTIALS and ADVANCED.
    privateRestEndpoint String
    (Required String) The private HTTP endpoint of the Schema Registry cluster, for example, https://lsrc.us-west-2.aws.private.stag.cpdev.cloud.
    region String
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, us-east4.
    resourceName String
    (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123.
    restEndpoint String
    (Required String) The HTTP endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-west-2.aws.confluent.cloud.

    GetSchemaRegistryClustersClusterEnvironment

    Id string
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    Id string
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id String
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id string
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id str
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id String
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.

    GetSchemaRegistryClustersEnvironment

    Id string
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    Id string
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id String
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id string
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id str
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.
    id String
    The ID of the Environment that the Schema Registry cluster belongs to, for example, env-xyz456.

    • If no environment id is specified, clusters from all environments will be displayed.

    Package Details

    Repository
    Confluent Cloud pulumi/pulumi-confluentcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the confluent Terraform Provider.
    confluentcloud logo
    Confluent v2.3.0 published on Friday, Sep 27, 2024 by Pulumi