@volcengine/pulumi 0.0.16 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/cloudfs/access.d.ts +180 -0
  2. package/cloudfs/access.js +104 -0
  3. package/cloudfs/access.js.map +1 -0
  4. package/cloudfs/accesses.d.ts +78 -0
  5. package/cloudfs/accesses.js +46 -0
  6. package/cloudfs/accesses.js.map +1 -0
  7. package/cloudfs/fileSystem.d.ts +287 -0
  8. package/cloudfs/fileSystem.js +140 -0
  9. package/cloudfs/fileSystem.js.map +1 -0
  10. package/cloudfs/fileSystems.d.ts +93 -0
  11. package/cloudfs/fileSystems.js +49 -0
  12. package/cloudfs/fileSystems.js.map +1 -0
  13. package/cloudfs/index.d.ts +24 -0
  14. package/cloudfs/index.js +47 -0
  15. package/cloudfs/index.js.map +1 -0
  16. package/cloudfs/namespace.d.ts +183 -0
  17. package/cloudfs/namespace.js +100 -0
  18. package/cloudfs/namespace.js.map +1 -0
  19. package/cloudfs/namespaces.d.ts +98 -0
  20. package/cloudfs/namespaces.js +50 -0
  21. package/cloudfs/namespaces.js.map +1 -0
  22. package/cloudfs/nsQuotas.d.ts +81 -0
  23. package/cloudfs/nsQuotas.js +52 -0
  24. package/cloudfs/nsQuotas.js.map +1 -0
  25. package/cloudfs/quotas.d.ts +62 -0
  26. package/cloudfs/quotas.js +42 -0
  27. package/cloudfs/quotas.js.map +1 -0
  28. package/cr/registry.d.ts +1 -1
  29. package/cr/registry.js +1 -1
  30. package/ecs/command.d.ts +157 -0
  31. package/ecs/command.js +93 -0
  32. package/ecs/command.js.map +1 -0
  33. package/ecs/commands.d.ts +132 -0
  34. package/ecs/commands.js +52 -0
  35. package/ecs/commands.js.map +1 -0
  36. package/ecs/index.d.ts +18 -0
  37. package/ecs/index.js +23 -1
  38. package/ecs/index.js.map +1 -1
  39. package/ecs/instance.d.ts +4 -4
  40. package/ecs/invocation.d.ts +223 -0
  41. package/ecs/invocation.js +118 -0
  42. package/ecs/invocation.js.map +1 -0
  43. package/ecs/invocationResults.d.ts +116 -0
  44. package/ecs/invocationResults.js +51 -0
  45. package/ecs/invocationResults.js.map +1 -0
  46. package/ecs/invocations.d.ts +161 -0
  47. package/ecs/invocations.js +56 -0
  48. package/ecs/invocations.js.map +1 -0
  49. package/ecs/regions.d.ts +75 -0
  50. package/ecs/regions.js +47 -0
  51. package/ecs/regions.js.map +1 -0
  52. package/escloud/instance.d.ts +26 -13
  53. package/escloud/instance.js +26 -13
  54. package/escloud/instance.js.map +1 -1
  55. package/escloud/instances.d.ts +100 -6
  56. package/escloud/instances.js +100 -6
  57. package/escloud/instances.js.map +1 -1
  58. package/index.d.ts +2 -1
  59. package/index.js +3 -1
  60. package/index.js.map +1 -1
  61. package/package.json +2 -2
  62. package/rds_mysql/account.d.ts +48 -4
  63. package/rds_mysql/account.js +48 -4
  64. package/rds_mysql/account.js.map +1 -1
  65. package/rds_mysql/accounts.d.ts +106 -6
  66. package/rds_mysql/accounts.js +106 -6
  67. package/rds_mysql/accounts.js.map +1 -1
  68. package/rds_mysql/allowlist.d.ts +7 -3
  69. package/rds_mysql/allowlist.js +7 -3
  70. package/rds_mysql/allowlist.js.map +1 -1
  71. package/rds_mysql/allowlistAssociate.d.ts +47 -3
  72. package/rds_mysql/allowlistAssociate.js +47 -3
  73. package/rds_mysql/allowlistAssociate.js.map +1 -1
  74. package/rds_mysql/allowlists.d.ts +102 -4
  75. package/rds_mysql/allowlists.js +102 -4
  76. package/rds_mysql/allowlists.js.map +1 -1
  77. package/rds_mysql/database.d.ts +38 -4
  78. package/rds_mysql/database.js +38 -4
  79. package/rds_mysql/database.js.map +1 -1
  80. package/rds_mysql/databases.d.ts +84 -6
  81. package/rds_mysql/databases.js +84 -6
  82. package/rds_mysql/databases.js.map +1 -1
  83. package/rds_mysql/instance.d.ts +18 -15
  84. package/rds_mysql/instance.js +17 -14
  85. package/rds_mysql/instance.js.map +1 -1
  86. package/rds_mysql/instanceReadonlyNode.d.ts +38 -3
  87. package/rds_mysql/instanceReadonlyNode.js +38 -3
  88. package/rds_mysql/instanceReadonlyNode.js.map +1 -1
  89. package/rds_mysql/instances.d.ts +74 -4
  90. package/rds_mysql/instances.js +74 -4
  91. package/rds_mysql/instances.js.map +1 -1
  92. package/redis/account.d.ts +32 -5
  93. package/redis/account.js +32 -5
  94. package/redis/account.js.map +1 -1
  95. package/redis/accounts.d.ts +74 -4
  96. package/redis/accounts.js +74 -4
  97. package/redis/accounts.js.map +1 -1
  98. package/redis/allowList.d.ts +2 -2
  99. package/redis/allowList.js +2 -2
  100. package/redis/allowListAssociate.d.ts +34 -6
  101. package/redis/allowListAssociate.js +34 -6
  102. package/redis/allowListAssociate.js.map +1 -1
  103. package/redis/allowLists.d.ts +78 -2
  104. package/redis/allowLists.js +78 -2
  105. package/redis/allowLists.js.map +1 -1
  106. package/redis/backup.d.ts +29 -1
  107. package/redis/backup.js +29 -1
  108. package/redis/backup.js.map +1 -1
  109. package/redis/backupRestore.d.ts +33 -3
  110. package/redis/backupRestore.js +33 -3
  111. package/redis/backupRestore.js.map +1 -1
  112. package/redis/backups.d.ts +68 -6
  113. package/redis/backups.js +68 -6
  114. package/redis/backups.js.map +1 -1
  115. package/redis/continuousBackup.d.ts +29 -1
  116. package/redis/continuousBackup.js +29 -1
  117. package/redis/continuousBackup.js.map +1 -1
  118. package/redis/endpoint.d.ts +37 -3
  119. package/redis/endpoint.js +37 -3
  120. package/redis/endpoint.js.map +1 -1
  121. package/redis/instance.d.ts +41 -32
  122. package/redis/instance.js +41 -32
  123. package/redis/instance.js.map +1 -1
  124. package/redis/instances.d.ts +60 -4
  125. package/redis/instances.js +60 -4
  126. package/redis/instances.js.map +1 -1
  127. package/tls/index_.d.ts +33 -8
  128. package/tls/index_.js +23 -8
  129. package/tls/index_.js.map +1 -1
  130. package/tls/indexes.d.ts +2 -2
  131. package/tls/indexes.js +2 -2
  132. package/tos/bucketObject.d.ts +8 -0
  133. package/tos/bucketObject.js +2 -0
  134. package/tos/bucketObject.js.map +1 -1
  135. package/types/input.d.ts +43 -1
  136. package/types/output.d.ts +505 -1
  137. package/vpc/securityGroup.d.ts +2 -2
  138. package/vpc/securityGroup.js +1 -1
  139. package/vpc/vpc.d.ts +1 -1
package/ecs/instance.d.ts CHANGED
@@ -87,7 +87,7 @@ export declare class Instance extends pulumi.CustomResource {
87
87
  */
88
88
  readonly autoRenewPeriod: pulumi.Output<number | undefined>;
89
89
  /**
90
- * The option of cpu.
90
+ * The option of cpu,only support for ebm.
91
91
  */
92
92
  readonly cpuOptions: pulumi.Output<outputs.ecs.InstanceCpuOptions>;
93
93
  /**
@@ -204,7 +204,7 @@ export declare class Instance extends pulumi.CustomResource {
204
204
  /**
205
205
  * The ProjectName of the ecs instance.
206
206
  */
207
- readonly projectName: pulumi.Output<string | undefined>;
207
+ readonly projectName: pulumi.Output<string>;
208
208
  /**
209
209
  * The secondary networkInterface detail collection of ECS instance.
210
210
  */
@@ -287,7 +287,7 @@ export interface InstanceState {
287
287
  */
288
288
  autoRenewPeriod?: pulumi.Input<number>;
289
289
  /**
290
- * The option of cpu.
290
+ * The option of cpu,only support for ebm.
291
291
  */
292
292
  cpuOptions?: pulumi.Input<inputs.ecs.InstanceCpuOptions>;
293
293
  /**
@@ -479,7 +479,7 @@ export interface InstanceArgs {
479
479
  */
480
480
  autoRenewPeriod?: pulumi.Input<number>;
481
481
  /**
482
- * The option of cpu.
482
+ * The option of cpu,only support for ebm.
483
483
  */
484
484
  cpuOptions?: pulumi.Input<inputs.ecs.InstanceCpuOptions>;
485
485
  /**
@@ -0,0 +1,223 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage ecs invocation
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.ecs.Invocation("foo", {
11
+ * commandId: "cmd-ychkepkhtim0tr3b****",
12
+ * frequency: "5m",
13
+ * instanceIds: ["i-ychmz92487l8j00o****"],
14
+ * invocationDescription: "tf",
15
+ * invocationName: "tf-test",
16
+ * launchTime: "2023-06-20T09:48:00Z",
17
+ * recurrenceEndTime: "2023-06-20T09:59:00Z",
18
+ * repeatMode: "Rate",
19
+ * timeout: 90,
20
+ * username: "root",
21
+ * workingDir: "/home",
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * EcsInvocation can be imported using the id, e.g.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import volcengine:ecs/invocation:Invocation default ivk-ychnxnm45dl8j0mm****
31
+ * ```
32
+ */
33
+ export declare class Invocation extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing Invocation resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InvocationState, opts?: pulumi.CustomResourceOptions): Invocation;
44
+ /**
45
+ * Returns true if the given object is an instance of Invocation. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is Invocation;
49
+ /**
50
+ * The command id of the ecs invocation.
51
+ */
52
+ readonly commandId: pulumi.Output<string>;
53
+ /**
54
+ * The end time of the ecs invocation.
55
+ */
56
+ readonly endTime: pulumi.Output<string>;
57
+ /**
58
+ * The frequency of the ecs invocation. This field is valid and required when the value of the repeatMode field is `Rate`.
59
+ */
60
+ readonly frequency: pulumi.Output<string | undefined>;
61
+ /**
62
+ * The list of ECS instance IDs.
63
+ */
64
+ readonly instanceIds: pulumi.Output<string[]>;
65
+ /**
66
+ * The description of the ecs invocation.
67
+ */
68
+ readonly invocationDescription: pulumi.Output<string | undefined>;
69
+ /**
70
+ * The name of the ecs invocation.
71
+ */
72
+ readonly invocationName: pulumi.Output<string>;
73
+ /**
74
+ * The status of the ecs invocation.
75
+ */
76
+ readonly invocationStatus: pulumi.Output<string>;
77
+ /**
78
+ * The launch time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate` or `Fixed`.
79
+ */
80
+ readonly launchTime: pulumi.Output<string | undefined>;
81
+ /**
82
+ * The recurrence end time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate`.
83
+ */
84
+ readonly recurrenceEndTime: pulumi.Output<string | undefined>;
85
+ /**
86
+ * The repeat mode of the ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
87
+ */
88
+ readonly repeatMode: pulumi.Output<string | undefined>;
89
+ /**
90
+ * The start time of the ecs invocation.
91
+ */
92
+ readonly startTime: pulumi.Output<string>;
93
+ /**
94
+ * The timeout of the ecs command. Valid value range: 10-600. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
95
+ */
96
+ readonly timeout: pulumi.Output<number>;
97
+ /**
98
+ * The username of the ecs command. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
99
+ */
100
+ readonly username: pulumi.Output<string>;
101
+ /**
102
+ * The working directory of the ecs invocation. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
103
+ */
104
+ readonly workingDir: pulumi.Output<string>;
105
+ /**
106
+ * Create a Invocation resource with the given unique name, arguments, and options.
107
+ *
108
+ * @param name The _unique_ name of the resource.
109
+ * @param args The arguments to use to populate this resource's properties.
110
+ * @param opts A bag of options that control this resource's behavior.
111
+ */
112
+ constructor(name: string, args: InvocationArgs, opts?: pulumi.CustomResourceOptions);
113
+ }
114
+ /**
115
+ * Input properties used for looking up and filtering Invocation resources.
116
+ */
117
+ export interface InvocationState {
118
+ /**
119
+ * The command id of the ecs invocation.
120
+ */
121
+ commandId?: pulumi.Input<string>;
122
+ /**
123
+ * The end time of the ecs invocation.
124
+ */
125
+ endTime?: pulumi.Input<string>;
126
+ /**
127
+ * The frequency of the ecs invocation. This field is valid and required when the value of the repeatMode field is `Rate`.
128
+ */
129
+ frequency?: pulumi.Input<string>;
130
+ /**
131
+ * The list of ECS instance IDs.
132
+ */
133
+ instanceIds?: pulumi.Input<pulumi.Input<string>[]>;
134
+ /**
135
+ * The description of the ecs invocation.
136
+ */
137
+ invocationDescription?: pulumi.Input<string>;
138
+ /**
139
+ * The name of the ecs invocation.
140
+ */
141
+ invocationName?: pulumi.Input<string>;
142
+ /**
143
+ * The status of the ecs invocation.
144
+ */
145
+ invocationStatus?: pulumi.Input<string>;
146
+ /**
147
+ * The launch time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate` or `Fixed`.
148
+ */
149
+ launchTime?: pulumi.Input<string>;
150
+ /**
151
+ * The recurrence end time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate`.
152
+ */
153
+ recurrenceEndTime?: pulumi.Input<string>;
154
+ /**
155
+ * The repeat mode of the ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
156
+ */
157
+ repeatMode?: pulumi.Input<string>;
158
+ /**
159
+ * The start time of the ecs invocation.
160
+ */
161
+ startTime?: pulumi.Input<string>;
162
+ /**
163
+ * The timeout of the ecs command. Valid value range: 10-600. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
164
+ */
165
+ timeout?: pulumi.Input<number>;
166
+ /**
167
+ * The username of the ecs command. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
168
+ */
169
+ username?: pulumi.Input<string>;
170
+ /**
171
+ * The working directory of the ecs invocation. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
172
+ */
173
+ workingDir?: pulumi.Input<string>;
174
+ }
175
+ /**
176
+ * The set of arguments for constructing a Invocation resource.
177
+ */
178
+ export interface InvocationArgs {
179
+ /**
180
+ * The command id of the ecs invocation.
181
+ */
182
+ commandId: pulumi.Input<string>;
183
+ /**
184
+ * The frequency of the ecs invocation. This field is valid and required when the value of the repeatMode field is `Rate`.
185
+ */
186
+ frequency?: pulumi.Input<string>;
187
+ /**
188
+ * The list of ECS instance IDs.
189
+ */
190
+ instanceIds: pulumi.Input<pulumi.Input<string>[]>;
191
+ /**
192
+ * The description of the ecs invocation.
193
+ */
194
+ invocationDescription?: pulumi.Input<string>;
195
+ /**
196
+ * The name of the ecs invocation.
197
+ */
198
+ invocationName: pulumi.Input<string>;
199
+ /**
200
+ * The launch time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate` or `Fixed`.
201
+ */
202
+ launchTime?: pulumi.Input<string>;
203
+ /**
204
+ * The recurrence end time of the ecs invocation. RFC3339 format. This field is valid and required when the value of the repeatMode field is `Rate`.
205
+ */
206
+ recurrenceEndTime?: pulumi.Input<string>;
207
+ /**
208
+ * The repeat mode of the ecs invocation. Valid values: `Once`, `Rate`, `Fixed`.
209
+ */
210
+ repeatMode?: pulumi.Input<string>;
211
+ /**
212
+ * The timeout of the ecs command. Valid value range: 10-600. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
213
+ */
214
+ timeout?: pulumi.Input<number>;
215
+ /**
216
+ * The username of the ecs command. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
217
+ */
218
+ username: pulumi.Input<string>;
219
+ /**
220
+ * The working directory of the ecs invocation. When this field is not specified, use the value of the field with the same name in ecs command as the default value.
221
+ */
222
+ workingDir?: pulumi.Input<string>;
223
+ }
@@ -0,0 +1,118 @@
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.Invocation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage ecs invocation
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.ecs.Invocation("foo", {
17
+ * commandId: "cmd-ychkepkhtim0tr3b****",
18
+ * frequency: "5m",
19
+ * instanceIds: ["i-ychmz92487l8j00o****"],
20
+ * invocationDescription: "tf",
21
+ * invocationName: "tf-test",
22
+ * launchTime: "2023-06-20T09:48:00Z",
23
+ * recurrenceEndTime: "2023-06-20T09:59:00Z",
24
+ * repeatMode: "Rate",
25
+ * timeout: 90,
26
+ * username: "root",
27
+ * workingDir: "/home",
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * EcsInvocation can be imported using the id, e.g.
34
+ *
35
+ * ```sh
36
+ * $ pulumi import volcengine:ecs/invocation:Invocation default ivk-ychnxnm45dl8j0mm****
37
+ * ```
38
+ */
39
+ class Invocation extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing Invocation resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name, id, state, opts) {
50
+ return new Invocation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
51
+ }
52
+ /**
53
+ * Returns true if the given object is an instance of Invocation. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj) {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === Invocation.__pulumiType;
61
+ }
62
+ constructor(name, argsOrState, opts) {
63
+ let resourceInputs = {};
64
+ opts = opts || {};
65
+ if (opts.id) {
66
+ const state = argsOrState;
67
+ resourceInputs["commandId"] = state ? state.commandId : undefined;
68
+ resourceInputs["endTime"] = state ? state.endTime : undefined;
69
+ resourceInputs["frequency"] = state ? state.frequency : undefined;
70
+ resourceInputs["instanceIds"] = state ? state.instanceIds : undefined;
71
+ resourceInputs["invocationDescription"] = state ? state.invocationDescription : undefined;
72
+ resourceInputs["invocationName"] = state ? state.invocationName : undefined;
73
+ resourceInputs["invocationStatus"] = state ? state.invocationStatus : undefined;
74
+ resourceInputs["launchTime"] = state ? state.launchTime : undefined;
75
+ resourceInputs["recurrenceEndTime"] = state ? state.recurrenceEndTime : undefined;
76
+ resourceInputs["repeatMode"] = state ? state.repeatMode : undefined;
77
+ resourceInputs["startTime"] = state ? state.startTime : undefined;
78
+ resourceInputs["timeout"] = state ? state.timeout : undefined;
79
+ resourceInputs["username"] = state ? state.username : undefined;
80
+ resourceInputs["workingDir"] = state ? state.workingDir : undefined;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if ((!args || args.commandId === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'commandId'");
86
+ }
87
+ if ((!args || args.instanceIds === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'instanceIds'");
89
+ }
90
+ if ((!args || args.invocationName === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'invocationName'");
92
+ }
93
+ if ((!args || args.username === undefined) && !opts.urn) {
94
+ throw new Error("Missing required property 'username'");
95
+ }
96
+ resourceInputs["commandId"] = args ? args.commandId : undefined;
97
+ resourceInputs["frequency"] = args ? args.frequency : undefined;
98
+ resourceInputs["instanceIds"] = args ? args.instanceIds : undefined;
99
+ resourceInputs["invocationDescription"] = args ? args.invocationDescription : undefined;
100
+ resourceInputs["invocationName"] = args ? args.invocationName : undefined;
101
+ resourceInputs["launchTime"] = args ? args.launchTime : undefined;
102
+ resourceInputs["recurrenceEndTime"] = args ? args.recurrenceEndTime : undefined;
103
+ resourceInputs["repeatMode"] = args ? args.repeatMode : undefined;
104
+ resourceInputs["timeout"] = args ? args.timeout : undefined;
105
+ resourceInputs["username"] = args ? args.username : undefined;
106
+ resourceInputs["workingDir"] = args ? args.workingDir : undefined;
107
+ resourceInputs["endTime"] = undefined /*out*/;
108
+ resourceInputs["invocationStatus"] = undefined /*out*/;
109
+ resourceInputs["startTime"] = undefined /*out*/;
110
+ }
111
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
112
+ super(Invocation.__pulumiType, name, resourceInputs, opts);
113
+ }
114
+ }
115
+ exports.Invocation = Invocation;
116
+ /** @internal */
117
+ Invocation.__pulumiType = 'volcengine:ecs/invocation:Invocation';
118
+ //# sourceMappingURL=invocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invocation.js","sourceRoot":"","sources":["../../ecs/invocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmED,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YA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,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA/IL,gCAgJC;AAlIG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,116 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of ecs invocation results
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const default = volcengine.ecs.InvocationResults({
12
+ * invocationId: "ivk-ych9y4vujvl8j01c****",
13
+ * invocationResultStatuses: ["Success"],
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function invocationResults(args: InvocationResultsArgs, opts?: pulumi.InvokeOptions): Promise<InvocationResultsResult>;
18
+ /**
19
+ * A collection of arguments for invoking InvocationResults.
20
+ */
21
+ export interface InvocationResultsArgs {
22
+ /**
23
+ * The id of ecs command.
24
+ */
25
+ commandId?: string;
26
+ /**
27
+ * The id of ecs instance.
28
+ */
29
+ instanceId?: string;
30
+ /**
31
+ * The id of ecs invocation.
32
+ */
33
+ invocationId: string;
34
+ /**
35
+ * The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
36
+ */
37
+ invocationResultStatuses?: string[];
38
+ /**
39
+ * File name where to save data source results.
40
+ */
41
+ outputFile?: string;
42
+ }
43
+ /**
44
+ * A collection of values returned by InvocationResults.
45
+ */
46
+ export interface InvocationResultsResult {
47
+ /**
48
+ * The id of the ecs command.
49
+ */
50
+ readonly commandId?: string;
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ /**
56
+ * The id of the ecs instance.
57
+ */
58
+ readonly instanceId?: string;
59
+ /**
60
+ * The id of the ecs invocation.
61
+ */
62
+ readonly invocationId: string;
63
+ /**
64
+ * The status of ecs invocation in a single instance.
65
+ */
66
+ readonly invocationResultStatuses?: string[];
67
+ /**
68
+ * The collection of query.
69
+ */
70
+ readonly invocationResults: outputs.ecs.InvocationResultsInvocationResult[];
71
+ readonly outputFile?: string;
72
+ /**
73
+ * The total count of query.
74
+ */
75
+ readonly totalCount: number;
76
+ }
77
+ /**
78
+ * Use this data source to query detailed information of ecs invocation results
79
+ * ## Example Usage
80
+ *
81
+ * ```typescript
82
+ * import * as pulumi from "@pulumi/pulumi";
83
+ * import * as volcengine from "@pulumi/volcengine";
84
+ *
85
+ * const default = volcengine.ecs.InvocationResults({
86
+ * invocationId: "ivk-ych9y4vujvl8j01c****",
87
+ * invocationResultStatuses: ["Success"],
88
+ * });
89
+ * ```
90
+ */
91
+ export declare function invocationResultsOutput(args: InvocationResultsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InvocationResultsResult>;
92
+ /**
93
+ * A collection of arguments for invoking InvocationResults.
94
+ */
95
+ export interface InvocationResultsOutputArgs {
96
+ /**
97
+ * The id of ecs command.
98
+ */
99
+ commandId?: pulumi.Input<string>;
100
+ /**
101
+ * The id of ecs instance.
102
+ */
103
+ instanceId?: pulumi.Input<string>;
104
+ /**
105
+ * The id of ecs invocation.
106
+ */
107
+ invocationId: pulumi.Input<string>;
108
+ /**
109
+ * The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
110
+ */
111
+ invocationResultStatuses?: pulumi.Input<pulumi.Input<string>[]>;
112
+ /**
113
+ * File name where to save data source results.
114
+ */
115
+ outputFile?: pulumi.Input<string>;
116
+ }
@@ -0,0 +1,51 @@
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.invocationResultsOutput = exports.invocationResults = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of ecs invocation results
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const default = volcengine.ecs.InvocationResults({
17
+ * invocationId: "ivk-ych9y4vujvl8j01c****",
18
+ * invocationResultStatuses: ["Success"],
19
+ * });
20
+ * ```
21
+ */
22
+ function invocationResults(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("volcengine:ecs/invocationResults:InvocationResults", {
25
+ "commandId": args.commandId,
26
+ "instanceId": args.instanceId,
27
+ "invocationId": args.invocationId,
28
+ "invocationResultStatuses": args.invocationResultStatuses,
29
+ "outputFile": args.outputFile,
30
+ }, opts);
31
+ }
32
+ exports.invocationResults = invocationResults;
33
+ /**
34
+ * Use this data source to query detailed information of ecs invocation results
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as volcengine from "@pulumi/volcengine";
40
+ *
41
+ * const default = volcengine.ecs.InvocationResults({
42
+ * invocationId: "ivk-ych9y4vujvl8j01c****",
43
+ * invocationResultStatuses: ["Success"],
44
+ * });
45
+ * ```
46
+ */
47
+ function invocationResultsOutput(args, opts) {
48
+ return pulumi.output(args).apply((a) => invocationResults(a, opts));
49
+ }
50
+ exports.invocationResultsOutput = invocationResultsOutput;
51
+ //# sourceMappingURL=invocationResults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invocationResults.js","sourceRoot":"","sources":["../../ecs/invocationResults.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;AA8DD;;;;;;;;;;;;;GAaG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}