@byteplus/pulumi-bytepluscc 0.0.47 → 0.0.48
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/getNotificationConfiguration.d.ts +57 -0
- package/autoscaling/getNotificationConfiguration.d.ts.map +1 -0
- package/autoscaling/getNotificationConfiguration.js +51 -0
- package/autoscaling/getNotificationConfiguration.js.map +1 -0
- package/autoscaling/getNotificationConfigurations.d.ts +23 -0
- package/autoscaling/getNotificationConfigurations.d.ts.map +1 -0
- package/autoscaling/getNotificationConfigurations.js +47 -0
- package/autoscaling/getNotificationConfigurations.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.d.ts.map +1 -1
- package/autoscaling/index.js +12 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/notificationConfiguration.d.ts +122 -0
- package/autoscaling/notificationConfiguration.d.ts.map +1 -0
- package/autoscaling/notificationConfiguration.js +122 -0
- package/autoscaling/notificationConfiguration.js.map +1 -0
- package/config/configurationRecorder.d.ts +127 -0
- package/config/configurationRecorder.d.ts.map +1 -0
- package/config/configurationRecorder.js +109 -0
- package/config/configurationRecorder.js.map +1 -0
- package/config/getConfigurationRecorder.d.ts +65 -0
- package/config/getConfigurationRecorder.d.ts.map +1 -0
- package/config/getConfigurationRecorder.js +51 -0
- package/config/getConfigurationRecorder.js.map +1 -0
- package/config/getConfigurationRecorders.d.ts +23 -0
- package/config/getConfigurationRecorders.d.ts.map +1 -0
- package/config/getConfigurationRecorders.js +47 -0
- package/config/getConfigurationRecorders.js.map +1 -0
- package/config/index.d.ts +9 -0
- package/config/index.d.ts.map +1 -1
- package/config/index.js +12 -1
- package/config/index.js.map +1 -1
- package/package.json +1 -1
- package/rdsmysql/getInstance.d.ts +5 -5
- package/rdsmysql/getInstance.d.ts.map +1 -1
- package/rdsmysql/instance.d.ts +15 -15
- package/rdsmysql/instance.d.ts.map +1 -1
- package/rdsmysql/instance.js +2 -2
- package/rdsmysql/instance.js.map +1 -1
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts +23 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js +47 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts +129 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js +51 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts +23 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js +47 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts +65 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js +51 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts +23 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.js +47 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts +81 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.js +51 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.js.map +1 -0
- package/transitrouter/index.d.ts +27 -0
- package/transitrouter/index.d.ts.map +1 -1
- package/transitrouter/index.js +35 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts +329 -0
- package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
- package/transitrouter/transitRouterTrafficQosMarkingEntry.js +163 -0
- package/transitrouter/transitRouterTrafficQosMarkingEntry.js.map +1 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts +127 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.js +109 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.js.map +1 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts +177 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts.map +1 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.js +129 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.js.map +1 -0
- package/types/input.d.ts +4 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +8 -0
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Byteplus::AutoScaling::NotificationConfiguration
|
|
4
|
+
*/
|
|
5
|
+
export declare function getNotificationConfiguration(args: GetNotificationConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetNotificationConfigurationResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getNotificationConfiguration.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetNotificationConfigurationArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getNotificationConfiguration.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetNotificationConfigurationResult {
|
|
19
|
+
/**
|
|
20
|
+
* Event notification creation time.
|
|
21
|
+
*/
|
|
22
|
+
readonly createdAt: string;
|
|
23
|
+
/**
|
|
24
|
+
* Event notification type. Values: ScaleOutSuccess (successful scale-out activity), ScaleInSuccess (successful scale-in activity), ScaleOutError (failed scale-out activity), ScaleInError (failed scale-in activity), ScaleOutWarn (partially successful scale-out activity), ScaleInWarn (partially successful scale-in activity), ScaleReject (rejected scaling activity), ScaleOutStart (scaling group scale-out activity started), ScaleInStart (scaling group scale-in activity started), ScheduleTaskExpiring (scheduled rule expiration reminder).
|
|
25
|
+
*/
|
|
26
|
+
readonly eventTypes: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Uniquely identifies the resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
/**
|
|
32
|
+
* Event notification method. Currently, only cloud monitoring notifications are supported. Value: cloudmonitor.
|
|
33
|
+
*/
|
|
34
|
+
readonly notificationType: string;
|
|
35
|
+
/**
|
|
36
|
+
* Scaling group ID. You can call DescribeScalingGroups to query the scaling group ID.
|
|
37
|
+
*/
|
|
38
|
+
readonly scalingGroupId: string;
|
|
39
|
+
/**
|
|
40
|
+
* Event notification update time.
|
|
41
|
+
*/
|
|
42
|
+
readonly updatedAt: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Data Source schema for Byteplus::AutoScaling::NotificationConfiguration
|
|
46
|
+
*/
|
|
47
|
+
export declare function getNotificationConfigurationOutput(args: GetNotificationConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationConfigurationResult>;
|
|
48
|
+
/**
|
|
49
|
+
* A collection of arguments for invoking getNotificationConfiguration.
|
|
50
|
+
*/
|
|
51
|
+
export interface GetNotificationConfigurationOutputArgs {
|
|
52
|
+
/**
|
|
53
|
+
* Uniquely identifies the resource.
|
|
54
|
+
*/
|
|
55
|
+
id: pulumi.Input<string>;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=getNotificationConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationConfiguration.d.ts","sourceRoot":"","sources":["../../autoscaling/getNotificationConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAK7J;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAKrL;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,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.getNotificationConfigurationOutput = exports.getNotificationConfiguration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::AutoScaling::NotificationConfiguration
|
|
33
|
+
*/
|
|
34
|
+
function getNotificationConfiguration(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:autoscaling/getNotificationConfiguration:getNotificationConfiguration", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getNotificationConfiguration = getNotificationConfiguration;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::AutoScaling::NotificationConfiguration
|
|
43
|
+
*/
|
|
44
|
+
function getNotificationConfigurationOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:autoscaling/getNotificationConfiguration:getNotificationConfiguration", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getNotificationConfigurationOutput = getNotificationConfigurationOutput;
|
|
51
|
+
//# sourceMappingURL=getNotificationConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationConfiguration.js","sourceRoot":"","sources":["../../autoscaling/getNotificationConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kFAAkF,EAAE;QAC7G,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oEAKC;AAyCD;;GAEG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAAiC;IAC9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kFAAkF,EAAE;QACnH,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gFAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::AutoScaling::NotificationConfiguration
|
|
4
|
+
*/
|
|
5
|
+
export declare function getNotificationConfigurations(opts?: pulumi.InvokeOptions): Promise<GetNotificationConfigurationsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getNotificationConfigurations.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetNotificationConfigurationsResult {
|
|
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::AutoScaling::NotificationConfiguration
|
|
21
|
+
*/
|
|
22
|
+
export declare function getNotificationConfigurationsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNotificationConfigurationsResult>;
|
|
23
|
+
//# sourceMappingURL=getNotificationConfigurations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationConfigurations.d.ts","sourceRoot":"","sources":["../../autoscaling/getNotificationConfigurations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAIvH;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mCAAmC,CAAC,CAIzI"}
|
|
@@ -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.getNotificationConfigurationsOutput = exports.getNotificationConfigurations = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::AutoScaling::NotificationConfiguration
|
|
33
|
+
*/
|
|
34
|
+
function getNotificationConfigurations(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:autoscaling/getNotificationConfigurations:getNotificationConfigurations", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getNotificationConfigurations = getNotificationConfigurations;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::AutoScaling::NotificationConfiguration
|
|
41
|
+
*/
|
|
42
|
+
function getNotificationConfigurationsOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:autoscaling/getNotificationConfigurations:getNotificationConfigurations", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getNotificationConfigurationsOutput = getNotificationConfigurationsOutput;
|
|
47
|
+
//# sourceMappingURL=getNotificationConfigurations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNotificationConfigurations.js","sourceRoot":"","sources":["../../autoscaling/getNotificationConfigurations.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;IACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE,EAClH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sEAIC;AAeD;;GAEG;AACH,SAAgB,mCAAmC,CAAC,IAAiC;IACjF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oFAAoF,EAAE,EACxH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kFAIC"}
|
package/autoscaling/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export { GetNotificationConfigurationArgs, GetNotificationConfigurationResult, GetNotificationConfigurationOutputArgs } from "./getNotificationConfiguration";
|
|
2
|
+
export declare const getNotificationConfiguration: typeof import("./getNotificationConfiguration").getNotificationConfiguration;
|
|
3
|
+
export declare const getNotificationConfigurationOutput: typeof import("./getNotificationConfiguration").getNotificationConfigurationOutput;
|
|
4
|
+
export { GetNotificationConfigurationsResult } from "./getNotificationConfigurations";
|
|
5
|
+
export declare const getNotificationConfigurations: typeof import("./getNotificationConfigurations").getNotificationConfigurations;
|
|
6
|
+
export declare const getNotificationConfigurationsOutput: typeof import("./getNotificationConfigurations").getNotificationConfigurationsOutput;
|
|
1
7
|
export { GetScalingConfigurationArgs, GetScalingConfigurationResult, GetScalingConfigurationOutputArgs } from "./getScalingConfiguration";
|
|
2
8
|
export declare const getScalingConfiguration: typeof import("./getScalingConfiguration").getScalingConfiguration;
|
|
3
9
|
export declare const getScalingConfigurationOutput: typeof import("./getScalingConfiguration").getScalingConfigurationOutput;
|
|
@@ -22,6 +28,9 @@ export declare const getScalingPoliciesOutput: typeof import("./getScalingPolici
|
|
|
22
28
|
export { GetScalingPolicyArgs, GetScalingPolicyResult, GetScalingPolicyOutputArgs } from "./getScalingPolicy";
|
|
23
29
|
export declare const getScalingPolicy: typeof import("./getScalingPolicy").getScalingPolicy;
|
|
24
30
|
export declare const getScalingPolicyOutput: typeof import("./getScalingPolicy").getScalingPolicyOutput;
|
|
31
|
+
export { NotificationConfigurationArgs, NotificationConfigurationState } from "./notificationConfiguration";
|
|
32
|
+
export type NotificationConfiguration = import("./notificationConfiguration").NotificationConfiguration;
|
|
33
|
+
export declare const NotificationConfiguration: typeof import("./notificationConfiguration").NotificationConfiguration;
|
|
25
34
|
export { ScalingConfigurationArgs, ScalingConfigurationState } from "./scalingConfiguration";
|
|
26
35
|
export type ScalingConfiguration = import("./scalingConfiguration").ScalingConfiguration;
|
|
27
36
|
export declare const ScalingConfiguration: typeof import("./scalingConfiguration").ScalingConfiguration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../autoscaling/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAC;AAC1I,eAAO,MAAM,uBAAuB,EAAE,cAAc,2BAA2B,EAAE,uBAAqC,CAAC;AACvH,eAAO,MAAM,6BAA6B,EAAE,cAAc,2BAA2B,EAAE,6BAA2C,CAAC;AAGnI,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,eAAO,MAAM,wBAAwB,EAAE,cAAc,4BAA4B,EAAE,wBAAsC,CAAC;AAC1H,eAAO,MAAM,8BAA8B,EAAE,cAAc,4BAA4B,EAAE,8BAA4C,CAAC;AAGtI,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC1G,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC;AAC/F,eAAO,MAAM,qBAAqB,EAAE,cAAc,mBAAmB,EAAE,qBAAmC,CAAC;AAG3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,eAAO,MAAM,gBAAgB,EAAE,cAAc,oBAAoB,EAAE,gBAA8B,CAAC;AAClG,eAAO,MAAM,sBAAsB,EAAE,cAAc,oBAAoB,EAAE,sBAAoC,CAAC;AAG9G,OAAO,EAAE,2BAA2B,E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E,sBAAoC,CAAC;AAG9G,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAC5G,MAAM,MAAM,yBAAyB,GAAG,OAAO,6BAA6B,EAAE,yBAAyB,CAAC;AACxG,eAAO,MAAM,yBAAyB,EAAE,cAAc,6BAA6B,EAAE,yBAAuC,CAAC;AAG7H,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,MAAM,MAAM,oBAAoB,GAAG,OAAO,wBAAwB,EAAE,oBAAoB,CAAC;AACzF,eAAO,MAAM,oBAAoB,EAAE,cAAc,wBAAwB,EAAE,oBAAkC,CAAC;AAG9G,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,OAAO,gBAAgB,EAAE,YAAY,CAAC;AACjE,eAAO,MAAM,YAAY,EAAE,cAAc,gBAAgB,EAAE,YAA0B,CAAC;AAGtF,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,MAAM,MAAM,oBAAoB,GAAG,OAAO,wBAAwB,EAAE,oBAAoB,CAAC;AACzF,eAAO,MAAM,oBAAoB,EAAE,cAAc,wBAAwB,EAAE,oBAAkC,CAAC;AAG9G,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACxE,MAAM,MAAM,aAAa,GAAG,OAAO,iBAAiB,EAAE,aAAa,CAAC;AACpE,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC"}
|
package/autoscaling/index.js
CHANGED
|
@@ -25,9 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.ScalingPolicy = exports.ScalingLifecycleHook = exports.ScalingGroup = exports.ScalingConfiguration = exports.getScalingPolicyOutput = exports.getScalingPolicy = exports.getScalingPoliciesOutput = exports.getScalingPolicies = exports.getScalingLifecycleHooksOutput = exports.getScalingLifecycleHooks = exports.getScalingLifecycleHookOutput = exports.getScalingLifecycleHook = exports.getScalingGroupsOutput = exports.getScalingGroups = exports.getScalingGroupOutput = exports.getScalingGroup = exports.getScalingConfigurationsOutput = exports.getScalingConfigurations = exports.getScalingConfigurationOutput = exports.getScalingConfiguration = void 0;
|
|
28
|
+
exports.ScalingPolicy = exports.ScalingLifecycleHook = exports.ScalingGroup = exports.ScalingConfiguration = exports.NotificationConfiguration = exports.getScalingPolicyOutput = exports.getScalingPolicy = exports.getScalingPoliciesOutput = exports.getScalingPolicies = exports.getScalingLifecycleHooksOutput = exports.getScalingLifecycleHooks = exports.getScalingLifecycleHookOutput = exports.getScalingLifecycleHook = exports.getScalingGroupsOutput = exports.getScalingGroups = exports.getScalingGroupOutput = exports.getScalingGroup = exports.getScalingConfigurationsOutput = exports.getScalingConfigurations = exports.getScalingConfigurationOutput = exports.getScalingConfiguration = exports.getNotificationConfigurationsOutput = exports.getNotificationConfigurations = exports.getNotificationConfigurationOutput = exports.getNotificationConfiguration = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.getNotificationConfiguration = null;
|
|
32
|
+
exports.getNotificationConfigurationOutput = null;
|
|
33
|
+
utilities.lazyLoad(exports, ["getNotificationConfiguration", "getNotificationConfigurationOutput"], () => require("./getNotificationConfiguration"));
|
|
34
|
+
exports.getNotificationConfigurations = null;
|
|
35
|
+
exports.getNotificationConfigurationsOutput = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["getNotificationConfigurations", "getNotificationConfigurationsOutput"], () => require("./getNotificationConfigurations"));
|
|
31
37
|
exports.getScalingConfiguration = null;
|
|
32
38
|
exports.getScalingConfigurationOutput = null;
|
|
33
39
|
utilities.lazyLoad(exports, ["getScalingConfiguration", "getScalingConfigurationOutput"], () => require("./getScalingConfiguration"));
|
|
@@ -52,6 +58,8 @@ utilities.lazyLoad(exports, ["getScalingPolicies", "getScalingPoliciesOutput"],
|
|
|
52
58
|
exports.getScalingPolicy = null;
|
|
53
59
|
exports.getScalingPolicyOutput = null;
|
|
54
60
|
utilities.lazyLoad(exports, ["getScalingPolicy", "getScalingPolicyOutput"], () => require("./getScalingPolicy"));
|
|
61
|
+
exports.NotificationConfiguration = null;
|
|
62
|
+
utilities.lazyLoad(exports, ["NotificationConfiguration"], () => require("./notificationConfiguration"));
|
|
55
63
|
exports.ScalingConfiguration = null;
|
|
56
64
|
utilities.lazyLoad(exports, ["ScalingConfiguration"], () => require("./scalingConfiguration"));
|
|
57
65
|
exports.ScalingGroup = null;
|
|
@@ -64,6 +72,8 @@ const _module = {
|
|
|
64
72
|
version: utilities.getVersion(),
|
|
65
73
|
construct: (name, type, urn) => {
|
|
66
74
|
switch (type) {
|
|
75
|
+
case "bytepluscc:autoscaling/notificationConfiguration:NotificationConfiguration":
|
|
76
|
+
return new exports.NotificationConfiguration(name, undefined, { urn });
|
|
67
77
|
case "bytepluscc:autoscaling/scalingConfiguration:ScalingConfiguration":
|
|
68
78
|
return new exports.ScalingConfiguration(name, undefined, { urn });
|
|
69
79
|
case "bytepluscc:autoscaling/scalingGroup:ScalingGroup":
|
|
@@ -77,6 +87,7 @@ const _module = {
|
|
|
77
87
|
}
|
|
78
88
|
},
|
|
79
89
|
};
|
|
90
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "autoscaling/notificationConfiguration", _module);
|
|
80
91
|
pulumi.runtime.registerResourceModule("bytepluscc", "autoscaling/scalingConfiguration", _module);
|
|
81
92
|
pulumi.runtime.registerResourceModule("bytepluscc", "autoscaling/scalingGroup", _module);
|
|
82
93
|
pulumi.runtime.registerResourceModule("bytepluscc", "autoscaling/scalingLifecycleHook", _module);
|
package/autoscaling/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
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BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE,KAAK,oDAAoD;gBACrD,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,YAAY,EAAE,uCAAuC,EAAE,OAAO,CAAC,CAAA;AACrG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kCAAkC,EAAE,OAAO,CAAC,CAAA;AAChG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Volcano Engine AutoScaling event notification configuration. Configure event notifications for scaling activities in a specified scaling group. When a scaling activity triggers a specified event type, notifications are sent via cloud monitoring. Only one event notification can be configured for each scaling group.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
10
|
+
*
|
|
11
|
+
* const example = new bytepluscc.autoscaling.NotificationConfiguration("example", {
|
|
12
|
+
* scalingGroupId: "scg-xxxxxxxxxxxxxxxxx",
|
|
13
|
+
* notificationType: "cloudmonitor",
|
|
14
|
+
* eventTypes: [
|
|
15
|
+
* "ScaleOutSuccess",
|
|
16
|
+
* "ScaleInSuccess",
|
|
17
|
+
* "ScaleOutError",
|
|
18
|
+
* "ScaleInError",
|
|
19
|
+
* "ScaleOutWarn",
|
|
20
|
+
* "ScaleInWarn",
|
|
21
|
+
* "ScaleReject",
|
|
22
|
+
* "ScaleOutStart",
|
|
23
|
+
* "ScaleInStart",
|
|
24
|
+
* "ScheduleTaskExpiring",
|
|
25
|
+
* ],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import bytepluscc:autoscaling/notificationConfiguration:NotificationConfiguration example "scaling_group_id"
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class NotificationConfiguration extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing NotificationConfiguration resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationConfigurationState, opts?: pulumi.CustomResourceOptions): NotificationConfiguration;
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of NotificationConfiguration. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj: any): obj is NotificationConfiguration;
|
|
51
|
+
/**
|
|
52
|
+
* Event notification creation time.
|
|
53
|
+
*/
|
|
54
|
+
readonly createdAt: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Event notification type. Values: ScaleOutSuccess (successful scale-out activity), ScaleInSuccess (successful scale-in activity), ScaleOutError (failed scale-out activity), ScaleInError (failed scale-in activity), ScaleOutWarn (partially successful scale-out activity), ScaleInWarn (partially successful scale-in activity), ScaleReject (rejected scaling activity), ScaleOutStart (scaling group scale-out activity started), ScaleInStart (scaling group scale-in activity started), ScheduleTaskExpiring (scheduled rule expiration reminder).
|
|
57
|
+
*/
|
|
58
|
+
readonly eventTypes: pulumi.Output<string[]>;
|
|
59
|
+
/**
|
|
60
|
+
* Event notification method. Currently, only cloud monitoring notifications are supported. Value: cloudmonitor.
|
|
61
|
+
*/
|
|
62
|
+
readonly notificationType: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Scaling group ID. You can call DescribeScalingGroups to query the scaling group ID.
|
|
65
|
+
*/
|
|
66
|
+
readonly scalingGroupId: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Event notification update time.
|
|
69
|
+
*/
|
|
70
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a NotificationConfiguration resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: NotificationConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering NotificationConfiguration resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface NotificationConfigurationState {
|
|
84
|
+
/**
|
|
85
|
+
* Event notification creation time.
|
|
86
|
+
*/
|
|
87
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Event notification type. Values: ScaleOutSuccess (successful scale-out activity), ScaleInSuccess (successful scale-in activity), ScaleOutError (failed scale-out activity), ScaleInError (failed scale-in activity), ScaleOutWarn (partially successful scale-out activity), ScaleInWarn (partially successful scale-in activity), ScaleReject (rejected scaling activity), ScaleOutStart (scaling group scale-out activity started), ScaleInStart (scaling group scale-in activity started), ScheduleTaskExpiring (scheduled rule expiration reminder).
|
|
90
|
+
*/
|
|
91
|
+
eventTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Event notification method. Currently, only cloud monitoring notifications are supported. Value: cloudmonitor.
|
|
94
|
+
*/
|
|
95
|
+
notificationType?: pulumi.Input<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Scaling group ID. You can call DescribeScalingGroups to query the scaling group ID.
|
|
98
|
+
*/
|
|
99
|
+
scalingGroupId?: pulumi.Input<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Event notification update time.
|
|
102
|
+
*/
|
|
103
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The set of arguments for constructing a NotificationConfiguration resource.
|
|
107
|
+
*/
|
|
108
|
+
export interface NotificationConfigurationArgs {
|
|
109
|
+
/**
|
|
110
|
+
* Event notification type. Values: ScaleOutSuccess (successful scale-out activity), ScaleInSuccess (successful scale-in activity), ScaleOutError (failed scale-out activity), ScaleInError (failed scale-in activity), ScaleOutWarn (partially successful scale-out activity), ScaleInWarn (partially successful scale-in activity), ScaleReject (rejected scaling activity), ScaleOutStart (scaling group scale-out activity started), ScaleInStart (scaling group scale-in activity started), ScheduleTaskExpiring (scheduled rule expiration reminder).
|
|
111
|
+
*/
|
|
112
|
+
eventTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
113
|
+
/**
|
|
114
|
+
* Event notification method. Currently, only cloud monitoring notifications are supported. Value: cloudmonitor.
|
|
115
|
+
*/
|
|
116
|
+
notificationType: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Scaling group ID. You can call DescribeScalingGroups to query the scaling group ID.
|
|
119
|
+
*/
|
|
120
|
+
scalingGroupId: pulumi.Input<string>;
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=notificationConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationConfiguration.d.ts","sourceRoot":"","sources":["../../autoscaling/notificationConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,yBAAyB;IAOpK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,yBAAyB;IAOpE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEjE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA+BrG;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACjD;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
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.NotificationConfiguration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Volcano Engine AutoScaling event notification configuration. Configure event notifications for scaling activities in a specified scaling group. When a scaling activity triggers a specified event type, notifications are sent via cloud monitoring. Only one event notification can be configured for each scaling 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.autoscaling.NotificationConfiguration("example", {
|
|
41
|
+
* scalingGroupId: "scg-xxxxxxxxxxxxxxxxx",
|
|
42
|
+
* notificationType: "cloudmonitor",
|
|
43
|
+
* eventTypes: [
|
|
44
|
+
* "ScaleOutSuccess",
|
|
45
|
+
* "ScaleInSuccess",
|
|
46
|
+
* "ScaleOutError",
|
|
47
|
+
* "ScaleInError",
|
|
48
|
+
* "ScaleOutWarn",
|
|
49
|
+
* "ScaleInWarn",
|
|
50
|
+
* "ScaleReject",
|
|
51
|
+
* "ScaleOutStart",
|
|
52
|
+
* "ScaleInStart",
|
|
53
|
+
* "ScheduleTaskExpiring",
|
|
54
|
+
* ],
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* ```sh
|
|
61
|
+
* $ pulumi import bytepluscc:autoscaling/notificationConfiguration:NotificationConfiguration example "scaling_group_id"
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
class NotificationConfiguration extends pulumi.CustomResource {
|
|
65
|
+
/**
|
|
66
|
+
* Get an existing NotificationConfiguration resource's state with the given name, ID, and optional extra
|
|
67
|
+
* properties used to qualify the lookup.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resulting resource.
|
|
70
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
71
|
+
* @param state Any extra arguments used during the lookup.
|
|
72
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
|
+
*/
|
|
74
|
+
static get(name, id, state, opts) {
|
|
75
|
+
return new NotificationConfiguration(name, state, { ...opts, id: id });
|
|
76
|
+
}
|
|
77
|
+
/** @internal */
|
|
78
|
+
static __pulumiType = 'bytepluscc:autoscaling/notificationConfiguration:NotificationConfiguration';
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of NotificationConfiguration. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === NotificationConfiguration.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
constructor(name, argsOrState, opts) {
|
|
90
|
+
let resourceInputs = {};
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
if (opts.id) {
|
|
93
|
+
const state = argsOrState;
|
|
94
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
95
|
+
resourceInputs["eventTypes"] = state?.eventTypes;
|
|
96
|
+
resourceInputs["notificationType"] = state?.notificationType;
|
|
97
|
+
resourceInputs["scalingGroupId"] = state?.scalingGroupId;
|
|
98
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
const args = argsOrState;
|
|
102
|
+
if (args?.eventTypes === undefined && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'eventTypes'");
|
|
104
|
+
}
|
|
105
|
+
if (args?.notificationType === undefined && !opts.urn) {
|
|
106
|
+
throw new Error("Missing required property 'notificationType'");
|
|
107
|
+
}
|
|
108
|
+
if (args?.scalingGroupId === undefined && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'scalingGroupId'");
|
|
110
|
+
}
|
|
111
|
+
resourceInputs["eventTypes"] = args?.eventTypes;
|
|
112
|
+
resourceInputs["notificationType"] = args?.notificationType;
|
|
113
|
+
resourceInputs["scalingGroupId"] = args?.scalingGroupId;
|
|
114
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
116
|
+
}
|
|
117
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
|
+
super(NotificationConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.NotificationConfiguration = NotificationConfiguration;
|
|
122
|
+
//# sourceMappingURL=notificationConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationConfiguration.js","sourceRoot":"","sources":["../../autoscaling/notificationConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE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