@pulumi/alicloud 3.28.0 → 3.29.0-alpha.1661293358
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/cms/eventRule.d.ts +149 -0
- package/cms/eventRule.js +105 -0
- package/cms/eventRule.js.map +1 -0
- package/cms/getEventRules.d.ts +93 -0
- package/cms/getEventRules.js +52 -0
- package/cms/getEventRules.js.map +1 -0
- package/cms/index.d.ts +2 -0
- package/cms/index.js +6 -0
- package/cms/index.js.map +1 -1
- package/cms/namespace.d.ts +1 -1
- package/cms/namespace.js +1 -1
- package/ecs/getEipAddresses.d.ts +2 -2
- package/emr/cluster.d.ts +61 -1
- package/emr/cluster.js +10 -0
- package/emr/cluster.js.map +1 -1
- package/ess/scalingGroup.d.ts +12 -0
- package/ess/scalingGroup.js +2 -0
- package/ess/scalingGroup.js.map +1 -1
- package/lindorm/instance.d.ts +18 -0
- package/lindorm/instance.js +2 -0
- package/lindorm/instance.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +111 -1
- package/types/output.d.ts +240 -4
- package/vpc/getPrefixLists.d.ts +85 -0
- package/vpc/getPrefixLists.js +48 -0
- package/vpc/getPrefixLists.js.map +1 -0
- package/vpc/index.d.ts +2 -0
- package/vpc/index.js +6 -0
- package/vpc/index.js.map +1 -1
- package/vpc/prefixList.d.ts +132 -0
- package/vpc/prefixList.js +95 -0
- package/vpc/prefixList.js.map +1 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Cloud Monitor Service Event Rule resource.
|
|
5
|
+
*
|
|
6
|
+
* For information about Cloud Monitor Service Event Rule and how to use it, see [What is Event Rule](https://www.alibabacloud.com/help/en/cloudmonitor/latest/puteventrule).
|
|
7
|
+
*
|
|
8
|
+
* > **NOTE:** Available in v1.182.0+.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
17
|
+
*
|
|
18
|
+
* const _default = new alicloud.cms.MonitorGroup("default", {monitorGroupName: "example_value"});
|
|
19
|
+
* const example = new alicloud.cms.EventRule("example", {
|
|
20
|
+
* ruleName: "example_value",
|
|
21
|
+
* groupId: _default.id,
|
|
22
|
+
* description: "example_value",
|
|
23
|
+
* status: "ENABLED",
|
|
24
|
+
* eventPattern: {
|
|
25
|
+
* product: "ecs",
|
|
26
|
+
* eventTypeLists: ["StatusNotification"],
|
|
27
|
+
* levelLists: ["CRITICAL"],
|
|
28
|
+
* nameLists: ["example_value"],
|
|
29
|
+
* sqlFilter: "example_value",
|
|
30
|
+
* },
|
|
31
|
+
* silenceTime: 100,
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* Cloud Monitor Service Event Rule can be imported using the id, e.g.
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import alicloud:cms/eventRule:EventRule example <rule_name>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class EventRule extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing EventRule resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EventRuleState, opts?: pulumi.CustomResourceOptions): EventRule;
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of EventRule. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj: any): obj is EventRule;
|
|
59
|
+
/**
|
|
60
|
+
* The description of the event-triggered alert rule.
|
|
61
|
+
*/
|
|
62
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Event mode, used to describe the trigger conditions for this event. See the following `Block eventPattern`.
|
|
65
|
+
*/
|
|
66
|
+
readonly eventPattern: pulumi.Output<outputs.cms.EventRuleEventPattern>;
|
|
67
|
+
/**
|
|
68
|
+
* The ID of the application group to which the event-triggered alert rule belongs.
|
|
69
|
+
*/
|
|
70
|
+
readonly groupId: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The name of the event-triggered alert rule.
|
|
73
|
+
*/
|
|
74
|
+
readonly ruleName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The silence time.
|
|
77
|
+
*/
|
|
78
|
+
readonly silenceTime: pulumi.Output<number | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The status of the resource. Valid values: `ENABLED`, `DISABLED`.
|
|
81
|
+
*/
|
|
82
|
+
readonly status: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Create a EventRule resource with the given unique name, arguments, and options.
|
|
85
|
+
*
|
|
86
|
+
* @param name The _unique_ name of the resource.
|
|
87
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
88
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
89
|
+
*/
|
|
90
|
+
constructor(name: string, args: EventRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Input properties used for looking up and filtering EventRule resources.
|
|
94
|
+
*/
|
|
95
|
+
export interface EventRuleState {
|
|
96
|
+
/**
|
|
97
|
+
* The description of the event-triggered alert rule.
|
|
98
|
+
*/
|
|
99
|
+
description?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Event mode, used to describe the trigger conditions for this event. See the following `Block eventPattern`.
|
|
102
|
+
*/
|
|
103
|
+
eventPattern?: pulumi.Input<inputs.cms.EventRuleEventPattern>;
|
|
104
|
+
/**
|
|
105
|
+
* The ID of the application group to which the event-triggered alert rule belongs.
|
|
106
|
+
*/
|
|
107
|
+
groupId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The name of the event-triggered alert rule.
|
|
110
|
+
*/
|
|
111
|
+
ruleName?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The silence time.
|
|
114
|
+
*/
|
|
115
|
+
silenceTime?: pulumi.Input<number>;
|
|
116
|
+
/**
|
|
117
|
+
* The status of the resource. Valid values: `ENABLED`, `DISABLED`.
|
|
118
|
+
*/
|
|
119
|
+
status?: pulumi.Input<string>;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The set of arguments for constructing a EventRule resource.
|
|
123
|
+
*/
|
|
124
|
+
export interface EventRuleArgs {
|
|
125
|
+
/**
|
|
126
|
+
* The description of the event-triggered alert rule.
|
|
127
|
+
*/
|
|
128
|
+
description?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Event mode, used to describe the trigger conditions for this event. See the following `Block eventPattern`.
|
|
131
|
+
*/
|
|
132
|
+
eventPattern: pulumi.Input<inputs.cms.EventRuleEventPattern>;
|
|
133
|
+
/**
|
|
134
|
+
* The ID of the application group to which the event-triggered alert rule belongs.
|
|
135
|
+
*/
|
|
136
|
+
groupId?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The name of the event-triggered alert rule.
|
|
139
|
+
*/
|
|
140
|
+
ruleName: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The silence time.
|
|
143
|
+
*/
|
|
144
|
+
silenceTime?: pulumi.Input<number>;
|
|
145
|
+
/**
|
|
146
|
+
* The status of the resource. Valid values: `ENABLED`, `DISABLED`.
|
|
147
|
+
*/
|
|
148
|
+
status?: pulumi.Input<string>;
|
|
149
|
+
}
|
package/cms/eventRule.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
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.EventRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Cloud Monitor Service Event Rule resource.
|
|
10
|
+
*
|
|
11
|
+
* For information about Cloud Monitor Service Event Rule and how to use it, see [What is Event Rule](https://www.alibabacloud.com/help/en/cloudmonitor/latest/puteventrule).
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Available in v1.182.0+.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* Basic Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
+
*
|
|
23
|
+
* const _default = new alicloud.cms.MonitorGroup("default", {monitorGroupName: "example_value"});
|
|
24
|
+
* const example = new alicloud.cms.EventRule("example", {
|
|
25
|
+
* ruleName: "example_value",
|
|
26
|
+
* groupId: _default.id,
|
|
27
|
+
* description: "example_value",
|
|
28
|
+
* status: "ENABLED",
|
|
29
|
+
* eventPattern: {
|
|
30
|
+
* product: "ecs",
|
|
31
|
+
* eventTypeLists: ["StatusNotification"],
|
|
32
|
+
* levelLists: ["CRITICAL"],
|
|
33
|
+
* nameLists: ["example_value"],
|
|
34
|
+
* sqlFilter: "example_value",
|
|
35
|
+
* },
|
|
36
|
+
* silenceTime: 100,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ## Import
|
|
41
|
+
*
|
|
42
|
+
* Cloud Monitor Service Event Rule can be imported using the id, e.g.
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import alicloud:cms/eventRule:EventRule example <rule_name>
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
class EventRule extends pulumi.CustomResource {
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
55
|
+
resourceInputs["eventPattern"] = state ? state.eventPattern : undefined;
|
|
56
|
+
resourceInputs["groupId"] = state ? state.groupId : undefined;
|
|
57
|
+
resourceInputs["ruleName"] = state ? state.ruleName : undefined;
|
|
58
|
+
resourceInputs["silenceTime"] = state ? state.silenceTime : undefined;
|
|
59
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.eventPattern === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'eventPattern'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.ruleName === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'ruleName'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
70
|
+
resourceInputs["eventPattern"] = args ? args.eventPattern : undefined;
|
|
71
|
+
resourceInputs["groupId"] = args ? args.groupId : undefined;
|
|
72
|
+
resourceInputs["ruleName"] = args ? args.ruleName : undefined;
|
|
73
|
+
resourceInputs["silenceTime"] = args ? args.silenceTime : undefined;
|
|
74
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(EventRule.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get an existing EventRule resource's state with the given name, ID, and optional extra
|
|
81
|
+
* properties used to qualify the lookup.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resulting resource.
|
|
84
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
85
|
+
* @param state Any extra arguments used during the lookup.
|
|
86
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
87
|
+
*/
|
|
88
|
+
static get(name, id, state, opts) {
|
|
89
|
+
return new EventRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if the given object is an instance of EventRule. This is designed to work even
|
|
93
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
94
|
+
*/
|
|
95
|
+
static isInstance(obj) {
|
|
96
|
+
if (obj === undefined || obj === null) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
return obj['__pulumiType'] === EventRule.__pulumiType;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.EventRule = EventRule;
|
|
103
|
+
/** @internal */
|
|
104
|
+
EventRule.__pulumiType = 'alicloud:cms/eventRule:EventRule';
|
|
105
|
+
//# sourceMappingURL=eventRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventRule.js","sourceRoot":"","sources":["../../cms/eventRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IA6DhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI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A0FC;AA5EG,gBAAgB;AACO,sBAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the Cms Event Rules of the current Alibaba Cloud user.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** Available in v1.182.0+.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
15
|
+
*
|
|
16
|
+
* const ids = alicloud.cms.getEventRules({
|
|
17
|
+
* ids: ["example_id"],
|
|
18
|
+
* });
|
|
19
|
+
* export const cmsEventRuleId1 = ids.then(ids => ids.rules?[0]?.id);
|
|
20
|
+
* const nameRegex = alicloud.cms.getEventRules({
|
|
21
|
+
* nameRegex: "^my-EventRule",
|
|
22
|
+
* });
|
|
23
|
+
* export const cmsEventRuleId2 = nameRegex.then(nameRegex => nameRegex.rules?[0]?.id);
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare function getEventRules(args?: GetEventRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetEventRulesResult>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getEventRules.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetEventRulesArgs {
|
|
31
|
+
/**
|
|
32
|
+
* A list of Event Rule IDs. Its element value is same as Event Rule Name.
|
|
33
|
+
*/
|
|
34
|
+
ids?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* The name prefix.
|
|
37
|
+
*/
|
|
38
|
+
namePrefix?: string;
|
|
39
|
+
/**
|
|
40
|
+
* A regex string to filter results by Event Rule name.
|
|
41
|
+
*/
|
|
42
|
+
nameRegex?: string;
|
|
43
|
+
outputFile?: string;
|
|
44
|
+
pageNumber?: number;
|
|
45
|
+
pageSize?: number;
|
|
46
|
+
/**
|
|
47
|
+
* The status of the resource.
|
|
48
|
+
*/
|
|
49
|
+
status?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A collection of values returned by getEventRules.
|
|
53
|
+
*/
|
|
54
|
+
export interface GetEventRulesResult {
|
|
55
|
+
/**
|
|
56
|
+
* The provider-assigned unique ID for this managed resource.
|
|
57
|
+
*/
|
|
58
|
+
readonly id: string;
|
|
59
|
+
readonly ids: string[];
|
|
60
|
+
readonly namePrefix?: string;
|
|
61
|
+
readonly nameRegex?: string;
|
|
62
|
+
readonly names: string[];
|
|
63
|
+
readonly outputFile?: string;
|
|
64
|
+
readonly pageNumber?: number;
|
|
65
|
+
readonly pageSize?: number;
|
|
66
|
+
readonly rules: outputs.cms.GetEventRulesRule[];
|
|
67
|
+
readonly status?: string;
|
|
68
|
+
}
|
|
69
|
+
export declare function getEventRulesOutput(args?: GetEventRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEventRulesResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getEventRules.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetEventRulesOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* A list of Event Rule IDs. Its element value is same as Event Rule Name.
|
|
76
|
+
*/
|
|
77
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
78
|
+
/**
|
|
79
|
+
* The name prefix.
|
|
80
|
+
*/
|
|
81
|
+
namePrefix?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* A regex string to filter results by Event Rule name.
|
|
84
|
+
*/
|
|
85
|
+
nameRegex?: pulumi.Input<string>;
|
|
86
|
+
outputFile?: pulumi.Input<string>;
|
|
87
|
+
pageNumber?: pulumi.Input<number>;
|
|
88
|
+
pageSize?: pulumi.Input<number>;
|
|
89
|
+
/**
|
|
90
|
+
* The status of the resource.
|
|
91
|
+
*/
|
|
92
|
+
status?: pulumi.Input<string>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.getEventRulesOutput = exports.getEventRules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides the Cms Event Rules of the current Alibaba Cloud user.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Available in v1.182.0+.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* Basic Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
20
|
+
*
|
|
21
|
+
* const ids = alicloud.cms.getEventRules({
|
|
22
|
+
* ids: ["example_id"],
|
|
23
|
+
* });
|
|
24
|
+
* export const cmsEventRuleId1 = ids.then(ids => ids.rules?[0]?.id);
|
|
25
|
+
* const nameRegex = alicloud.cms.getEventRules({
|
|
26
|
+
* nameRegex: "^my-EventRule",
|
|
27
|
+
* });
|
|
28
|
+
* export const cmsEventRuleId2 = nameRegex.then(nameRegex => nameRegex.rules?[0]?.id);
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
function getEventRules(args, opts) {
|
|
32
|
+
args = args || {};
|
|
33
|
+
if (!opts) {
|
|
34
|
+
opts = {};
|
|
35
|
+
}
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
37
|
+
return pulumi.runtime.invoke("alicloud:cms/getEventRules:getEventRules", {
|
|
38
|
+
"ids": args.ids,
|
|
39
|
+
"namePrefix": args.namePrefix,
|
|
40
|
+
"nameRegex": args.nameRegex,
|
|
41
|
+
"outputFile": args.outputFile,
|
|
42
|
+
"pageNumber": args.pageNumber,
|
|
43
|
+
"pageSize": args.pageSize,
|
|
44
|
+
"status": args.status,
|
|
45
|
+
}, opts);
|
|
46
|
+
}
|
|
47
|
+
exports.getEventRules = getEventRules;
|
|
48
|
+
function getEventRulesOutput(args, opts) {
|
|
49
|
+
return pulumi.output(args).apply(a => getEventRules(a, opts));
|
|
50
|
+
}
|
|
51
|
+
exports.getEventRulesOutput = getEventRulesOutput;
|
|
52
|
+
//# sourceMappingURL=getEventRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEventRules.js","sourceRoot":"","sources":["../../cms/getEventRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,sCAgBC;AA8CD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/cms/index.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ export * from "./alarm";
|
|
|
2
2
|
export * from "./alarmContact";
|
|
3
3
|
export * from "./alarmContactGroup";
|
|
4
4
|
export * from "./dynamicTagGroup";
|
|
5
|
+
export * from "./eventRule";
|
|
5
6
|
export * from "./getAlarmContactGroups";
|
|
6
7
|
export * from "./getAlarmContacts";
|
|
7
8
|
export * from "./getDynamicTagGroups";
|
|
9
|
+
export * from "./getEventRules";
|
|
8
10
|
export * from "./getGroupMetricRules";
|
|
9
11
|
export * from "./getHybridMonitorDatas";
|
|
10
12
|
export * from "./getHybridMonitorFcTasks";
|
package/cms/index.js
CHANGED
|
@@ -23,9 +23,11 @@ __exportStar(require("./alarm"), exports);
|
|
|
23
23
|
__exportStar(require("./alarmContact"), exports);
|
|
24
24
|
__exportStar(require("./alarmContactGroup"), exports);
|
|
25
25
|
__exportStar(require("./dynamicTagGroup"), exports);
|
|
26
|
+
__exportStar(require("./eventRule"), exports);
|
|
26
27
|
__exportStar(require("./getAlarmContactGroups"), exports);
|
|
27
28
|
__exportStar(require("./getAlarmContacts"), exports);
|
|
28
29
|
__exportStar(require("./getDynamicTagGroups"), exports);
|
|
30
|
+
__exportStar(require("./getEventRules"), exports);
|
|
29
31
|
__exportStar(require("./getGroupMetricRules"), exports);
|
|
30
32
|
__exportStar(require("./getHybridMonitorDatas"), exports);
|
|
31
33
|
__exportStar(require("./getHybridMonitorFcTasks"), exports);
|
|
@@ -50,6 +52,7 @@ const alarm_1 = require("./alarm");
|
|
|
50
52
|
const alarmContact_1 = require("./alarmContact");
|
|
51
53
|
const alarmContactGroup_1 = require("./alarmContactGroup");
|
|
52
54
|
const dynamicTagGroup_1 = require("./dynamicTagGroup");
|
|
55
|
+
const eventRule_1 = require("./eventRule");
|
|
53
56
|
const groupMetricRule_1 = require("./groupMetricRule");
|
|
54
57
|
const hybridMonitorFcTask_1 = require("./hybridMonitorFcTask");
|
|
55
58
|
const hybridMonitorSlsTask_1 = require("./hybridMonitorSlsTask");
|
|
@@ -71,6 +74,8 @@ const _module = {
|
|
|
71
74
|
return new alarmContactGroup_1.AlarmContactGroup(name, undefined, { urn });
|
|
72
75
|
case "alicloud:cms/dynamicTagGroup:DynamicTagGroup":
|
|
73
76
|
return new dynamicTagGroup_1.DynamicTagGroup(name, undefined, { urn });
|
|
77
|
+
case "alicloud:cms/eventRule:EventRule":
|
|
78
|
+
return new eventRule_1.EventRule(name, undefined, { urn });
|
|
74
79
|
case "alicloud:cms/groupMetricRule:GroupMetricRule":
|
|
75
80
|
return new groupMetricRule_1.GroupMetricRule(name, undefined, { urn });
|
|
76
81
|
case "alicloud:cms/hybridMonitorFcTask:HybridMonitorFcTask":
|
|
@@ -98,6 +103,7 @@ pulumi.runtime.registerResourceModule("alicloud", "cms/alarm", _module);
|
|
|
98
103
|
pulumi.runtime.registerResourceModule("alicloud", "cms/alarmContact", _module);
|
|
99
104
|
pulumi.runtime.registerResourceModule("alicloud", "cms/alarmContactGroup", _module);
|
|
100
105
|
pulumi.runtime.registerResourceModule("alicloud", "cms/dynamicTagGroup", _module);
|
|
106
|
+
pulumi.runtime.registerResourceModule("alicloud", "cms/eventRule", _module);
|
|
101
107
|
pulumi.runtime.registerResourceModule("alicloud", "cms/groupMetricRule", _module);
|
|
102
108
|
pulumi.runtime.registerResourceModule("alicloud", "cms/hybridMonitorFcTask", _module);
|
|
103
109
|
pulumi.runtime.registerResourceModule("alicloud", "cms/hybridMonitorSlsTask", _module);
|
package/cms/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","s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ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* import * as alicloud from "@pulumi/alicloud";
|
|
16
16
|
*
|
|
17
17
|
* const example = new alicloud.cms.Namespace("example", {
|
|
18
|
-
* namespace: "
|
|
18
|
+
* namespace: "example-value",
|
|
19
19
|
* specification: "cms.s1.large",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
package/cms/namespace.js
CHANGED
|
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* import * as alicloud from "@pulumi/alicloud";
|
|
22
22
|
*
|
|
23
23
|
* const example = new alicloud.cms.Namespace("example", {
|
|
24
|
-
* namespace: "
|
|
24
|
+
* namespace: "example-value",
|
|
25
25
|
* specification: "cms.s1.large",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
package/ecs/getEipAddresses.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface GetEipAddressesArgs {
|
|
|
42
42
|
*/
|
|
43
43
|
dryRun?: boolean;
|
|
44
44
|
/**
|
|
45
|
-
* Default to `
|
|
45
|
+
* Default to `true`. Set it to `false` can hide the `tags` to output.
|
|
46
46
|
*/
|
|
47
47
|
enableDetails?: boolean;
|
|
48
48
|
/**
|
|
@@ -157,7 +157,7 @@ export interface GetEipAddressesOutputArgs {
|
|
|
157
157
|
*/
|
|
158
158
|
dryRun?: pulumi.Input<boolean>;
|
|
159
159
|
/**
|
|
160
|
-
* Default to `
|
|
160
|
+
* Default to `true`. Set it to `false` can hide the `tags` to output.
|
|
161
161
|
*/
|
|
162
162
|
enableDetails?: pulumi.Input<boolean>;
|
|
163
163
|
/**
|
package/emr/cluster.d.ts
CHANGED
|
@@ -510,6 +510,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
510
510
|
* EMR Cluster Type, e.g. HADOOP, KAFKA, DRUID, GATEWAY etc. You can find all valid EMR cluster type in emr web console. Supported 'GATEWAY' available in 1.61.0+.
|
|
511
511
|
*/
|
|
512
512
|
readonly clusterType: pulumi.Output<string>;
|
|
513
|
+
/**
|
|
514
|
+
* The custom configurations of emr-cluster service.
|
|
515
|
+
*/
|
|
516
|
+
readonly configs: pulumi.Output<outputs.emr.ClusterConfig[] | undefined>;
|
|
513
517
|
/**
|
|
514
518
|
* Cluster deposit type, HALF_MANAGED or FULL_MANAGED.
|
|
515
519
|
*/
|
|
@@ -542,6 +546,18 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
542
546
|
* Master ssh password.
|
|
543
547
|
*/
|
|
544
548
|
readonly masterPwd: pulumi.Output<string | undefined>;
|
|
549
|
+
/**
|
|
550
|
+
* The configuration of emr-cluster service component metadata storage. If meta store type is ’user_rds’, this should be specified.
|
|
551
|
+
*/
|
|
552
|
+
readonly metaStoreConf: pulumi.Output<outputs.emr.ClusterMetaStoreConf | undefined>;
|
|
553
|
+
/**
|
|
554
|
+
* The type of emr-cluster service component metadata storage. ’dlf’ or ’local’ or ’user_rds’ .
|
|
555
|
+
*/
|
|
556
|
+
readonly metaStoreType: pulumi.Output<string>;
|
|
557
|
+
/**
|
|
558
|
+
* The configurations of emr-cluster service modification after cluster created.
|
|
559
|
+
*/
|
|
560
|
+
readonly modifyClusterServiceConfig: pulumi.Output<outputs.emr.ClusterModifyClusterServiceConfig | undefined>;
|
|
545
561
|
/**
|
|
546
562
|
* bootstrap action name.
|
|
547
563
|
*/
|
|
@@ -558,6 +574,10 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
558
574
|
* This specify the related cluster id, if this cluster is a Gateway.
|
|
559
575
|
*/
|
|
560
576
|
readonly relatedClusterId: pulumi.Output<string | undefined>;
|
|
577
|
+
/**
|
|
578
|
+
* The Id of resource group which the emr-cluster belongs.
|
|
579
|
+
*/
|
|
580
|
+
readonly resourceGroupId: pulumi.Output<string | undefined>;
|
|
561
581
|
/**
|
|
562
582
|
* Security Group ID for Cluster, you can also specify this key for each host group.
|
|
563
583
|
*/
|
|
@@ -571,7 +591,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
571
591
|
*/
|
|
572
592
|
readonly tags: pulumi.Output<{
|
|
573
593
|
[key: string]: any;
|
|
574
|
-
}
|
|
594
|
+
}>;
|
|
575
595
|
/**
|
|
576
596
|
* Use local metadb. Default is false.
|
|
577
597
|
*/
|
|
@@ -613,6 +633,10 @@ export interface ClusterState {
|
|
|
613
633
|
* EMR Cluster Type, e.g. HADOOP, KAFKA, DRUID, GATEWAY etc. You can find all valid EMR cluster type in emr web console. Supported 'GATEWAY' available in 1.61.0+.
|
|
614
634
|
*/
|
|
615
635
|
clusterType?: pulumi.Input<string>;
|
|
636
|
+
/**
|
|
637
|
+
* The custom configurations of emr-cluster service.
|
|
638
|
+
*/
|
|
639
|
+
configs?: pulumi.Input<pulumi.Input<inputs.emr.ClusterConfig>[]>;
|
|
616
640
|
/**
|
|
617
641
|
* Cluster deposit type, HALF_MANAGED or FULL_MANAGED.
|
|
618
642
|
*/
|
|
@@ -645,6 +669,18 @@ export interface ClusterState {
|
|
|
645
669
|
* Master ssh password.
|
|
646
670
|
*/
|
|
647
671
|
masterPwd?: pulumi.Input<string>;
|
|
672
|
+
/**
|
|
673
|
+
* The configuration of emr-cluster service component metadata storage. If meta store type is ’user_rds’, this should be specified.
|
|
674
|
+
*/
|
|
675
|
+
metaStoreConf?: pulumi.Input<inputs.emr.ClusterMetaStoreConf>;
|
|
676
|
+
/**
|
|
677
|
+
* The type of emr-cluster service component metadata storage. ’dlf’ or ’local’ or ’user_rds’ .
|
|
678
|
+
*/
|
|
679
|
+
metaStoreType?: pulumi.Input<string>;
|
|
680
|
+
/**
|
|
681
|
+
* The configurations of emr-cluster service modification after cluster created.
|
|
682
|
+
*/
|
|
683
|
+
modifyClusterServiceConfig?: pulumi.Input<inputs.emr.ClusterModifyClusterServiceConfig>;
|
|
648
684
|
/**
|
|
649
685
|
* bootstrap action name.
|
|
650
686
|
*/
|
|
@@ -661,6 +697,10 @@ export interface ClusterState {
|
|
|
661
697
|
* This specify the related cluster id, if this cluster is a Gateway.
|
|
662
698
|
*/
|
|
663
699
|
relatedClusterId?: pulumi.Input<string>;
|
|
700
|
+
/**
|
|
701
|
+
* The Id of resource group which the emr-cluster belongs.
|
|
702
|
+
*/
|
|
703
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
664
704
|
/**
|
|
665
705
|
* Security Group ID for Cluster, you can also specify this key for each host group.
|
|
666
706
|
*/
|
|
@@ -708,6 +748,10 @@ export interface ClusterArgs {
|
|
|
708
748
|
* EMR Cluster Type, e.g. HADOOP, KAFKA, DRUID, GATEWAY etc. You can find all valid EMR cluster type in emr web console. Supported 'GATEWAY' available in 1.61.0+.
|
|
709
749
|
*/
|
|
710
750
|
clusterType: pulumi.Input<string>;
|
|
751
|
+
/**
|
|
752
|
+
* The custom configurations of emr-cluster service.
|
|
753
|
+
*/
|
|
754
|
+
configs?: pulumi.Input<pulumi.Input<inputs.emr.ClusterConfig>[]>;
|
|
711
755
|
/**
|
|
712
756
|
* Cluster deposit type, HALF_MANAGED or FULL_MANAGED.
|
|
713
757
|
*/
|
|
@@ -740,6 +784,18 @@ export interface ClusterArgs {
|
|
|
740
784
|
* Master ssh password.
|
|
741
785
|
*/
|
|
742
786
|
masterPwd?: pulumi.Input<string>;
|
|
787
|
+
/**
|
|
788
|
+
* The configuration of emr-cluster service component metadata storage. If meta store type is ’user_rds’, this should be specified.
|
|
789
|
+
*/
|
|
790
|
+
metaStoreConf?: pulumi.Input<inputs.emr.ClusterMetaStoreConf>;
|
|
791
|
+
/**
|
|
792
|
+
* The type of emr-cluster service component metadata storage. ’dlf’ or ’local’ or ’user_rds’ .
|
|
793
|
+
*/
|
|
794
|
+
metaStoreType?: pulumi.Input<string>;
|
|
795
|
+
/**
|
|
796
|
+
* The configurations of emr-cluster service modification after cluster created.
|
|
797
|
+
*/
|
|
798
|
+
modifyClusterServiceConfig?: pulumi.Input<inputs.emr.ClusterModifyClusterServiceConfig>;
|
|
743
799
|
/**
|
|
744
800
|
* bootstrap action name.
|
|
745
801
|
*/
|
|
@@ -756,6 +812,10 @@ export interface ClusterArgs {
|
|
|
756
812
|
* This specify the related cluster id, if this cluster is a Gateway.
|
|
757
813
|
*/
|
|
758
814
|
relatedClusterId?: pulumi.Input<string>;
|
|
815
|
+
/**
|
|
816
|
+
* The Id of resource group which the emr-cluster belongs.
|
|
817
|
+
*/
|
|
818
|
+
resourceGroupId?: pulumi.Input<string>;
|
|
759
819
|
/**
|
|
760
820
|
* Security Group ID for Cluster, you can also specify this key for each host group.
|
|
761
821
|
*/
|