1. Packages
  2. Confluent Cloud
  3. API Docs
  4. getSubjectMode
Confluent v1.43.0 published on Thursday, Apr 25, 2024 by Pulumi

confluentcloud.getSubjectMode

Explore with Pulumi AI

confluentcloud logo
Confluent v1.43.0 published on Thursday, Apr 25, 2024 by Pulumi

    Using getSubjectMode

    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 getSubjectMode(args: GetSubjectModeArgs, opts?: InvokeOptions): Promise<GetSubjectModeResult>
    function getSubjectModeOutput(args: GetSubjectModeOutputArgs, opts?: InvokeOptions): Output<GetSubjectModeResult>
    def get_subject_mode(credentials: Optional[GetSubjectModeCredentials] = None,
                         rest_endpoint: Optional[str] = None,
                         schema_registry_cluster: Optional[GetSubjectModeSchemaRegistryCluster] = None,
                         subject_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSubjectModeResult
    def get_subject_mode_output(credentials: Optional[pulumi.Input[GetSubjectModeCredentialsArgs]] = None,
                         rest_endpoint: Optional[pulumi.Input[str]] = None,
                         schema_registry_cluster: Optional[pulumi.Input[GetSubjectModeSchemaRegistryClusterArgs]] = None,
                         subject_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSubjectModeResult]
    func LookupSubjectMode(ctx *Context, args *LookupSubjectModeArgs, opts ...InvokeOption) (*LookupSubjectModeResult, error)
    func LookupSubjectModeOutput(ctx *Context, args *LookupSubjectModeOutputArgs, opts ...InvokeOption) LookupSubjectModeResultOutput

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

    public static class GetSubjectMode 
    {
        public static Task<GetSubjectModeResult> InvokeAsync(GetSubjectModeArgs args, InvokeOptions? opts = null)
        public static Output<GetSubjectModeResult> Invoke(GetSubjectModeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSubjectModeResult> getSubjectMode(GetSubjectModeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: confluentcloud:index/getSubjectMode:getSubjectMode
      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.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Credentials Pulumi.ConfluentCloud.Inputs.GetSubjectModeCredentials
    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.GetSubjectModeSchemaRegistryCluster
    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.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    Credentials GetSubjectModeCredentials
    RestEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    SchemaRegistryCluster GetSubjectModeSchemaRegistryCluster
    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.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    credentials GetSubjectModeCredentials
    restEndpoint String
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster GetSubjectModeSchemaRegistryCluster
    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.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    credentials GetSubjectModeCredentials
    restEndpoint string
    The REST endpoint of the Schema Registry cluster, for example, https://psrc-00000.us-central1.gcp.confluent.cloud:443).
    schemaRegistryCluster GetSubjectModeSchemaRegistryCluster
    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.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    credentials GetSubjectModeCredentials
    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 GetSubjectModeSchemaRegistryCluster
    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.

    Note: A Schema Registry API key consists of a key and a secret. Schema Registry API keys are required to interact with Schema Registry clusters in Confluent Cloud. Each Schema Registry API key is valid for one specific Schema Registry cluster.

    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

    getSubjectMode Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    (Required String) The mode of the specified subject. Accepted values are: READWRITE, READONLY, READONLY_OVERRIDE, and IMPORT.
    SubjectName string
    Credentials Pulumi.ConfluentCloud.Outputs.GetSubjectModeCredentials
    RestEndpoint string
    SchemaRegistryCluster Pulumi.ConfluentCloud.Outputs.GetSubjectModeSchemaRegistryCluster
    Id string
    The provider-assigned unique ID for this managed resource.
    Mode string
    (Required String) The mode of the specified subject. Accepted values are: READWRITE, READONLY, READONLY_OVERRIDE, and IMPORT.
    SubjectName string
    Credentials GetSubjectModeCredentials
    RestEndpoint string
    SchemaRegistryCluster GetSubjectModeSchemaRegistryCluster
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    (Required String) The mode of the specified subject. Accepted values are: READWRITE, READONLY, READONLY_OVERRIDE, and IMPORT.
    subjectName String
    credentials GetSubjectModeCredentials
    restEndpoint String
    schemaRegistryCluster GetSubjectModeSchemaRegistryCluster
    id string
    The provider-assigned unique ID for this managed resource.
    mode string
    (Required String) The mode of the specified subject. Accepted values are: READWRITE, READONLY, READONLY_OVERRIDE, and IMPORT.
    subjectName string
    credentials GetSubjectModeCredentials
    restEndpoint string
    schemaRegistryCluster GetSubjectModeSchemaRegistryCluster
    id str
    The provider-assigned unique ID for this managed resource.
    mode str
    (Required String) The mode of the specified subject. Accepted values are: READWRITE, READONLY, READONLY_OVERRIDE, and IMPORT.
    subject_name str
    credentials GetSubjectModeCredentials
    rest_endpoint str
    schema_registry_cluster GetSubjectModeSchemaRegistryCluster
    id String
    The provider-assigned unique ID for this managed resource.
    mode String
    (Required String) The mode of the specified subject. Accepted values are: READWRITE, READONLY, READONLY_OVERRIDE, and IMPORT.
    subjectName String
    credentials Property Map
    restEndpoint String
    schemaRegistryCluster Property Map

    Supporting Types

    GetSubjectModeCredentials

    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.

    GetSubjectModeSchemaRegistryCluster

    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.43.0 published on Thursday, Apr 25, 2024 by Pulumi