@pulumi/kafka 3.2.0-alpha.1648762137 → 3.2.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/index.d.ts +1 -0
- package/index.js +5 -0
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/quota.d.ts +78 -0
- package/quota.js +59 -0
- package/quota.js.map +1 -0
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -23,12 +23,14 @@ const utilities = require("./utilities");
|
|
|
23
23
|
__exportStar(require("./acl"), exports);
|
|
24
24
|
__exportStar(require("./getTopic"), exports);
|
|
25
25
|
__exportStar(require("./provider"), exports);
|
|
26
|
+
__exportStar(require("./quota"), exports);
|
|
26
27
|
__exportStar(require("./topic"), exports);
|
|
27
28
|
// Export sub-modules:
|
|
28
29
|
const config = require("./config");
|
|
29
30
|
exports.config = config;
|
|
30
31
|
// Import resources to register:
|
|
31
32
|
const acl_1 = require("./acl");
|
|
33
|
+
const quota_1 = require("./quota");
|
|
32
34
|
const topic_1 = require("./topic");
|
|
33
35
|
const _module = {
|
|
34
36
|
version: utilities.getVersion(),
|
|
@@ -36,6 +38,8 @@ const _module = {
|
|
|
36
38
|
switch (type) {
|
|
37
39
|
case "kafka:index/acl:Acl":
|
|
38
40
|
return new acl_1.Acl(name, undefined, { urn });
|
|
41
|
+
case "kafka:index/quota:Quota":
|
|
42
|
+
return new quota_1.Quota(name, undefined, { urn });
|
|
39
43
|
case "kafka:index/topic:Topic":
|
|
40
44
|
return new topic_1.Topic(name, undefined, { urn });
|
|
41
45
|
default:
|
|
@@ -44,6 +48,7 @@ const _module = {
|
|
|
44
48
|
},
|
|
45
49
|
};
|
|
46
50
|
pulumi.runtime.registerResourceModule("kafka", "index/acl", _module);
|
|
51
|
+
pulumi.runtime.registerResourceModule("kafka", "index/quota", _module);
|
|
47
52
|
pulumi.runtime.registerResourceModule("kafka", "index/topic", _module);
|
|
48
53
|
const provider_1 = require("./provider");
|
|
49
54
|
pulumi.runtime.registerResourcePackage("kafka", {
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,wCAAsB;AACtB,6CAA2B;AAC3B,6CAA2B;AAC3B,0CAAwB;AAExB,sBAAsB;AACtB,mCAAmC;AAG/B,wBAAM;AAGV,gCAAgC;AAChC,+BAA4B;AAC5B,mCAAgC;AAEhC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qBAAqB;gBACtB,OAAO,IAAI,SAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;AACpE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAEtE,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IA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C,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACtE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAEtE,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,wBAAwB,EAAE;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/kafka",
|
|
3
|
-
"version": "v3.2.0
|
|
3
|
+
"version": "v3.2.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Kafka.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource kafka v3.2.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource kafka v3.2.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/kafka",
|
|
3
|
-
"version": "v3.2.0
|
|
3
|
+
"version": "v3.2.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Kafka.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource kafka v3.2.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource kafka v3.2.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/quota.d.ts
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Quota extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing Quota resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: QuotaState, opts?: pulumi.CustomResourceOptions): Quota;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of Quota. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is Quota;
|
|
18
|
+
/**
|
|
19
|
+
* A map of string k/v properties.
|
|
20
|
+
*/
|
|
21
|
+
readonly config: pulumi.Output<{
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
} | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the entity
|
|
26
|
+
*/
|
|
27
|
+
readonly entityName: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The type of the entity (client-id, user, ip)
|
|
30
|
+
*/
|
|
31
|
+
readonly entityType: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Create a Quota resource with the given unique name, arguments, and options.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resource.
|
|
36
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
37
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
38
|
+
*/
|
|
39
|
+
constructor(name: string, args: QuotaArgs, opts?: pulumi.CustomResourceOptions);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Input properties used for looking up and filtering Quota resources.
|
|
43
|
+
*/
|
|
44
|
+
export interface QuotaState {
|
|
45
|
+
/**
|
|
46
|
+
* A map of string k/v properties.
|
|
47
|
+
*/
|
|
48
|
+
config?: pulumi.Input<{
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the entity
|
|
53
|
+
*/
|
|
54
|
+
entityName?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The type of the entity (client-id, user, ip)
|
|
57
|
+
*/
|
|
58
|
+
entityType?: pulumi.Input<string>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The set of arguments for constructing a Quota resource.
|
|
62
|
+
*/
|
|
63
|
+
export interface QuotaArgs {
|
|
64
|
+
/**
|
|
65
|
+
* A map of string k/v properties.
|
|
66
|
+
*/
|
|
67
|
+
config?: pulumi.Input<{
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the entity
|
|
72
|
+
*/
|
|
73
|
+
entityName: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The type of the entity (client-id, user, ip)
|
|
76
|
+
*/
|
|
77
|
+
entityType: pulumi.Input<string>;
|
|
78
|
+
}
|
package/quota.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
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.Quota = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Quota extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["config"] = state ? state.config : undefined;
|
|
15
|
+
resourceInputs["entityName"] = state ? state.entityName : undefined;
|
|
16
|
+
resourceInputs["entityType"] = state ? state.entityType : undefined;
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
const args = argsOrState;
|
|
20
|
+
if ((!args || args.entityName === undefined) && !opts.urn) {
|
|
21
|
+
throw new Error("Missing required property 'entityName'");
|
|
22
|
+
}
|
|
23
|
+
if ((!args || args.entityType === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'entityType'");
|
|
25
|
+
}
|
|
26
|
+
resourceInputs["config"] = args ? args.config : undefined;
|
|
27
|
+
resourceInputs["entityName"] = args ? args.entityName : undefined;
|
|
28
|
+
resourceInputs["entityType"] = args ? args.entityType : undefined;
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
super(Quota.__pulumiType, name, resourceInputs, opts);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Quota resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new Quota(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Quota. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === Quota.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.Quota = Quota;
|
|
57
|
+
/** @internal */
|
|
58
|
+
Quota.__pulumiType = 'kafka:index/quota:Quota';
|
|
59
|
+
//# sourceMappingURL=quota.js.map
|
package/quota.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quota.js","sourceRoot":"","sources":["../quota.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAiD5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KA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