@volcengine/pulumi-volcenginecc 0.0.8 → 0.0.9
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/autoscaling/getScalingPolicies.d.ts +22 -0
- package/autoscaling/getScalingPolicies.js +24 -0
- package/autoscaling/getScalingPolicies.js.map +1 -0
- package/autoscaling/getScalingPolicy.d.ts +81 -0
- package/autoscaling/getScalingPolicy.js +28 -0
- package/autoscaling/getScalingPolicy.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.js +12 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/scalingPolicy.d.ts +171 -0
- package/autoscaling/scalingPolicy.js +87 -0
- package/autoscaling/scalingPolicy.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/rabbitmq/getInstance.d.ts +133 -0
- package/rabbitmq/getInstance.js +28 -0
- package/rabbitmq/getInstance.js.map +1 -0
- package/rabbitmq/getInstances.d.ts +22 -0
- package/rabbitmq/getInstances.js +24 -0
- package/rabbitmq/getInstances.js.map +1 -0
- package/rabbitmq/index.d.ts +9 -0
- package/rabbitmq/index.js +28 -0
- package/rabbitmq/index.js.map +1 -0
- package/rabbitmq/instance.d.ts +280 -0
- package/rabbitmq/instance.js +128 -0
- package/rabbitmq/instance.js.map +1 -0
- package/types/input.d.ts +346 -0
- package/types/output.d.ts +706 -0
- package/vke/cluster.d.ts +250 -0
- package/vke/cluster.js +99 -0
- package/vke/cluster.js.map +1 -0
- package/vke/getCluster.d.ts +117 -0
- package/vke/getCluster.js +28 -0
- package/vke/getCluster.js.map +1 -0
- package/vke/getClusters.d.ts +22 -0
- package/vke/getClusters.js +24 -0
- package/vke/getClusters.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::AutoScaling::ScalingPolicy
|
|
4
|
+
*/
|
|
5
|
+
export declare function getScalingPolicies(opts?: pulumi.InvokeOptions): Promise<GetScalingPoliciesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getScalingPolicies.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetScalingPoliciesResult {
|
|
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 Volcengine::AutoScaling::ScalingPolicy
|
|
21
|
+
*/
|
|
22
|
+
export declare function getScalingPoliciesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScalingPoliciesResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getScalingPoliciesOutput = exports.getScalingPolicies = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::AutoScaling::ScalingPolicy
|
|
10
|
+
*/
|
|
11
|
+
function getScalingPolicies(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:autoscaling/getScalingPolicies:getScalingPolicies", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getScalingPolicies = getScalingPolicies;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::AutoScaling::ScalingPolicy
|
|
18
|
+
*/
|
|
19
|
+
function getScalingPoliciesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:autoscaling/getScalingPolicies:getScalingPolicies", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getScalingPoliciesOutput = getScalingPoliciesOutput;
|
|
24
|
+
//# sourceMappingURL=getScalingPolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScalingPolicies.js","sourceRoot":"","sources":["../../autoscaling/getScalingPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA2B;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE,EAC9F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC;AAeD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAiC;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE,EACpG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4DAIC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::AutoScaling::ScalingPolicy
|
|
5
|
+
*/
|
|
6
|
+
export declare function getScalingPolicy(args: GetScalingPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetScalingPolicyResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getScalingPolicy.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetScalingPolicyArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getScalingPolicy.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetScalingPolicyResult {
|
|
20
|
+
/**
|
|
21
|
+
* 伸缩规则的伸缩行为,适用于简单规则和步进规则,QuantityChangeInCapacity:增加或减少指定数量的实例。PercentChangeInCapacity:增加或减少指定比例的实例。TotalCapacity: 将当前伸缩组的实例数量调整到指定数量。
|
|
22
|
+
*/
|
|
23
|
+
readonly adjustmentType: string;
|
|
24
|
+
/**
|
|
25
|
+
* 伸缩行为的调整数值,适用于简单规则和步进规则,当AdjustmentType参数取值为QuantityChangeInCapacity时:-100 - 100,不允许为0,单位:个。当AdjustmentType参数取值为PercentChangeInCapacity时:-100 - 10000,不允许为0,单位:%。当AdjustmentType参数取值为TotalCapacity时:默认为0 - 100,单位:个。
|
|
26
|
+
*/
|
|
27
|
+
readonly adjustmentValue: number;
|
|
28
|
+
/**
|
|
29
|
+
* 报警任务的详细信息。
|
|
30
|
+
*/
|
|
31
|
+
readonly alarmPolicy: outputs.autoscaling.GetScalingPolicyAlarmPolicy;
|
|
32
|
+
/**
|
|
33
|
+
* 伸缩规则的冷却时间。 取值:0-86400,单位:秒,不填则默认使用伸缩组的冷却时间。
|
|
34
|
+
*/
|
|
35
|
+
readonly cooldown: number;
|
|
36
|
+
/**
|
|
37
|
+
* Uniquely identifies the resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* 伸缩规则的状态。取值:true:启用。false:停用。需保证伸缩组的状态为Active。
|
|
42
|
+
*/
|
|
43
|
+
readonly isEnabledPolicy: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* 伸缩组ID。
|
|
46
|
+
*/
|
|
47
|
+
readonly scalingGroupId: string;
|
|
48
|
+
/**
|
|
49
|
+
* 伸缩规则ID。
|
|
50
|
+
*/
|
|
51
|
+
readonly scalingPolicyId: string;
|
|
52
|
+
/**
|
|
53
|
+
* 伸缩规则名称。
|
|
54
|
+
*/
|
|
55
|
+
readonly scalingPolicyName: string;
|
|
56
|
+
/**
|
|
57
|
+
* 伸缩规则的类型,取值:Scheduled:定时任务。Recurrence:周期任务。Alarm:报警任务。
|
|
58
|
+
*/
|
|
59
|
+
readonly scalingPolicyType: string;
|
|
60
|
+
/**
|
|
61
|
+
* 定时任务/周期任务的详细信息。
|
|
62
|
+
*/
|
|
63
|
+
readonly scheduledPolicy: outputs.autoscaling.GetScalingPolicyScheduledPolicy;
|
|
64
|
+
/**
|
|
65
|
+
* 伸缩规则的状态。取值:Active:已启用。InActive:已停用。需保证伸缩组的状态为Active。
|
|
66
|
+
*/
|
|
67
|
+
readonly status: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Data Source schema for Volcengine::AutoScaling::ScalingPolicy
|
|
71
|
+
*/
|
|
72
|
+
export declare function getScalingPolicyOutput(args: GetScalingPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScalingPolicyResult>;
|
|
73
|
+
/**
|
|
74
|
+
* A collection of arguments for invoking getScalingPolicy.
|
|
75
|
+
*/
|
|
76
|
+
export interface GetScalingPolicyOutputArgs {
|
|
77
|
+
/**
|
|
78
|
+
* Uniquely identifies the resource.
|
|
79
|
+
*/
|
|
80
|
+
id: pulumi.Input<string>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getScalingPolicyOutput = exports.getScalingPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::AutoScaling::ScalingPolicy
|
|
10
|
+
*/
|
|
11
|
+
function getScalingPolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:autoscaling/getScalingPolicy:getScalingPolicy", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getScalingPolicy = getScalingPolicy;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::AutoScaling::ScalingPolicy
|
|
20
|
+
*/
|
|
21
|
+
function getScalingPolicyOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:autoscaling/getScalingPolicy:getScalingPolicy", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getScalingPolicyOutput = getScalingPolicyOutput;
|
|
28
|
+
//# sourceMappingURL=getScalingPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScalingPolicy.js","sourceRoot":"","sources":["../../autoscaling/getScalingPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC;AAiED;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}
|
package/autoscaling/index.d.ts
CHANGED
|
@@ -10,9 +10,18 @@ export declare const getScalingGroupOutput: typeof import("./getScalingGroup").g
|
|
|
10
10
|
export { GetScalingGroupsResult } from "./getScalingGroups";
|
|
11
11
|
export declare const getScalingGroups: typeof import("./getScalingGroups").getScalingGroups;
|
|
12
12
|
export declare const getScalingGroupsOutput: typeof import("./getScalingGroups").getScalingGroupsOutput;
|
|
13
|
+
export { GetScalingPoliciesResult } from "./getScalingPolicies";
|
|
14
|
+
export declare const getScalingPolicies: typeof import("./getScalingPolicies").getScalingPolicies;
|
|
15
|
+
export declare const getScalingPoliciesOutput: typeof import("./getScalingPolicies").getScalingPoliciesOutput;
|
|
16
|
+
export { GetScalingPolicyArgs, GetScalingPolicyResult, GetScalingPolicyOutputArgs } from "./getScalingPolicy";
|
|
17
|
+
export declare const getScalingPolicy: typeof import("./getScalingPolicy").getScalingPolicy;
|
|
18
|
+
export declare const getScalingPolicyOutput: typeof import("./getScalingPolicy").getScalingPolicyOutput;
|
|
13
19
|
export { ScalingConfigurationArgs, ScalingConfigurationState } from "./scalingConfiguration";
|
|
14
20
|
export type ScalingConfiguration = import("./scalingConfiguration").ScalingConfiguration;
|
|
15
21
|
export declare const ScalingConfiguration: typeof import("./scalingConfiguration").ScalingConfiguration;
|
|
16
22
|
export { ScalingGroupArgs, ScalingGroupState } from "./scalingGroup";
|
|
17
23
|
export type ScalingGroup = import("./scalingGroup").ScalingGroup;
|
|
18
24
|
export declare const ScalingGroup: typeof import("./scalingGroup").ScalingGroup;
|
|
25
|
+
export { ScalingPolicyArgs, ScalingPolicyState } from "./scalingPolicy";
|
|
26
|
+
export type ScalingPolicy = import("./scalingPolicy").ScalingPolicy;
|
|
27
|
+
export declare const ScalingPolicy: typeof import("./scalingPolicy").ScalingPolicy;
|
package/autoscaling/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ScalingGroup = exports.ScalingConfiguration = exports.getScalingGroupsOutput = exports.getScalingGroups = exports.getScalingGroupOutput = exports.getScalingGroup = exports.getScalingConfigurationsOutput = exports.getScalingConfigurations = exports.getScalingConfigurationOutput = exports.getScalingConfiguration = void 0;
|
|
5
|
+
exports.ScalingPolicy = exports.ScalingGroup = exports.ScalingConfiguration = exports.getScalingPolicyOutput = exports.getScalingPolicy = exports.getScalingPoliciesOutput = exports.getScalingPolicies = exports.getScalingGroupsOutput = exports.getScalingGroups = exports.getScalingGroupOutput = exports.getScalingGroup = exports.getScalingConfigurationsOutput = exports.getScalingConfigurations = exports.getScalingConfigurationOutput = exports.getScalingConfiguration = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getScalingConfiguration = null;
|
|
@@ -17,10 +17,18 @@ utilities.lazyLoad(exports, ["getScalingGroup", "getScalingGroupOutput"], () =>
|
|
|
17
17
|
exports.getScalingGroups = null;
|
|
18
18
|
exports.getScalingGroupsOutput = null;
|
|
19
19
|
utilities.lazyLoad(exports, ["getScalingGroups", "getScalingGroupsOutput"], () => require("./getScalingGroups"));
|
|
20
|
+
exports.getScalingPolicies = null;
|
|
21
|
+
exports.getScalingPoliciesOutput = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["getScalingPolicies", "getScalingPoliciesOutput"], () => require("./getScalingPolicies"));
|
|
23
|
+
exports.getScalingPolicy = null;
|
|
24
|
+
exports.getScalingPolicyOutput = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["getScalingPolicy", "getScalingPolicyOutput"], () => require("./getScalingPolicy"));
|
|
20
26
|
exports.ScalingConfiguration = null;
|
|
21
27
|
utilities.lazyLoad(exports, ["ScalingConfiguration"], () => require("./scalingConfiguration"));
|
|
22
28
|
exports.ScalingGroup = null;
|
|
23
29
|
utilities.lazyLoad(exports, ["ScalingGroup"], () => require("./scalingGroup"));
|
|
30
|
+
exports.ScalingPolicy = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["ScalingPolicy"], () => require("./scalingPolicy"));
|
|
24
32
|
const _module = {
|
|
25
33
|
version: utilities.getVersion(),
|
|
26
34
|
construct: (name, type, urn) => {
|
|
@@ -29,6 +37,8 @@ const _module = {
|
|
|
29
37
|
return new exports.ScalingConfiguration(name, undefined, { urn });
|
|
30
38
|
case "volcenginecc:autoscaling/scalingGroup:ScalingGroup":
|
|
31
39
|
return new exports.ScalingGroup(name, undefined, { urn });
|
|
40
|
+
case "volcenginecc:autoscaling/scalingPolicy:ScalingPolicy":
|
|
41
|
+
return new exports.ScalingPolicy(name, undefined, { urn });
|
|
32
42
|
default:
|
|
33
43
|
throw new Error(`unknown resource type ${type}`);
|
|
34
44
|
}
|
|
@@ -36,4 +46,5 @@ const _module = {
|
|
|
36
46
|
};
|
|
37
47
|
pulumi.runtime.registerResourceModule("volcenginecc", "autoscaling/scalingConfiguration", _module);
|
|
38
48
|
pulumi.runtime.registerResourceModule("volcenginecc", "autoscaling/scalingGroup", _module);
|
|
49
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "autoscaling/scalingPolicy", _module);
|
|
39
50
|
//# sourceMappingURL=index.js.map
|
package/autoscaling/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../autoscaling/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AAC1G,QAAA,6BAA6B,GAA6E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,EAAC,+BAA+B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAGxH,QAAA,wBAAwB,GAAyE,IAAW,CAAC;AAC7G,QAAA,8BAA8B,GAA+E,IAAW,CAAC;AACtI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,0BAA0B,EAAC,gCAAgC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC;AAG3H,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAInG,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,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CAAC,CAAA;YAClE,KAAK,oDAAoD;gBACrD,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,sDAAsD;gBACvD,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AAClG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AAC1F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 伸缩规则用于定义触发扩缩容行为的条件和方式,包括规则类型、触发时间、伸缩行为、冷却时间等。在同一个伸缩组中,您可以启用多条伸缩规则,满足任意类型时均会执行伸缩动作。但当同一时间满足多个类型时,将优先执行手动触发的伸缩行为。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:autoscaling/scalingPolicy:ScalingPolicy example "scaling_group_id|scaling_policy_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class ScalingPolicy extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing ScalingPolicy resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScalingPolicyState, opts?: pulumi.CustomResourceOptions): ScalingPolicy;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of ScalingPolicy. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is ScalingPolicy;
|
|
29
|
+
/**
|
|
30
|
+
* 伸缩规则的伸缩行为,适用于简单规则和步进规则,QuantityChangeInCapacity:增加或减少指定数量的实例。PercentChangeInCapacity:增加或减少指定比例的实例。TotalCapacity: 将当前伸缩组的实例数量调整到指定数量。
|
|
31
|
+
*/
|
|
32
|
+
readonly adjustmentType: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* 伸缩行为的调整数值,适用于简单规则和步进规则,当AdjustmentType参数取值为QuantityChangeInCapacity时:-100 - 100,不允许为0,单位:个。当AdjustmentType参数取值为PercentChangeInCapacity时:-100 - 10000,不允许为0,单位:%。当AdjustmentType参数取值为TotalCapacity时:默认为0 - 100,单位:个。
|
|
35
|
+
*/
|
|
36
|
+
readonly adjustmentValue: pulumi.Output<number>;
|
|
37
|
+
/**
|
|
38
|
+
* 报警任务的详细信息。
|
|
39
|
+
*/
|
|
40
|
+
readonly alarmPolicy: pulumi.Output<outputs.autoscaling.ScalingPolicyAlarmPolicy>;
|
|
41
|
+
/**
|
|
42
|
+
* 伸缩规则的冷却时间。 取值:0-86400,单位:秒,不填则默认使用伸缩组的冷却时间。
|
|
43
|
+
*/
|
|
44
|
+
readonly cooldown: pulumi.Output<number>;
|
|
45
|
+
/**
|
|
46
|
+
* 伸缩规则的状态。取值:true:启用。false:停用。需保证伸缩组的状态为Active。
|
|
47
|
+
*/
|
|
48
|
+
readonly isEnabledPolicy: pulumi.Output<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* 伸缩组ID。
|
|
51
|
+
*/
|
|
52
|
+
readonly scalingGroupId: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* 伸缩规则ID。
|
|
55
|
+
*/
|
|
56
|
+
readonly scalingPolicyId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* 伸缩规则名称。
|
|
59
|
+
*/
|
|
60
|
+
readonly scalingPolicyName: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* 伸缩规则的类型,取值:Scheduled:定时任务。Recurrence:周期任务。Alarm:报警任务。
|
|
63
|
+
*/
|
|
64
|
+
readonly scalingPolicyType: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* 定时任务/周期任务的详细信息。
|
|
67
|
+
*/
|
|
68
|
+
readonly scheduledPolicy: pulumi.Output<outputs.autoscaling.ScalingPolicyScheduledPolicy>;
|
|
69
|
+
/**
|
|
70
|
+
* 伸缩规则的状态。取值:Active:已启用。InActive:已停用。需保证伸缩组的状态为Active。
|
|
71
|
+
*/
|
|
72
|
+
readonly status: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a ScalingPolicy resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args: ScalingPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering ScalingPolicy resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface ScalingPolicyState {
|
|
86
|
+
/**
|
|
87
|
+
* 伸缩规则的伸缩行为,适用于简单规则和步进规则,QuantityChangeInCapacity:增加或减少指定数量的实例。PercentChangeInCapacity:增加或减少指定比例的实例。TotalCapacity: 将当前伸缩组的实例数量调整到指定数量。
|
|
88
|
+
*/
|
|
89
|
+
adjustmentType?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* 伸缩行为的调整数值,适用于简单规则和步进规则,当AdjustmentType参数取值为QuantityChangeInCapacity时:-100 - 100,不允许为0,单位:个。当AdjustmentType参数取值为PercentChangeInCapacity时:-100 - 10000,不允许为0,单位:%。当AdjustmentType参数取值为TotalCapacity时:默认为0 - 100,单位:个。
|
|
92
|
+
*/
|
|
93
|
+
adjustmentValue?: pulumi.Input<number>;
|
|
94
|
+
/**
|
|
95
|
+
* 报警任务的详细信息。
|
|
96
|
+
*/
|
|
97
|
+
alarmPolicy?: pulumi.Input<inputs.autoscaling.ScalingPolicyAlarmPolicy>;
|
|
98
|
+
/**
|
|
99
|
+
* 伸缩规则的冷却时间。 取值:0-86400,单位:秒,不填则默认使用伸缩组的冷却时间。
|
|
100
|
+
*/
|
|
101
|
+
cooldown?: pulumi.Input<number>;
|
|
102
|
+
/**
|
|
103
|
+
* 伸缩规则的状态。取值:true:启用。false:停用。需保证伸缩组的状态为Active。
|
|
104
|
+
*/
|
|
105
|
+
isEnabledPolicy?: pulumi.Input<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* 伸缩组ID。
|
|
108
|
+
*/
|
|
109
|
+
scalingGroupId?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* 伸缩规则ID。
|
|
112
|
+
*/
|
|
113
|
+
scalingPolicyId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 伸缩规则名称。
|
|
116
|
+
*/
|
|
117
|
+
scalingPolicyName?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* 伸缩规则的类型,取值:Scheduled:定时任务。Recurrence:周期任务。Alarm:报警任务。
|
|
120
|
+
*/
|
|
121
|
+
scalingPolicyType?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* 定时任务/周期任务的详细信息。
|
|
124
|
+
*/
|
|
125
|
+
scheduledPolicy?: pulumi.Input<inputs.autoscaling.ScalingPolicyScheduledPolicy>;
|
|
126
|
+
/**
|
|
127
|
+
* 伸缩规则的状态。取值:Active:已启用。InActive:已停用。需保证伸缩组的状态为Active。
|
|
128
|
+
*/
|
|
129
|
+
status?: pulumi.Input<string>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The set of arguments for constructing a ScalingPolicy resource.
|
|
133
|
+
*/
|
|
134
|
+
export interface ScalingPolicyArgs {
|
|
135
|
+
/**
|
|
136
|
+
* 伸缩规则的伸缩行为,适用于简单规则和步进规则,QuantityChangeInCapacity:增加或减少指定数量的实例。PercentChangeInCapacity:增加或减少指定比例的实例。TotalCapacity: 将当前伸缩组的实例数量调整到指定数量。
|
|
137
|
+
*/
|
|
138
|
+
adjustmentType?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 伸缩行为的调整数值,适用于简单规则和步进规则,当AdjustmentType参数取值为QuantityChangeInCapacity时:-100 - 100,不允许为0,单位:个。当AdjustmentType参数取值为PercentChangeInCapacity时:-100 - 10000,不允许为0,单位:%。当AdjustmentType参数取值为TotalCapacity时:默认为0 - 100,单位:个。
|
|
141
|
+
*/
|
|
142
|
+
adjustmentValue?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* 报警任务的详细信息。
|
|
145
|
+
*/
|
|
146
|
+
alarmPolicy?: pulumi.Input<inputs.autoscaling.ScalingPolicyAlarmPolicy>;
|
|
147
|
+
/**
|
|
148
|
+
* 伸缩规则的冷却时间。 取值:0-86400,单位:秒,不填则默认使用伸缩组的冷却时间。
|
|
149
|
+
*/
|
|
150
|
+
cooldown?: pulumi.Input<number>;
|
|
151
|
+
/**
|
|
152
|
+
* 伸缩规则的状态。取值:true:启用。false:停用。需保证伸缩组的状态为Active。
|
|
153
|
+
*/
|
|
154
|
+
isEnabledPolicy?: pulumi.Input<boolean>;
|
|
155
|
+
/**
|
|
156
|
+
* 伸缩组ID。
|
|
157
|
+
*/
|
|
158
|
+
scalingGroupId: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* 伸缩规则名称。
|
|
161
|
+
*/
|
|
162
|
+
scalingPolicyName: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* 伸缩规则的类型,取值:Scheduled:定时任务。Recurrence:周期任务。Alarm:报警任务。
|
|
165
|
+
*/
|
|
166
|
+
scalingPolicyType: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* 定时任务/周期任务的详细信息。
|
|
169
|
+
*/
|
|
170
|
+
scheduledPolicy?: pulumi.Input<inputs.autoscaling.ScalingPolicyScheduledPolicy>;
|
|
171
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.ScalingPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 伸缩规则用于定义触发扩缩容行为的条件和方式,包括规则类型、触发时间、伸缩行为、冷却时间等。在同一个伸缩组中,您可以启用多条伸缩规则,满足任意类型时均会执行伸缩动作。但当同一时间满足多个类型时,将优先执行手动触发的伸缩行为。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:autoscaling/scalingPolicy:ScalingPolicy example "scaling_group_id|scaling_policy_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class ScalingPolicy extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing ScalingPolicy resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new ScalingPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of ScalingPolicy. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === ScalingPolicy.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["adjustmentType"] = state ? state.adjustmentType : undefined;
|
|
46
|
+
resourceInputs["adjustmentValue"] = state ? state.adjustmentValue : undefined;
|
|
47
|
+
resourceInputs["alarmPolicy"] = state ? state.alarmPolicy : undefined;
|
|
48
|
+
resourceInputs["cooldown"] = state ? state.cooldown : undefined;
|
|
49
|
+
resourceInputs["isEnabledPolicy"] = state ? state.isEnabledPolicy : undefined;
|
|
50
|
+
resourceInputs["scalingGroupId"] = state ? state.scalingGroupId : undefined;
|
|
51
|
+
resourceInputs["scalingPolicyId"] = state ? state.scalingPolicyId : undefined;
|
|
52
|
+
resourceInputs["scalingPolicyName"] = state ? state.scalingPolicyName : undefined;
|
|
53
|
+
resourceInputs["scalingPolicyType"] = state ? state.scalingPolicyType : undefined;
|
|
54
|
+
resourceInputs["scheduledPolicy"] = state ? state.scheduledPolicy : undefined;
|
|
55
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.scalingGroupId === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'scalingGroupId'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.scalingPolicyName === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'scalingPolicyName'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.scalingPolicyType === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'scalingPolicyType'");
|
|
67
|
+
}
|
|
68
|
+
resourceInputs["adjustmentType"] = args ? args.adjustmentType : undefined;
|
|
69
|
+
resourceInputs["adjustmentValue"] = args ? args.adjustmentValue : undefined;
|
|
70
|
+
resourceInputs["alarmPolicy"] = args ? args.alarmPolicy : undefined;
|
|
71
|
+
resourceInputs["cooldown"] = args ? args.cooldown : undefined;
|
|
72
|
+
resourceInputs["isEnabledPolicy"] = args ? args.isEnabledPolicy : undefined;
|
|
73
|
+
resourceInputs["scalingGroupId"] = args ? args.scalingGroupId : undefined;
|
|
74
|
+
resourceInputs["scalingPolicyName"] = args ? args.scalingPolicyName : undefined;
|
|
75
|
+
resourceInputs["scalingPolicyType"] = args ? args.scalingPolicyType : undefined;
|
|
76
|
+
resourceInputs["scheduledPolicy"] = args ? args.scheduledPolicy : undefined;
|
|
77
|
+
resourceInputs["scalingPolicyId"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(ScalingPolicy.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ScalingPolicy = ScalingPolicy;
|
|
85
|
+
/** @internal */
|
|
86
|
+
ScalingPolicy.__pulumiType = 'volcenginecc:autoscaling/scalingPolicy:ScalingPolicy';
|
|
87
|
+
//# sourceMappingURL=scalingPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scalingPolicy.js","sourceRoot":"","sources":["../../autoscaling/scalingPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAuDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc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AAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA1HL,sCA2HC;AA7GG,gBAAgB;AACO,0BAAY,GAAG,sDAAsD,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import * as kafka from "./kafka";
|
|
|
16
16
|
import * as natgateway from "./natgateway";
|
|
17
17
|
import * as organization from "./organization";
|
|
18
18
|
import * as privatezone from "./privatezone";
|
|
19
|
+
import * as rabbitmq from "./rabbitmq";
|
|
19
20
|
import * as rdsmysql from "./rdsmysql";
|
|
20
21
|
import * as redis from "./redis";
|
|
21
22
|
import * as storageebs from "./storageebs";
|
|
@@ -29,4 +30,4 @@ import * as vke from "./vke";
|
|
|
29
30
|
import * as vmp from "./vmp";
|
|
30
31
|
import * as vpc from "./vpc";
|
|
31
32
|
import * as waf from "./waf";
|
|
32
|
-
export { alb, apig, ark, autoscaling, cdn, cen, clb, config, cr, directconnect, ecs, filenas, iam, kafka, natgateway, organization, privatezone, rdsmysql, redis, storageebs, tls, tos, transitrouter, types, vedbm, vefaas, vke, vmp, vpc, waf, };
|
|
33
|
+
export { alb, apig, ark, autoscaling, cdn, cen, clb, config, cr, directconnect, ecs, filenas, iam, kafka, natgateway, organization, privatezone, rabbitmq, rdsmysql, redis, storageebs, tls, tos, transitrouter, types, vedbm, vefaas, vke, vmp, vpc, waf, };
|
package/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.waf = exports.vpc = exports.vmp = exports.vke = exports.vefaas = exports.vedbm = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.redis = exports.rdsmysql = exports.privatezone = exports.organization = exports.natgateway = exports.kafka = exports.iam = exports.filenas = exports.ecs = exports.directconnect = exports.cr = exports.config = exports.clb = exports.cen = exports.cdn = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
|
|
19
|
+
exports.waf = exports.vpc = exports.vmp = exports.vke = exports.vefaas = exports.vedbm = exports.types = exports.transitrouter = exports.tos = exports.tls = exports.storageebs = exports.redis = exports.rdsmysql = exports.rabbitmq = exports.privatezone = exports.organization = exports.natgateway = exports.kafka = exports.iam = exports.filenas = exports.ecs = exports.directconnect = exports.cr = exports.config = exports.clb = exports.cen = exports.cdn = exports.autoscaling = exports.ark = exports.apig = exports.alb = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("./utilities");
|
|
22
22
|
// Export members:
|
|
@@ -57,6 +57,8 @@ const organization = require("./organization");
|
|
|
57
57
|
exports.organization = organization;
|
|
58
58
|
const privatezone = require("./privatezone");
|
|
59
59
|
exports.privatezone = privatezone;
|
|
60
|
+
const rabbitmq = require("./rabbitmq");
|
|
61
|
+
exports.rabbitmq = rabbitmq;
|
|
60
62
|
const rdsmysql = require("./rdsmysql");
|
|
61
63
|
exports.rdsmysql = rdsmysql;
|
|
62
64
|
const redis = require("./redis");
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;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