1. Packages
  2. Confluent Cloud
  3. API Docs
  4. getSubjectConfig
Confluent v1.48.0 published on Friday, Jun 21, 2024 by Pulumi

confluentcloud.getSubjectConfig

Explore with Pulumi AI

confluentcloud logo
Confluent v1.48.0 published on Friday, Jun 21, 2024 by Pulumi

    Using getSubjectConfig

    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 getSubjectConfig(args: GetSubjectConfigArgs, opts?: InvokeOptions): Promise<GetSubjectConfigResult>
    function getSubjectConfigOutput(args: GetSubjectConfigOutputArgs, opts?: InvokeOptions): Output<GetSubjectConfigResult>
    def get_subject_config(credentials: Optional[GetSubjectConfigCredentials] = None,
                           rest_endpoint: Optional[str] = None,
                           schema_registry_cluster: Optional[GetSubjectConfigSchemaRegistryCluster] = None,
                           subject_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSubjectConfigResult
    def get_subject_config_output(credentials: Optional[pulumi.Input[GetSubjectConfigCredentialsArgs]] = None,
                           rest_endpoint: Optional[pulumi.Input[str]] = None,
                           schema_registry_cluster: Optional[pulumi.Input[GetSubjectConfigSchemaRegistryClusterArgs]] = None,
                           subject_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSubjectConfigResult]
    func LookupSubjectConfig(ctx *Context, args *LookupSubjectConfigArgs, opts ...InvokeOption) (*LookupSubjectConfigResult, error)
    func LookupSubjectConfigOutput(ctx *Context, args *LookupSubjectConfigOutputArgs, opts ...InvokeOption) LookupSubjectConfigResultOutput

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

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

    The following arguments are supported:

    SubjectName string
    The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, test-subject.
    Credentials Pulumi.ConfluentCloud.Inputs.GetSubjectConfigCredentials
    RestEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    SchemaRegistryCluster Pulumi.ConfluentCloud.Inputs.GetSubjectConfigSchemaRegistryCluster
    SubjectName string
    The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, test-subject.
    Credentials GetSubjectConfigCredentials
    RestEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    SchemaRegistryCluster GetSubjectConfigSchemaRegistryCluster
    subjectName String
    The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, test-subject.
    credentials GetSubjectConfigCredentials
    restEndpoint String
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster GetSubjectConfigSchemaRegistryCluster
    subjectName string
    The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, test-subject.
    credentials GetSubjectConfigCredentials
    restEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster GetSubjectConfigSchemaRegistryCluster
    subject_name str
    The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, test-subject.
    credentials GetSubjectConfigCredentials
    rest_endpoint str
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schema_registry_cluster GetSubjectConfigSchemaRegistryCluster
    subjectName String
    The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, test-subject.
    credentials Property Map
    restEndpoint String
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster Property Map

    getSubjectConfig Result

    The following output properties are available:

    CompatibilityLevel string
    (Required String) The Compatibility Level of the specified subject. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubjectName string
    Credentials Pulumi.ConfluentCloud.Outputs.GetSubjectConfigCredentials
    RestEndpoint string
    SchemaRegistryCluster Pulumi.ConfluentCloud.Outputs.GetSubjectConfigSchemaRegistryCluster
    CompatibilityLevel string
    (Required String) The Compatibility Level of the specified subject. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubjectName string
    Credentials GetSubjectConfigCredentials
    RestEndpoint string
    SchemaRegistryCluster GetSubjectConfigSchemaRegistryCluster
    compatibilityLevel String
    (Required String) The Compatibility Level of the specified subject. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    id String
    The provider-assigned unique ID for this managed resource.
    subjectName String
    credentials GetSubjectConfigCredentials
    restEndpoint String
    schemaRegistryCluster GetSubjectConfigSchemaRegistryCluster
    compatibilityLevel string
    (Required String) The Compatibility Level of the specified subject. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    id string
    The provider-assigned unique ID for this managed resource.
    subjectName string
    credentials GetSubjectConfigCredentials
    restEndpoint string
    schemaRegistryCluster GetSubjectConfigSchemaRegistryCluster
    compatibility_level str
    (Required String) The Compatibility Level of the specified subject. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    id str
    The provider-assigned unique ID for this managed resource.
    subject_name str
    credentials GetSubjectConfigCredentials
    rest_endpoint str
    schema_registry_cluster GetSubjectConfigSchemaRegistryCluster
    compatibilityLevel String
    (Required String) The Compatibility Level of the specified subject. Accepted values are: BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, and NONE. See the Compatibility Types for more details.
    id String
    The provider-assigned unique ID for this managed resource.
    subjectName String
    credentials Property Map
    restEndpoint String
    schemaRegistryCluster Property Map

    Supporting Types

    GetSubjectConfigCredentials

    Key string
    The Schema Registry API Key.
    Secret string
    The Schema Registry API Secret.
    Key string
    The Schema Registry API Key.
    Secret string
    The Schema Registry API Secret.
    key String
    The Schema Registry API Key.
    secret String
    The Schema Registry API Secret.
    key string
    The Schema Registry API Key.
    secret string
    The Schema Registry API Secret.
    key str
    The Schema Registry API Key.
    secret str
    The Schema Registry API Secret.
    key String
    The Schema Registry API Key.
    secret String
    The Schema Registry API Secret.

    GetSubjectConfigSchemaRegistryCluster

    Id string
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    Id string
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id String
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id string
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id str
    The ID of the Schema Registry cluster, for example, lsrc-abc123.
    id String
    The ID of the Schema Registry cluster, for example, lsrc-abc123.

    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.48.0 published on Friday, Jun 21, 2024 by Pulumi