published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 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)
public static Output<GetSubjectModeResult> getSubjectMode(GetSubjectModeArgs args, InvokeOptions options)
fn::invoke:
function: confluentcloud:index/getSubjectMode:getSubjectMode
arguments:
# arguments dictionaryThe following arguments are supported:
- Subject
Name 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.
Confluent Cloud. Inputs. Get Subject Mode Credentials - Rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - Schema
Registry Pulumi.Cluster Confluent Cloud. Inputs. Get Subject Mode Schema Registry Cluster
- Subject
Name 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
Get
Subject Mode Credentials - Rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - Schema
Registry GetCluster Subject Mode Schema Registry Cluster
- subject
Name 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
Get
Subject Mode Credentials - rest
Endpoint String - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema
Registry GetCluster Subject Mode Schema Registry Cluster
- subject
Name 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
Get
Subject Mode Credentials - rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema
Registry GetCluster Subject Mode Schema Registry Cluster
- 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
Get
Subject Mode Credentials - rest_
endpoint str - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema_
registry_ Getcluster Subject Mode Schema Registry Cluster
- subject
Name 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
- rest
Endpoint String - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443). - schema
Registry Property MapCluster
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, andIMPORT. - Subject
Name string - Credentials
Pulumi.
Confluent Cloud. Outputs. Get Subject Mode Credentials - Rest
Endpoint string - Schema
Registry Pulumi.Cluster Confluent Cloud. Outputs. Get Subject Mode Schema Registry Cluster
- 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, andIMPORT. - Subject
Name string - Credentials
Get
Subject Mode Credentials - Rest
Endpoint string - Schema
Registry GetCluster Subject Mode Schema Registry Cluster
- 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, andIMPORT. - subject
Name String - credentials
Get
Subject Mode Credentials - rest
Endpoint String - schema
Registry GetCluster Subject Mode Schema Registry Cluster
- 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, andIMPORT. - subject
Name string - credentials
Get
Subject Mode Credentials - rest
Endpoint string - schema
Registry GetCluster Subject Mode Schema Registry Cluster
- 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, andIMPORT. - subject_
name str - credentials
Get
Subject Mode Credentials - rest_
endpoint str - schema_
registry_ Getcluster Subject Mode Schema Registry Cluster
- 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, andIMPORT. - subject
Name String - credentials Property Map
- rest
Endpoint String - schema
Registry Property MapCluster
Supporting Types
GetSubjectModeCredentials
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
confluentTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
