@byteplus/pulumi-bytepluscc 0.0.50 → 0.0.52
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/cloudidentity/getUser.d.ts +8 -0
- package/cloudidentity/getUser.d.ts.map +1 -1
- package/cloudidentity/getUser.js.map +1 -1
- package/cloudidentity/user.d.ts +20 -0
- package/cloudidentity/user.d.ts.map +1 -1
- package/cloudidentity/user.js +4 -0
- package/cloudidentity/user.js.map +1 -1
- package/cr/getRobotAccount.d.ts +82 -0
- package/cr/getRobotAccount.d.ts.map +1 -0
- package/cr/getRobotAccount.js +51 -0
- package/cr/getRobotAccount.js.map +1 -0
- package/cr/getRobotAccounts.d.ts +23 -0
- package/cr/getRobotAccounts.d.ts.map +1 -0
- package/cr/getRobotAccounts.js +47 -0
- package/cr/getRobotAccounts.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.d.ts.map +1 -1
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/robotAccount.d.ts +201 -0
- package/cr/robotAccount.d.ts.map +1 -0
- package/cr/robotAccount.js +143 -0
- package/cr/robotAccount.js.map +1 -0
- package/ecs/dedicatedHostCluster.d.ts +137 -0
- package/ecs/dedicatedHostCluster.d.ts.map +1 -0
- package/ecs/dedicatedHostCluster.js +114 -0
- package/ecs/dedicatedHostCluster.js.map +1 -0
- package/ecs/getDedicatedHostCluster.d.ts +70 -0
- package/ecs/getDedicatedHostCluster.d.ts.map +1 -0
- package/ecs/getDedicatedHostCluster.js +51 -0
- package/ecs/getDedicatedHostCluster.js.map +1 -0
- package/ecs/getDedicatedHostClusters.d.ts +23 -0
- package/ecs/getDedicatedHostClusters.d.ts.map +1 -0
- package/ecs/getDedicatedHostClusters.js +47 -0
- package/ecs/getDedicatedHostClusters.js.map +1 -0
- package/ecs/index.d.ts +9 -0
- package/ecs/index.d.ts.map +1 -1
- package/ecs/index.js +13 -1
- package/ecs/index.js.map +1 -1
- package/iam/apiKey.d.ts +139 -0
- package/iam/apiKey.d.ts.map +1 -0
- package/iam/apiKey.js +114 -0
- package/iam/apiKey.js.map +1 -0
- package/iam/getApiKey.d.ts +69 -0
- package/iam/getApiKey.d.ts.map +1 -0
- package/iam/getApiKey.js +51 -0
- package/iam/getApiKey.js.map +1 -0
- package/iam/getApiKeys.d.ts +23 -0
- package/iam/getApiKeys.d.ts.map +1 -0
- package/iam/getApiKeys.js +47 -0
- package/iam/getApiKeys.js.map +1 -0
- package/iam/index.d.ts +9 -0
- package/iam/index.d.ts.map +1 -1
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/package.json +1 -1
- package/rdsmysql/getInstance.d.ts +1 -1
- package/rdsmysql/instance.d.ts +3 -3
- package/redis/getKeyScanJob.d.ts +77 -0
- package/redis/getKeyScanJob.d.ts.map +1 -0
- package/redis/getKeyScanJob.js +51 -0
- package/redis/getKeyScanJob.js.map +1 -0
- package/redis/getKeyScanJobs.d.ts +23 -0
- package/redis/getKeyScanJobs.d.ts.map +1 -0
- package/redis/getKeyScanJobs.js +47 -0
- package/redis/getKeyScanJobs.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.d.ts.map +1 -1
- package/redis/index.js +12 -1
- package/redis/index.js.map +1 -1
- package/redis/keyScanJob.d.ts +151 -0
- package/redis/keyScanJob.d.ts.map +1 -0
- package/redis/keyScanJob.js +121 -0
- package/redis/keyScanJob.js.map +1 -0
- package/types/input.d.ts +109 -4
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +216 -5
- package/types/output.d.ts.map +1 -1
- package/vpc/getIpamPool.d.ts +2 -2
- package/vpc/getIpamPool.js +2 -2
- package/vpc/getIpamPools.d.ts +2 -2
- package/vpc/getIpamPools.js +2 -2
- package/vpc/getIpamScope.d.ts +2 -2
- package/vpc/getIpamScope.js +2 -2
- package/vpc/getIpamScopes.d.ts +2 -2
- package/vpc/getIpamScopes.js +2 -2
- package/vpc/getIpv4Gateway.d.ts +77 -0
- package/vpc/getIpv4Gateway.d.ts.map +1 -0
- package/vpc/getIpv4Gateway.js +51 -0
- package/vpc/getIpv4Gateway.js.map +1 -0
- package/vpc/getIpv4Gateways.d.ts +23 -0
- package/vpc/getIpv4Gateways.d.ts.map +1 -0
- package/vpc/getIpv4Gateways.js +47 -0
- package/vpc/getIpv4Gateways.js.map +1 -0
- package/vpc/index.d.ts +9 -0
- package/vpc/index.d.ts.map +1 -1
- package/vpc/index.js +14 -3
- package/vpc/index.js.map +1 -1
- package/vpc/ipv4Gateway.d.ts +155 -0
- package/vpc/ipv4Gateway.d.ts.map +1 -0
- package/vpc/ipv4Gateway.js +112 -0
- package/vpc/ipv4Gateway.js.map +1 -0
- package/waf/customPage.d.ts +272 -0
- package/waf/customPage.d.ts.map +1 -0
- package/waf/customPage.js +156 -0
- package/waf/customPage.js.map +1 -0
- package/waf/getCustomPage.d.ts +110 -0
- package/waf/getCustomPage.d.ts.map +1 -0
- package/waf/getCustomPage.js +51 -0
- package/waf/getCustomPage.js.map +1 -0
- package/waf/getCustomPages.d.ts +23 -0
- package/waf/getCustomPages.d.ts.map +1 -0
- package/waf/getCustomPages.js +47 -0
- package/waf/getCustomPages.js.map +1 -0
- package/waf/getIpGroup.d.ts +62 -0
- package/waf/getIpGroup.d.ts.map +1 -0
- package/waf/getIpGroup.js +51 -0
- package/waf/getIpGroup.js.map +1 -0
- package/waf/getIpGroups.d.ts +23 -0
- package/waf/getIpGroups.d.ts.map +1 -0
- package/waf/getIpGroups.js +47 -0
- package/waf/getIpGroups.js.map +1 -0
- package/waf/getSystemBot.d.ts +38 -0
- package/waf/getSystemBot.d.ts.map +1 -0
- package/waf/getSystemBot.js +51 -0
- package/waf/getSystemBot.js.map +1 -0
- package/waf/getSystemBots.d.ts +23 -0
- package/waf/getSystemBots.d.ts.map +1 -0
- package/waf/getSystemBots.js +47 -0
- package/waf/getSystemBots.js.map +1 -0
- package/waf/index.d.ts +27 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +34 -1
- package/waf/index.js.map +1 -1
- package/waf/ipGroup.d.ts +121 -0
- package/waf/ipGroup.d.ts.map +1 -0
- package/waf/ipGroup.js +112 -0
- package/waf/ipGroup.js.map +1 -0
- package/waf/systemBot.d.ts +172 -0
- package/waf/systemBot.d.ts.map +1 -0
- package/waf/systemBot.js +121 -0
- package/waf/systemBot.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSystemBot.d.ts","sourceRoot":"","sources":["../../waf/getSystemBot.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAK7G;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;CAC9C;AACD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAKrI;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getSystemBotOutput = exports.getSystemBot = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::WAF::SystemBot
|
|
33
|
+
*/
|
|
34
|
+
function getSystemBot(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:waf/getSystemBot:getSystemBot", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getSystemBot = getSystemBot;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::WAF::SystemBot
|
|
43
|
+
*/
|
|
44
|
+
function getSystemBotOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:waf/getSystemBot:getSystemBot", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getSystemBotOutput = getSystemBotOutput;
|
|
51
|
+
//# sourceMappingURL=getSystemBot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSystemBot.js","sourceRoot":"","sources":["../../waf/getSystemBot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAyBD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::WAF::SystemBot
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSystemBots(opts?: pulumi.InvokeOptions): Promise<GetSystemBotsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getSystemBots.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetSystemBotsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Byteplus::WAF::SystemBot
|
|
21
|
+
*/
|
|
22
|
+
export declare function getSystemBotsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSystemBotsResult>;
|
|
23
|
+
//# sourceMappingURL=getSystemBots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSystemBots.d.ts","sourceRoot":"","sources":["../../waf/getSystemBots.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAIvF;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAIzG"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getSystemBotsOutput = exports.getSystemBots = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::WAF::SystemBot
|
|
33
|
+
*/
|
|
34
|
+
function getSystemBots(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:waf/getSystemBots:getSystemBots", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getSystemBots = getSystemBots;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::WAF::SystemBot
|
|
41
|
+
*/
|
|
42
|
+
function getSystemBotsOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:waf/getSystemBots:getSystemBots", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getSystemBotsOutput = getSystemBotsOutput;
|
|
47
|
+
//# sourceMappingURL=getSystemBots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSystemBots.js","sourceRoot":"","sources":["../../waf/getSystemBots.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
|
package/waf/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { CcRuleArgs, CcRuleState } from "./ccRule";
|
|
2
2
|
export type CcRule = import("./ccRule").CcRule;
|
|
3
3
|
export declare const CcRule: typeof import("./ccRule").CcRule;
|
|
4
|
+
export { CustomPageArgs, CustomPageState } from "./customPage";
|
|
5
|
+
export type CustomPage = import("./customPage").CustomPage;
|
|
6
|
+
export declare const CustomPage: typeof import("./customPage").CustomPage;
|
|
4
7
|
export { DomainArgs, DomainState } from "./domain";
|
|
5
8
|
export type Domain = import("./domain").Domain;
|
|
6
9
|
export declare const Domain: typeof import("./domain").Domain;
|
|
@@ -10,6 +13,12 @@ export declare const getCcRuleOutput: typeof import("./getCcRule").getCcRuleOutp
|
|
|
10
13
|
export { GetCcRulesResult } from "./getCcRules";
|
|
11
14
|
export declare const getCcRules: typeof import("./getCcRules").getCcRules;
|
|
12
15
|
export declare const getCcRulesOutput: typeof import("./getCcRules").getCcRulesOutput;
|
|
16
|
+
export { GetCustomPageArgs, GetCustomPageResult, GetCustomPageOutputArgs } from "./getCustomPage";
|
|
17
|
+
export declare const getCustomPage: typeof import("./getCustomPage").getCustomPage;
|
|
18
|
+
export declare const getCustomPageOutput: typeof import("./getCustomPage").getCustomPageOutput;
|
|
19
|
+
export { GetCustomPagesResult } from "./getCustomPages";
|
|
20
|
+
export declare const getCustomPages: typeof import("./getCustomPages").getCustomPages;
|
|
21
|
+
export declare const getCustomPagesOutput: typeof import("./getCustomPages").getCustomPagesOutput;
|
|
13
22
|
export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain";
|
|
14
23
|
export declare const getDomain: typeof import("./getDomain").getDomain;
|
|
15
24
|
export declare const getDomainOutput: typeof import("./getDomain").getDomainOutput;
|
|
@@ -22,7 +31,25 @@ export declare const getHostGroupOutput: typeof import("./getHostGroup").getHost
|
|
|
22
31
|
export { GetHostGroupsResult } from "./getHostGroups";
|
|
23
32
|
export declare const getHostGroups: typeof import("./getHostGroups").getHostGroups;
|
|
24
33
|
export declare const getHostGroupsOutput: typeof import("./getHostGroups").getHostGroupsOutput;
|
|
34
|
+
export { GetIpGroupArgs, GetIpGroupResult, GetIpGroupOutputArgs } from "./getIpGroup";
|
|
35
|
+
export declare const getIpGroup: typeof import("./getIpGroup").getIpGroup;
|
|
36
|
+
export declare const getIpGroupOutput: typeof import("./getIpGroup").getIpGroupOutput;
|
|
37
|
+
export { GetIpGroupsResult } from "./getIpGroups";
|
|
38
|
+
export declare const getIpGroups: typeof import("./getIpGroups").getIpGroups;
|
|
39
|
+
export declare const getIpGroupsOutput: typeof import("./getIpGroups").getIpGroupsOutput;
|
|
40
|
+
export { GetSystemBotArgs, GetSystemBotResult, GetSystemBotOutputArgs } from "./getSystemBot";
|
|
41
|
+
export declare const getSystemBot: typeof import("./getSystemBot").getSystemBot;
|
|
42
|
+
export declare const getSystemBotOutput: typeof import("./getSystemBot").getSystemBotOutput;
|
|
43
|
+
export { GetSystemBotsResult } from "./getSystemBots";
|
|
44
|
+
export declare const getSystemBots: typeof import("./getSystemBots").getSystemBots;
|
|
45
|
+
export declare const getSystemBotsOutput: typeof import("./getSystemBots").getSystemBotsOutput;
|
|
25
46
|
export { HostGroupArgs, HostGroupState } from "./hostGroup";
|
|
26
47
|
export type HostGroup = import("./hostGroup").HostGroup;
|
|
27
48
|
export declare const HostGroup: typeof import("./hostGroup").HostGroup;
|
|
49
|
+
export { IpGroupArgs, IpGroupState } from "./ipGroup";
|
|
50
|
+
export type IpGroup = import("./ipGroup").IpGroup;
|
|
51
|
+
export declare const IpGroup: typeof import("./ipGroup").IpGroup;
|
|
52
|
+
export { SystemBotArgs, SystemBotState } from "./systemBot";
|
|
53
|
+
export type SystemBot = import("./systemBot").SystemBot;
|
|
54
|
+
export declare const SystemBot: typeof import("./systemBot").SystemBot;
|
|
28
55
|
//# sourceMappingURL=index.d.ts.map
|
package/waf/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../waf/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACnD,MAAM,MAAM,MAAM,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC;AAC/C,eAAO,MAAM,MAAM,EAAE,cAAc,UAAU,EAAE,MAAoB,CAAC;AAGpE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACnD,MAAM,MAAM,MAAM,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC;AAC/C,eAAO,MAAM,MAAM,EAAE,cAAc,UAAU,EAAE,MAAoB,CAAC;AAGpE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClF,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC;AAC7E,eAAO,MAAM,eAAe,EAAE,cAAc,aAAa,EAAE,eAA6B,CAAC;AAGzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAChF,eAAO,MAAM,gBAAgB,EAAE,cAAc,cAAc,EAAE,gBAA8B,CAAC;AAG5F,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClF,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE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aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC;AACzF,eAAO,MAAM,mBAAmB,EAAE,cAAc,iBAAiB,EAAE,mBAAiC,CAAC;AAGrG,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,EAAE,SAAS,CAAC;AACxD,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC;AAG7E,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACtD,MAAM,MAAM,OAAO,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AAGvE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,EAAE,SAAS,CAAC;AACxD,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC"}
|
package/waf/index.js
CHANGED
|
@@ -25,11 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.HostGroup = exports.getHostGroupsOutput = exports.getHostGroups = exports.getHostGroupOutput = exports.getHostGroup = exports.getDomainsOutput = exports.getDomains = exports.getDomainOutput = exports.getDomain = exports.getCcRulesOutput = exports.getCcRules = exports.getCcRuleOutput = exports.getCcRule = exports.Domain = exports.CcRule = void 0;
|
|
28
|
+
exports.SystemBot = exports.IpGroup = exports.HostGroup = exports.getSystemBotsOutput = exports.getSystemBots = exports.getSystemBotOutput = exports.getSystemBot = exports.getIpGroupsOutput = exports.getIpGroups = exports.getIpGroupOutput = exports.getIpGroup = exports.getHostGroupsOutput = exports.getHostGroups = exports.getHostGroupOutput = exports.getHostGroup = exports.getDomainsOutput = exports.getDomains = exports.getDomainOutput = exports.getDomain = exports.getCustomPagesOutput = exports.getCustomPages = exports.getCustomPageOutput = exports.getCustomPage = exports.getCcRulesOutput = exports.getCcRules = exports.getCcRuleOutput = exports.getCcRule = exports.Domain = exports.CustomPage = exports.CcRule = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
31
|
exports.CcRule = null;
|
|
32
32
|
utilities.lazyLoad(exports, ["CcRule"], () => require("./ccRule"));
|
|
33
|
+
exports.CustomPage = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["CustomPage"], () => require("./customPage"));
|
|
33
35
|
exports.Domain = null;
|
|
34
36
|
utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
|
|
35
37
|
exports.getCcRule = null;
|
|
@@ -38,6 +40,12 @@ utilities.lazyLoad(exports, ["getCcRule", "getCcRuleOutput"], () => require("./g
|
|
|
38
40
|
exports.getCcRules = null;
|
|
39
41
|
exports.getCcRulesOutput = null;
|
|
40
42
|
utilities.lazyLoad(exports, ["getCcRules", "getCcRulesOutput"], () => require("./getCcRules"));
|
|
43
|
+
exports.getCustomPage = null;
|
|
44
|
+
exports.getCustomPageOutput = null;
|
|
45
|
+
utilities.lazyLoad(exports, ["getCustomPage", "getCustomPageOutput"], () => require("./getCustomPage"));
|
|
46
|
+
exports.getCustomPages = null;
|
|
47
|
+
exports.getCustomPagesOutput = null;
|
|
48
|
+
utilities.lazyLoad(exports, ["getCustomPages", "getCustomPagesOutput"], () => require("./getCustomPages"));
|
|
41
49
|
exports.getDomain = null;
|
|
42
50
|
exports.getDomainOutput = null;
|
|
43
51
|
utilities.lazyLoad(exports, ["getDomain", "getDomainOutput"], () => require("./getDomain"));
|
|
@@ -50,24 +58,49 @@ utilities.lazyLoad(exports, ["getHostGroup", "getHostGroupOutput"], () => requir
|
|
|
50
58
|
exports.getHostGroups = null;
|
|
51
59
|
exports.getHostGroupsOutput = null;
|
|
52
60
|
utilities.lazyLoad(exports, ["getHostGroups", "getHostGroupsOutput"], () => require("./getHostGroups"));
|
|
61
|
+
exports.getIpGroup = null;
|
|
62
|
+
exports.getIpGroupOutput = null;
|
|
63
|
+
utilities.lazyLoad(exports, ["getIpGroup", "getIpGroupOutput"], () => require("./getIpGroup"));
|
|
64
|
+
exports.getIpGroups = null;
|
|
65
|
+
exports.getIpGroupsOutput = null;
|
|
66
|
+
utilities.lazyLoad(exports, ["getIpGroups", "getIpGroupsOutput"], () => require("./getIpGroups"));
|
|
67
|
+
exports.getSystemBot = null;
|
|
68
|
+
exports.getSystemBotOutput = null;
|
|
69
|
+
utilities.lazyLoad(exports, ["getSystemBot", "getSystemBotOutput"], () => require("./getSystemBot"));
|
|
70
|
+
exports.getSystemBots = null;
|
|
71
|
+
exports.getSystemBotsOutput = null;
|
|
72
|
+
utilities.lazyLoad(exports, ["getSystemBots", "getSystemBotsOutput"], () => require("./getSystemBots"));
|
|
53
73
|
exports.HostGroup = null;
|
|
54
74
|
utilities.lazyLoad(exports, ["HostGroup"], () => require("./hostGroup"));
|
|
75
|
+
exports.IpGroup = null;
|
|
76
|
+
utilities.lazyLoad(exports, ["IpGroup"], () => require("./ipGroup"));
|
|
77
|
+
exports.SystemBot = null;
|
|
78
|
+
utilities.lazyLoad(exports, ["SystemBot"], () => require("./systemBot"));
|
|
55
79
|
const _module = {
|
|
56
80
|
version: utilities.getVersion(),
|
|
57
81
|
construct: (name, type, urn) => {
|
|
58
82
|
switch (type) {
|
|
59
83
|
case "bytepluscc:waf/ccRule:CcRule":
|
|
60
84
|
return new exports.CcRule(name, undefined, { urn });
|
|
85
|
+
case "bytepluscc:waf/customPage:CustomPage":
|
|
86
|
+
return new exports.CustomPage(name, undefined, { urn });
|
|
61
87
|
case "bytepluscc:waf/domain:Domain":
|
|
62
88
|
return new exports.Domain(name, undefined, { urn });
|
|
63
89
|
case "bytepluscc:waf/hostGroup:HostGroup":
|
|
64
90
|
return new exports.HostGroup(name, undefined, { urn });
|
|
91
|
+
case "bytepluscc:waf/ipGroup:IpGroup":
|
|
92
|
+
return new exports.IpGroup(name, undefined, { urn });
|
|
93
|
+
case "bytepluscc:waf/systemBot:SystemBot":
|
|
94
|
+
return new exports.SystemBot(name, undefined, { urn });
|
|
65
95
|
default:
|
|
66
96
|
throw new Error(`unknown resource type ${type}`);
|
|
67
97
|
}
|
|
68
98
|
},
|
|
69
99
|
};
|
|
70
100
|
pulumi.runtime.registerResourceModule("bytepluscc", "waf/ccRule", _module);
|
|
101
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "waf/customPage", _module);
|
|
71
102
|
pulumi.runtime.registerResourceModule("bytepluscc", "waf/domain", _module);
|
|
72
103
|
pulumi.runtime.registerResourceModule("bytepluscc", "waf/hostGroup", _module);
|
|
104
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "waf/ipGroup", _module);
|
|
105
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "waf/systemBot", _module);
|
|
73
106
|
//# sourceMappingURL=index.js.map
|
package/waf/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../waf/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGtD,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAA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.ts
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* WAF IP Address Group
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new bytepluscc.waf.IpGroup("example", {
|
|
14
|
+
* name: "ccapi-ipgroup-full",
|
|
15
|
+
* ipLists: [
|
|
16
|
+
* "2.2.2.2",
|
|
17
|
+
* "10.0.0.0/8",
|
|
18
|
+
* ],
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import bytepluscc:waf/ipGroup:IpGroup example "ip_group_id"
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class IpGroup extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing IpGroup resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IpGroupState, opts?: pulumi.CustomResourceOptions): IpGroup;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of IpGroup. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is IpGroup;
|
|
44
|
+
/**
|
|
45
|
+
* Number of IPs in the IP Address Group
|
|
46
|
+
*/
|
|
47
|
+
readonly ipCount: pulumi.Output<number>;
|
|
48
|
+
/**
|
|
49
|
+
* IP Address Group ID
|
|
50
|
+
*/
|
|
51
|
+
readonly ipGroupId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* IP Address or Address Range List
|
|
54
|
+
*/
|
|
55
|
+
readonly ipLists: pulumi.Output<string[]>;
|
|
56
|
+
/**
|
|
57
|
+
* IP Address Group Name
|
|
58
|
+
*/
|
|
59
|
+
readonly name: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Associated Rule
|
|
62
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
63
|
+
*/
|
|
64
|
+
readonly relatedRules: pulumi.Output<outputs.waf.IpGroupRelatedRule[]>;
|
|
65
|
+
/**
|
|
66
|
+
* Last Updated
|
|
67
|
+
*/
|
|
68
|
+
readonly updateTime: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a IpGroup resource with the given unique name, arguments, and options.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resource.
|
|
73
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
74
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
75
|
+
*/
|
|
76
|
+
constructor(name: string, args: IpGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Input properties used for looking up and filtering IpGroup resources.
|
|
80
|
+
*/
|
|
81
|
+
export interface IpGroupState {
|
|
82
|
+
/**
|
|
83
|
+
* Number of IPs in the IP Address Group
|
|
84
|
+
*/
|
|
85
|
+
ipCount?: pulumi.Input<number | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* IP Address Group ID
|
|
88
|
+
*/
|
|
89
|
+
ipGroupId?: pulumi.Input<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* IP Address or Address Range List
|
|
92
|
+
*/
|
|
93
|
+
ipLists?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* IP Address Group Name
|
|
96
|
+
*/
|
|
97
|
+
name?: pulumi.Input<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Associated Rule
|
|
100
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
101
|
+
*/
|
|
102
|
+
relatedRules?: pulumi.Input<pulumi.Input<inputs.waf.IpGroupRelatedRule>[] | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Last Updated
|
|
105
|
+
*/
|
|
106
|
+
updateTime?: pulumi.Input<string | undefined>;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The set of arguments for constructing a IpGroup resource.
|
|
110
|
+
*/
|
|
111
|
+
export interface IpGroupArgs {
|
|
112
|
+
/**
|
|
113
|
+
* IP Address or Address Range List
|
|
114
|
+
*/
|
|
115
|
+
ipLists: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
|
+
/**
|
|
117
|
+
* IP Address Group Name
|
|
118
|
+
*/
|
|
119
|
+
name: pulumi.Input<string>;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=ipGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipGroup.d.ts","sourceRoot":"","sources":["../../waf/ipGroup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;G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,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACvF;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/waf/ipGroup.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.IpGroup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* WAF IP Address Group
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new bytepluscc.waf.IpGroup("example", {
|
|
41
|
+
* name: "ccapi-ipgroup-full",
|
|
42
|
+
* ipLists: [
|
|
43
|
+
* "2.2.2.2",
|
|
44
|
+
* "10.0.0.0/8",
|
|
45
|
+
* ],
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* ```sh
|
|
52
|
+
* $ pulumi import bytepluscc:waf/ipGroup:IpGroup example "ip_group_id"
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
class IpGroup extends pulumi.CustomResource {
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing IpGroup resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name, id, state, opts) {
|
|
66
|
+
return new IpGroup(name, state, { ...opts, id: id });
|
|
67
|
+
}
|
|
68
|
+
/** @internal */
|
|
69
|
+
static __pulumiType = 'bytepluscc:waf/ipGroup:IpGroup';
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of IpGroup. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj) {
|
|
75
|
+
if (obj === undefined || obj === null) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
return obj['__pulumiType'] === IpGroup.__pulumiType;
|
|
79
|
+
}
|
|
80
|
+
constructor(name, argsOrState, opts) {
|
|
81
|
+
let resourceInputs = {};
|
|
82
|
+
opts = opts || {};
|
|
83
|
+
if (opts.id) {
|
|
84
|
+
const state = argsOrState;
|
|
85
|
+
resourceInputs["ipCount"] = state?.ipCount;
|
|
86
|
+
resourceInputs["ipGroupId"] = state?.ipGroupId;
|
|
87
|
+
resourceInputs["ipLists"] = state?.ipLists;
|
|
88
|
+
resourceInputs["name"] = state?.name;
|
|
89
|
+
resourceInputs["relatedRules"] = state?.relatedRules;
|
|
90
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const args = argsOrState;
|
|
94
|
+
if (args?.ipLists === undefined && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'ipLists'");
|
|
96
|
+
}
|
|
97
|
+
if (args?.name === undefined && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'name'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["ipLists"] = args?.ipLists;
|
|
101
|
+
resourceInputs["name"] = args?.name;
|
|
102
|
+
resourceInputs["ipCount"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["ipGroupId"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["relatedRules"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
106
|
+
}
|
|
107
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
108
|
+
super(IpGroup.__pulumiType, name, resourceInputs, opts);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.IpGroup = IpGroup;
|
|
112
|
+
//# sourceMappingURL=ipGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipGroup.js","sourceRoot":"","sources":["../../waf/ipGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gCAAgC,CAAC;IAEvE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAoCD,YAAY,IAAY,EAAE,WAAwC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