@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
@@ -33,10 +33,7 @@ const utilities = require("./utilities");
33
33
  * ```
34
34
  */
35
35
  function getPrivateLinkAccess(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/getPrivateLinkAccess:getPrivateLinkAccess", {
41
38
  "displayName": args.displayName,
42
39
  "environment": args.environment,
@@ -44,8 +41,35 @@ function getPrivateLinkAccess(args, opts) {
44
41
  }, opts);
45
42
  }
46
43
  exports.getPrivateLinkAccess = getPrivateLinkAccess;
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.PrivateLinkAccess` describes a Private Link Access 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 exampleUsingIdPrivateLinkAccess = confluentcloud.getPrivateLinkAccess({
56
+ * id: "pla-abc123",
57
+ * environment: {
58
+ * id: "env-xyz456",
59
+ * },
60
+ * });
61
+ * export const exampleUsingId = exampleUsingIdPrivateLinkAccess;
62
+ * const exampleUsingNamePrivateLinkAccess = confluentcloud.getPrivateLinkAccess({
63
+ * displayName: "my_pla",
64
+ * environment: {
65
+ * id: "env-xyz456",
66
+ * },
67
+ * });
68
+ * export const exampleUsingName = exampleUsingNamePrivateLinkAccess;
69
+ * ```
70
+ */
47
71
  function getPrivateLinkAccessOutput(args, opts) {
48
- return pulumi.output(args).apply(a => getPrivateLinkAccess(a, opts));
72
+ return pulumi.output(args).apply((a) => getPrivateLinkAccess(a, opts));
49
73
  }
50
74
  exports.getPrivateLinkAccessOutput = getPrivateLinkAccessOutput;
51
75
  //# sourceMappingURL=getPrivateLinkAccess.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPrivateLinkAccess.js","sourceRoot":"","sources":["../getPrivateLinkAccess.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,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,gEAAgE,EAAE;QAC3F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oDAWC;AA8CD,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,gEAEC"}
1
+ {"version":3,"file":"getPrivateLinkAccess.js","sourceRoot":"","sources":["../getPrivateLinkAccess.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
@@ -44,6 +44,23 @@ export interface GetRoleBindingResult {
44
44
  */
45
45
  readonly roleName: string;
46
46
  }
47
+ /**
48
+ * [![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)
49
+ *
50
+ * `confluentcloud.RoleBinding` describes a Role Binding.
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as confluentcloud from "@pulumi/confluentcloud";
57
+ *
58
+ * const exampleRoleBinding = confluentcloud.getRoleBinding({
59
+ * id: "rb-abc123",
60
+ * });
61
+ * export const example = exampleRoleBinding;
62
+ * ```
63
+ */
47
64
  export declare function getRoleBindingOutput(args: GetRoleBindingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleBindingResult>;
48
65
  /**
49
66
  * A collection of arguments for invoking getRoleBinding.
package/getRoleBinding.js CHANGED
@@ -23,17 +23,31 @@ const utilities = require("./utilities");
23
23
  * ```
24
24
  */
25
25
  function getRoleBinding(args, opts) {
26
- if (!opts) {
27
- opts = {};
28
- }
29
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
27
  return pulumi.runtime.invoke("confluentcloud:index/getRoleBinding:getRoleBinding", {
31
28
  "id": args.id,
32
29
  }, opts);
33
30
  }
34
31
  exports.getRoleBinding = getRoleBinding;
32
+ /**
33
+ * [![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)
34
+ *
35
+ * `confluentcloud.RoleBinding` describes a Role Binding.
36
+ *
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as confluentcloud from "@pulumi/confluentcloud";
42
+ *
43
+ * const exampleRoleBinding = confluentcloud.getRoleBinding({
44
+ * id: "rb-abc123",
45
+ * });
46
+ * export const example = exampleRoleBinding;
47
+ * ```
48
+ */
35
49
  function getRoleBindingOutput(args, opts) {
36
- return pulumi.output(args).apply(a => getRoleBinding(a, opts));
50
+ return pulumi.output(args).apply((a) => getRoleBinding(a, opts));
37
51
  }
38
52
  exports.getRoleBindingOutput = getRoleBindingOutput;
39
53
  //# sourceMappingURL=getRoleBinding.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRoleBinding.js","sourceRoot":"","sources":["../getRoleBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC;AA+BD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,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":"getRoleBinding.js","sourceRoot":"","sources":["../getRoleBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AA8BD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,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"}
package/getSchema.d.ts ADDED
@@ -0,0 +1,76 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaResult>;
5
+ /**
6
+ * A collection of arguments for invoking getSchema.
7
+ */
8
+ export interface GetSchemaArgs {
9
+ credentials?: inputs.GetSchemaCredentials;
10
+ /**
11
+ * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
12
+ */
13
+ restEndpoint?: string;
14
+ /**
15
+ * 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, the `version` of the schema may be different under different subjects.
16
+ */
17
+ schemaIdentifier: number;
18
+ schemaRegistryCluster?: inputs.GetSchemaSchemaRegistryCluster;
19
+ /**
20
+ * 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.
21
+ */
22
+ subjectName: string;
23
+ }
24
+ /**
25
+ * A collection of values returned by getSchema.
26
+ */
27
+ export interface GetSchemaResult {
28
+ readonly credentials?: outputs.GetSchemaCredentials;
29
+ /**
30
+ * (Required String) The format of the schema. Accepted values are: `AVRO`, `PROTOBUF`, and `JSON`.
31
+ */
32
+ readonly format: string;
33
+ /**
34
+ * The provider-assigned unique ID for this managed resource.
35
+ */
36
+ readonly id: string;
37
+ readonly restEndpoint?: string;
38
+ /**
39
+ * (Required String) The schema string, for example, `file("./schema_version_1.avsc")`.
40
+ */
41
+ readonly schema: string;
42
+ readonly schemaIdentifier: number;
43
+ /**
44
+ * (Optional List) 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):
45
+ */
46
+ readonly schemaReferences: outputs.GetSchemaSchemaReference[];
47
+ readonly schemaRegistryCluster?: outputs.GetSchemaSchemaRegistryCluster;
48
+ /**
49
+ * (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.)
50
+ */
51
+ readonly subjectName: string;
52
+ /**
53
+ * (Required Integer) The version of the Schema, for example, `4`.
54
+ */
55
+ readonly version: number;
56
+ }
57
+ export declare function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaResult>;
58
+ /**
59
+ * A collection of arguments for invoking getSchema.
60
+ */
61
+ export interface GetSchemaOutputArgs {
62
+ credentials?: pulumi.Input<inputs.GetSchemaCredentialsArgs>;
63
+ /**
64
+ * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
65
+ */
66
+ restEndpoint?: pulumi.Input<string>;
67
+ /**
68
+ * 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, the `version` of the schema may be different under different subjects.
69
+ */
70
+ schemaIdentifier: pulumi.Input<number>;
71
+ schemaRegistryCluster?: pulumi.Input<inputs.GetSchemaSchemaRegistryClusterArgs>;
72
+ /**
73
+ * 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.
74
+ */
75
+ subjectName: pulumi.Input<string>;
76
+ }
package/getSchema.js ADDED
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getSchemaOutput = exports.getSchema = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getSchema(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("confluentcloud:index/getSchema:getSchema", {
11
+ "credentials": args.credentials,
12
+ "restEndpoint": args.restEndpoint,
13
+ "schemaIdentifier": args.schemaIdentifier,
14
+ "schemaRegistryCluster": args.schemaRegistryCluster,
15
+ "subjectName": args.subjectName,
16
+ }, opts);
17
+ }
18
+ exports.getSchema = getSchema;
19
+ function getSchemaOutput(args, opts) {
20
+ return pulumi.output(args).apply((a) => getSchema(a, opts));
21
+ }
22
+ exports.getSchemaOutput = getSchemaOutput;
23
+ //# sourceMappingURL=getSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchema.js","sourceRoot":"","sources":["../getSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8BAUC;AAuDD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -63,9 +63,11 @@ export interface GetSchemaRegistryClusterResult {
63
63
  readonly kind: string;
64
64
  /**
65
65
  * (Required String) The type of the billing package. Accepted values are: `ESSENTIALS` and `ADVANCED`.
66
- * - `region` (Required Configuration Block) supports the following:
67
66
  */
68
67
  readonly package: string;
68
+ /**
69
+ * (Required Configuration Block) supports the following:
70
+ */
69
71
  readonly regions: outputs.GetSchemaRegistryClusterRegion[];
70
72
  /**
71
73
  * (Required String) The Confluent Resource Name of the Schema Registry cluster, for example, `crn://confluent.cloud/organization=1111aaaa-11aa-11aa-11aa-111111aaaaaa/environment=env-abc123/schema-registry=lsrc-abc123`.
@@ -76,6 +78,33 @@ export interface GetSchemaRegistryClusterResult {
76
78
  */
77
79
  readonly restEndpoint: string;
78
80
  }
81
+ /**
82
+ * [![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)
83
+ *
84
+ * `confluentcloud.SchemaRegistryCluster` describes a Schema Registry cluster data source.
85
+ *
86
+ * ## Example Usage
87
+ *
88
+ * ```typescript
89
+ * import * as pulumi from "@pulumi/pulumi";
90
+ * import * as confluentcloud from "@pulumi/confluentcloud";
91
+ *
92
+ * const exampleUsingIdSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({
93
+ * id: "lsrc-abc123",
94
+ * environment: {
95
+ * id: "env-xyz456",
96
+ * },
97
+ * });
98
+ * export const exampleUsingId = exampleUsingIdSchemaRegistryCluster;
99
+ * const exampleUsingNameSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({
100
+ * displayName: "Stream Governance Package",
101
+ * environment: {
102
+ * id: "env-xyz456",
103
+ * },
104
+ * });
105
+ * export const exampleUsingName = exampleUsingNameSchemaRegistryCluster;
106
+ * ```
107
+ */
79
108
  export declare function getSchemaRegistryClusterOutput(args: GetSchemaRegistryClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaRegistryClusterResult>;
80
109
  /**
81
110
  * A collection of arguments for invoking getSchemaRegistryCluster.
@@ -33,10 +33,7 @@ const utilities = require("./utilities");
33
33
  * ```
34
34
  */
35
35
  function getSchemaRegistryCluster(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/getSchemaRegistryCluster:getSchemaRegistryCluster", {
41
38
  "displayName": args.displayName,
42
39
  "environment": args.environment,
@@ -44,8 +41,35 @@ function getSchemaRegistryCluster(args, opts) {
44
41
  }, opts);
45
42
  }
46
43
  exports.getSchemaRegistryCluster = getSchemaRegistryCluster;
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.SchemaRegistryCluster` describes a Schema Registry cluster 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 exampleUsingIdSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({
56
+ * id: "lsrc-abc123",
57
+ * environment: {
58
+ * id: "env-xyz456",
59
+ * },
60
+ * });
61
+ * export const exampleUsingId = exampleUsingIdSchemaRegistryCluster;
62
+ * const exampleUsingNameSchemaRegistryCluster = confluentcloud.getSchemaRegistryCluster({
63
+ * displayName: "Stream Governance Package",
64
+ * environment: {
65
+ * id: "env-xyz456",
66
+ * },
67
+ * });
68
+ * export const exampleUsingName = exampleUsingNameSchemaRegistryCluster;
69
+ * ```
70
+ */
47
71
  function getSchemaRegistryClusterOutput(args, opts) {
48
- return pulumi.output(args).apply(a => getSchemaRegistryCluster(a, opts));
72
+ return pulumi.output(args).apply((a) => getSchemaRegistryCluster(a, opts));
49
73
  }
50
74
  exports.getSchemaRegistryClusterOutput = getSchemaRegistryClusterOutput;
51
75
  //# sourceMappingURL=getSchemaRegistryCluster.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSchemaRegistryCluster.js","sourceRoot":"","sources":["../getSchemaRegistryCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,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,wEAAwE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4DAWC;AAmDD,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
1
+ {"version":3,"file":"getSchemaRegistryCluster.js","sourceRoot":"","sources":["../getSchemaRegistryCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC;AAoDD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
@@ -0,0 +1,43 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare function getSchemaRegistryClusterConfig(args?: GetSchemaRegistryClusterConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaRegistryClusterConfigResult>;
5
+ /**
6
+ * A collection of arguments for invoking getSchemaRegistryClusterConfig.
7
+ */
8
+ export interface GetSchemaRegistryClusterConfigArgs {
9
+ credentials?: inputs.GetSchemaRegistryClusterConfigCredentials;
10
+ /**
11
+ * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
12
+ */
13
+ restEndpoint?: string;
14
+ schemaRegistryCluster?: inputs.GetSchemaRegistryClusterConfigSchemaRegistryCluster;
15
+ }
16
+ /**
17
+ * A collection of values returned by getSchemaRegistryClusterConfig.
18
+ */
19
+ export interface GetSchemaRegistryClusterConfigResult {
20
+ /**
21
+ * (Required String) The global Schema Registry compatibility level. Accepted values are: `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE`, and `NONE`. See the [Compatibility Types](https://docs.confluent.io/platform/current/schema-registry/avro.html#compatibility-types) for more details.
22
+ */
23
+ readonly compatibilityLevel: string;
24
+ readonly credentials?: outputs.GetSchemaRegistryClusterConfigCredentials;
25
+ /**
26
+ * The provider-assigned unique ID for this managed resource.
27
+ */
28
+ readonly id: string;
29
+ readonly restEndpoint?: string;
30
+ readonly schemaRegistryCluster?: outputs.GetSchemaRegistryClusterConfigSchemaRegistryCluster;
31
+ }
32
+ export declare function getSchemaRegistryClusterConfigOutput(args?: GetSchemaRegistryClusterConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaRegistryClusterConfigResult>;
33
+ /**
34
+ * A collection of arguments for invoking getSchemaRegistryClusterConfig.
35
+ */
36
+ export interface GetSchemaRegistryClusterConfigOutputArgs {
37
+ credentials?: pulumi.Input<inputs.GetSchemaRegistryClusterConfigCredentialsArgs>;
38
+ /**
39
+ * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
40
+ */
41
+ restEndpoint?: pulumi.Input<string>;
42
+ schemaRegistryCluster?: pulumi.Input<inputs.GetSchemaRegistryClusterConfigSchemaRegistryClusterArgs>;
43
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getSchemaRegistryClusterConfigOutput = exports.getSchemaRegistryClusterConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getSchemaRegistryClusterConfig(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryClusterConfig:getSchemaRegistryClusterConfig", {
12
+ "credentials": args.credentials,
13
+ "restEndpoint": args.restEndpoint,
14
+ "schemaRegistryCluster": args.schemaRegistryCluster,
15
+ }, opts);
16
+ }
17
+ exports.getSchemaRegistryClusterConfig = getSchemaRegistryClusterConfig;
18
+ function getSchemaRegistryClusterConfigOutput(args, opts) {
19
+ return pulumi.output(args).apply((a) => getSchemaRegistryClusterConfig(a, opts));
20
+ }
21
+ exports.getSchemaRegistryClusterConfigOutput = getSchemaRegistryClusterConfigOutput;
22
+ //# sourceMappingURL=getSchemaRegistryClusterConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchemaRegistryClusterConfig.js","sourceRoot":"","sources":["../getSchemaRegistryClusterConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAA2B;IACjH,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,oFAAoF,EAAE;QAC/G,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wEASC;AA8BD,SAAgB,oCAAoC,CAAC,IAA+C,EAAE,IAA2B;IAC7H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,8BAA8B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzF,CAAC;AAFD,oFAEC"}
@@ -0,0 +1,43 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare function getSchemaRegistryClusterMode(args?: GetSchemaRegistryClusterModeArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaRegistryClusterModeResult>;
5
+ /**
6
+ * A collection of arguments for invoking getSchemaRegistryClusterMode.
7
+ */
8
+ export interface GetSchemaRegistryClusterModeArgs {
9
+ credentials?: inputs.GetSchemaRegistryClusterModeCredentials;
10
+ /**
11
+ * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
12
+ */
13
+ restEndpoint?: string;
14
+ schemaRegistryCluster?: inputs.GetSchemaRegistryClusterModeSchemaRegistryCluster;
15
+ }
16
+ /**
17
+ * A collection of values returned by getSchemaRegistryClusterMode.
18
+ */
19
+ export interface GetSchemaRegistryClusterModeResult {
20
+ readonly credentials?: outputs.GetSchemaRegistryClusterModeCredentials;
21
+ /**
22
+ * The provider-assigned unique ID for this managed resource.
23
+ */
24
+ readonly id: string;
25
+ /**
26
+ * (Optional String) The global Schema Registry mode. Accepted values are: `READWRITE`, `READONLY`, `READONLY_OVERRIDE`, and `IMPORT`.
27
+ */
28
+ readonly mode: string;
29
+ readonly restEndpoint?: string;
30
+ readonly schemaRegistryCluster?: outputs.GetSchemaRegistryClusterModeSchemaRegistryCluster;
31
+ }
32
+ export declare function getSchemaRegistryClusterModeOutput(args?: GetSchemaRegistryClusterModeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaRegistryClusterModeResult>;
33
+ /**
34
+ * A collection of arguments for invoking getSchemaRegistryClusterMode.
35
+ */
36
+ export interface GetSchemaRegistryClusterModeOutputArgs {
37
+ credentials?: pulumi.Input<inputs.GetSchemaRegistryClusterModeCredentialsArgs>;
38
+ /**
39
+ * The REST endpoint of the Schema Registry cluster, for example, `https://psrc-00000.us-central1.gcp.confluent.cloud:443`).
40
+ */
41
+ restEndpoint?: pulumi.Input<string>;
42
+ schemaRegistryCluster?: pulumi.Input<inputs.GetSchemaRegistryClusterModeSchemaRegistryClusterArgs>;
43
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getSchemaRegistryClusterModeOutput = exports.getSchemaRegistryClusterMode = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getSchemaRegistryClusterMode(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryClusterMode:getSchemaRegistryClusterMode", {
12
+ "credentials": args.credentials,
13
+ "restEndpoint": args.restEndpoint,
14
+ "schemaRegistryCluster": args.schemaRegistryCluster,
15
+ }, opts);
16
+ }
17
+ exports.getSchemaRegistryClusterMode = getSchemaRegistryClusterMode;
18
+ function getSchemaRegistryClusterModeOutput(args, opts) {
19
+ return pulumi.output(args).apply((a) => getSchemaRegistryClusterMode(a, opts));
20
+ }
21
+ exports.getSchemaRegistryClusterModeOutput = getSchemaRegistryClusterModeOutput;
22
+ //# sourceMappingURL=getSchemaRegistryClusterMode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchemaRegistryClusterMode.js","sourceRoot":"","sources":["../getSchemaRegistryClusterMode.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAA2B;IAC7G,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,gFAAgF,EAAE;QAC3G,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oEASC;AA8BD,SAAgB,kCAAkC,CAAC,IAA6C,EAAE,IAA2B;IACzH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
@@ -48,6 +48,25 @@ export interface GetSchemaRegistryRegionResult {
48
48
  readonly package: string;
49
49
  readonly region: string;
50
50
  }
51
+ /**
52
+ * [![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)
53
+ *
54
+ * `confluentcloud.getSchemaRegistryRegion` describes a Schema Registry cluster data source.
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as confluentcloud from "@pulumi/confluentcloud";
61
+ *
62
+ * const exampleSchemaRegistryRegion = confluentcloud.getSchemaRegistryRegion({
63
+ * cloud: "AWS",
64
+ * region: "us-east-2",
65
+ * "package": "ESSENTIALS",
66
+ * });
67
+ * export const example = exampleSchemaRegistryRegion;
68
+ * ```
69
+ */
51
70
  export declare function getSchemaRegistryRegionOutput(args: GetSchemaRegistryRegionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaRegistryRegionResult>;
52
71
  /**
53
72
  * A collection of arguments for invoking getSchemaRegistryRegion.
@@ -25,10 +25,7 @@ const utilities = require("./utilities");
25
25
  * ```
26
26
  */
27
27
  function getSchemaRegistryRegion(args, opts) {
28
- if (!opts) {
29
- opts = {};
30
- }
31
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
29
  return pulumi.runtime.invoke("confluentcloud:index/getSchemaRegistryRegion:getSchemaRegistryRegion", {
33
30
  "cloud": args.cloud,
34
31
  "package": args.package,
@@ -36,8 +33,27 @@ function getSchemaRegistryRegion(args, opts) {
36
33
  }, opts);
37
34
  }
38
35
  exports.getSchemaRegistryRegion = getSchemaRegistryRegion;
36
+ /**
37
+ * [![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)
38
+ *
39
+ * `confluentcloud.getSchemaRegistryRegion` describes a Schema Registry cluster data source.
40
+ *
41
+ * ## Example Usage
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as confluentcloud from "@pulumi/confluentcloud";
46
+ *
47
+ * const exampleSchemaRegistryRegion = confluentcloud.getSchemaRegistryRegion({
48
+ * cloud: "AWS",
49
+ * region: "us-east-2",
50
+ * "package": "ESSENTIALS",
51
+ * });
52
+ * export const example = exampleSchemaRegistryRegion;
53
+ * ```
54
+ */
39
55
  function getSchemaRegistryRegionOutput(args, opts) {
40
- return pulumi.output(args).apply(a => getSchemaRegistryRegion(a, opts));
56
+ return pulumi.output(args).apply((a) => getSchemaRegistryRegion(a, opts));
41
57
  }
42
58
  exports.getSchemaRegistryRegionOutput = getSchemaRegistryRegionOutput;
43
59
  //# sourceMappingURL=getSchemaRegistryRegion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSchemaRegistryRegion.js","sourceRoot":"","sources":["../getSchemaRegistryRegion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,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,sEAAsE,EAAE;QACjG,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0DAWC;AAiCD,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,sEAEC"}
1
+ {"version":3,"file":"getSchemaRegistryRegion.js","sourceRoot":"","sources":["../getSchemaRegistryRegion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0DAQC;AAgCD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
@@ -59,6 +59,27 @@ export interface GetServiceAccountResult {
59
59
  */
60
60
  readonly kind: 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.ServiceAccount` describes a Service Account 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 exampleUsingIdServiceAccount = confluentcloud.getServiceAccount({
74
+ * id: "sa-abc123",
75
+ * });
76
+ * export const exampleUsingId = exampleUsingIdServiceAccount;
77
+ * const exampleUsingName = confluentcloud.getServiceAccount({
78
+ * displayName: "test_sa",
79
+ * });
80
+ * const test_env = new confluentcloud.Environment("test-env", {});
81
+ * ```
82
+ */
62
83
  export declare function getServiceAccountOutput(args?: GetServiceAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceAccountResult>;
63
84
  /**
64
85
  * A collection of arguments for invoking getServiceAccount.
@@ -28,18 +28,36 @@ const utilities = require("./utilities");
28
28
  */
29
29
  function getServiceAccount(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/getServiceAccount:getServiceAccount", {
36
33
  "displayName": args.displayName,
37
34
  "id": args.id,
38
35
  }, opts);
39
36
  }
40
37
  exports.getServiceAccount = getServiceAccount;
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.ServiceAccount` describes a Service Account 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 exampleUsingIdServiceAccount = confluentcloud.getServiceAccount({
50
+ * id: "sa-abc123",
51
+ * });
52
+ * export const exampleUsingId = exampleUsingIdServiceAccount;
53
+ * const exampleUsingName = confluentcloud.getServiceAccount({
54
+ * displayName: "test_sa",
55
+ * });
56
+ * const test_env = new confluentcloud.Environment("test-env", {});
57
+ * ```
58
+ */
41
59
  function getServiceAccountOutput(args, opts) {
42
- return pulumi.output(args).apply(a => getServiceAccount(a, opts));
60
+ return pulumi.output(args).apply((a) => getServiceAccount(a, opts));
43
61
  }
44
62
  exports.getServiceAccountOutput = getServiceAccountOutput;
45
63
  //# sourceMappingURL=getServiceAccount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getServiceAccount.js","sourceRoot":"","sources":["../getServiceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,0DAA0D,EAAE;QACrF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AA0CD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getServiceAccount.js","sourceRoot":"","sources":["../getServiceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,0DAA0D,EAAE;QACrF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAyCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}