1. Packages
  2. Confluent Cloud
  3. API Docs
  4. getSchemaRegistryClusters
Confluent v1.46.0 published on Friday, May 10, 2024 by Pulumi

confluentcloud.getSchemaRegistryClusters

Explore with Pulumi AI

confluentcloud logo
Confluent v1.46.0 published on Friday, May 10, 2024 by Pulumi

    General Availability

    confluentcloud.getSchemaRegistryClusters 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({});
    
    import pulumi
    import pulumi_confluentcloud as confluentcloud
    
    main = confluentcloud.get_schema_registry_clusters()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := confluentcloud.GetSchemaRegistryClusters(ctx, nil, 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();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.confluentcloud.ConfluentcloudFunctions;
    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();
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          Function: confluentcloud:getSchemaRegistryClusters
          Arguments: {}
    

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

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

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

    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:
    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:
    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:
    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:
    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:
    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:
    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.
    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 Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    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.
    Regions List<Pulumi.ConfluentCloud.Inputs.GetSchemaRegistryClustersClusterRegion>
    (Required Configuration Block) supports the following:
    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.
    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 Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    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.
    Regions []GetSchemaRegistryClustersClusterRegion
    (Required Configuration Block) supports the following:
    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.
    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 Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    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.
    regions List<GetSchemaRegistryClustersClusterRegion>
    (Required Configuration Block) supports the following:
    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.
    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 Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    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.
    regions GetSchemaRegistryClustersClusterRegion[]
    (Required Configuration Block) supports the following:
    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.
    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 Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    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.
    regions Sequence[GetSchemaRegistryClustersClusterRegion]
    (Required Configuration Block) supports the following:
    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.
    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 Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    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.
    regions List<Property Map>
    (Required Configuration Block) supports the following:
    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
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    Id string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id String
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id str
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id String
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.

    GetSchemaRegistryClustersClusterRegion

    Id string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    Id string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id String
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id string
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id str
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.
    id String
    (Required String) The ID of the Schema Registry region that the Schema Registry cluster belongs to, for example, sgreg-1. See Schema Registry Regions.

    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 v1.46.0 published on Friday, May 10, 2024 by Pulumi