confluentcloud.getSchema
Explore with Pulumi AI
Using getSchema
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 getSchema(args: GetSchemaArgs, opts?: InvokeOptions): Promise<GetSchemaResult>
function getSchemaOutput(args: GetSchemaOutputArgs, opts?: InvokeOptions): Output<GetSchemaResult>
def get_schema(credentials: Optional[GetSchemaCredentials] = None,
metadata: Optional[GetSchemaMetadata] = None,
rest_endpoint: Optional[str] = None,
ruleset: Optional[GetSchemaRuleset] = None,
schema_identifier: Optional[int] = None,
schema_registry_cluster: Optional[GetSchemaSchemaRegistryCluster] = None,
subject_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaResult
def get_schema_output(credentials: Optional[pulumi.Input[GetSchemaCredentialsArgs]] = None,
metadata: Optional[pulumi.Input[GetSchemaMetadataArgs]] = None,
rest_endpoint: Optional[pulumi.Input[str]] = None,
ruleset: Optional[pulumi.Input[GetSchemaRulesetArgs]] = None,
schema_identifier: Optional[pulumi.Input[int]] = None,
schema_registry_cluster: Optional[pulumi.Input[GetSchemaSchemaRegistryClusterArgs]] = None,
subject_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaResult]
func LookupSchema(ctx *Context, args *LookupSchemaArgs, opts ...InvokeOption) (*LookupSchemaResult, error)
func LookupSchemaOutput(ctx *Context, args *LookupSchemaOutputArgs, opts ...InvokeOption) LookupSchemaResultOutput
> Note: This function is named LookupSchema
in the Go SDK.
public static class GetSchema
{
public static Task<GetSchemaResult> InvokeAsync(GetSchemaArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaResult> Invoke(GetSchemaInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaResult> getSchema(GetSchemaArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: confluentcloud:index/getSchema:getSchema
arguments:
# arguments dictionary
The following arguments are supported:
- Schema
Identifier int The globally unique ID of the Schema, for example,
100003
. If the same schema is registered under a different subject, the same identifier will be returned. However, theversion
of the schema may be different under different subjects.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.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - Credentials
Pulumi.
Confluent Cloud. Inputs. Get Schema Credentials - Metadata
Pulumi.
Confluent Cloud. Inputs. Get Schema Metadata - (Optional Block) See here for more details. Supports the following:
- Rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443
). - Ruleset
Pulumi.
Confluent Cloud. Inputs. Get Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- Schema
Registry Pulumi.Cluster Confluent Cloud. Inputs. Get Schema Schema Registry Cluster
- Schema
Identifier int The globally unique ID of the Schema, for example,
100003
. If the same schema is registered under a different subject, the same identifier will be returned. However, theversion
of the schema may be different under different subjects.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.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - Credentials
Get
Schema Credentials - Metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- Rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443
). - Ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- Schema
Registry GetCluster Schema Schema Registry Cluster
- schema
Identifier Integer The globally unique ID of the Schema, for example,
100003
. If the same schema is registered under a different subject, the same identifier will be returned. However, theversion
of the schema may be different under different subjects.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.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - credentials
Get
Schema Credentials - metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- rest
Endpoint String - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443
). - ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema
Registry GetCluster Schema Schema Registry Cluster
- schema
Identifier number The globally unique ID of the Schema, for example,
100003
. If the same schema is registered under a different subject, the same identifier will be returned. However, theversion
of the schema may be different under different subjects.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.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - credentials
Get
Schema Credentials - metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- rest
Endpoint string - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443
). - ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema
Registry GetCluster Schema Schema Registry Cluster
- schema_
identifier int The globally unique ID of the Schema, for example,
100003
. If the same schema is registered under a different subject, the same identifier will be returned. However, theversion
of the schema may be different under different subjects.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.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - credentials
Get
Schema Credentials - metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- rest_
endpoint str - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443
). - ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema_
registry_ Getcluster Schema Schema Registry Cluster
- schema
Identifier Number The globally unique ID of the Schema, for example,
100003
. If the same schema is registered under a different subject, the same identifier will be returned. However, theversion
of the schema may be different under different subjects.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.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - credentials Property Map
- metadata Property Map
- (Optional Block) See here for more details. Supports the following:
- rest
Endpoint String - The REST endpoint of the Schema Registry cluster, for example,
https://psrc-00000.us-central1.gcp.confluent.cloud:443
). - ruleset Property Map
- (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema
Registry Property MapCluster
getSchema Result
The following output properties are available:
- Format string
- (Required String) The format of the schema. Accepted values are:
AVRO
,PROTOBUF
, andJSON
. - Hard
Delete bool - Id string
- The provider-assigned unique ID for this managed resource.
- Metadata
Pulumi.
Confluent Cloud. Outputs. Get Schema Metadata - (Optional Block) See here for more details. Supports the following:
- Recreate
On boolUpdate - Ruleset
Pulumi.
Confluent Cloud. Outputs. Get Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- Schema string
- (Required String) The schema string, for example,
file("./schema_version_1.avsc")
. - Schema
Identifier int - Schema
References List<Pulumi.Confluent Cloud. Outputs. Get Schema Schema Reference> - (Optional List) The list of referenced schemas (see Schema References for more details):
- Skip
Validation boolDuring Plan - Subject
Name string - (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)
- Version int
- (Required Integer) The version of the Schema, for example,
4
. - Credentials
Pulumi.
Confluent Cloud. Outputs. Get Schema Credentials - Rest
Endpoint string - Schema
Registry Pulumi.Cluster Confluent Cloud. Outputs. Get Schema Schema Registry Cluster
- Format string
- (Required String) The format of the schema. Accepted values are:
AVRO
,PROTOBUF
, andJSON
. - Hard
Delete bool - Id string
- The provider-assigned unique ID for this managed resource.
- Metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- Recreate
On boolUpdate - Ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- Schema string
- (Required String) The schema string, for example,
file("./schema_version_1.avsc")
. - Schema
Identifier int - Schema
References []GetSchema Schema Reference - (Optional List) The list of referenced schemas (see Schema References for more details):
- Skip
Validation boolDuring Plan - Subject
Name string - (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)
- Version int
- (Required Integer) The version of the Schema, for example,
4
. - Credentials
Get
Schema Credentials - Rest
Endpoint string - Schema
Registry GetCluster Schema Schema Registry Cluster
- format String
- (Required String) The format of the schema. Accepted values are:
AVRO
,PROTOBUF
, andJSON
. - hard
Delete Boolean - id String
- The provider-assigned unique ID for this managed resource.
- metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- recreate
On BooleanUpdate - ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema String
- (Required String) The schema string, for example,
file("./schema_version_1.avsc")
. - schema
Identifier Integer - schema
References List<GetSchema Schema Reference> - (Optional List) The list of referenced schemas (see Schema References for more details):
- skip
Validation BooleanDuring Plan - subject
Name String - (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)
- version Integer
- (Required Integer) The version of the Schema, for example,
4
. - credentials
Get
Schema Credentials - rest
Endpoint String - schema
Registry GetCluster Schema Schema Registry Cluster
- format string
- (Required String) The format of the schema. Accepted values are:
AVRO
,PROTOBUF
, andJSON
. - hard
Delete boolean - id string
- The provider-assigned unique ID for this managed resource.
- metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- recreate
On booleanUpdate - ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema string
- (Required String) The schema string, for example,
file("./schema_version_1.avsc")
. - schema
Identifier number - schema
References GetSchema Schema Reference[] - (Optional List) The list of referenced schemas (see Schema References for more details):
- skip
Validation booleanDuring Plan - subject
Name string - (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)
- version number
- (Required Integer) The version of the Schema, for example,
4
. - credentials
Get
Schema Credentials - rest
Endpoint string - schema
Registry GetCluster Schema Schema Registry Cluster
- format str
- (Required String) The format of the schema. Accepted values are:
AVRO
,PROTOBUF
, andJSON
. - hard_
delete bool - id str
- The provider-assigned unique ID for this managed resource.
- metadata
Get
Schema Metadata - (Optional Block) See here for more details. Supports the following:
- recreate_
on_ boolupdate - ruleset
Get
Schema Ruleset - (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema str
- (Required String) The schema string, for example,
file("./schema_version_1.avsc")
. - schema_
identifier int - schema_
references Sequence[GetSchema Schema Reference] - (Optional List) The list of referenced schemas (see Schema References for more details):
- skip_
validation_ boolduring_ plan - subject_
name str - (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)
- version int
- (Required Integer) The version of the Schema, for example,
4
. - credentials
Get
Schema Credentials - rest_
endpoint str - schema_
registry_ Getcluster Schema Schema Registry Cluster
- format String
- (Required String) The format of the schema. Accepted values are:
AVRO
,PROTOBUF
, andJSON
. - hard
Delete Boolean - id String
- The provider-assigned unique ID for this managed resource.
- metadata Property Map
- (Optional Block) See here for more details. Supports the following:
- recreate
On BooleanUpdate - ruleset Property Map
- (Optional Block) The list of schema rules. See Data Contracts for Schema Registry for more details. For example, these rules can enforce that a field that contains sensitive information must be encrypted, or that a message containing an invalid age must be sent to a dead letter queue.
- schema String
- (Required String) The schema string, for example,
file("./schema_version_1.avsc")
. - schema
Identifier Number - schema
References List<Property Map> - (Optional List) The list of referenced schemas (see Schema References for more details):
- skip
Validation BooleanDuring Plan - subject
Name String - (Required String) The name for the reference. (For Avro Schema, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf Schema, it is the name of another Protobuf file.)
- version Number
- (Required Integer) The version of the Schema, for example,
4
. - credentials Property Map
- rest
Endpoint String - schema
Registry Property MapCluster
Supporting Types
GetSchemaCredentials
GetSchemaMetadata
- Properties Dictionary<string, string>
- (Optional Map) The custom properties to set:
- Sensitives List<string>
- (Optional List of Strings) A list of metadata properties to be encrypted.
- List<Pulumi.
Confluent Cloud. Inputs. Get Schema Metadata Tag> - (Optional String List) The tags to which the rule applies, if any.
- Properties map[string]string
- (Optional Map) The custom properties to set:
- Sensitives []string
- (Optional List of Strings) A list of metadata properties to be encrypted.
- []Get
Schema Metadata Tag - (Optional String List) The tags to which the rule applies, if any.
- properties Map<String,String>
- (Optional Map) The custom properties to set:
- sensitives List<String>
- (Optional List of Strings) A list of metadata properties to be encrypted.
- List<Get
Schema Metadata Tag> - (Optional String List) The tags to which the rule applies, if any.
- properties {[key: string]: string}
- (Optional Map) The custom properties to set:
- sensitives string[]
- (Optional List of Strings) A list of metadata properties to be encrypted.
- Get
Schema Metadata Tag[] - (Optional String List) The tags to which the rule applies, if any.
- properties Mapping[str, str]
- (Optional Map) The custom properties to set:
- sensitives Sequence[str]
- (Optional List of Strings) A list of metadata properties to be encrypted.
- Sequence[Get
Schema Metadata Tag] - (Optional String List) The tags to which the rule applies, if any.
- properties Map<String>
- (Optional Map) The custom properties to set:
- sensitives List<String>
- (Optional List of Strings) A list of metadata properties to be encrypted.
- List<Property Map>
- (Optional String List) The tags to which the rule applies, if any.
GetSchemaMetadataTag
GetSchemaRuleset
- Domain
Rules List<Pulumi.Confluent Cloud. Inputs. Get Schema Ruleset Domain Rule> - (Optional List of Blocks) supports the following:
- Migration
Rules List<Pulumi.Confluent Cloud. Inputs. Get Schema Ruleset Migration Rule>
- Domain
Rules []GetSchema Ruleset Domain Rule - (Optional List of Blocks) supports the following:
- Migration
Rules []GetSchema Ruleset Migration Rule
- domain
Rules List<GetSchema Ruleset Domain Rule> - (Optional List of Blocks) supports the following:
- migration
Rules List<GetSchema Ruleset Migration Rule>
- domain
Rules GetSchema Ruleset Domain Rule[] - (Optional List of Blocks) supports the following:
- migration
Rules GetSchema Ruleset Migration Rule[]
- domain_
rules Sequence[GetSchema Ruleset Domain Rule] - (Optional List of Blocks) supports the following:
- migration_
rules Sequence[GetSchema Ruleset Migration Rule]
- domain
Rules List<Property Map> - (Optional List of Blocks) supports the following:
- migration
Rules List<Property Map>
GetSchemaRulesetDomainRule
- Doc string
- (Optional String) An optional description.
- Expr string
- (Optional String) The body of the rule, which is optional.
- Kind string
- (Optional String) Either
CONDITION
orTRANSFORM
. - Mode string
- (Optional String) The mode of the rule.
- Name string
- (Optional String) A user-defined name that can be used to reference the rule.
- On
Failure string - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- On
Success string - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- Params Dictionary<string, string>
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- List<string>
- (Optional String List) The tags to which the rule applies, if any.
- Type string
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- Doc string
- (Optional String) An optional description.
- Expr string
- (Optional String) The body of the rule, which is optional.
- Kind string
- (Optional String) Either
CONDITION
orTRANSFORM
. - Mode string
- (Optional String) The mode of the rule.
- Name string
- (Optional String) A user-defined name that can be used to reference the rule.
- On
Failure string - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- On
Success string - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- Params map[string]string
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- []string
- (Optional String List) The tags to which the rule applies, if any.
- Type string
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc String
- (Optional String) An optional description.
- expr String
- (Optional String) The body of the rule, which is optional.
- kind String
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode String
- (Optional String) The mode of the rule.
- name String
- (Optional String) A user-defined name that can be used to reference the rule.
- on
Failure String - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on
Success String - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params Map<String,String>
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- List<String>
- (Optional String List) The tags to which the rule applies, if any.
- type String
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc string
- (Optional String) An optional description.
- expr string
- (Optional String) The body of the rule, which is optional.
- kind string
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode string
- (Optional String) The mode of the rule.
- name string
- (Optional String) A user-defined name that can be used to reference the rule.
- on
Failure string - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on
Success string - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params {[key: string]: string}
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- string[]
- (Optional String List) The tags to which the rule applies, if any.
- type string
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc str
- (Optional String) An optional description.
- expr str
- (Optional String) The body of the rule, which is optional.
- kind str
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode str
- (Optional String) The mode of the rule.
- name str
- (Optional String) A user-defined name that can be used to reference the rule.
- on_
failure str - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on_
success str - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params Mapping[str, str]
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- Sequence[str]
- (Optional String List) The tags to which the rule applies, if any.
- type str
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc String
- (Optional String) An optional description.
- expr String
- (Optional String) The body of the rule, which is optional.
- kind String
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode String
- (Optional String) The mode of the rule.
- name String
- (Optional String) A user-defined name that can be used to reference the rule.
- on
Failure String - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on
Success String - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params Map<String>
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- List<String>
- (Optional String List) The tags to which the rule applies, if any.
- type String
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
GetSchemaRulesetMigrationRule
- Doc string
- (Optional String) An optional description.
- Expr string
- (Optional String) The body of the rule, which is optional.
- Kind string
- (Optional String) Either
CONDITION
orTRANSFORM
. - Mode string
- (Optional String) The mode of the rule.
- Name string
- (Optional String) A user-defined name that can be used to reference the rule.
- On
Failure string - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- On
Success string - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- Params Dictionary<string, string>
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- List<string>
- (Optional String List) The tags to which the rule applies, if any.
- Type string
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- Doc string
- (Optional String) An optional description.
- Expr string
- (Optional String) The body of the rule, which is optional.
- Kind string
- (Optional String) Either
CONDITION
orTRANSFORM
. - Mode string
- (Optional String) The mode of the rule.
- Name string
- (Optional String) A user-defined name that can be used to reference the rule.
- On
Failure string - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- On
Success string - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- Params map[string]string
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- []string
- (Optional String List) The tags to which the rule applies, if any.
- Type string
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc String
- (Optional String) An optional description.
- expr String
- (Optional String) The body of the rule, which is optional.
- kind String
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode String
- (Optional String) The mode of the rule.
- name String
- (Optional String) A user-defined name that can be used to reference the rule.
- on
Failure String - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on
Success String - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params Map<String,String>
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- List<String>
- (Optional String List) The tags to which the rule applies, if any.
- type String
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc string
- (Optional String) An optional description.
- expr string
- (Optional String) The body of the rule, which is optional.
- kind string
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode string
- (Optional String) The mode of the rule.
- name string
- (Optional String) A user-defined name that can be used to reference the rule.
- on
Failure string - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on
Success string - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params {[key: string]: string}
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- string[]
- (Optional String List) The tags to which the rule applies, if any.
- type string
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc str
- (Optional String) An optional description.
- expr str
- (Optional String) The body of the rule, which is optional.
- kind str
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode str
- (Optional String) The mode of the rule.
- name str
- (Optional String) A user-defined name that can be used to reference the rule.
- on_
failure str - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on_
success str - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params Mapping[str, str]
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- Sequence[str]
- (Optional String List) The tags to which the rule applies, if any.
- type str
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
- doc String
- (Optional String) An optional description.
- expr String
- (Optional String) The body of the rule, which is optional.
- kind String
- (Optional String) Either
CONDITION
orTRANSFORM
. - mode String
- (Optional String) The mode of the rule.
- name String
- (Optional String) A user-defined name that can be used to reference the rule.
- on
Failure String - (Optional String) An optional action to execute if the rule fails, otherwise the built-in action type ERROR is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, as mentioned above.
- on
Success String - (Optional String) An optional action to execute if the rule succeeds, otherwise the built-in action type NONE is used. For UPDOWN and WRITEREAD rules, one can specify two actions separated by commas, such as “NONE,ERROR” for a WRITEREAD rule. In this case NONE applies to WRITE and ERROR applies to READ.
- params Map<String>
- (Optional Configuration Block) A set of static parameters for the rule, which is optional. These are key-value pairs that are passed to the rule.
- List<String>
- (Optional String List) The tags to which the rule applies, if any.
- type String
- (Optional String) The type of rule, which invokes a specific rule executor, such as Google Common Expression Language (CEL) or JSONata.
GetSchemaSchemaReference
- Name string
- (Optional String) A user-defined name that can be used to reference the rule.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - Version int
- (Required Integer) The version of the Schema, for example,
4
.
- Name string
- (Optional String) A user-defined name that can be used to reference the rule.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - Version int
- (Required Integer) The version of the Schema, for example,
4
.
- name String
- (Optional String) A user-defined name that can be used to reference the rule.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - version Integer
- (Required Integer) The version of the Schema, for example,
4
.
- name string
- (Optional String) A user-defined name that can be used to reference the rule.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - version number
- (Required Integer) The version of the Schema, for example,
4
.
- name str
- (Optional String) A user-defined name that can be used to reference the rule.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - version int
- (Required Integer) The version of the Schema, for example,
4
.
- name String
- (Optional String) A user-defined name that can be used to reference the rule.
- 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
. Schemas evolve safely, following a compatibility mode defined, under a subject name. - version Number
- (Required Integer) The version of the Schema, for example,
4
.
GetSchemaSchemaRegistryCluster
- 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.