@alicloud/waf-openapi20211001 5.0.1 → 5.1.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 (45) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +168 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateHybridCloudClusterRuleRequest.d.ts +60 -0
  5. package/dist/models/CreateHybridCloudClusterRuleRequest.js +70 -0
  6. package/dist/models/CreateHybridCloudClusterRuleRequest.js.map +1 -0
  7. package/dist/models/CreateHybridCloudClusterRuleResponse.d.ts +19 -0
  8. package/dist/models/CreateHybridCloudClusterRuleResponse.js +69 -0
  9. package/dist/models/CreateHybridCloudClusterRuleResponse.js.map +1 -0
  10. package/dist/models/CreateHybridCloudClusterRuleResponseBody.d.ts +23 -0
  11. package/dist/models/CreateHybridCloudClusterRuleResponseBody.js +60 -0
  12. package/dist/models/CreateHybridCloudClusterRuleResponseBody.js.map +1 -0
  13. package/dist/models/DeleteHybridCloudClusterRuleRequest.d.ts +39 -0
  14. package/dist/models/DeleteHybridCloudClusterRuleRequest.js +64 -0
  15. package/dist/models/DeleteHybridCloudClusterRuleRequest.js.map +1 -0
  16. package/dist/models/DeleteHybridCloudClusterRuleResponse.d.ts +19 -0
  17. package/dist/models/DeleteHybridCloudClusterRuleResponse.js +69 -0
  18. package/dist/models/DeleteHybridCloudClusterRuleResponse.js.map +1 -0
  19. package/dist/models/DeleteHybridCloudClusterRuleResponseBody.d.ts +18 -0
  20. package/dist/models/DeleteHybridCloudClusterRuleResponseBody.js +58 -0
  21. package/dist/models/DeleteHybridCloudClusterRuleResponseBody.js.map +1 -0
  22. package/dist/models/DescribeHybridCloudClusterRulesRequest.d.ts +67 -0
  23. package/dist/models/DescribeHybridCloudClusterRulesRequest.js +74 -0
  24. package/dist/models/DescribeHybridCloudClusterRulesRequest.js.map +1 -0
  25. package/dist/models/DescribeHybridCloudClusterRulesResponse.d.ts +19 -0
  26. package/dist/models/DescribeHybridCloudClusterRulesResponse.js +69 -0
  27. package/dist/models/DescribeHybridCloudClusterRulesResponse.js.map +1 -0
  28. package/dist/models/DescribeHybridCloudClusterRulesResponseBody.d.ts +66 -0
  29. package/dist/models/DescribeHybridCloudClusterRulesResponseBody.js +94 -0
  30. package/dist/models/DescribeHybridCloudClusterRulesResponseBody.js.map +1 -0
  31. package/dist/models/model.d.ts +10 -0
  32. package/dist/models/model.js +34 -14
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +194 -0
  36. package/src/models/CreateHybridCloudClusterRuleRequest.ts +85 -0
  37. package/src/models/CreateHybridCloudClusterRuleResponse.ts +40 -0
  38. package/src/models/CreateHybridCloudClusterRuleResponseBody.ts +38 -0
  39. package/src/models/DeleteHybridCloudClusterRuleRequest.ts +58 -0
  40. package/src/models/DeleteHybridCloudClusterRuleResponse.ts +40 -0
  41. package/src/models/DeleteHybridCloudClusterRuleResponseBody.ts +31 -0
  42. package/src/models/DescribeHybridCloudClusterRulesRequest.ts +96 -0
  43. package/src/models/DescribeHybridCloudClusterRulesResponse.ts +40 -0
  44. package/src/models/DescribeHybridCloudClusterRulesResponseBody.ts +106 -0
  45. package/src/models/model.ts +10 -0
@@ -0,0 +1,60 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateHybridCloudClusterRuleRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 428
9
+ */
10
+ clusterId?: number;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf_elasticity-cn-0xldbqt****
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * cn-hangzhou
22
+ */
23
+ regionId?: string;
24
+ /**
25
+ * @example
26
+ * rg-acfm***q
27
+ */
28
+ resourceManagerResourceGroupId?: string;
29
+ /**
30
+ * @example
31
+ * {\\"check_mode\\": \\"all\\", \\"type\\": \\"exact\\", \\"substance\\": \\"122\\"}
32
+ */
33
+ ruleConfig?: string;
34
+ /**
35
+ * @remarks
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * on
40
+ */
41
+ ruleStatus?: string;
42
+ /**
43
+ * @remarks
44
+ * This parameter is required.
45
+ *
46
+ * @example
47
+ * pullin
48
+ */
49
+ ruleType?: string;
50
+ static names(): {
51
+ [key: string]: string;
52
+ };
53
+ static types(): {
54
+ [key: string]: any;
55
+ };
56
+ validate(): void;
57
+ constructor(map?: {
58
+ [key: string]: any;
59
+ });
60
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateHybridCloudClusterRuleRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateHybridCloudClusterRuleRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clusterId: 'ClusterId',
43
+ instanceId: 'InstanceId',
44
+ regionId: 'RegionId',
45
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
46
+ ruleConfig: 'RuleConfig',
47
+ ruleStatus: 'RuleStatus',
48
+ ruleType: 'RuleType',
49
+ };
50
+ }
51
+ static types() {
52
+ return {
53
+ clusterId: 'number',
54
+ instanceId: 'string',
55
+ regionId: 'string',
56
+ resourceManagerResourceGroupId: 'string',
57
+ ruleConfig: 'string',
58
+ ruleStatus: 'string',
59
+ ruleType: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.CreateHybridCloudClusterRuleRequest = CreateHybridCloudClusterRuleRequest;
70
+ //# sourceMappingURL=CreateHybridCloudClusterRuleRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateHybridCloudClusterRuleRequest.js","sourceRoot":"","sources":["../../src/models/CreateHybridCloudClusterRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAgDlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;YAChE,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;YACxC,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/ED,kFA+EC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateHybridCloudClusterRuleResponseBody } from "./CreateHybridCloudClusterRuleResponseBody";
3
+ export declare class CreateHybridCloudClusterRuleResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateHybridCloudClusterRuleResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateHybridCloudClusterRuleResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateHybridCloudClusterRuleResponseBody_1 = require("./CreateHybridCloudClusterRuleResponseBody");
40
+ class CreateHybridCloudClusterRuleResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: CreateHybridCloudClusterRuleResponseBody_1.CreateHybridCloudClusterRuleResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.CreateHybridCloudClusterRuleResponse = CreateHybridCloudClusterRuleResponse;
69
+ //# sourceMappingURL=CreateHybridCloudClusterRuleResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateHybridCloudClusterRuleResponse.js","sourceRoot":"","sources":["../../src/models/CreateHybridCloudClusterRuleResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yGAAsG;AAGtG,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAInE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,mFAAwC;SAC/C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oFAiCC"}
@@ -0,0 +1,23 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateHybridCloudClusterRuleResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * hdbc-clusterrule-*******m0w
6
+ */
7
+ clusterRuleResourceId?: string;
8
+ /**
9
+ * @example
10
+ * 66A98669-CC6E-4F3E-*****-3014697B11AE
11
+ */
12
+ requestId?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateHybridCloudClusterRuleResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateHybridCloudClusterRuleResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clusterRuleResourceId: 'ClusterRuleResourceId',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ clusterRuleResourceId: 'string',
49
+ requestId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.CreateHybridCloudClusterRuleResponseBody = CreateHybridCloudClusterRuleResponseBody;
60
+ //# sourceMappingURL=CreateHybridCloudClusterRuleResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateHybridCloudClusterRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateHybridCloudClusterRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAWvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,QAAQ;YAC/B,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhCD,4FAgCC"}
@@ -0,0 +1,39 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteHybridCloudClusterRuleRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * hdbc-clusterrule-*******m0w
9
+ */
10
+ clusterRuleResourceId?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf_elasticity-cn-0xldbqt****
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * cn-hangzhou
22
+ */
23
+ regionId?: string;
24
+ /**
25
+ * @example
26
+ * rg-acfm***q
27
+ */
28
+ resourceManagerResourceGroupId?: string;
29
+ static names(): {
30
+ [key: string]: string;
31
+ };
32
+ static types(): {
33
+ [key: string]: any;
34
+ };
35
+ validate(): void;
36
+ constructor(map?: {
37
+ [key: string]: any;
38
+ });
39
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteHybridCloudClusterRuleRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteHybridCloudClusterRuleRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ clusterRuleResourceId: 'ClusterRuleResourceId',
43
+ instanceId: 'InstanceId',
44
+ regionId: 'RegionId',
45
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ clusterRuleResourceId: 'string',
51
+ instanceId: 'string',
52
+ regionId: 'string',
53
+ resourceManagerResourceGroupId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.DeleteHybridCloudClusterRuleRequest = DeleteHybridCloudClusterRuleRequest;
64
+ //# sourceMappingURL=DeleteHybridCloudClusterRuleRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteHybridCloudClusterRuleRequest.js","sourceRoot":"","sources":["../../src/models/DeleteHybridCloudClusterRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IA2BlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,QAAQ;YAC/B,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,kFAoDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteHybridCloudClusterRuleResponseBody } from "./DeleteHybridCloudClusterRuleResponseBody";
3
+ export declare class DeleteHybridCloudClusterRuleResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteHybridCloudClusterRuleResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteHybridCloudClusterRuleResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteHybridCloudClusterRuleResponseBody_1 = require("./DeleteHybridCloudClusterRuleResponseBody");
40
+ class DeleteHybridCloudClusterRuleResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DeleteHybridCloudClusterRuleResponseBody_1.DeleteHybridCloudClusterRuleResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DeleteHybridCloudClusterRuleResponse = DeleteHybridCloudClusterRuleResponse;
69
+ //# sourceMappingURL=DeleteHybridCloudClusterRuleResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteHybridCloudClusterRuleResponse.js","sourceRoot":"","sources":["../../src/models/DeleteHybridCloudClusterRuleResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yGAAsG;AAGtG,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAInE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,mFAAwC;SAC/C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,oFAiCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteHybridCloudClusterRuleResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * D7861F61-5B61-46CE-A47C-6B19****5EB0
6
+ */
7
+ requestId?: string;
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteHybridCloudClusterRuleResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteHybridCloudClusterRuleResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.DeleteHybridCloudClusterRuleResponseBody = DeleteHybridCloudClusterRuleResponseBody;
58
+ //# sourceMappingURL=DeleteHybridCloudClusterRuleResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteHybridCloudClusterRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteHybridCloudClusterRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAMvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzBD,4FAyBC"}
@@ -0,0 +1,67 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeHybridCloudClusterRulesRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 428
9
+ */
10
+ clusterId?: number;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf_v3prepaid_public_cn-****
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * 1
22
+ */
23
+ pageNumber?: number;
24
+ /**
25
+ * @example
26
+ * 10
27
+ */
28
+ pageSize?: number;
29
+ /**
30
+ * @example
31
+ * cn-hangzhou
32
+ */
33
+ regionId?: string;
34
+ /**
35
+ * @example
36
+ * rg-acfm***q
37
+ */
38
+ resourceManagerResourceGroupId?: string;
39
+ /**
40
+ * @example
41
+ * 1.1.1.1
42
+ */
43
+ ruleContent?: string;
44
+ /**
45
+ * @example
46
+ * exact
47
+ */
48
+ ruleMatchType?: string;
49
+ /**
50
+ * @remarks
51
+ * This parameter is required.
52
+ *
53
+ * @example
54
+ * pullin
55
+ */
56
+ ruleType?: string;
57
+ static names(): {
58
+ [key: string]: string;
59
+ };
60
+ static types(): {
61
+ [key: string]: any;
62
+ };
63
+ validate(): void;
64
+ constructor(map?: {
65
+ [key: string]: any;
66
+ });
67
+ }