@pulumi/confluentcloud 1.8.0-alpha.1673555835 → 1.8.0

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.
Files changed (111) hide show
  1. package/apiKey.d.ts +4 -4
  2. package/apiKey.js +1 -1
  3. package/config/vars.d.ts +20 -0
  4. package/config/vars.js +30 -0
  5. package/config/vars.js.map +1 -1
  6. package/getEnvironment.d.ts +28 -0
  7. package/getEnvironment.js +30 -5
  8. package/getEnvironment.js.map +1 -1
  9. package/getIdentityPool.d.ts +37 -1
  10. package/getIdentityPool.js +30 -6
  11. package/getIdentityPool.js.map +1 -1
  12. package/getIdentityProvider.d.ts +22 -1
  13. package/getIdentityProvider.js +24 -6
  14. package/getIdentityProvider.js.map +1 -1
  15. package/getKafkaClientQuota.d.ts +29 -6
  16. package/getKafkaClientQuota.js +22 -9
  17. package/getKafkaClientQuota.js.map +1 -1
  18. package/getKafkaCluster.d.ts +30 -0
  19. package/getKafkaCluster.js +29 -5
  20. package/getKafkaCluster.js.map +1 -1
  21. package/getKafkaTopic.d.ts +3 -28
  22. package/getKafkaTopic.js +2 -30
  23. package/getKafkaTopic.js.map +1 -1
  24. package/getKsqlCluster.d.ts +38 -4
  25. package/getKsqlCluster.js +31 -5
  26. package/getKsqlCluster.js.map +1 -1
  27. package/getNetwork.d.ts +41 -1
  28. package/getNetwork.js +30 -5
  29. package/getNetwork.js.map +1 -1
  30. package/getOrganization.js +1 -4
  31. package/getOrganization.js.map +1 -1
  32. package/getPeering.d.ts +39 -1
  33. package/getPeering.js +29 -5
  34. package/getPeering.js.map +1 -1
  35. package/getPrivateLinkAccess.d.ts +39 -1
  36. package/getPrivateLinkAccess.js +29 -5
  37. package/getPrivateLinkAccess.js.map +1 -1
  38. package/getRoleBinding.d.ts +17 -0
  39. package/getRoleBinding.js +19 -5
  40. package/getRoleBinding.js.map +1 -1
  41. package/getSchema.d.ts +76 -0
  42. package/getSchema.js +23 -0
  43. package/getSchema.js.map +1 -0
  44. package/getSchemaRegistryCluster.d.ts +30 -1
  45. package/getSchemaRegistryCluster.js +29 -5
  46. package/getSchemaRegistryCluster.js.map +1 -1
  47. package/getSchemaRegistryClusterConfig.d.ts +43 -0
  48. package/getSchemaRegistryClusterConfig.js +22 -0
  49. package/getSchemaRegistryClusterConfig.js.map +1 -0
  50. package/getSchemaRegistryClusterMode.d.ts +43 -0
  51. package/getSchemaRegistryClusterMode.js +22 -0
  52. package/getSchemaRegistryClusterMode.js.map +1 -0
  53. package/getSchemaRegistryRegion.d.ts +19 -0
  54. package/getSchemaRegistryRegion.js +21 -5
  55. package/getSchemaRegistryRegion.js.map +1 -1
  56. package/getServiceAccount.d.ts +21 -0
  57. package/getServiceAccount.js +23 -5
  58. package/getServiceAccount.js.map +1 -1
  59. package/getSubjectConfig.d.ts +52 -0
  60. package/getSubjectConfig.js +22 -0
  61. package/getSubjectConfig.js.map +1 -0
  62. package/getSubjectMode.d.ts +52 -0
  63. package/getSubjectMode.js +22 -0
  64. package/getSubjectMode.js.map +1 -0
  65. package/getTransitGatewayAttachment.d.ts +40 -5
  66. package/getTransitGatewayAttachment.js +30 -9
  67. package/getTransitGatewayAttachment.js.map +1 -1
  68. package/getUser.d.ts +38 -0
  69. package/getUser.js +40 -5
  70. package/getUser.js.map +1 -1
  71. package/identityPool.d.ts +1 -1
  72. package/identityPool.js +1 -1
  73. package/identityProvider.d.ts +5 -5
  74. package/identityProvider.js +5 -5
  75. package/index.d.ts +30 -0
  76. package/index.js +79 -39
  77. package/index.js.map +1 -1
  78. package/kafkaAcl.d.ts +9 -3
  79. package/kafkaAcl.js +7 -4
  80. package/kafkaAcl.js.map +1 -1
  81. package/kafkaClusterConfig.d.ts +7 -27
  82. package/kafkaClusterConfig.js +5 -28
  83. package/kafkaClusterConfig.js.map +1 -1
  84. package/kafkaTopic.d.ts +9 -3
  85. package/kafkaTopic.js +7 -4
  86. package/kafkaTopic.js.map +1 -1
  87. package/network.d.ts +18 -3
  88. package/network.js +2 -0
  89. package/network.js.map +1 -1
  90. package/package.json +2 -2
  91. package/package.json.dev +2 -2
  92. package/provider.d.ts +40 -0
  93. package/provider.js +6 -1
  94. package/provider.js.map +1 -1
  95. package/schema.d.ts +140 -0
  96. package/schema.js +87 -0
  97. package/schema.js.map +1 -0
  98. package/schemaRegistryClusterConfig.d.ts +88 -0
  99. package/schemaRegistryClusterConfig.js +68 -0
  100. package/schemaRegistryClusterConfig.js.map +1 -0
  101. package/schemaRegistryClusterMode.d.ts +88 -0
  102. package/schemaRegistryClusterMode.js +68 -0
  103. package/schemaRegistryClusterMode.js.map +1 -0
  104. package/subjectConfig.d.ts +100 -0
  105. package/subjectConfig.js +73 -0
  106. package/subjectConfig.js.map +1 -0
  107. package/subjectMode.d.ts +100 -0
  108. package/subjectMode.js +73 -0
  109. package/subjectMode.js.map +1 -0
  110. package/types/input.d.ts +299 -25
  111. package/types/output.d.ts +202 -6
package/apiKey.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * ## Import
6
6
  *
7
- * You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `<Environment ID>/<Kafka API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Kafka API Key
7
+ * You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `<Environment ID>/<Cluster API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Cluster API Key
8
8
  *
9
9
  * ```sh
10
10
  * $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key "env-abc123/UTT6WDRXX7FHD2GV"
@@ -47,7 +47,7 @@ export declare class ApiKey extends pulumi.CustomResource {
47
47
  */
48
48
  readonly displayName: pulumi.Output<string>;
49
49
  /**
50
- * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'.
50
+ * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'.
51
51
  */
52
52
  readonly managedResource: pulumi.Output<outputs.ApiKeyManagedResource | undefined>;
53
53
  /**
@@ -84,7 +84,7 @@ export interface ApiKeyState {
84
84
  */
85
85
  displayName?: pulumi.Input<string>;
86
86
  /**
87
- * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'.
87
+ * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'.
88
88
  */
89
89
  managedResource?: pulumi.Input<inputs.ApiKeyManagedResource>;
90
90
  /**
@@ -113,7 +113,7 @@ export interface ApiKeyArgs {
113
113
  */
114
114
  displayName?: pulumi.Input<string>;
115
115
  /**
116
- * The resource associated with this object. The only resource that is supported is 'cmk.v2.KafkaCluster'.
116
+ * The resource associated with this object. The only resource that is supported is 'cmk.v2.Cluster', 'srcm.v2.Cluster'.
117
117
  */
118
118
  managedResource?: pulumi.Input<inputs.ApiKeyManagedResource>;
119
119
  /**
package/apiKey.js CHANGED
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Import
10
10
  *
11
- * You can import a Kafka API Key by using the Environment ID and Kafka API Key ID in the format `<Environment ID>/<Kafka API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Kafka API Key
11
+ * You can import a Cluster API Key by using the Environment ID and Cluster API Key ID in the format `<Environment ID>/<Cluster API Key ID>`, for example$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" $ export API_KEY_SECRET="<api_key_secret>" Option #1Cluster API Key
12
12
  *
13
13
  * ```sh
14
14
  * $ pulumi import confluentcloud:index/apiKey:ApiKey example_kafka_api_key "env-abc123/UTT6WDRXX7FHD2GV"
package/config/vars.d.ts CHANGED
@@ -18,6 +18,10 @@ export declare const kafkaApiKey: string | undefined;
18
18
  * The Kafka Cluster API Secret.
19
19
  */
20
20
  export declare const kafkaApiSecret: string | undefined;
21
+ /**
22
+ * The Kafka Cluster ID.
23
+ */
24
+ export declare const kafkaId: string | undefined;
21
25
  /**
22
26
  * The Kafka Cluster REST Endpoint.
23
27
  */
@@ -26,3 +30,19 @@ export declare const kafkaRestEndpoint: string | undefined;
26
30
  * Maximum number of retries of HTTP client. Defaults to 4.
27
31
  */
28
32
  export declare const maxRetries: number | undefined;
33
+ /**
34
+ * The Schema Registry Cluster API Key.
35
+ */
36
+ export declare const schemaRegistryApiKey: string | undefined;
37
+ /**
38
+ * The Schema Registry Cluster API Secret.
39
+ */
40
+ export declare const schemaRegistryApiSecret: string | undefined;
41
+ /**
42
+ * The Schema Registry Cluster ID.
43
+ */
44
+ export declare const schemaRegistryId: string | undefined;
45
+ /**
46
+ * The Schema Registry Cluster REST Endpoint.
47
+ */
48
+ export declare const schemaRegistryRestEndpoint: string | undefined;
package/config/vars.js CHANGED
@@ -34,6 +34,12 @@ Object.defineProperty(exports, "kafkaApiSecret", {
34
34
  },
35
35
  enumerable: true,
36
36
  });
37
+ Object.defineProperty(exports, "kafkaId", {
38
+ get() {
39
+ return __config.get("kafkaId");
40
+ },
41
+ enumerable: true,
42
+ });
37
43
  Object.defineProperty(exports, "kafkaRestEndpoint", {
38
44
  get() {
39
45
  return __config.get("kafkaRestEndpoint");
@@ -46,4 +52,28 @@ Object.defineProperty(exports, "maxRetries", {
46
52
  },
47
53
  enumerable: true,
48
54
  });
55
+ Object.defineProperty(exports, "schemaRegistryApiKey", {
56
+ get() {
57
+ return __config.get("schemaRegistryApiKey");
58
+ },
59
+ enumerable: true,
60
+ });
61
+ Object.defineProperty(exports, "schemaRegistryApiSecret", {
62
+ get() {
63
+ return __config.get("schemaRegistryApiSecret");
64
+ },
65
+ enumerable: true,
66
+ });
67
+ Object.defineProperty(exports, "schemaRegistryId", {
68
+ get() {
69
+ return __config.get("schemaRegistryId");
70
+ },
71
+ enumerable: true,
72
+ });
73
+ Object.defineProperty(exports, "schemaRegistryRestEndpoint", {
74
+ get() {
75
+ return __config.get("schemaRegistryRestEndpoint");
76
+ },
77
+ enumerable: true,
78
+ });
49
79
  //# sourceMappingURL=vars.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAMrD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE;IAC7C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC1C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE;IA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O,EAAE,kBAAkB,EAAE;IAC/C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAC5C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,4BAA4B,EAAE;IACzD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;IACtD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -58,6 +58,34 @@ export interface GetEnvironmentResult {
58
58
  */
59
59
  readonly resourceName: string;
60
60
  }
61
+ /**
62
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
63
+ *
64
+ * `confluentcloud.Environment` describes an Environment data source.
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as confluentcloud from "@pulumi/confluentcloud";
71
+ *
72
+ * const exampleUsingIdEnvironment = confluentcloud.getEnvironment({
73
+ * id: "env-abc123",
74
+ * });
75
+ * export const exampleUsingId = exampleUsingIdEnvironment;
76
+ * const exampleUsingNameEnvironment = confluentcloud.getEnvironment({
77
+ * displayName: "stag",
78
+ * });
79
+ * const exampleUsingNameServiceAccount = confluentcloud.getServiceAccount({
80
+ * displayName: "test_sa",
81
+ * });
82
+ * const test_role_binding = new confluentcloud.RoleBinding("test-role-binding", {
83
+ * principal: exampleUsingNameServiceAccount.then(exampleUsingNameServiceAccount => `User:${exampleUsingNameServiceAccount.id}`),
84
+ * roleName: "EnvironmentAdmin",
85
+ * crnPattern: exampleUsingNameEnvironment.then(exampleUsingNameEnvironment => exampleUsingNameEnvironment.resourceName),
86
+ * });
87
+ * ```
88
+ */
61
89
  export declare function getEnvironmentOutput(args?: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEnvironmentResult>;
62
90
  /**
63
91
  * A collection of arguments for invoking getEnvironment.
package/getEnvironment.js CHANGED
@@ -35,18 +35,43 @@ const utilities = require("./utilities");
35
35
  */
36
36
  function getEnvironment(args, opts) {
37
37
  args = args || {};
38
- if (!opts) {
39
- opts = {};
40
- }
41
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
38
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
42
39
  return pulumi.runtime.invoke("confluentcloud:index/getEnvironment:getEnvironment", {
43
40
  "displayName": args.displayName,
44
41
  "id": args.id,
45
42
  }, opts);
46
43
  }
47
44
  exports.getEnvironment = getEnvironment;
45
+ /**
46
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
47
+ *
48
+ * `confluentcloud.Environment` describes an Environment data source.
49
+ *
50
+ * ## Example Usage
51
+ *
52
+ * ```typescript
53
+ * import * as pulumi from "@pulumi/pulumi";
54
+ * import * as confluentcloud from "@pulumi/confluentcloud";
55
+ *
56
+ * const exampleUsingIdEnvironment = confluentcloud.getEnvironment({
57
+ * id: "env-abc123",
58
+ * });
59
+ * export const exampleUsingId = exampleUsingIdEnvironment;
60
+ * const exampleUsingNameEnvironment = confluentcloud.getEnvironment({
61
+ * displayName: "stag",
62
+ * });
63
+ * const exampleUsingNameServiceAccount = confluentcloud.getServiceAccount({
64
+ * displayName: "test_sa",
65
+ * });
66
+ * const test_role_binding = new confluentcloud.RoleBinding("test-role-binding", {
67
+ * principal: exampleUsingNameServiceAccount.then(exampleUsingNameServiceAccount => `User:${exampleUsingNameServiceAccount.id}`),
68
+ * roleName: "EnvironmentAdmin",
69
+ * crnPattern: exampleUsingNameEnvironment.then(exampleUsingNameEnvironment => exampleUsingNameEnvironment.resourceName),
70
+ * });
71
+ * ```
72
+ */
48
73
  function getEnvironmentOutput(args, opts) {
49
- return pulumi.output(args).apply(a => getEnvironment(a, opts));
74
+ return pulumi.output(args).apply((a) => getEnvironment(a, opts));
50
75
  }
51
76
  exports.getEnvironmentOutput = getEnvironmentOutput;
52
77
  //# sourceMappingURL=getEnvironment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AAkCD,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
1
+ {"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
5
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
6
6
  *
7
7
  * `confluentcloud.IdentityPool` describes an Identity Pool data source.
8
8
  *
@@ -41,6 +41,9 @@ export interface GetIdentityPoolArgs {
41
41
  * The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`.
42
42
  */
43
43
  id?: string;
44
+ /**
45
+ * (Required Configuration Block) supports the following:
46
+ */
44
47
  identityProvider: inputs.GetIdentityPoolIdentityProvider;
45
48
  }
46
49
  /**
@@ -67,8 +70,38 @@ export interface GetIdentityPoolResult {
67
70
  * (Required String) The JSON Web Token (JWT) claim to extract the authenticating identity to Confluent resources from (see [Registered Claim Names](https://datatracker.ietf.org/doc/html/rfc7519#section-4.1) for more details). This appears in the audit log records, showing, for example, that "identity Z used identity pool X to access topic A".
68
71
  */
69
72
  readonly identityClaim: string;
73
+ /**
74
+ * (Required Configuration Block) supports the following:
75
+ */
70
76
  readonly identityProvider: outputs.GetIdentityPoolIdentityProvider;
71
77
  }
78
+ /**
79
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
80
+ *
81
+ * `confluentcloud.IdentityPool` describes an Identity Pool data source.
82
+ *
83
+ * ## Example Usage
84
+ *
85
+ * ```typescript
86
+ * import * as pulumi from "@pulumi/pulumi";
87
+ * import * as confluentcloud from "@pulumi/confluentcloud";
88
+ *
89
+ * const exampleUsingIdIdentityPool = confluentcloud.getIdentityPool({
90
+ * id: "pool-xyz456",
91
+ * identityProvider: {
92
+ * id: "op-abc123",
93
+ * },
94
+ * });
95
+ * export const exampleUsingId = exampleUsingIdIdentityPool;
96
+ * const exampleUsingNameIdentityPool = confluentcloud.getIdentityPool({
97
+ * displayName: "My Identity Pool",
98
+ * identityProvider: {
99
+ * id: "op-abc123",
100
+ * },
101
+ * });
102
+ * export const exampleUsingName = exampleUsingNameIdentityPool;
103
+ * ```
104
+ */
72
105
  export declare function getIdentityPoolOutput(args: GetIdentityPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIdentityPoolResult>;
73
106
  /**
74
107
  * A collection of arguments for invoking getIdentityPool.
@@ -82,5 +115,8 @@ export interface GetIdentityPoolOutputArgs {
82
115
  * The ID of the Identity Provider associated with the Identity Pool, for example, `op-abc123`.
83
116
  */
84
117
  id?: pulumi.Input<string>;
118
+ /**
119
+ * (Required Configuration Block) supports the following:
120
+ */
85
121
  identityProvider: pulumi.Input<inputs.GetIdentityPoolIdentityProviderArgs>;
86
122
  }
@@ -6,7 +6,7 @@ exports.getIdentityPoolOutput = exports.getIdentityPool = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
9
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
10
  *
11
11
  * `confluentcloud.IdentityPool` describes an Identity Pool data source.
12
12
  *
@@ -33,10 +33,7 @@ const utilities = require("./utilities");
33
33
  * ```
34
34
  */
35
35
  function getIdentityPool(args, opts) {
36
- if (!opts) {
37
- opts = {};
38
- }
39
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
36
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
37
  return pulumi.runtime.invoke("confluentcloud:index/getIdentityPool:getIdentityPool", {
41
38
  "displayName": args.displayName,
42
39
  "id": args.id,
@@ -44,8 +41,35 @@ function getIdentityPool(args, opts) {
44
41
  }, opts);
45
42
  }
46
43
  exports.getIdentityPool = getIdentityPool;
44
+ /**
45
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
46
+ *
47
+ * `confluentcloud.IdentityPool` describes an Identity Pool data source.
48
+ *
49
+ * ## Example Usage
50
+ *
51
+ * ```typescript
52
+ * import * as pulumi from "@pulumi/pulumi";
53
+ * import * as confluentcloud from "@pulumi/confluentcloud";
54
+ *
55
+ * const exampleUsingIdIdentityPool = confluentcloud.getIdentityPool({
56
+ * id: "pool-xyz456",
57
+ * identityProvider: {
58
+ * id: "op-abc123",
59
+ * },
60
+ * });
61
+ * export const exampleUsingId = exampleUsingIdIdentityPool;
62
+ * const exampleUsingNameIdentityPool = confluentcloud.getIdentityPool({
63
+ * displayName: "My Identity Pool",
64
+ * identityProvider: {
65
+ * id: "op-abc123",
66
+ * },
67
+ * });
68
+ * export const exampleUsingName = exampleUsingNameIdentityPool;
69
+ * ```
70
+ */
47
71
  function getIdentityPoolOutput(args, opts) {
48
- return pulumi.output(args).apply(a => getIdentityPool(a, opts));
72
+ return pulumi.output(args).apply((a) => getIdentityPool(a, opts));
49
73
  }
50
74
  exports.getIdentityPoolOutput = getIdentityPoolOutput;
51
75
  //# sourceMappingURL=getIdentityPool.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getIdentityPool.js","sourceRoot":"","sources":["../getIdentityPool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,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A2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
3
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
4
4
  *
5
5
  * `confluentcloud.IdentityProvider` describes an Identity Provider data source.
6
6
  *
@@ -59,6 +59,27 @@ export interface GetIdentityProviderResult {
59
59
  */
60
60
  readonly jwksUri: string;
61
61
  }
62
+ /**
63
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
64
+ *
65
+ * `confluentcloud.IdentityProvider` describes an Identity Provider data source.
66
+ *
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as confluentcloud from "@pulumi/confluentcloud";
72
+ *
73
+ * const exampleUsingIdIdentityProvider = confluentcloud.getIdentityProvider({
74
+ * id: "op-abc123",
75
+ * });
76
+ * export const exampleUsingId = exampleUsingIdIdentityProvider;
77
+ * const exampleUsingNameIdentityProvider = confluentcloud.getIdentityProvider({
78
+ * displayName: "My OIDC Provider: Azure AD",
79
+ * });
80
+ * export const exampleUsingName = exampleUsingNameIdentityProvider;
81
+ * ```
82
+ */
62
83
  export declare function getIdentityProviderOutput(args?: GetIdentityProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIdentityProviderResult>;
63
84
  /**
64
85
  * A collection of arguments for invoking getIdentityProvider.
@@ -6,7 +6,7 @@ exports.getIdentityProviderOutput = exports.getIdentityProvider = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * [![Limited Availability](https://img.shields.io/badge/Lifecycle%20Stage-Limited%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To OAuth API](https://img.shields.io/badge/-Request%20Access%20To%20OAuth%20API-%23bc8540)](mailto:ccloud-api-access+iam-v2-closed-preview@confluent.io?subject=Request%20to%20join%20OAuth%20API%20Closed%20Preview&body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Closed%20Preview%20for%20iam/v2%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
9
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
10
10
  *
11
11
  * `confluentcloud.IdentityProvider` describes an Identity Provider data source.
12
12
  *
@@ -28,18 +28,36 @@ const utilities = require("./utilities");
28
28
  */
29
29
  function getIdentityProvider(args, opts) {
30
30
  args = args || {};
31
- if (!opts) {
32
- opts = {};
33
- }
34
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
35
32
  return pulumi.runtime.invoke("confluentcloud:index/getIdentityProvider:getIdentityProvider", {
36
33
  "displayName": args.displayName,
37
34
  "id": args.id,
38
35
  }, opts);
39
36
  }
40
37
  exports.getIdentityProvider = getIdentityProvider;
38
+ /**
39
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
40
+ *
41
+ * `confluentcloud.IdentityProvider` describes an Identity Provider data source.
42
+ *
43
+ * ## Example Usage
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as confluentcloud from "@pulumi/confluentcloud";
48
+ *
49
+ * const exampleUsingIdIdentityProvider = confluentcloud.getIdentityProvider({
50
+ * id: "op-abc123",
51
+ * });
52
+ * export const exampleUsingId = exampleUsingIdIdentityProvider;
53
+ * const exampleUsingNameIdentityProvider = confluentcloud.getIdentityProvider({
54
+ * displayName: "My OIDC Provider: Azure AD",
55
+ * });
56
+ * export const exampleUsingName = exampleUsingNameIdentityProvider;
57
+ * ```
58
+ */
41
59
  function getIdentityProviderOutput(args, opts) {
42
- return pulumi.output(args).apply(a => getIdentityProvider(a, opts));
60
+ return pulumi.output(args).apply((a) => getIdentityProvider(a, opts));
43
61
  }
44
62
  exports.getIdentityProviderOutput = getIdentityProviderOutput;
45
63
  //# sourceMappingURL=getIdentityProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getIdentityProvider.js","sourceRoot":"","sources":["../getIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAA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,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -1,10 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
- * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
5
- *
6
- * > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\
7
- * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion.
4
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
8
5
  *
9
6
  * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota.
10
7
  *
@@ -38,26 +35,52 @@ export interface GetKafkaClientQuotaArgs {
38
35
  export interface GetKafkaClientQuotaResult {
39
36
  /**
40
37
  * (Required String) The description of the Kafka Client Quota.
41
- * - `throughput` (Required Configuration Block) supports the following:
42
38
  */
43
39
  readonly description: string;
44
40
  /**
45
41
  * (Required String) The name of the Kafka Client Quota.
46
42
  */
47
43
  readonly displayName: string;
44
+ /**
45
+ * (Required Configuration Block) supports the following:
46
+ */
48
47
  readonly environments: outputs.GetKafkaClientQuotaEnvironment[];
49
48
  /**
50
49
  * (Required String) The ID of the Environment that the corresponding Kafka Cluster belongs to, for example, `env-abc123`.
51
50
  */
52
51
  readonly id: string;
52
+ /**
53
+ * (Required Configuration Block) supports the following:
54
+ */
53
55
  readonly kafkaClusters: outputs.GetKafkaClientQuotaKafkaCluster[];
54
56
  /**
55
57
  * (Required Set of Strings) The list of principals (i.e., service accounts or identity pools) to apply the Kafka Client Quota to. Use the special name, "default", to represent the default quota for all users and service accounts.
56
- * - `kafkaCluster` (Required Configuration Block) supports the following:
57
58
  */
58
59
  readonly principals: string[];
60
+ /**
61
+ * (Required Configuration Block) supports the following:
62
+ */
59
63
  readonly throughputs: outputs.GetKafkaClientQuotaThroughput[];
60
64
  }
65
+ /**
66
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
67
+ *
68
+ * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota.
69
+ *
70
+ * > **Note:** See [Control application usage with Client Quotas](https://docs.confluent.io/cloud/current/clusters/client-quotas.html#control-application-usage-with-client-quotas) for more details.
71
+ *
72
+ * ## Example Usage
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as confluentcloud from "@pulumi/confluentcloud";
77
+ *
78
+ * const exampleKafkaClientQuota = confluentcloud.getKafkaClientQuota({
79
+ * id: "cq-abc123",
80
+ * });
81
+ * export const example = exampleKafkaClientQuota;
82
+ * ```
83
+ */
61
84
  export declare function getKafkaClientQuotaOutput(args: GetKafkaClientQuotaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKafkaClientQuotaResult>;
62
85
  /**
63
86
  * A collection of arguments for invoking getKafkaClientQuota.
@@ -6,10 +6,7 @@ exports.getKafkaClientQuotaOutput = exports.getKafkaClientQuota = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * [![Early Access](https://img.shields.io/badge/Lifecycle%20Stage-Early%20Access-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) [![Request Access To Client Quotas API](https://img.shields.io/badge/-Request%20Access%20To%20Clients%20Quotas-%23bc8540)](mailto:cloud-client-quotas-ea@confluent.io?subject=Request%20to%20join%20Kafka%20Quotas%20Management%20API%20Early%20Access&amp;body=I%E2%80%99d%20like%20to%20join%20the%20Confluent%20Cloud%20API%20Early%20Access%20for%20kafka-quotas/v1%20to%20provide%20early%20feedback%21%20My%20Cloud%20Organization%20ID%20is%20%3Cretrieve%20from%20https%3A//confluent.cloud/settings/billing/payment%3E.)
10
- *
11
- * > **Note:** `confluentcloud.KafkaClientQuota` data source is available in **Early Access** for early adopters. Early Access features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.\
12
- * **Early Access** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Early Access features. Early Access features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Early Access features at any time in Confluent’s sole discretion.
9
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
13
10
  *
14
11
  * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota.
15
12
  *
@@ -28,17 +25,33 @@ const utilities = require("./utilities");
28
25
  * ```
29
26
  */
30
27
  function getKafkaClientQuota(args, opts) {
31
- if (!opts) {
32
- opts = {};
33
- }
34
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
35
29
  return pulumi.runtime.invoke("confluentcloud:index/getKafkaClientQuota:getKafkaClientQuota", {
36
30
  "id": args.id,
37
31
  }, opts);
38
32
  }
39
33
  exports.getKafkaClientQuota = getKafkaClientQuota;
34
+ /**
35
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
36
+ *
37
+ * `confluentcloud.KafkaClientQuota` describes a Kafka Client Quota.
38
+ *
39
+ * > **Note:** See [Control application usage with Client Quotas](https://docs.confluent.io/cloud/current/clusters/client-quotas.html#control-application-usage-with-client-quotas) for more details.
40
+ *
41
+ * ## Example Usage
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as confluentcloud from "@pulumi/confluentcloud";
46
+ *
47
+ * const exampleKafkaClientQuota = confluentcloud.getKafkaClientQuota({
48
+ * id: "cq-abc123",
49
+ * });
50
+ * export const example = exampleKafkaClientQuota;
51
+ * ```
52
+ */
40
53
  function getKafkaClientQuotaOutput(args, opts) {
41
- return pulumi.output(args).apply(a => getKafkaClientQuota(a, opts));
54
+ return pulumi.output(args).apply((a) => getKafkaClientQuota(a, opts));
42
55
  }
43
56
  exports.getKafkaClientQuotaOutput = getKafkaClientQuotaOutput;
44
57
  //# sourceMappingURL=getKafkaClientQuota.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getKafkaClientQuota.js","sourceRoot":"","sources":["../getKafkaClientQuota.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,I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9E,CAAC;AAFD,8DAEC"}
@@ -96,6 +96,9 @@ export interface GetKafkaClusterResult {
96
96
  * (Required String) A kind of the Kafka cluster, for example, `Cluster`.
97
97
  */
98
98
  readonly kind: string;
99
+ /**
100
+ * (Optional Configuration Block) supports the following:
101
+ */
99
102
  readonly networks: outputs.GetKafkaClusterNetwork[];
100
103
  /**
101
104
  * (Required String) The Confluent Resource Name of the Kafka cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/cloud-cluster=lkc-abc123`.
@@ -114,6 +117,33 @@ export interface GetKafkaClusterResult {
114
117
  */
115
118
  readonly standards?: outputs.GetKafkaClusterStandard[];
116
119
  }
120
+ /**
121
+ * [![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy)
122
+ *
123
+ * `confluentcloud.KafkaCluster` describes a Kafka cluster data source.
124
+ *
125
+ * ## Example Usage
126
+ *
127
+ * ```typescript
128
+ * import * as pulumi from "@pulumi/pulumi";
129
+ * import * as confluentcloud from "@pulumi/confluentcloud";
130
+ *
131
+ * const exampleUsingId = confluentcloud.getKafkaCluster({
132
+ * id: "lkc-abc123",
133
+ * environment: {
134
+ * id: "env-xyz456",
135
+ * },
136
+ * });
137
+ * const test_sa = new confluentcloud.ServiceAccount("test-sa", {description: exampleUsingId.then(exampleUsingId => `app_mgr for ${exampleUsingId.displayName}`)});
138
+ * const exampleUsingNameKafkaCluster = confluentcloud.getKafkaCluster({
139
+ * displayName: "basic_kafka_cluster",
140
+ * environment: {
141
+ * id: "env-xyz456",
142
+ * },
143
+ * });
144
+ * export const exampleUsingName = exampleUsingNameKafkaCluster;
145
+ * ```
146
+ */
117
147
  export declare function getKafkaClusterOutput(args: GetKafkaClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKafkaClusterResult>;
118
148
  /**
119
149
  * A collection of arguments for invoking getKafkaCluster.