@pulumi/confluentcloud 2.25.0-alpha.1746164010 → 2.25.0-alpha.1746502242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/confluentcloud",
3
- "version": "2.25.0-alpha.1746164010",
3
+ "version": "2.25.0-alpha.1746502242",
4
4
  "description": "A Pulumi package for creating and managing Confluent cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "confluentcloud",
27
- "version": "2.25.0-alpha.1746164010"
27
+ "version": "2.25.0-alpha.1746502242"
28
28
  }
29
29
  }
package/roleBinding.d.ts CHANGED
@@ -6,6 +6,41 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
8
8
  *
9
+ * ## Example of using timeSleep
10
+ *
11
+ * This configuration introduces a 360-second custom delay after the creation of a role binding, before creating a Kafka topic.
12
+ *
13
+ * For context, using `disableWaitForReady = false` (the default setting) results in a 90-second hardcoded delay, while opting for `disableWaitForReady = true` results in a 0-second delay.
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as confluentcloud from "@pulumi/confluentcloud";
18
+ * import * as time from "@pulumi/time";
19
+ *
20
+ * const app_manager_kafka_cluster_admin_skip_sync = new confluentcloud.RoleBinding("app-manager-kafka-cluster-admin-skip-sync", {
21
+ * principal: `User:${app_manager.id}`,
22
+ * roleName: "CloudClusterAdmin",
23
+ * crnPattern: standard.rbacCrn,
24
+ * disableWaitForReady: true,
25
+ * });
26
+ * const wait360SecondsAfterRoleBinding = new time.index.Sleep("wait_360_seconds_after_role_binding", {createDuration: "360s"}, {
27
+ * dependsOn: [app_manager_kafka_cluster_admin_skip_sync],
28
+ * });
29
+ * const orders = new confluentcloud.KafkaTopic("orders", {
30
+ * kafkaCluster: {
31
+ * id: standard.id,
32
+ * },
33
+ * topicName: "orders",
34
+ * restEndpoint: standard.restEndpoint,
35
+ * credentials: {
36
+ * key: app_manager_kafka_api_key.id,
37
+ * secret: app_manager_kafka_api_key.secret,
38
+ * },
39
+ * }, {
40
+ * dependsOn: [wait360SecondsAfterRoleBinding],
41
+ * });
42
+ * ```
43
+ *
9
44
  * ## Import
10
45
  *
11
46
  * You can import a Role Binding by using Role Binding ID, for example:
@@ -37,9 +72,10 @@ export declare class RoleBinding extends pulumi.CustomResource {
37
72
  */
38
73
  static isInstance(obj: any): obj is RoleBinding;
39
74
  /**
40
- * A [Confluent Resource Name(CRN)](https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)) that specifies the scope and resource patterns necessary for the role to bind.
75
+ * A [Confluent Resource Name (CRN)](https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)) that specifies the scope and resource patterns necessary for the role to bind.
41
76
  */
42
77
  readonly crnPattern: pulumi.Output<string>;
78
+ readonly disableWaitForReady: pulumi.Output<boolean | undefined>;
43
79
  /**
44
80
  * A principal User to bind the role to, for example, "User:u-111aaa" for binding to a user "u-111aaa", or "User:sa-111aaa" for binding to a service account "sa-111aaa".
45
81
  */
@@ -62,9 +98,10 @@ export declare class RoleBinding extends pulumi.CustomResource {
62
98
  */
63
99
  export interface RoleBindingState {
64
100
  /**
65
- * A [Confluent Resource Name(CRN)](https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)) that specifies the scope and resource patterns necessary for the role to bind.
101
+ * A [Confluent Resource Name (CRN)](https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)) that specifies the scope and resource patterns necessary for the role to bind.
66
102
  */
67
103
  crnPattern?: pulumi.Input<string>;
104
+ disableWaitForReady?: pulumi.Input<boolean>;
68
105
  /**
69
106
  * A principal User to bind the role to, for example, "User:u-111aaa" for binding to a user "u-111aaa", or "User:sa-111aaa" for binding to a service account "sa-111aaa".
70
107
  */
@@ -79,9 +116,10 @@ export interface RoleBindingState {
79
116
  */
80
117
  export interface RoleBindingArgs {
81
118
  /**
82
- * A [Confluent Resource Name(CRN)](https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)) that specifies the scope and resource patterns necessary for the role to bind.
119
+ * A [Confluent Resource Name (CRN)](https://docs.confluent.io/cloud/current/api.html#section/Identifiers-and-URLs/Confluent-Resource-Names-(CRNs)) that specifies the scope and resource patterns necessary for the role to bind.
83
120
  */
84
121
  crnPattern: pulumi.Input<string>;
122
+ disableWaitForReady?: pulumi.Input<boolean>;
85
123
  /**
86
124
  * A principal User to bind the role to, for example, "User:u-111aaa" for binding to a user "u-111aaa", or "User:sa-111aaa" for binding to a service account "sa-111aaa".
87
125
  */
package/roleBinding.js CHANGED
@@ -12,6 +12,41 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * > **Note:** For more information on the Role Bindings, see [Predefined RBAC roles in Confluent Cloud](https://docs.confluent.io/cloud/current/access-management/access-control/rbac/predefined-rbac-roles.html).
14
14
  *
15
+ * ## Example of using timeSleep
16
+ *
17
+ * This configuration introduces a 360-second custom delay after the creation of a role binding, before creating a Kafka topic.
18
+ *
19
+ * For context, using `disableWaitForReady = false` (the default setting) results in a 90-second hardcoded delay, while opting for `disableWaitForReady = true` results in a 0-second delay.
20
+ *
21
+ * ```typescript
22
+ * import * as pulumi from "@pulumi/pulumi";
23
+ * import * as confluentcloud from "@pulumi/confluentcloud";
24
+ * import * as time from "@pulumi/time";
25
+ *
26
+ * const app_manager_kafka_cluster_admin_skip_sync = new confluentcloud.RoleBinding("app-manager-kafka-cluster-admin-skip-sync", {
27
+ * principal: `User:${app_manager.id}`,
28
+ * roleName: "CloudClusterAdmin",
29
+ * crnPattern: standard.rbacCrn,
30
+ * disableWaitForReady: true,
31
+ * });
32
+ * const wait360SecondsAfterRoleBinding = new time.index.Sleep("wait_360_seconds_after_role_binding", {createDuration: "360s"}, {
33
+ * dependsOn: [app_manager_kafka_cluster_admin_skip_sync],
34
+ * });
35
+ * const orders = new confluentcloud.KafkaTopic("orders", {
36
+ * kafkaCluster: {
37
+ * id: standard.id,
38
+ * },
39
+ * topicName: "orders",
40
+ * restEndpoint: standard.restEndpoint,
41
+ * credentials: {
42
+ * key: app_manager_kafka_api_key.id,
43
+ * secret: app_manager_kafka_api_key.secret,
44
+ * },
45
+ * }, {
46
+ * dependsOn: [wait360SecondsAfterRoleBinding],
47
+ * });
48
+ * ```
49
+ *
15
50
  * ## Import
16
51
  *
17
52
  * You can import a Role Binding by using Role Binding ID, for example:
@@ -55,6 +90,7 @@ class RoleBinding extends pulumi.CustomResource {
55
90
  if (opts.id) {
56
91
  const state = argsOrState;
57
92
  resourceInputs["crnPattern"] = state ? state.crnPattern : undefined;
93
+ resourceInputs["disableWaitForReady"] = state ? state.disableWaitForReady : undefined;
58
94
  resourceInputs["principal"] = state ? state.principal : undefined;
59
95
  resourceInputs["roleName"] = state ? state.roleName : undefined;
60
96
  }
@@ -70,6 +106,7 @@ class RoleBinding extends pulumi.CustomResource {
70
106
  throw new Error("Missing required property 'roleName'");
71
107
  }
72
108
  resourceInputs["crnPattern"] = args ? args.crnPattern : undefined;
109
+ resourceInputs["disableWaitForReady"] = args ? args.disableWaitForReady : undefined;
73
110
  resourceInputs["principal"] = args ? args.principal : undefined;
74
111
  resourceInputs["roleName"] = args ? args.roleName : undefined;
75
112
  }
@@ -1 +1 @@
1
- {"version":3,"file":"roleBinding.js","sourceRoot":"","sources":["../roleBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,M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C,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA7EL,kCA8EC;AAhEG,gBAAgB;AACO,wBAAY,GAAG,8CAA8C,CAAC"}
package/schema.d.ts CHANGED
@@ -55,31 +55,26 @@ export declare class Schema extends pulumi.CustomResource {
55
55
  */
56
56
  readonly credentials: pulumi.Output<outputs.SchemaCredentials | undefined>;
57
57
  /**
58
- * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.
58
+ * The format of the Schema.
59
59
  */
60
60
  readonly format: pulumi.Output<string>;
61
61
  /**
62
- * An optional flag to control whether a schema should be soft or hard deleted. Set it to `true` if you want to hard delete a schema on destroy (see [Schema Deletion Guidelines](https://docs.confluent.io/platform/current/schema-registry/schema-deletion-guidelines.html#schema-deletion-guidelines) for more details). Must be unset when importing. Defaults to `false` (soft delete).
62
+ * Controls whether a schema should be soft or hard deleted. Set it to `true` if you want to hard delete a schema on
63
+ * destroy. Defaults to `false` (soft delete).
63
64
  */
64
65
  readonly hardDelete: pulumi.Output<boolean | undefined>;
65
- /**
66
- * See [here](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html) for more details. Supports the following:
67
- */
68
66
  readonly metadata: pulumi.Output<outputs.SchemaMetadata>;
69
67
  /**
70
- * An optional flag to control whether a schema should be recreated on an update. Set it to `true` if you want to manage different schema versions using different resource instances. Must be set to the target value when importing. Defaults to `false`, which manages the latest schema version only. The resource instance always points to the latest schema version by supporting in-place updates.
68
+ * Controls whether a schema should be recreated on update.
71
69
  */
72
70
  readonly recreateOnUpdate: pulumi.Output<boolean | undefined>;
73
71
  /**
74
72
  * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
75
73
  */
76
74
  readonly restEndpoint: pulumi.Output<string | undefined>;
77
- /**
78
- * The list of schema rules. See [Data Contracts for Schema Registry](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html#rules) 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.
79
- */
80
75
  readonly ruleset: pulumi.Output<outputs.SchemaRuleset>;
81
76
  /**
82
- * The schema string, for example, `file("./schema_version_1.avsc")`.
77
+ * The definition of the Schema.
83
78
  */
84
79
  readonly schema: pulumi.Output<string>;
85
80
  /**
@@ -87,13 +82,10 @@ export declare class Schema extends pulumi.CustomResource {
87
82
  */
88
83
  readonly schemaIdentifier: pulumi.Output<number>;
89
84
  /**
90
- * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details):
85
+ * The list of references to other Schemas.
91
86
  */
92
87
  readonly schemaReferences: pulumi.Output<outputs.SchemaSchemaReference[] | undefined>;
93
88
  readonly schemaRegistryCluster: pulumi.Output<outputs.SchemaSchemaRegistryCluster | undefined>;
94
- /**
95
- * An optional flag to control whether a schema should be validated during `pulumi preview`. Set it to `true` if you want to skip schema validation during `pulumi preview`. Defaults to `false`. Regardless of `true` or `false` for this flag, schema validation will be performed during `pulumi up`.
96
- */
97
89
  readonly skipValidationDuringPlan: pulumi.Output<boolean | undefined>;
98
90
  /**
99
91
  * 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.
@@ -121,31 +113,26 @@ export interface SchemaState {
121
113
  */
122
114
  credentials?: pulumi.Input<inputs.SchemaCredentials>;
123
115
  /**
124
- * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.
116
+ * The format of the Schema.
125
117
  */
126
118
  format?: pulumi.Input<string>;
127
119
  /**
128
- * An optional flag to control whether a schema should be soft or hard deleted. Set it to `true` if you want to hard delete a schema on destroy (see [Schema Deletion Guidelines](https://docs.confluent.io/platform/current/schema-registry/schema-deletion-guidelines.html#schema-deletion-guidelines) for more details). Must be unset when importing. Defaults to `false` (soft delete).
120
+ * Controls whether a schema should be soft or hard deleted. Set it to `true` if you want to hard delete a schema on
121
+ * destroy. Defaults to `false` (soft delete).
129
122
  */
130
123
  hardDelete?: pulumi.Input<boolean>;
131
- /**
132
- * See [here](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html) for more details. Supports the following:
133
- */
134
124
  metadata?: pulumi.Input<inputs.SchemaMetadata>;
135
125
  /**
136
- * An optional flag to control whether a schema should be recreated on an update. Set it to `true` if you want to manage different schema versions using different resource instances. Must be set to the target value when importing. Defaults to `false`, which manages the latest schema version only. The resource instance always points to the latest schema version by supporting in-place updates.
126
+ * Controls whether a schema should be recreated on update.
137
127
  */
138
128
  recreateOnUpdate?: pulumi.Input<boolean>;
139
129
  /**
140
130
  * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
141
131
  */
142
132
  restEndpoint?: pulumi.Input<string>;
143
- /**
144
- * The list of schema rules. See [Data Contracts for Schema Registry](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html#rules) 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.
145
- */
146
133
  ruleset?: pulumi.Input<inputs.SchemaRuleset>;
147
134
  /**
148
- * The schema string, for example, `file("./schema_version_1.avsc")`.
135
+ * The definition of the Schema.
149
136
  */
150
137
  schema?: pulumi.Input<string>;
151
138
  /**
@@ -153,13 +140,10 @@ export interface SchemaState {
153
140
  */
154
141
  schemaIdentifier?: pulumi.Input<number>;
155
142
  /**
156
- * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details):
143
+ * The list of references to other Schemas.
157
144
  */
158
145
  schemaReferences?: pulumi.Input<pulumi.Input<inputs.SchemaSchemaReference>[]>;
159
146
  schemaRegistryCluster?: pulumi.Input<inputs.SchemaSchemaRegistryCluster>;
160
- /**
161
- * An optional flag to control whether a schema should be validated during `pulumi preview`. Set it to `true` if you want to skip schema validation during `pulumi preview`. Defaults to `false`. Regardless of `true` or `false` for this flag, schema validation will be performed during `pulumi up`.
162
- */
163
147
  skipValidationDuringPlan?: pulumi.Input<boolean>;
164
148
  /**
165
149
  * 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.
@@ -179,41 +163,33 @@ export interface SchemaArgs {
179
163
  */
180
164
  credentials?: pulumi.Input<inputs.SchemaCredentials>;
181
165
  /**
182
- * The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.
166
+ * The format of the Schema.
183
167
  */
184
168
  format: pulumi.Input<string>;
185
169
  /**
186
- * An optional flag to control whether a schema should be soft or hard deleted. Set it to `true` if you want to hard delete a schema on destroy (see [Schema Deletion Guidelines](https://docs.confluent.io/platform/current/schema-registry/schema-deletion-guidelines.html#schema-deletion-guidelines) for more details). Must be unset when importing. Defaults to `false` (soft delete).
170
+ * Controls whether a schema should be soft or hard deleted. Set it to `true` if you want to hard delete a schema on
171
+ * destroy. Defaults to `false` (soft delete).
187
172
  */
188
173
  hardDelete?: pulumi.Input<boolean>;
189
- /**
190
- * See [here](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html) for more details. Supports the following:
191
- */
192
174
  metadata?: pulumi.Input<inputs.SchemaMetadata>;
193
175
  /**
194
- * An optional flag to control whether a schema should be recreated on an update. Set it to `true` if you want to manage different schema versions using different resource instances. Must be set to the target value when importing. Defaults to `false`, which manages the latest schema version only. The resource instance always points to the latest schema version by supporting in-place updates.
176
+ * Controls whether a schema should be recreated on update.
195
177
  */
196
178
  recreateOnUpdate?: pulumi.Input<boolean>;
197
179
  /**
198
180
  * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
199
181
  */
200
182
  restEndpoint?: pulumi.Input<string>;
201
- /**
202
- * The list of schema rules. See [Data Contracts for Schema Registry](https://docs.confluent.io/platform/7.5/schema-registry/fundamentals/data-contracts.html#rules) 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.
203
- */
204
183
  ruleset?: pulumi.Input<inputs.SchemaRuleset>;
205
184
  /**
206
- * The schema string, for example, `file("./schema_version_1.avsc")`.
185
+ * The definition of the Schema.
207
186
  */
208
187
  schema?: pulumi.Input<string>;
209
188
  /**
210
- * The list of referenced schemas (see [Schema References](https://docs.confluent.io/platform/current/schema-registry/serdes-develop/index.html#schema-references) for more details):
189
+ * The list of references to other Schemas.
211
190
  */
212
191
  schemaReferences?: pulumi.Input<pulumi.Input<inputs.SchemaSchemaReference>[]>;
213
192
  schemaRegistryCluster?: pulumi.Input<inputs.SchemaSchemaRegistryCluster>;
214
- /**
215
- * An optional flag to control whether a schema should be validated during `pulumi preview`. Set it to `true` if you want to skip schema validation during `pulumi preview`. Defaults to `false`. Regardless of `true` or `false` for this flag, schema validation will be performed during `pulumi up`.
216
- */
217
193
  skipValidationDuringPlan?: pulumi.Input<boolean>;
218
194
  /**
219
195
  * 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.
package/schema.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../schema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAgED,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC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69
69
  */
70
70
  readonly credentials: pulumi.Output<outputs.SchemaRegistryClusterModeCredentials | undefined>;
71
+ /**
72
+ * An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
73
+ */
74
+ readonly force: pulumi.Output<boolean | undefined>;
71
75
  /**
72
76
  * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
73
77
  */
@@ -94,6 +98,10 @@ export interface SchemaRegistryClusterModeState {
94
98
  * The Cluster API Credentials.
95
99
  */
96
100
  credentials?: pulumi.Input<inputs.SchemaRegistryClusterModeCredentials>;
101
+ /**
102
+ * An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
103
+ */
104
+ force?: pulumi.Input<boolean>;
97
105
  /**
98
106
  * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
99
107
  */
@@ -112,6 +120,10 @@ export interface SchemaRegistryClusterModeArgs {
112
120
  * The Cluster API Credentials.
113
121
  */
114
122
  credentials?: pulumi.Input<inputs.SchemaRegistryClusterModeCredentials>;
123
+ /**
124
+ * An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
125
+ */
126
+ force?: pulumi.Input<boolean>;
115
127
  /**
116
128
  * The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
117
129
  */
@@ -81,6 +81,7 @@ class SchemaRegistryClusterMode extends pulumi.CustomResource {
81
81
  if (opts.id) {
82
82
  const state = argsOrState;
83
83
  resourceInputs["credentials"] = state ? state.credentials : undefined;
84
+ resourceInputs["force"] = state ? state.force : undefined;
84
85
  resourceInputs["mode"] = state ? state.mode : undefined;
85
86
  resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined;
86
87
  resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined;
@@ -88,6 +89,7 @@ class SchemaRegistryClusterMode extends pulumi.CustomResource {
88
89
  else {
89
90
  const args = argsOrState;
90
91
  resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
92
+ resourceInputs["force"] = args ? args.force : undefined;
91
93
  resourceInputs["mode"] = args ? args.mode : undefined;
92
94
  resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined;
93
95
  resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"schemaRegistryClusterMode.js","sourceRoot":"","sources":["../schemaRegistryClusterMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK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AC;YACtE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA5EL,8DA6EC;AA/DG,gBAAgB;AACO,sCAAY,GAAG,0EAA0E,CAAC"}
@@ -89,6 +89,10 @@ export declare class SubjectConfig extends pulumi.CustomResource {
89
89
  readonly schemaRegistryCluster: pulumi.Output<outputs.SubjectConfigSchemaRegistryCluster | undefined>;
90
90
  /**
91
91
  * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
92
+ *
93
+ * > **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subjectName = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subjectName = "test-subject"` to reference the subject named `test-subject` in the `default` context.
94
+ *
95
+ * > **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subjectName = ":.context1:"`.
92
96
  */
93
97
  readonly subjectName: pulumi.Output<string>;
94
98
  /**
@@ -123,6 +127,10 @@ export interface SubjectConfigState {
123
127
  schemaRegistryCluster?: pulumi.Input<inputs.SubjectConfigSchemaRegistryCluster>;
124
128
  /**
125
129
  * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
130
+ *
131
+ * > **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subjectName = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subjectName = "test-subject"` to reference the subject named `test-subject` in the `default` context.
132
+ *
133
+ * > **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subjectName = ":.context1:"`.
126
134
  */
127
135
  subjectName?: pulumi.Input<string>;
128
136
  }
@@ -149,6 +157,10 @@ export interface SubjectConfigArgs {
149
157
  schemaRegistryCluster?: pulumi.Input<inputs.SubjectConfigSchemaRegistryCluster>;
150
158
  /**
151
159
  * The name of the subject (in other words, the namespace), representing the subject under which the schema will be registered, for example, `test-subject`.
160
+ *
161
+ * > **Note:** If you want to reference the subject that is located in a custom context, use the following naming pattern: `:.contextName:subjectName`. For example, use `subjectName = ":.context1:test-subject"` to reference the subject named `test-subject` in the `context1` context, and use `subjectName = "test-subject"` to reference the subject named `test-subject` in the `default` context.
162
+ *
163
+ * > **Note:** To configure a config at the context level, affecting all subjects created within that context, use the following naming pattern: `:.contextName:`. For example, to set the global configuration for the `context1` context, use `subjectName = ":.context1:"`.
152
164
  */
153
165
  subjectName: pulumi.Input<string>;
154
166
  }
@@ -1 +1 @@
1
- {"version":3,"file":"subjectConfig.js","sourceRoot":"","sources":["../subjectConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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AAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAzFL,sCA0FC;AA5EG,gBAAgB;AACO,0BAAY,GAAG,kDAAkD,CAAC"}
package/subjectMode.d.ts CHANGED
@@ -72,6 +72,10 @@ export declare class SubjectMode extends pulumi.CustomResource {
72
72
  * The Cluster API Credentials.
73
73
  */
74
74
  readonly credentials: pulumi.Output<outputs.SubjectModeCredentials | undefined>;
75
+ /**
76
+ * An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
77
+ */
78
+ readonly force: pulumi.Output<boolean | undefined>;
75
79
  /**
76
80
  * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
77
81
  */
@@ -102,6 +106,10 @@ export interface SubjectModeState {
102
106
  * The Cluster API Credentials.
103
107
  */
104
108
  credentials?: pulumi.Input<inputs.SubjectModeCredentials>;
109
+ /**
110
+ * An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
111
+ */
112
+ force?: pulumi.Input<boolean>;
105
113
  /**
106
114
  * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
107
115
  */
@@ -124,6 +132,10 @@ export interface SubjectModeArgs {
124
132
  * The Cluster API Credentials.
125
133
  */
126
134
  credentials?: pulumi.Input<inputs.SubjectModeCredentials>;
135
+ /**
136
+ * An optional flag to force a mode change even if the Schema Registry has existing schemas. This can be useful in disaster recovery (DR) scenarios using [Schema Linking](https://docs.confluent.io/cloud/current/sr/schema-linking.html). Defaults to `false`, which does not allow a mode change to `IMPORT` if Schema Registry has registered schemas. Must be unset when importing.
137
+ */
138
+ force?: pulumi.Input<boolean>;
127
139
  /**
128
140
  * The mode of the specified subject. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
129
141
  */
package/subjectMode.js CHANGED
@@ -85,6 +85,7 @@ class SubjectMode extends pulumi.CustomResource {
85
85
  if (opts.id) {
86
86
  const state = argsOrState;
87
87
  resourceInputs["credentials"] = state ? state.credentials : undefined;
88
+ resourceInputs["force"] = state ? state.force : undefined;
88
89
  resourceInputs["mode"] = state ? state.mode : undefined;
89
90
  resourceInputs["restEndpoint"] = state ? state.restEndpoint : undefined;
90
91
  resourceInputs["schemaRegistryCluster"] = state ? state.schemaRegistryCluster : undefined;
@@ -96,6 +97,7 @@ class SubjectMode extends pulumi.CustomResource {
96
97
  throw new Error("Missing required property 'subjectName'");
97
98
  }
98
99
  resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
100
+ resourceInputs["force"] = args ? args.force : undefined;
99
101
  resourceInputs["mode"] = args ? args.mode : undefined;
100
102
  resourceInputs["restEndpoint"] = args ? args.restEndpoint : undefined;
101
103
  resourceInputs["schemaRegistryCluster"] = args ? args.schemaRegistryCluster : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"subjectMode.js","sourceRoot":"","sources":["../subjectMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,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AAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AArFL,kCAsFC;AAxEG,gBAAgB;AACO,wBAAY,GAAG,8CAA8C,CAAC"}
package/types/input.d.ts CHANGED
@@ -2538,19 +2538,10 @@ export interface SchemaMetadata {
2538
2538
  * A list of metadata properties to be encrypted.
2539
2539
  */
2540
2540
  sensitives?: pulumi.Input<pulumi.Input<string>[]>;
2541
- /**
2542
- * The tags to which the rule applies, if any.
2543
- */
2544
2541
  tags?: pulumi.Input<pulumi.Input<inputs.SchemaMetadataTag>[]>;
2545
2542
  }
2546
2543
  export interface SchemaMetadataTag {
2547
- /**
2548
- * The setting name.
2549
- */
2550
2544
  key?: pulumi.Input<string>;
2551
- /**
2552
- * The list of tags.
2553
- */
2554
2545
  values?: pulumi.Input<pulumi.Input<string>[]>;
2555
2546
  }
2556
2547
  export interface SchemaRegistryClusterConfigCredentials {
@@ -2618,6 +2609,9 @@ export interface SchemaRegistryKekSchemaRegistryCluster {
2618
2609
  id: pulumi.Input<string>;
2619
2610
  }
2620
2611
  export interface SchemaRuleset {
2612
+ /**
2613
+ * supports the following:
2614
+ */
2621
2615
  domainRules?: pulumi.Input<pulumi.Input<inputs.SchemaRulesetDomainRule>[]>;
2622
2616
  migrationRules?: pulumi.Input<pulumi.Input<inputs.SchemaRulesetMigrationRule>[]>;
2623
2617
  }
@@ -2642,9 +2636,6 @@ export interface SchemaRulesetDomainRule {
2642
2636
  * The mode of the rule. Accepted values are `UPGRADE`, `DOWNGRADE`, `UPDOWN`, `WRITE`, `READ`, and `WRITEREAD`.
2643
2637
  */
2644
2638
  mode: pulumi.Input<string>;
2645
- /**
2646
- * A user-defined name that can be used to reference the rule.
2647
- */
2648
2639
  name: pulumi.Input<string>;
2649
2640
  /**
2650
2641
  * 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. Defaults to `ERROR,ERROR`.
@@ -2664,9 +2655,6 @@ export interface SchemaRulesetDomainRule {
2664
2655
  params?: pulumi.Input<{
2665
2656
  [key: string]: pulumi.Input<string>;
2666
2657
  }>;
2667
- /**
2668
- * The tags to which the rule applies, if any.
2669
- */
2670
2658
  tags?: pulumi.Input<pulumi.Input<string>[]>;
2671
2659
  /**
2672
2660
  * The type of rule, which invokes a specific rule executor that that will run the rule. Google Common Expression Language (`CEL`) is used for data quality and transformation rules, Confluent `ENCRYPT` is used for data encryption rules, and `JSONata` is used for migration rules.
@@ -2713,9 +2701,6 @@ export interface SchemaRulesetMigrationRule {
2713
2701
  params?: pulumi.Input<{
2714
2702
  [key: string]: pulumi.Input<string>;
2715
2703
  }>;
2716
- /**
2717
- * The tags to which the rule applies, if any.
2718
- */
2719
2704
  tags?: pulumi.Input<pulumi.Input<string>[]>;
2720
2705
  /**
2721
2706
  * The type of rule, which invokes a specific rule executor that that will run the rule. Google Common Expression Language (`CEL`) is used for data quality and transformation rules, Confluent `ENCRYPT` is used for data encryption rules, and `JSONata` is used for migration rules.
@@ -2724,15 +2709,15 @@ export interface SchemaRulesetMigrationRule {
2724
2709
  }
2725
2710
  export interface SchemaSchemaReference {
2726
2711
  /**
2727
- * The name of the subject, representing the subject under which the referenced schema is registered.
2712
+ * The name of the Schema references (for example, "io.confluent.kafka.example.User"). For Avro, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf, it is the name of another Protobuf file.
2728
2713
  */
2729
2714
  name: pulumi.Input<string>;
2730
2715
  /**
2731
- * 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.)
2716
+ * 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.
2732
2717
  */
2733
2718
  subjectName: pulumi.Input<string>;
2734
2719
  /**
2735
- * The version, representing the exact version of the schema under the registered subject.
2720
+ * (Required Integer) The version of the Schema, for example, `4`.
2736
2721
  */
2737
2722
  version: pulumi.Input<number>;
2738
2723
  }
package/types/output.d.ts CHANGED
@@ -2472,19 +2472,10 @@ export interface SchemaMetadata {
2472
2472
  * A list of metadata properties to be encrypted.
2473
2473
  */
2474
2474
  sensitives: string[];
2475
- /**
2476
- * The tags to which the rule applies, if any.
2477
- */
2478
2475
  tags: outputs.SchemaMetadataTag[];
2479
2476
  }
2480
2477
  export interface SchemaMetadataTag {
2481
- /**
2482
- * The setting name.
2483
- */
2484
2478
  key: string;
2485
- /**
2486
- * The list of tags.
2487
- */
2488
2479
  values: string[];
2489
2480
  }
2490
2481
  export interface SchemaRegistryClusterConfigCredentials {
@@ -2552,6 +2543,9 @@ export interface SchemaRegistryKekSchemaRegistryCluster {
2552
2543
  id: string;
2553
2544
  }
2554
2545
  export interface SchemaRuleset {
2546
+ /**
2547
+ * supports the following:
2548
+ */
2555
2549
  domainRules: outputs.SchemaRulesetDomainRule[];
2556
2550
  migrationRules: outputs.SchemaRulesetMigrationRule[];
2557
2551
  }
@@ -2576,9 +2570,6 @@ export interface SchemaRulesetDomainRule {
2576
2570
  * The mode of the rule. Accepted values are `UPGRADE`, `DOWNGRADE`, `UPDOWN`, `WRITE`, `READ`, and `WRITEREAD`.
2577
2571
  */
2578
2572
  mode: string;
2579
- /**
2580
- * A user-defined name that can be used to reference the rule.
2581
- */
2582
2573
  name: string;
2583
2574
  /**
2584
2575
  * 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. Defaults to `ERROR,ERROR`.
@@ -2598,9 +2589,6 @@ export interface SchemaRulesetDomainRule {
2598
2589
  params: {
2599
2590
  [key: string]: string;
2600
2591
  };
2601
- /**
2602
- * The tags to which the rule applies, if any.
2603
- */
2604
2592
  tags: string[];
2605
2593
  /**
2606
2594
  * The type of rule, which invokes a specific rule executor that that will run the rule. Google Common Expression Language (`CEL`) is used for data quality and transformation rules, Confluent `ENCRYPT` is used for data encryption rules, and `JSONata` is used for migration rules.
@@ -2647,9 +2635,6 @@ export interface SchemaRulesetMigrationRule {
2647
2635
  params: {
2648
2636
  [key: string]: string;
2649
2637
  };
2650
- /**
2651
- * The tags to which the rule applies, if any.
2652
- */
2653
2638
  tags: string[];
2654
2639
  /**
2655
2640
  * The type of rule, which invokes a specific rule executor that that will run the rule. Google Common Expression Language (`CEL`) is used for data quality and transformation rules, Confluent `ENCRYPT` is used for data encryption rules, and `JSONata` is used for migration rules.
@@ -2658,15 +2643,15 @@ export interface SchemaRulesetMigrationRule {
2658
2643
  }
2659
2644
  export interface SchemaSchemaReference {
2660
2645
  /**
2661
- * The name of the subject, representing the subject under which the referenced schema is registered.
2646
+ * The name of the Schema references (for example, "io.confluent.kafka.example.User"). For Avro, the reference name is the fully qualified schema name, for JSON Schema it is a URL, and for Protobuf, it is the name of another Protobuf file.
2662
2647
  */
2663
2648
  name: string;
2664
2649
  /**
2665
- * 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.)
2650
+ * 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.
2666
2651
  */
2667
2652
  subjectName: string;
2668
2653
  /**
2669
- * The version, representing the exact version of the schema under the registered subject.
2654
+ * (Required Integer) The version of the Schema, for example, `4`.
2670
2655
  */
2671
2656
  version: number;
2672
2657
  }