Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi
confluentcloud.getSchemaRegistryClusters
Explore with Pulumi AI
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.
Confluent Cloud. Inputs. Get Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- Environment
Get
Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- environment
Get
Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- environment
Get
Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- environment
Get
Schema Registry Clusters Environment - (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.
Confluent Cloud. Outputs. Get Schema Registry Clusters Cluster> - (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
- Environment
Pulumi.
Confluent Cloud. Outputs. Get Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Clusters
[]Get
Schema Registry Clusters Cluster - (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
- Environment
Get
Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- clusters
List<Get
Schema Registry Clusters Cluster> - (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
- environment
Get
Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- clusters
Get
Schema Registry Clusters Cluster[] - (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
- environment
Get
Schema Registry Clusters Environment - (Required Object) exports the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- clusters
Sequence[Get
Schema Registry Clusters Cluster] - (Required List of Object) List of Schema Registry clusters. Each Schema Registry cluster object exports the following attributes:
- environment
Get
Schema Registry Clusters Environment - (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
- Api
Version string - (Required String) An API Version of the schema version of the Schema Registry cluster, for example,
stream-governance/v2
. - Catalog
Endpoint 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
. - Display
Name string - (Required String) The name of the Schema Registry cluster, for example,
Stream Governance Package
. - Environment
Pulumi.
Confluent Cloud. Inputs. Get Schema Registry Clusters Cluster Environment - (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
andADVANCED
. - Private
Rest stringEndpoint - (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
. - Resource
Name 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
. - Rest
Endpoint string - (Required String) The HTTP endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-west-2.aws.confluent.cloud
.
- Api
Version string - (Required String) An API Version of the schema version of the Schema Registry cluster, for example,
stream-governance/v2
. - Catalog
Endpoint 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
. - Display
Name string - (Required String) The name of the Schema Registry cluster, for example,
Stream Governance Package
. - Environment
Get
Schema Registry Clusters Cluster Environment - (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
andADVANCED
. - Private
Rest stringEndpoint - (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
. - Resource
Name 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
. - Rest
Endpoint string - (Required String) The HTTP endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-west-2.aws.confluent.cloud
.
- api
Version String - (Required String) An API Version of the schema version of the Schema Registry cluster, for example,
stream-governance/v2
. - catalog
Endpoint 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
. - display
Name String - (Required String) The name of the Schema Registry cluster, for example,
Stream Governance Package
. - environment
Get
Schema Registry Clusters Cluster Environment - (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
andADVANCED
. - private
Rest StringEndpoint - (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
. - resource
Name 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
. - rest
Endpoint String - (Required String) The HTTP endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-west-2.aws.confluent.cloud
.
- api
Version string - (Required String) An API Version of the schema version of the Schema Registry cluster, for example,
stream-governance/v2
. - catalog
Endpoint 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
. - display
Name string - (Required String) The name of the Schema Registry cluster, for example,
Stream Governance Package
. - environment
Get
Schema Registry Clusters Cluster Environment - (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
andADVANCED
. - private
Rest stringEndpoint - (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
. - resource
Name 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
. - rest
Endpoint 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
Get
Schema Registry Clusters Cluster Environment - (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
andADVANCED
. - private_
rest_ strendpoint - (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
.
- api
Version String - (Required String) An API Version of the schema version of the Schema Registry cluster, for example,
stream-governance/v2
. - catalog
Endpoint 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
. - display
Name 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
andADVANCED
. - private
Rest StringEndpoint - (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
. - resource
Name 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
. - rest
Endpoint 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.