@volcengine/pulumi-volcenginecc 0.0.43 → 0.0.44
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/cloudmonitor/eventRule.d.ts +226 -0
- package/cloudmonitor/eventRule.js +126 -0
- package/cloudmonitor/eventRule.js.map +1 -0
- package/cloudmonitor/getEventRule.d.ts +65 -0
- package/cloudmonitor/getEventRule.js +28 -0
- package/cloudmonitor/getEventRule.js.map +1 -0
- package/cloudmonitor/getEventRules.d.ts +22 -0
- package/cloudmonitor/getEventRules.js +24 -0
- package/cloudmonitor/getEventRules.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cr/getVpcEndpoint.d.ts +45 -0
- package/cr/getVpcEndpoint.js +28 -0
- package/cr/getVpcEndpoint.js.map +1 -0
- package/cr/getVpcEndpoints.d.ts +22 -0
- package/cr/getVpcEndpoints.js +24 -0
- package/cr/getVpcEndpoints.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/vpcEndpoint.d.ts +62 -0
- package/cr/vpcEndpoint.js +66 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/dns/backupSchedule.d.ts +89 -0
- package/dns/backupSchedule.js +80 -0
- package/dns/backupSchedule.js.map +1 -0
- package/dns/getBackupSchedule.d.ts +48 -0
- package/dns/getBackupSchedule.js +28 -0
- package/dns/getBackupSchedule.js.map +1 -0
- package/dns/getBackupSchedules.d.ts +22 -0
- package/dns/getBackupSchedules.js +24 -0
- package/dns/getBackupSchedules.js.map +1 -0
- package/dns/index.d.ts +9 -0
- package/dns/index.js +12 -1
- package/dns/index.js.map +1 -1
- package/gtm/getPolicies.d.ts +22 -0
- package/gtm/getPolicies.js +24 -0
- package/gtm/getPolicies.js.map +1 -0
- package/gtm/getPolicy.d.ts +65 -0
- package/gtm/getPolicy.js +28 -0
- package/gtm/getPolicy.js.map +1 -0
- package/gtm/index.d.ts +9 -0
- package/gtm/index.js +12 -1
- package/gtm/index.js.map +1 -1
- package/gtm/policy.d.ts +114 -0
- package/gtm/policy.js +76 -0
- package/gtm/policy.js.map +1 -0
- package/kafka/getGroup.d.ts +65 -0
- package/kafka/getGroup.js +28 -0
- package/kafka/getGroup.js.map +1 -0
- package/kafka/getGroups.d.ts +22 -0
- package/kafka/getGroups.js +24 -0
- package/kafka/getGroups.js.map +1 -0
- package/kafka/group.d.ts +127 -0
- package/kafka/group.js +93 -0
- package/kafka/group.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/package.json +1 -1
- package/rdsmysql/allowList.d.ts +1 -0
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/allowList.js.map +1 -1
- package/rocketmq/accessKey.d.ts +126 -0
- package/rocketmq/accessKey.js +80 -0
- package/rocketmq/accessKey.js.map +1 -0
- package/rocketmq/getAccessKey.d.ts +73 -0
- package/rocketmq/getAccessKey.js +28 -0
- package/rocketmq/getAccessKey.js.map +1 -0
- package/rocketmq/getAccessKeys.d.ts +22 -0
- package/rocketmq/getAccessKeys.js +24 -0
- package/rocketmq/getAccessKeys.js.map +1 -0
- package/rocketmq/index.d.ts +9 -0
- package/rocketmq/index.js +12 -1
- package/rocketmq/index.js.map +1 -1
- package/tls/etl.d.ts +222 -0
- package/tls/etl.js +113 -0
- package/tls/etl.js.map +1 -0
- package/tls/getEtl.d.ts +109 -0
- package/tls/getEtl.js +28 -0
- package/tls/getEtl.js.map +1 -0
- package/tls/getEtls.d.ts +22 -0
- package/tls/getEtls.js +24 -0
- package/tls/getEtls.js.map +1 -0
- package/tls/getHost.d.ts +52 -0
- package/tls/getHost.js +28 -0
- package/tls/getHost.js.map +1 -0
- package/tls/getHostGroup.d.ts +113 -0
- package/tls/getHostGroup.js +28 -0
- package/tls/getHostGroup.js.map +1 -0
- package/tls/getHostGroups.d.ts +22 -0
- package/tls/getHostGroups.js +24 -0
- package/tls/getHostGroups.js.map +1 -0
- package/tls/getHosts.d.ts +22 -0
- package/tls/getHosts.js +24 -0
- package/tls/getHosts.js.map +1 -0
- package/tls/host.d.ts +97 -0
- package/tls/host.js +82 -0
- package/tls/host.js.map +1 -0
- package/tls/hostGroup.d.ts +254 -0
- package/tls/hostGroup.js +121 -0
- package/tls/hostGroup.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +35 -1
- package/tls/index.js.map +1 -1
- package/tos/bucket.d.ts +12 -0
- package/tos/bucket.js +2 -0
- package/tos/bucket.js.map +1 -1
- package/tos/bucketMirrorBack.d.ts +62 -0
- package/tos/bucketMirrorBack.js +63 -0
- package/tos/bucketMirrorBack.js.map +1 -0
- package/tos/bucketRename.d.ts +74 -0
- package/tos/bucketRename.js +72 -0
- package/tos/bucketRename.js.map +1 -0
- package/tos/getBucket.d.ts +4 -0
- package/tos/getBucket.js.map +1 -1
- package/tos/getBucketMirrorBack.d.ts +45 -0
- package/tos/getBucketMirrorBack.js +28 -0
- package/tos/getBucketMirrorBack.js.map +1 -0
- package/tos/getBucketMirrorBacks.d.ts +22 -0
- package/tos/getBucketMirrorBacks.js +24 -0
- package/tos/getBucketMirrorBacks.js.map +1 -0
- package/tos/getBucketRename.d.ts +44 -0
- package/tos/getBucketRename.js +28 -0
- package/tos/getBucketRename.js.map +1 -0
- package/tos/getBucketRenames.d.ts +22 -0
- package/tos/getBucketRenames.js +24 -0
- package/tos/getBucketRenames.js.map +1 -0
- package/tos/index.d.ts +18 -0
- package/tos/index.js +23 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +925 -144
- package/types/output.d.ts +2306 -642
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Event rule details
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const cloudMonitorEventRuleDemo = new volcenginecc.cloudmonitor.EventRule("CloudMonitorEventRuleDemo", {
|
|
12
|
+
* ruleName: "ccapi-test-1001",
|
|
13
|
+
* description: "autoscaling scale in error",
|
|
14
|
+
* eventBusName: "default",
|
|
15
|
+
* eventSource: "autoscaling",
|
|
16
|
+
* eventTypes: ["autoscaling:ScalingGroup:ScaleInError"],
|
|
17
|
+
* enableState: "enable",
|
|
18
|
+
* level: "critical",
|
|
19
|
+
* notificationId: "2049745192xxxxxx",
|
|
20
|
+
* filterPatternInput: JSON.stringify({
|
|
21
|
+
* Data: {
|
|
22
|
+
* autoscaling: [
|
|
23
|
+
* "1",
|
|
24
|
+
* "3",
|
|
25
|
+
* ],
|
|
26
|
+
* ecs: ["2"],
|
|
27
|
+
* },
|
|
28
|
+
* }),
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcenginecc:cloudmonitor/eventRule:EventRule example "rule_id"
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class EventRule extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing EventRule resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EventRuleState, opts?: pulumi.CustomResourceOptions): EventRule;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of EventRule. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is EventRule;
|
|
54
|
+
/**
|
|
55
|
+
* Main account ID
|
|
56
|
+
*/
|
|
57
|
+
readonly accountId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Event rule creation time
|
|
60
|
+
*/
|
|
61
|
+
readonly createdAt: pulumi.Output<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters,
|
|
64
|
+
* letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
|
|
65
|
+
*/
|
|
66
|
+
readonly description: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Rule status enable: Rule enabled disable: Rule disabled
|
|
69
|
+
*/
|
|
70
|
+
readonly enableState: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Event bus name. Currently, only 'default' can be entered
|
|
73
|
+
*/
|
|
74
|
+
readonly eventBusName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Event source
|
|
77
|
+
*/
|
|
78
|
+
readonly eventSource: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Event type
|
|
81
|
+
*/
|
|
82
|
+
readonly eventTypes: pulumi.Output<string[]>;
|
|
83
|
+
/**
|
|
84
|
+
* Filter mode, also known as event matching rule. Read-only
|
|
85
|
+
*/
|
|
86
|
+
readonly filterPattern: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Filter mode, also known as event matching rule. Used for creation and modification. Format:
|
|
89
|
+
* {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
|
|
90
|
+
*/
|
|
91
|
+
readonly filterPatternInput: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Alert rule severity
|
|
94
|
+
*/
|
|
95
|
+
readonly level: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Policy ID
|
|
98
|
+
*/
|
|
99
|
+
readonly notificationId: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Event rule ID
|
|
102
|
+
*/
|
|
103
|
+
readonly ruleId: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
|
|
106
|
+
*/
|
|
107
|
+
readonly ruleName: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Event rule update time
|
|
110
|
+
*/
|
|
111
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
112
|
+
/**
|
|
113
|
+
* Create a EventRule resource with the given unique name, arguments, and options.
|
|
114
|
+
*
|
|
115
|
+
* @param name The _unique_ name of the resource.
|
|
116
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
117
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
118
|
+
*/
|
|
119
|
+
constructor(name: string, args: EventRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Input properties used for looking up and filtering EventRule resources.
|
|
123
|
+
*/
|
|
124
|
+
export interface EventRuleState {
|
|
125
|
+
/**
|
|
126
|
+
* Main account ID
|
|
127
|
+
*/
|
|
128
|
+
accountId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Event rule creation time
|
|
131
|
+
*/
|
|
132
|
+
createdAt?: pulumi.Input<number>;
|
|
133
|
+
/**
|
|
134
|
+
* Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters,
|
|
135
|
+
* letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
|
|
136
|
+
*/
|
|
137
|
+
description?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Rule status enable: Rule enabled disable: Rule disabled
|
|
140
|
+
*/
|
|
141
|
+
enableState?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Event bus name. Currently, only 'default' can be entered
|
|
144
|
+
*/
|
|
145
|
+
eventBusName?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Event source
|
|
148
|
+
*/
|
|
149
|
+
eventSource?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Event type
|
|
152
|
+
*/
|
|
153
|
+
eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
154
|
+
/**
|
|
155
|
+
* Filter mode, also known as event matching rule. Read-only
|
|
156
|
+
*/
|
|
157
|
+
filterPattern?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Filter mode, also known as event matching rule. Used for creation and modification. Format:
|
|
160
|
+
* {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
|
|
161
|
+
*/
|
|
162
|
+
filterPatternInput?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Alert rule severity
|
|
165
|
+
*/
|
|
166
|
+
level?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Policy ID
|
|
169
|
+
*/
|
|
170
|
+
notificationId?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Event rule ID
|
|
173
|
+
*/
|
|
174
|
+
ruleId?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
|
|
177
|
+
*/
|
|
178
|
+
ruleName?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Event rule update time
|
|
181
|
+
*/
|
|
182
|
+
updatedAt?: pulumi.Input<number>;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The set of arguments for constructing a EventRule resource.
|
|
186
|
+
*/
|
|
187
|
+
export interface EventRuleArgs {
|
|
188
|
+
/**
|
|
189
|
+
* Rule description Must not start with a digit, hyphen (-), or Chinese punctuation Can only contain Chinese characters,
|
|
190
|
+
* letters, digits, underscore (_), hyphen (-), or Chinese punctuation Length limit: 0–255 characters
|
|
191
|
+
*/
|
|
192
|
+
description?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Rule status enable: Rule enabled disable: Rule disabled
|
|
195
|
+
*/
|
|
196
|
+
enableState?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Event bus name. Currently, only 'default' can be entered
|
|
199
|
+
*/
|
|
200
|
+
eventBusName: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Event source
|
|
203
|
+
*/
|
|
204
|
+
eventSource: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Event type
|
|
207
|
+
*/
|
|
208
|
+
eventTypes: pulumi.Input<pulumi.Input<string>[]>;
|
|
209
|
+
/**
|
|
210
|
+
* Filter mode, also known as event matching rule. Used for creation and modification. Format:
|
|
211
|
+
* {"Data":{"autoscaling":["1","3"],"ecs":["2"]}}
|
|
212
|
+
*/
|
|
213
|
+
filterPatternInput?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* Alert rule severity
|
|
216
|
+
*/
|
|
217
|
+
level: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* Policy ID
|
|
220
|
+
*/
|
|
221
|
+
notificationId?: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Rule name Length limit: 1–128 characters Must not start with a digit or hyphen (-)
|
|
224
|
+
*/
|
|
225
|
+
ruleName: pulumi.Input<string>;
|
|
226
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
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
|
+
* Event rule details
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const cloudMonitorEventRuleDemo = new volcenginecc.cloudmonitor.EventRule("CloudMonitorEventRuleDemo", {
|
|
18
|
+
* ruleName: "ccapi-test-1001",
|
|
19
|
+
* description: "autoscaling scale in error",
|
|
20
|
+
* eventBusName: "default",
|
|
21
|
+
* eventSource: "autoscaling",
|
|
22
|
+
* eventTypes: ["autoscaling:ScalingGroup:ScaleInError"],
|
|
23
|
+
* enableState: "enable",
|
|
24
|
+
* level: "critical",
|
|
25
|
+
* notificationId: "2049745192xxxxxx",
|
|
26
|
+
* filterPatternInput: JSON.stringify({
|
|
27
|
+
* Data: {
|
|
28
|
+
* autoscaling: [
|
|
29
|
+
* "1",
|
|
30
|
+
* "3",
|
|
31
|
+
* ],
|
|
32
|
+
* ecs: ["2"],
|
|
33
|
+
* },
|
|
34
|
+
* }),
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import volcenginecc:cloudmonitor/eventRule:EventRule example "rule_id"
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
class EventRule extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing EventRule resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new EventRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of EventRule. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === EventRule.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let resourceInputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
73
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
74
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
75
|
+
resourceInputs["enableState"] = state ? state.enableState : undefined;
|
|
76
|
+
resourceInputs["eventBusName"] = state ? state.eventBusName : undefined;
|
|
77
|
+
resourceInputs["eventSource"] = state ? state.eventSource : undefined;
|
|
78
|
+
resourceInputs["eventTypes"] = state ? state.eventTypes : undefined;
|
|
79
|
+
resourceInputs["filterPattern"] = state ? state.filterPattern : undefined;
|
|
80
|
+
resourceInputs["filterPatternInput"] = state ? state.filterPatternInput : undefined;
|
|
81
|
+
resourceInputs["level"] = state ? state.level : undefined;
|
|
82
|
+
resourceInputs["notificationId"] = state ? state.notificationId : undefined;
|
|
83
|
+
resourceInputs["ruleId"] = state ? state.ruleId : undefined;
|
|
84
|
+
resourceInputs["ruleName"] = state ? state.ruleName : undefined;
|
|
85
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
const args = argsOrState;
|
|
89
|
+
if ((!args || args.eventBusName === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'eventBusName'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.eventSource === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'eventSource'");
|
|
94
|
+
}
|
|
95
|
+
if ((!args || args.eventTypes === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'eventTypes'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.level === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'level'");
|
|
100
|
+
}
|
|
101
|
+
if ((!args || args.ruleName === undefined) && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'ruleName'");
|
|
103
|
+
}
|
|
104
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
105
|
+
resourceInputs["enableState"] = args ? args.enableState : undefined;
|
|
106
|
+
resourceInputs["eventBusName"] = args ? args.eventBusName : undefined;
|
|
107
|
+
resourceInputs["eventSource"] = args ? args.eventSource : undefined;
|
|
108
|
+
resourceInputs["eventTypes"] = args ? args.eventTypes : undefined;
|
|
109
|
+
resourceInputs["filterPatternInput"] = args ? args.filterPatternInput : undefined;
|
|
110
|
+
resourceInputs["level"] = args ? args.level : undefined;
|
|
111
|
+
resourceInputs["notificationId"] = args ? args.notificationId : undefined;
|
|
112
|
+
resourceInputs["ruleName"] = args ? args.ruleName : undefined;
|
|
113
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["filterPattern"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["ruleId"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
118
|
+
}
|
|
119
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
120
|
+
super(EventRule.__pulumiType, name, resourceInputs, opts);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.EventRule = EventRule;
|
|
124
|
+
/** @internal */
|
|
125
|
+
EventRule.__pulumiType = 'volcenginecc:cloudmonitor/eventRule:EventRule';
|
|
126
|
+
//# sourceMappingURL=eventRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventRule.js","sourceRoot":"","sources":["../../cloudmonitor/eventRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAqED,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa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GAAG,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Volcengine::CloudMonitor::EventRule
|
|
4
|
+
*/
|
|
5
|
+
export declare function getEventRule(args: GetEventRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetEventRuleResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getEventRule.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetEventRuleArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getEventRule.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetEventRuleResult {
|
|
19
|
+
/**
|
|
20
|
+
* Main account ID
|
|
21
|
+
*/
|
|
22
|
+
readonly accountId: string;
|
|
23
|
+
/**
|
|
24
|
+
* Event rule creation time
|
|
25
|
+
*/
|
|
26
|
+
readonly createdAt: number;
|
|
27
|
+
/**
|
|
28
|
+
* Rule description
|
|
29
|
+
* Must not start with a digit, hyphen (-), or Chinese punctuation
|
|
30
|
+
* Can only contain Chinese characters, letters, digits, underscore (_), hyphen (-), or Chinese punctuation
|
|
31
|
+
* Length limit: 0–255 characters
|
|
32
|
+
*/
|
|
33
|
+
readonly description: string;
|
|
34
|
+
/**
|
|
35
|
+
* Rule status
|
|
36
|
+
*/
|
|
37
|
+
readonly enableState: string;
|
|
38
|
+
readonly eventBusName: string;
|
|
39
|
+
readonly eventSource: string;
|
|
40
|
+
readonly eventTypes: string[];
|
|
41
|
+
readonly filterPattern: string;
|
|
42
|
+
readonly filterPatternInput: string;
|
|
43
|
+
/**
|
|
44
|
+
* Uniquely identifies the resource.
|
|
45
|
+
*/
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly level: string;
|
|
48
|
+
readonly notificationId: string;
|
|
49
|
+
readonly ruleId: string;
|
|
50
|
+
readonly ruleName: string;
|
|
51
|
+
readonly updatedAt: number;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Data Source schema for Volcengine::CloudMonitor::EventRule
|
|
55
|
+
*/
|
|
56
|
+
export declare function getEventRuleOutput(args: GetEventRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventRuleResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getEventRule.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetEventRuleOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* Uniquely identifies the resource.
|
|
63
|
+
*/
|
|
64
|
+
id: pulumi.Input<string>;
|
|
65
|
+
}
|
|
@@ -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.getEventRuleOutput = exports.getEventRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::CloudMonitor::EventRule
|
|
10
|
+
*/
|
|
11
|
+
function getEventRule(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:cloudmonitor/getEventRule:getEventRule", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getEventRule = getEventRule;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::CloudMonitor::EventRule
|
|
20
|
+
*/
|
|
21
|
+
function getEventRuleOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:cloudmonitor/getEventRule:getEventRule", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getEventRuleOutput = getEventRuleOutput;
|
|
28
|
+
//# sourceMappingURL=getEventRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEventRule.js","sourceRoot":"","sources":["../../cloudmonitor/getEventRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAkDD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qDAAqD,EAAE;QACtF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::CloudMonitor::EventRule
|
|
4
|
+
*/
|
|
5
|
+
export declare function getEventRules(opts?: pulumi.InvokeOptions): Promise<GetEventRulesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getEventRules.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetEventRulesResult {
|
|
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::CloudMonitor::EventRule
|
|
21
|
+
*/
|
|
22
|
+
export declare function getEventRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventRulesResult>;
|
|
@@ -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.getEventRulesOutput = exports.getEventRules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::CloudMonitor::EventRule
|
|
10
|
+
*/
|
|
11
|
+
function getEventRules(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:cloudmonitor/getEventRules:getEventRules", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getEventRules = getEventRules;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::CloudMonitor::EventRule
|
|
18
|
+
*/
|
|
19
|
+
function getEventRulesOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:cloudmonitor/getEventRules:getEventRules", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getEventRulesOutput = getEventRulesOutput;
|
|
24
|
+
//# sourceMappingURL=getEventRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getEventRules.js","sourceRoot":"","sources":["../../cloudmonitor/getEventRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE,EACrF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE,EAC3F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
|
package/cloudmonitor/index.d.ts
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
export { ContactGroupArgs, ContactGroupState } from "./contactGroup";
|
|
2
2
|
export type ContactGroup = import("./contactGroup").ContactGroup;
|
|
3
3
|
export declare const ContactGroup: typeof import("./contactGroup").ContactGroup;
|
|
4
|
+
export { EventRuleArgs, EventRuleState } from "./eventRule";
|
|
5
|
+
export type EventRule = import("./eventRule").EventRule;
|
|
6
|
+
export declare const EventRule: typeof import("./eventRule").EventRule;
|
|
4
7
|
export { GetContactGroupArgs, GetContactGroupResult, GetContactGroupOutputArgs } from "./getContactGroup";
|
|
5
8
|
export declare const getContactGroup: typeof import("./getContactGroup").getContactGroup;
|
|
6
9
|
export declare const getContactGroupOutput: typeof import("./getContactGroup").getContactGroupOutput;
|
|
7
10
|
export { GetContactGroupsResult } from "./getContactGroups";
|
|
8
11
|
export declare const getContactGroups: typeof import("./getContactGroups").getContactGroups;
|
|
9
12
|
export declare const getContactGroupsOutput: typeof import("./getContactGroups").getContactGroupsOutput;
|
|
13
|
+
export { GetEventRuleArgs, GetEventRuleResult, GetEventRuleOutputArgs } from "./getEventRule";
|
|
14
|
+
export declare const getEventRule: typeof import("./getEventRule").getEventRule;
|
|
15
|
+
export declare const getEventRuleOutput: typeof import("./getEventRule").getEventRuleOutput;
|
|
16
|
+
export { GetEventRulesResult } from "./getEventRules";
|
|
17
|
+
export declare const getEventRules: typeof import("./getEventRules").getEventRules;
|
|
18
|
+
export declare const getEventRulesOutput: typeof import("./getEventRules").getEventRulesOutput;
|
|
10
19
|
export { GetRuleArgs, GetRuleResult, GetRuleOutputArgs } from "./getRule";
|
|
11
20
|
export declare const getRule: typeof import("./getRule").getRule;
|
|
12
21
|
export declare const getRuleOutput: typeof import("./getRule").getRuleOutput;
|
package/cloudmonitor/index.js
CHANGED
|
@@ -2,17 +2,25 @@
|
|
|
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.Rule = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getContactGroupsOutput = exports.getContactGroups = exports.getContactGroupOutput = exports.getContactGroup = exports.ContactGroup = void 0;
|
|
5
|
+
exports.Rule = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getEventRulesOutput = exports.getEventRules = exports.getEventRuleOutput = exports.getEventRule = exports.getContactGroupsOutput = exports.getContactGroups = exports.getContactGroupOutput = exports.getContactGroup = exports.EventRule = exports.ContactGroup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.ContactGroup = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["ContactGroup"], () => require("./contactGroup"));
|
|
10
|
+
exports.EventRule = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["EventRule"], () => require("./eventRule"));
|
|
10
12
|
exports.getContactGroup = null;
|
|
11
13
|
exports.getContactGroupOutput = null;
|
|
12
14
|
utilities.lazyLoad(exports, ["getContactGroup", "getContactGroupOutput"], () => require("./getContactGroup"));
|
|
13
15
|
exports.getContactGroups = null;
|
|
14
16
|
exports.getContactGroupsOutput = null;
|
|
15
17
|
utilities.lazyLoad(exports, ["getContactGroups", "getContactGroupsOutput"], () => require("./getContactGroups"));
|
|
18
|
+
exports.getEventRule = null;
|
|
19
|
+
exports.getEventRuleOutput = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["getEventRule", "getEventRuleOutput"], () => require("./getEventRule"));
|
|
21
|
+
exports.getEventRules = null;
|
|
22
|
+
exports.getEventRulesOutput = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["getEventRules", "getEventRulesOutput"], () => require("./getEventRules"));
|
|
16
24
|
exports.getRule = null;
|
|
17
25
|
exports.getRuleOutput = null;
|
|
18
26
|
utilities.lazyLoad(exports, ["getRule", "getRuleOutput"], () => require("./getRule"));
|
|
@@ -27,6 +35,8 @@ const _module = {
|
|
|
27
35
|
switch (type) {
|
|
28
36
|
case "volcenginecc:cloudmonitor/contactGroup:ContactGroup":
|
|
29
37
|
return new exports.ContactGroup(name, undefined, { urn });
|
|
38
|
+
case "volcenginecc:cloudmonitor/eventRule:EventRule":
|
|
39
|
+
return new exports.EventRule(name, undefined, { urn });
|
|
30
40
|
case "volcenginecc:cloudmonitor/rule:Rule":
|
|
31
41
|
return new exports.Rule(name, undefined, { urn });
|
|
32
42
|
default:
|
|
@@ -35,5 +45,6 @@ const _module = {
|
|
|
35
45
|
},
|
|
36
46
|
};
|
|
37
47
|
pulumi.runtime.registerResourceModule("volcenginecc", "cloudmonitor/contactGroup", _module);
|
|
48
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "cloudmonitor/eventRule", _module);
|
|
38
49
|
pulumi.runtime.registerResourceModule("volcenginecc", "cloudmonitor/rule", _module);
|
|
39
50
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudmonitor/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudmonitor/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG5D,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;AAG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C,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qDAAqD;gBACtD,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,+CAA+C;gBAChD,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,qCAAqC;gBACtC,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::CR::VpcEndpoint
|
|
5
|
+
*/
|
|
6
|
+
export declare function getVpcEndpoint(args: GetVpcEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcEndpointResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getVpcEndpoint.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetVpcEndpointArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getVpcEndpoint.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetVpcEndpointResult {
|
|
20
|
+
/**
|
|
21
|
+
* Uniquely identifies the resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Image repository instance name
|
|
26
|
+
*/
|
|
27
|
+
readonly registry: string;
|
|
28
|
+
/**
|
|
29
|
+
* Specify which VPCs can access this Standard Edition image repository instance
|
|
30
|
+
*/
|
|
31
|
+
readonly vpcs: outputs.cr.GetVpcEndpointVpc[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Data Source schema for Volcengine::CR::VpcEndpoint
|
|
35
|
+
*/
|
|
36
|
+
export declare function getVpcEndpointOutput(args: GetVpcEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcEndpointResult>;
|
|
37
|
+
/**
|
|
38
|
+
* A collection of arguments for invoking getVpcEndpoint.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetVpcEndpointOutputArgs {
|
|
41
|
+
/**
|
|
42
|
+
* Uniquely identifies the resource.
|
|
43
|
+
*/
|
|
44
|
+
id: pulumi.Input<string>;
|
|
45
|
+
}
|
|
@@ -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.getVpcEndpointOutput = exports.getVpcEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::CR::VpcEndpoint
|
|
10
|
+
*/
|
|
11
|
+
function getVpcEndpoint(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:cr/getVpcEndpoint:getVpcEndpoint", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getVpcEndpoint = getVpcEndpoint;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::CR::VpcEndpoint
|
|
20
|
+
*/
|
|
21
|
+
function getVpcEndpointOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:cr/getVpcEndpoint:getVpcEndpoint", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getVpcEndpointOutput = getVpcEndpointOutput;
|
|
28
|
+
//# sourceMappingURL=getVpcEndpoint.js.map
|