@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.
- package/apiKey.d.ts +4 -4
- package/apiKey.js +1 -1
- package/config/vars.d.ts +20 -0
- package/config/vars.js +30 -0
- package/config/vars.js.map +1 -1
- package/getEnvironment.d.ts +28 -0
- package/getEnvironment.js +30 -5
- package/getEnvironment.js.map +1 -1
- package/getIdentityPool.d.ts +37 -1
- package/getIdentityPool.js +30 -6
- package/getIdentityPool.js.map +1 -1
- package/getIdentityProvider.d.ts +22 -1
- package/getIdentityProvider.js +24 -6
- package/getIdentityProvider.js.map +1 -1
- package/getKafkaClientQuota.d.ts +29 -6
- package/getKafkaClientQuota.js +22 -9
- package/getKafkaClientQuota.js.map +1 -1
- package/getKafkaCluster.d.ts +30 -0
- package/getKafkaCluster.js +29 -5
- package/getKafkaCluster.js.map +1 -1
- package/getKafkaTopic.d.ts +3 -28
- package/getKafkaTopic.js +2 -30
- package/getKafkaTopic.js.map +1 -1
- package/getKsqlCluster.d.ts +38 -4
- package/getKsqlCluster.js +31 -5
- package/getKsqlCluster.js.map +1 -1
- package/getNetwork.d.ts +41 -1
- package/getNetwork.js +30 -5
- package/getNetwork.js.map +1 -1
- package/getOrganization.js +1 -4
- package/getOrganization.js.map +1 -1
- package/getPeering.d.ts +39 -1
- package/getPeering.js +29 -5
- package/getPeering.js.map +1 -1
- package/getPrivateLinkAccess.d.ts +39 -1
- package/getPrivateLinkAccess.js +29 -5
- package/getPrivateLinkAccess.js.map +1 -1
- package/getRoleBinding.d.ts +17 -0
- package/getRoleBinding.js +19 -5
- package/getRoleBinding.js.map +1 -1
- package/getSchema.d.ts +76 -0
- package/getSchema.js +23 -0
- package/getSchema.js.map +1 -0
- package/getSchemaRegistryCluster.d.ts +30 -1
- package/getSchemaRegistryCluster.js +29 -5
- package/getSchemaRegistryCluster.js.map +1 -1
- package/getSchemaRegistryClusterConfig.d.ts +43 -0
- package/getSchemaRegistryClusterConfig.js +22 -0
- package/getSchemaRegistryClusterConfig.js.map +1 -0
- package/getSchemaRegistryClusterMode.d.ts +43 -0
- package/getSchemaRegistryClusterMode.js +22 -0
- package/getSchemaRegistryClusterMode.js.map +1 -0
- package/getSchemaRegistryRegion.d.ts +19 -0
- package/getSchemaRegistryRegion.js +21 -5
- package/getSchemaRegistryRegion.js.map +1 -1
- package/getServiceAccount.d.ts +21 -0
- package/getServiceAccount.js +23 -5
- package/getServiceAccount.js.map +1 -1
- package/getSubjectConfig.d.ts +52 -0
- package/getSubjectConfig.js +22 -0
- package/getSubjectConfig.js.map +1 -0
- package/getSubjectMode.d.ts +52 -0
- package/getSubjectMode.js +22 -0
- package/getSubjectMode.js.map +1 -0
- package/getTransitGatewayAttachment.d.ts +40 -5
- package/getTransitGatewayAttachment.js +30 -9
- package/getTransitGatewayAttachment.js.map +1 -1
- package/getUser.d.ts +38 -0
- package/getUser.js +40 -5
- package/getUser.js.map +1 -1
- package/identityPool.d.ts +1 -1
- package/identityPool.js +1 -1
- package/identityProvider.d.ts +5 -5
- package/identityProvider.js +5 -5
- package/index.d.ts +30 -0
- package/index.js +79 -39
- package/index.js.map +1 -1
- package/kafkaAcl.d.ts +9 -3
- package/kafkaAcl.js +7 -4
- package/kafkaAcl.js.map +1 -1
- package/kafkaClusterConfig.d.ts +7 -27
- package/kafkaClusterConfig.js +5 -28
- package/kafkaClusterConfig.js.map +1 -1
- package/kafkaTopic.d.ts +9 -3
- package/kafkaTopic.js +7 -4
- package/kafkaTopic.js.map +1 -1
- package/network.d.ts +18 -3
- package/network.js +2 -0
- package/network.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +40 -0
- package/provider.js +6 -1
- package/provider.js.map +1 -1
- package/schema.d.ts +140 -0
- package/schema.js +87 -0
- package/schema.js.map +1 -0
- package/schemaRegistryClusterConfig.d.ts +88 -0
- package/schemaRegistryClusterConfig.js +68 -0
- package/schemaRegistryClusterConfig.js.map +1 -0
- package/schemaRegistryClusterMode.d.ts +88 -0
- package/schemaRegistryClusterMode.js +68 -0
- package/schemaRegistryClusterMode.js.map +1 -0
- package/subjectConfig.d.ts +100 -0
- package/subjectConfig.js +73 -0
- package/subjectConfig.js.map +1 -0
- package/subjectMode.d.ts +100 -0
- package/subjectMode.js +73 -0
- package/subjectMode.js.map +1 -0
- package/types/input.d.ts +299 -25
- 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
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
package/config/vars.js.map
CHANGED
|
@@ -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;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,mBAAmB,EAAE;IAChD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAC7C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,YAAY,CAAC,CAAC;IACpD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
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;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,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,mBAAmB,EAAE;IAChD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAC7C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,YAAY,CAAC,CAAC;IACpD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,sBAAsB,EAAE;IACnD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;IAChD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,yBAAyB,EAAE;IACtD,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,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"}
|
package/getEnvironment.d.ts
CHANGED
|
@@ -58,6 +58,34 @@ export interface GetEnvironmentResult {
|
|
|
58
58
|
*/
|
|
59
59
|
readonly resourceName: string;
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* [](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
|
-
|
|
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
|
+
* [](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
|
package/getEnvironment.js.map
CHANGED
|
@@ -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;
|
|
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"}
|
package/getIdentityPool.d.ts
CHANGED
|
@@ -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
|
-
* [](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
|
+
* [](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
|
}
|
package/getIdentityPool.js
CHANGED
|
@@ -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
|
-
* [](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
|
-
|
|
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
|
+
* [](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
|
package/getIdentityPool.js.map
CHANGED
|
@@ -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;
|
|
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;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAiDD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;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"}
|
package/getIdentityProvider.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* [](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
|
+
* [](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.
|
package/getIdentityProvider.js
CHANGED
|
@@ -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
|
-
* [](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
|
-
|
|
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
|
+
* [](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;
|
|
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;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,8DAA8D,EAAE;QACzF,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAyCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
package/getKafkaClientQuota.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
* [](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
|
+
* [](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.
|
package/getKafkaClientQuota.js
CHANGED
|
@@ -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
|
-
* [](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
|
-
|
|
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
|
+
* [](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
|
|
1
|
+
{"version":3,"file":"getKafkaClientQuota.js","sourceRoot":"","sources":["../getKafkaClientQuota.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AA6CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
package/getKafkaCluster.d.ts
CHANGED
|
@@ -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
|
+
* [](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.
|