Confluent v1.48.0 published on Friday, Jun 21, 2024 by Pulumi
confluentcloud.getSchemaRegistryClusters
Explore with Pulumi AI
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.
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:
- 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:
- 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:
- 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:
- 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:
- 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
- Api
Version string - (Required String) An API Version of the schema version of the Schema Registry cluster, for example,
stream-governance/v2
. - 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 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
andADVANCED
. - Regions
List<Pulumi.
Confluent Cloud. Inputs. Get Schema Registry Clusters Cluster Region> - (Required Configuration Block) supports the following:
- 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
. - 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 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
andADVANCED
. - Regions
[]Get
Schema Registry Clusters Cluster Region - (Required Configuration Block) supports the following:
- 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
. - 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 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
andADVANCED
. - regions
List<Get
Schema Registry Clusters Cluster Region> - (Required Configuration Block) supports the following:
- 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
. - 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 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
andADVANCED
. - regions
Get
Schema Registry Clusters Cluster Region[] - (Required Configuration Block) supports the following:
- 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
. - 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 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
andADVANCED
. - regions
Sequence[Get
Schema Registry Clusters Cluster Region] - (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
.
- api
Version String - (Required String) An API Version of the schema version of the Schema Registry cluster, for example,
stream-governance/v2
. - 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 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
andADVANCED
. - regions List<Property Map>
- (Required Configuration Block) supports the following:
- 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
- (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.