@volcengine/pulumi-volcenginecc 0.0.45 → 0.0.46

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 (95) hide show
  1. package/fwcenter/getNatFireWallControlPolicies.d.ts +22 -0
  2. package/fwcenter/getNatFireWallControlPolicies.js +24 -0
  3. package/fwcenter/getNatFireWallControlPolicies.js.map +1 -0
  4. package/fwcenter/getNatFireWallControlPolicy.d.ts +185 -0
  5. package/fwcenter/getNatFireWallControlPolicy.js +28 -0
  6. package/fwcenter/getNatFireWallControlPolicy.js.map +1 -0
  7. package/fwcenter/index.d.ts +9 -0
  8. package/fwcenter/index.js +12 -1
  9. package/fwcenter/index.js.map +1 -1
  10. package/fwcenter/natFireWallControlPolicy.d.ts +433 -0
  11. package/fwcenter/natFireWallControlPolicy.js +186 -0
  12. package/fwcenter/natFireWallControlPolicy.js.map +1 -0
  13. package/id/authConfig.d.ts +142 -0
  14. package/id/authConfig.js +79 -0
  15. package/id/authConfig.js.map +1 -0
  16. package/id/getAuthConfig.d.ts +77 -0
  17. package/id/getAuthConfig.js +28 -0
  18. package/id/getAuthConfig.js.map +1 -0
  19. package/id/getAuthConfigs.d.ts +22 -0
  20. package/id/getAuthConfigs.js +24 -0
  21. package/id/getAuthConfigs.js.map +1 -0
  22. package/id/getPermissionNamespace.d.ts +73 -0
  23. package/id/getPermissionNamespace.js +28 -0
  24. package/id/getPermissionNamespace.js.map +1 -0
  25. package/id/getPermissionNamespaces.d.ts +22 -0
  26. package/id/getPermissionNamespaces.js +24 -0
  27. package/id/getPermissionNamespaces.js.map +1 -0
  28. package/id/getUserPool.d.ts +173 -0
  29. package/id/getUserPool.js +28 -0
  30. package/id/getUserPool.js.map +1 -0
  31. package/id/getUserPools.d.ts +22 -0
  32. package/id/getUserPools.js +24 -0
  33. package/id/getUserPools.js.map +1 -0
  34. package/id/getWorkloadPool.d.ts +81 -0
  35. package/id/getWorkloadPool.js +28 -0
  36. package/id/getWorkloadPool.js.map +1 -0
  37. package/id/getWorkloadPools.d.ts +22 -0
  38. package/id/getWorkloadPools.js +24 -0
  39. package/id/getWorkloadPools.js.map +1 -0
  40. package/id/index.d.ts +36 -0
  41. package/id/index.js +45 -1
  42. package/id/index.js.map +1 -1
  43. package/id/permissionNamespace.d.ts +143 -0
  44. package/id/permissionNamespace.js +94 -0
  45. package/id/permissionNamespace.js.map +1 -0
  46. package/id/userPool.d.ts +370 -0
  47. package/id/userPool.js +127 -0
  48. package/id/userPool.js.map +1 -0
  49. package/id/workloadPool.d.ts +159 -0
  50. package/id/workloadPool.js +98 -0
  51. package/id/workloadPool.js.map +1 -0
  52. package/kms/getKeyMaterial.d.ts +68 -0
  53. package/kms/getKeyMaterial.js +28 -0
  54. package/kms/getKeyMaterial.js.map +1 -0
  55. package/kms/getKeyMaterials.d.ts +22 -0
  56. package/kms/getKeyMaterials.js +24 -0
  57. package/kms/getKeyMaterials.js.map +1 -0
  58. package/kms/index.d.ts +9 -0
  59. package/kms/index.js +12 -1
  60. package/kms/index.js.map +1 -1
  61. package/kms/keyMaterial.d.ts +144 -0
  62. package/kms/keyMaterial.js +96 -0
  63. package/kms/keyMaterial.js.map +1 -0
  64. package/package.json +1 -1
  65. package/privatezone/getResolverRule.d.ts +8 -0
  66. package/privatezone/getResolverRule.js.map +1 -1
  67. package/privatezone/resolverRule.d.ts +24 -0
  68. package/privatezone/resolverRule.js +4 -0
  69. package/privatezone/resolverRule.js.map +1 -1
  70. package/rdsmysql/getInstanceReadonlyNode.d.ts +92 -0
  71. package/rdsmysql/getInstanceReadonlyNode.js +28 -0
  72. package/rdsmysql/getInstanceReadonlyNode.js.map +1 -0
  73. package/rdsmysql/getInstanceReadonlyNodes.d.ts +22 -0
  74. package/rdsmysql/getInstanceReadonlyNodes.js +24 -0
  75. package/rdsmysql/getInstanceReadonlyNodes.js.map +1 -0
  76. package/rdsmysql/index.d.ts +9 -0
  77. package/rdsmysql/index.js +12 -1
  78. package/rdsmysql/index.js.map +1 -1
  79. package/rdsmysql/instanceReadonlyNode.d.ts +192 -0
  80. package/rdsmysql/instanceReadonlyNode.js +105 -0
  81. package/rdsmysql/instanceReadonlyNode.js.map +1 -0
  82. package/types/input.d.ts +462 -0
  83. package/types/output.d.ts +936 -0
  84. package/veenedge/cloudServer.d.ts +329 -0
  85. package/veenedge/cloudServer.js +126 -0
  86. package/veenedge/cloudServer.js.map +1 -0
  87. package/veenedge/getCloudServer.d.ts +153 -0
  88. package/veenedge/getCloudServer.js +28 -0
  89. package/veenedge/getCloudServer.js.map +1 -0
  90. package/veenedge/getCloudServers.d.ts +22 -0
  91. package/veenedge/getCloudServers.js +24 -0
  92. package/veenedge/getCloudServers.js.map +1 -0
  93. package/veenedge/index.d.ts +9 -0
  94. package/veenedge/index.js +12 -1
  95. package/veenedge/index.js.map +1 -1
@@ -0,0 +1,329 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Edge cloud server instance (CloudServer) resources. Create multiple edge instances based on a set of specifications, images, and regional distribution configurations, and provide integrated management for network, storage, billing, scheduling policies, login credentials, and more.
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:veenedge/cloudServer:CloudServer example "cloud_server_identity"
11
+ * ```
12
+ */
13
+ export declare class CloudServer extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing CloudServer resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudServerState, opts?: pulumi.CustomResourceOptions): CloudServer;
24
+ /**
25
+ * Returns true if the given object is an instance of CloudServer. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is CloudServer;
29
+ /**
30
+ * Advanced configuration for customizing edge instance name, instance description, and hostname. When creating edge instances in bulk, instance names and hostnames are generated in sequence based on the custom names.
31
+ */
32
+ readonly advancedConfiguration: pulumi.Output<outputs.veenedge.CloudServerAdvancedConfiguration>;
33
+ /**
34
+ * Architecture of the edge instance
35
+ */
36
+ readonly arch: pulumi.Output<string>;
37
+ /**
38
+ * Bare metal package identifier, returned only for bare metal type instances.
39
+ */
40
+ readonly bareMetalPackage: pulumi.Output<string>;
41
+ /**
42
+ * Billing method, including billing for compute and bandwidth.
43
+ */
44
+ readonly billingConfig: pulumi.Output<outputs.veenedge.CloudServerBillingConfig>;
45
+ /**
46
+ * Description of the edge service.
47
+ */
48
+ readonly cloudServerDesc: pulumi.Output<string>;
49
+ /**
50
+ * Edge service ID. You can query the edge service ID via the ListCloudServers API.
51
+ */
52
+ readonly cloudServerIdentity: pulumi.Output<string>;
53
+ /**
54
+ * Edge service name
55
+ */
56
+ readonly cloudServerName: pulumi.Output<string>;
57
+ /**
58
+ * CPU configuration for the instance
59
+ */
60
+ readonly cpu: pulumi.Output<string>;
61
+ /**
62
+ * Note: This parameter applies only to postpaid instances. Edge instance creation timeout. Unit: seconds. Minimum: 120. If the creation time of the edge instance exceeds the specified value, the creation fails and its status changes to open_fail. You can delete the related instance through the console or API. If this parameter is not specified, there is no limit on the instance creation time.
63
+ */
64
+ readonly createInstanceTimeout: pulumi.Output<number>;
65
+ /**
66
+ * Creation time, displayed in UNIX timestamp format.
67
+ */
68
+ readonly createdTime: pulumi.Output<number>;
69
+ /**
70
+ * Custom data configuration.
71
+ */
72
+ readonly customData: pulumi.Output<outputs.veenedge.CloudServerCustomData>;
73
+ /**
74
+ * Enable or disable VGA. Value range: true: Disable VGA. false (default): Enable VGA. This parameter applies only to cloud gaming edge instances. When VGA is enabled, you can log in to the edge instance using VNC, but this feature may affect the instance's performance. If you do not enable this feature, the instance's performance is not affected, but you cannot log in directly via VNC.
75
+ */
76
+ readonly disableVga: pulumi.Output<boolean>;
77
+ /**
78
+ * Image ID. You can query the image ID using the ListImages API.
79
+ */
80
+ readonly imageId: pulumi.Output<string>;
81
+ readonly instanceAreaNums: pulumi.Output<outputs.veenedge.CloudServerInstanceAreaNum[]>;
82
+ /**
83
+ * Number of edge instances in the edge service.
84
+ */
85
+ readonly instanceCount: pulumi.Output<number>;
86
+ /**
87
+ * Edge instance types: virtual*machine: Virtual machine. bare*metal: Bare metal.
88
+ */
89
+ readonly loadType: pulumi.Output<string>;
90
+ /**
91
+ * Memory configuration for the instance
92
+ */
93
+ readonly mem: pulumi.Output<string>;
94
+ /**
95
+ * Network configuration.
96
+ */
97
+ readonly networkConfig: pulumi.Output<outputs.veenedge.CloudServerNetworkConfig>;
98
+ /**
99
+ * Project associated with the edge service. Edge instances created under the edge service inherit this project. If this parameter is not set or is an empty string, the default value 'default' is used.
100
+ */
101
+ readonly project: pulumi.Output<string>;
102
+ /**
103
+ * Scheduling policy. If this parameter is not set, the default policy is city distribution and lowest price priority. When the service level is city-level, you do not need to set this parameter; the policy will be city distribution and lowest price priority. If this parameter is set to other values, the policy will not take effect. It is recommended to leave this parameter blank. When the service level is region-level, the configured policy will take effect.
104
+ */
105
+ readonly scheduleStrategy: pulumi.Output<outputs.veenedge.CloudServerScheduleStrategy>;
106
+ /**
107
+ * Edge instance login password settings
108
+ */
109
+ readonly secretConfig: pulumi.Output<outputs.veenedge.CloudServerSecretConfig>;
110
+ /**
111
+ * Number of regions where the edge service is deployed
112
+ */
113
+ readonly serverAreaCount: pulumi.Output<number>;
114
+ /**
115
+ * Instance specification name.
116
+ */
117
+ readonly spec: pulumi.Output<string>;
118
+ /**
119
+ * Chinese name of the instance type.
120
+ */
121
+ readonly specDisplay: pulumi.Output<string>;
122
+ /**
123
+ * Edge instance type name. You can use the ListInstanceTypes API to query available instance types. If the required type is not listed, please submit a ticket request.
124
+ */
125
+ readonly specName: pulumi.Output<string>;
126
+ /**
127
+ * Edge instance status. opening: being created. starting: starting up. running: running. stopping: being stopped. stop: stopped. rebooting: rebooting. terminating: being terminated. open_fail: creation failed.
128
+ */
129
+ readonly status: pulumi.Output<string>;
130
+ /**
131
+ * Storage configuration, including the type and capacity information for system and data disks.
132
+ */
133
+ readonly storageConfig: pulumi.Output<outputs.veenedge.CloudServerStorageConfig>;
134
+ readonly tags: pulumi.Output<outputs.veenedge.CloudServerTag[]>;
135
+ /**
136
+ * Update time, displayed in UNIX timestamp format.
137
+ */
138
+ readonly updatedTime: pulumi.Output<number>;
139
+ /**
140
+ * Create a CloudServer resource with the given unique name, arguments, and options.
141
+ *
142
+ * @param name The _unique_ name of the resource.
143
+ * @param args The arguments to use to populate this resource's properties.
144
+ * @param opts A bag of options that control this resource's behavior.
145
+ */
146
+ constructor(name: string, args: CloudServerArgs, opts?: pulumi.CustomResourceOptions);
147
+ }
148
+ /**
149
+ * Input properties used for looking up and filtering CloudServer resources.
150
+ */
151
+ export interface CloudServerState {
152
+ /**
153
+ * Advanced configuration for customizing edge instance name, instance description, and hostname. When creating edge instances in bulk, instance names and hostnames are generated in sequence based on the custom names.
154
+ */
155
+ advancedConfiguration?: pulumi.Input<inputs.veenedge.CloudServerAdvancedConfiguration>;
156
+ /**
157
+ * Architecture of the edge instance
158
+ */
159
+ arch?: pulumi.Input<string>;
160
+ /**
161
+ * Bare metal package identifier, returned only for bare metal type instances.
162
+ */
163
+ bareMetalPackage?: pulumi.Input<string>;
164
+ /**
165
+ * Billing method, including billing for compute and bandwidth.
166
+ */
167
+ billingConfig?: pulumi.Input<inputs.veenedge.CloudServerBillingConfig>;
168
+ /**
169
+ * Description of the edge service.
170
+ */
171
+ cloudServerDesc?: pulumi.Input<string>;
172
+ /**
173
+ * Edge service ID. You can query the edge service ID via the ListCloudServers API.
174
+ */
175
+ cloudServerIdentity?: pulumi.Input<string>;
176
+ /**
177
+ * Edge service name
178
+ */
179
+ cloudServerName?: pulumi.Input<string>;
180
+ /**
181
+ * CPU configuration for the instance
182
+ */
183
+ cpu?: pulumi.Input<string>;
184
+ /**
185
+ * Note: This parameter applies only to postpaid instances. Edge instance creation timeout. Unit: seconds. Minimum: 120. If the creation time of the edge instance exceeds the specified value, the creation fails and its status changes to open_fail. You can delete the related instance through the console or API. If this parameter is not specified, there is no limit on the instance creation time.
186
+ */
187
+ createInstanceTimeout?: pulumi.Input<number>;
188
+ /**
189
+ * Creation time, displayed in UNIX timestamp format.
190
+ */
191
+ createdTime?: pulumi.Input<number>;
192
+ /**
193
+ * Custom data configuration.
194
+ */
195
+ customData?: pulumi.Input<inputs.veenedge.CloudServerCustomData>;
196
+ /**
197
+ * Enable or disable VGA. Value range: true: Disable VGA. false (default): Enable VGA. This parameter applies only to cloud gaming edge instances. When VGA is enabled, you can log in to the edge instance using VNC, but this feature may affect the instance's performance. If you do not enable this feature, the instance's performance is not affected, but you cannot log in directly via VNC.
198
+ */
199
+ disableVga?: pulumi.Input<boolean>;
200
+ /**
201
+ * Image ID. You can query the image ID using the ListImages API.
202
+ */
203
+ imageId?: pulumi.Input<string>;
204
+ instanceAreaNums?: pulumi.Input<pulumi.Input<inputs.veenedge.CloudServerInstanceAreaNum>[]>;
205
+ /**
206
+ * Number of edge instances in the edge service.
207
+ */
208
+ instanceCount?: pulumi.Input<number>;
209
+ /**
210
+ * Edge instance types: virtual*machine: Virtual machine. bare*metal: Bare metal.
211
+ */
212
+ loadType?: pulumi.Input<string>;
213
+ /**
214
+ * Memory configuration for the instance
215
+ */
216
+ mem?: pulumi.Input<string>;
217
+ /**
218
+ * Network configuration.
219
+ */
220
+ networkConfig?: pulumi.Input<inputs.veenedge.CloudServerNetworkConfig>;
221
+ /**
222
+ * Project associated with the edge service. Edge instances created under the edge service inherit this project. If this parameter is not set or is an empty string, the default value 'default' is used.
223
+ */
224
+ project?: pulumi.Input<string>;
225
+ /**
226
+ * Scheduling policy. If this parameter is not set, the default policy is city distribution and lowest price priority. When the service level is city-level, you do not need to set this parameter; the policy will be city distribution and lowest price priority. If this parameter is set to other values, the policy will not take effect. It is recommended to leave this parameter blank. When the service level is region-level, the configured policy will take effect.
227
+ */
228
+ scheduleStrategy?: pulumi.Input<inputs.veenedge.CloudServerScheduleStrategy>;
229
+ /**
230
+ * Edge instance login password settings
231
+ */
232
+ secretConfig?: pulumi.Input<inputs.veenedge.CloudServerSecretConfig>;
233
+ /**
234
+ * Number of regions where the edge service is deployed
235
+ */
236
+ serverAreaCount?: pulumi.Input<number>;
237
+ /**
238
+ * Instance specification name.
239
+ */
240
+ spec?: pulumi.Input<string>;
241
+ /**
242
+ * Chinese name of the instance type.
243
+ */
244
+ specDisplay?: pulumi.Input<string>;
245
+ /**
246
+ * Edge instance type name. You can use the ListInstanceTypes API to query available instance types. If the required type is not listed, please submit a ticket request.
247
+ */
248
+ specName?: pulumi.Input<string>;
249
+ /**
250
+ * Edge instance status. opening: being created. starting: starting up. running: running. stopping: being stopped. stop: stopped. rebooting: rebooting. terminating: being terminated. open_fail: creation failed.
251
+ */
252
+ status?: pulumi.Input<string>;
253
+ /**
254
+ * Storage configuration, including the type and capacity information for system and data disks.
255
+ */
256
+ storageConfig?: pulumi.Input<inputs.veenedge.CloudServerStorageConfig>;
257
+ tags?: pulumi.Input<pulumi.Input<inputs.veenedge.CloudServerTag>[]>;
258
+ /**
259
+ * Update time, displayed in UNIX timestamp format.
260
+ */
261
+ updatedTime?: pulumi.Input<number>;
262
+ }
263
+ /**
264
+ * The set of arguments for constructing a CloudServer resource.
265
+ */
266
+ export interface CloudServerArgs {
267
+ /**
268
+ * Advanced configuration for customizing edge instance name, instance description, and hostname. When creating edge instances in bulk, instance names and hostnames are generated in sequence based on the custom names.
269
+ */
270
+ advancedConfiguration?: pulumi.Input<inputs.veenedge.CloudServerAdvancedConfiguration>;
271
+ /**
272
+ * Bare metal package identifier, returned only for bare metal type instances.
273
+ */
274
+ bareMetalPackage?: pulumi.Input<string>;
275
+ /**
276
+ * Billing method, including billing for compute and bandwidth.
277
+ */
278
+ billingConfig?: pulumi.Input<inputs.veenedge.CloudServerBillingConfig>;
279
+ /**
280
+ * Description of the edge service.
281
+ */
282
+ cloudServerDesc: pulumi.Input<string>;
283
+ /**
284
+ * Edge service name
285
+ */
286
+ cloudServerName: pulumi.Input<string>;
287
+ /**
288
+ * Note: This parameter applies only to postpaid instances. Edge instance creation timeout. Unit: seconds. Minimum: 120. If the creation time of the edge instance exceeds the specified value, the creation fails and its status changes to open_fail. You can delete the related instance through the console or API. If this parameter is not specified, there is no limit on the instance creation time.
289
+ */
290
+ createInstanceTimeout?: pulumi.Input<number>;
291
+ /**
292
+ * Custom data configuration.
293
+ */
294
+ customData?: pulumi.Input<inputs.veenedge.CloudServerCustomData>;
295
+ /**
296
+ * Enable or disable VGA. Value range: true: Disable VGA. false (default): Enable VGA. This parameter applies only to cloud gaming edge instances. When VGA is enabled, you can log in to the edge instance using VNC, but this feature may affect the instance's performance. If you do not enable this feature, the instance's performance is not affected, but you cannot log in directly via VNC.
297
+ */
298
+ disableVga?: pulumi.Input<boolean>;
299
+ /**
300
+ * Image ID. You can query the image ID using the ListImages API.
301
+ */
302
+ imageId: pulumi.Input<string>;
303
+ instanceAreaNums?: pulumi.Input<pulumi.Input<inputs.veenedge.CloudServerInstanceAreaNum>[]>;
304
+ /**
305
+ * Network configuration.
306
+ */
307
+ networkConfig?: pulumi.Input<inputs.veenedge.CloudServerNetworkConfig>;
308
+ /**
309
+ * Project associated with the edge service. Edge instances created under the edge service inherit this project. If this parameter is not set or is an empty string, the default value 'default' is used.
310
+ */
311
+ project?: pulumi.Input<string>;
312
+ /**
313
+ * Scheduling policy. If this parameter is not set, the default policy is city distribution and lowest price priority. When the service level is city-level, you do not need to set this parameter; the policy will be city distribution and lowest price priority. If this parameter is set to other values, the policy will not take effect. It is recommended to leave this parameter blank. When the service level is region-level, the configured policy will take effect.
314
+ */
315
+ scheduleStrategy?: pulumi.Input<inputs.veenedge.CloudServerScheduleStrategy>;
316
+ /**
317
+ * Edge instance login password settings
318
+ */
319
+ secretConfig?: pulumi.Input<inputs.veenedge.CloudServerSecretConfig>;
320
+ /**
321
+ * Edge instance type name. You can use the ListInstanceTypes API to query available instance types. If the required type is not listed, please submit a ticket request.
322
+ */
323
+ specName: pulumi.Input<string>;
324
+ /**
325
+ * Storage configuration, including the type and capacity information for system and data disks.
326
+ */
327
+ storageConfig?: pulumi.Input<inputs.veenedge.CloudServerStorageConfig>;
328
+ tags?: pulumi.Input<pulumi.Input<inputs.veenedge.CloudServerTag>[]>;
329
+ }
@@ -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.CloudServer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Edge cloud server instance (CloudServer) resources. Create multiple edge instances based on a set of specifications, images, and regional distribution configurations, and provide integrated management for network, storage, billing, scheduling policies, login credentials, and more.
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:veenedge/cloudServer:CloudServer example "cloud_server_identity"
15
+ * ```
16
+ */
17
+ class CloudServer extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing CloudServer resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new CloudServer(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of CloudServer. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === CloudServer.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["advancedConfiguration"] = state ? state.advancedConfiguration : undefined;
46
+ resourceInputs["arch"] = state ? state.arch : undefined;
47
+ resourceInputs["bareMetalPackage"] = state ? state.bareMetalPackage : undefined;
48
+ resourceInputs["billingConfig"] = state ? state.billingConfig : undefined;
49
+ resourceInputs["cloudServerDesc"] = state ? state.cloudServerDesc : undefined;
50
+ resourceInputs["cloudServerIdentity"] = state ? state.cloudServerIdentity : undefined;
51
+ resourceInputs["cloudServerName"] = state ? state.cloudServerName : undefined;
52
+ resourceInputs["cpu"] = state ? state.cpu : undefined;
53
+ resourceInputs["createInstanceTimeout"] = state ? state.createInstanceTimeout : undefined;
54
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
55
+ resourceInputs["customData"] = state ? state.customData : undefined;
56
+ resourceInputs["disableVga"] = state ? state.disableVga : undefined;
57
+ resourceInputs["imageId"] = state ? state.imageId : undefined;
58
+ resourceInputs["instanceAreaNums"] = state ? state.instanceAreaNums : undefined;
59
+ resourceInputs["instanceCount"] = state ? state.instanceCount : undefined;
60
+ resourceInputs["loadType"] = state ? state.loadType : undefined;
61
+ resourceInputs["mem"] = state ? state.mem : undefined;
62
+ resourceInputs["networkConfig"] = state ? state.networkConfig : undefined;
63
+ resourceInputs["project"] = state ? state.project : undefined;
64
+ resourceInputs["scheduleStrategy"] = state ? state.scheduleStrategy : undefined;
65
+ resourceInputs["secretConfig"] = state ? state.secretConfig : undefined;
66
+ resourceInputs["serverAreaCount"] = state ? state.serverAreaCount : undefined;
67
+ resourceInputs["spec"] = state ? state.spec : undefined;
68
+ resourceInputs["specDisplay"] = state ? state.specDisplay : undefined;
69
+ resourceInputs["specName"] = state ? state.specName : undefined;
70
+ resourceInputs["status"] = state ? state.status : undefined;
71
+ resourceInputs["storageConfig"] = state ? state.storageConfig : undefined;
72
+ resourceInputs["tags"] = state ? state.tags : undefined;
73
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.cloudServerDesc === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'cloudServerDesc'");
79
+ }
80
+ if ((!args || args.cloudServerName === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'cloudServerName'");
82
+ }
83
+ if ((!args || args.imageId === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'imageId'");
85
+ }
86
+ if ((!args || args.specName === undefined) && !opts.urn) {
87
+ throw new Error("Missing required property 'specName'");
88
+ }
89
+ resourceInputs["advancedConfiguration"] = args ? args.advancedConfiguration : undefined;
90
+ resourceInputs["bareMetalPackage"] = args ? args.bareMetalPackage : undefined;
91
+ resourceInputs["billingConfig"] = args ? args.billingConfig : undefined;
92
+ resourceInputs["cloudServerDesc"] = args ? args.cloudServerDesc : undefined;
93
+ resourceInputs["cloudServerName"] = args ? args.cloudServerName : undefined;
94
+ resourceInputs["createInstanceTimeout"] = args ? args.createInstanceTimeout : undefined;
95
+ resourceInputs["customData"] = args ? args.customData : undefined;
96
+ resourceInputs["disableVga"] = args ? args.disableVga : undefined;
97
+ resourceInputs["imageId"] = args ? args.imageId : undefined;
98
+ resourceInputs["instanceAreaNums"] = args ? args.instanceAreaNums : undefined;
99
+ resourceInputs["networkConfig"] = args ? args.networkConfig : undefined;
100
+ resourceInputs["project"] = args ? args.project : undefined;
101
+ resourceInputs["scheduleStrategy"] = args ? args.scheduleStrategy : undefined;
102
+ resourceInputs["secretConfig"] = args ? args.secretConfig : undefined;
103
+ resourceInputs["specName"] = args ? args.specName : undefined;
104
+ resourceInputs["storageConfig"] = args ? args.storageConfig : undefined;
105
+ resourceInputs["tags"] = args ? args.tags : undefined;
106
+ resourceInputs["arch"] = undefined /*out*/;
107
+ resourceInputs["cloudServerIdentity"] = undefined /*out*/;
108
+ resourceInputs["cpu"] = undefined /*out*/;
109
+ resourceInputs["createdTime"] = undefined /*out*/;
110
+ resourceInputs["instanceCount"] = undefined /*out*/;
111
+ resourceInputs["loadType"] = undefined /*out*/;
112
+ resourceInputs["mem"] = undefined /*out*/;
113
+ resourceInputs["serverAreaCount"] = undefined /*out*/;
114
+ resourceInputs["spec"] = undefined /*out*/;
115
+ resourceInputs["specDisplay"] = undefined /*out*/;
116
+ resourceInputs["status"] = undefined /*out*/;
117
+ resourceInputs["updatedTime"] = undefined /*out*/;
118
+ }
119
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
120
+ super(CloudServer.__pulumiType, name, resourceInputs, opts);
121
+ }
122
+ }
123
+ exports.CloudServer = CloudServer;
124
+ /** @internal */
125
+ CloudServer.__pulumiType = 'volcenginecc:veenedge/cloudServer:CloudServer';
126
+ //# sourceMappingURL=cloudServer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudServer.js","sourceRoot":"","sources":["../../veenedge/cloudServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAyHD,YAAY,IAA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1C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAnOL,kCAoOC;AAtNG,gBAAgB;AACO,wBAAY,GAAG,+CAA+C,CAAC"}
@@ -0,0 +1,153 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::VeenEdge::CloudServer
5
+ */
6
+ export declare function getCloudServer(args: GetCloudServerArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudServerResult>;
7
+ /**
8
+ * A collection of arguments for invoking getCloudServer.
9
+ */
10
+ export interface GetCloudServerArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getCloudServer.
18
+ */
19
+ export interface GetCloudServerResult {
20
+ /**
21
+ * Advanced configuration for customizing edge instance name, instance description, and hostname. When creating edge instances in bulk, instance names and hostnames are generated in sequence based on the custom names.
22
+ */
23
+ readonly advancedConfiguration: outputs.veenedge.GetCloudServerAdvancedConfiguration;
24
+ /**
25
+ * Architecture of the edge instance
26
+ */
27
+ readonly arch: string;
28
+ /**
29
+ * Bare metal package identifier, returned only for bare metal type instances.
30
+ */
31
+ readonly bareMetalPackage: string;
32
+ /**
33
+ * Billing method, including billing for compute and bandwidth.
34
+ */
35
+ readonly billingConfig: outputs.veenedge.GetCloudServerBillingConfig;
36
+ /**
37
+ * Description of the edge service.
38
+ */
39
+ readonly cloudServerDesc: string;
40
+ /**
41
+ * Edge service ID. You can query the edge service ID via the ListCloudServers API.
42
+ */
43
+ readonly cloudServerIdentity: string;
44
+ /**
45
+ * Edge service name
46
+ */
47
+ readonly cloudServerName: string;
48
+ /**
49
+ * CPU configuration for the instance
50
+ */
51
+ readonly cpu: string;
52
+ /**
53
+ * Note: This parameter applies only to postpaid instances. Edge instance creation timeout. Unit: seconds. Minimum: 120. If the creation time of the edge instance exceeds the specified value, the creation fails and its status changes to open_fail. You can delete the related instance through the console or API. If this parameter is not specified, there is no limit on the instance creation time.
54
+ */
55
+ readonly createInstanceTimeout: number;
56
+ /**
57
+ * Creation time, displayed in UNIX timestamp format.
58
+ */
59
+ readonly createdTime: number;
60
+ /**
61
+ * Custom data configuration.
62
+ */
63
+ readonly customData: outputs.veenedge.GetCloudServerCustomData;
64
+ /**
65
+ * Enable or disable VGA. Value range: true: Disable VGA. false (default): Enable VGA. This parameter applies only to cloud gaming edge instances. When VGA is enabled, you can log in to the edge instance using VNC, but this feature may affect the instance's performance. If you do not enable this feature, the instance's performance is not affected, but you cannot log in directly via VNC.
66
+ */
67
+ readonly disableVga: boolean;
68
+ /**
69
+ * Uniquely identifies the resource.
70
+ */
71
+ readonly id: string;
72
+ /**
73
+ * Image ID. You can query the image ID using the ListImages API.
74
+ */
75
+ readonly imageId: string;
76
+ /**
77
+ * Region or node information for the edge instance, and the number of edge instances. If this parameter is not specified, no edge instance will be created.
78
+ */
79
+ readonly instanceAreaNums: outputs.veenedge.GetCloudServerInstanceAreaNum[];
80
+ /**
81
+ * Number of edge instances in the edge service.
82
+ */
83
+ readonly instanceCount: number;
84
+ /**
85
+ * Edge instance types: virtual*machine: Virtual machine. bare*metal: Bare metal.
86
+ */
87
+ readonly loadType: string;
88
+ /**
89
+ * Memory configuration for the instance
90
+ */
91
+ readonly mem: string;
92
+ /**
93
+ * Network configuration.
94
+ */
95
+ readonly networkConfig: outputs.veenedge.GetCloudServerNetworkConfig;
96
+ /**
97
+ * Project associated with the edge service. Edge instances created under the edge service inherit this project. If this parameter is not set or is an empty string, the default value 'default' is used.
98
+ */
99
+ readonly project: string;
100
+ /**
101
+ * Scheduling policy. If this parameter is not set, the default policy is city distribution and lowest price priority. When the service level is city-level, you do not need to set this parameter; the policy will be city distribution and lowest price priority. If this parameter is set to other values, the policy will not take effect. It is recommended to leave this parameter blank. When the service level is region-level, the configured policy will take effect.
102
+ */
103
+ readonly scheduleStrategy: outputs.veenedge.GetCloudServerScheduleStrategy;
104
+ /**
105
+ * Edge instance login password settings
106
+ */
107
+ readonly secretConfig: outputs.veenedge.GetCloudServerSecretConfig;
108
+ /**
109
+ * Number of regions where the edge service is deployed
110
+ */
111
+ readonly serverAreaCount: number;
112
+ /**
113
+ * Instance specification name.
114
+ */
115
+ readonly spec: string;
116
+ /**
117
+ * Chinese name of the instance type.
118
+ */
119
+ readonly specDisplay: string;
120
+ /**
121
+ * Edge instance type name. You can use the ListInstanceTypes API to query available instance types. If the required type is not listed, please submit a ticket request.
122
+ */
123
+ readonly specName: string;
124
+ /**
125
+ * Edge instance status. opening: being created. starting: starting up. running: running. stopping: being stopped. stop: stopped. rebooting: rebooting. terminating: being terminated. open_fail: creation failed.
126
+ */
127
+ readonly status: string;
128
+ /**
129
+ * Storage configuration, including the type and capacity information for system and data disks.
130
+ */
131
+ readonly storageConfig: outputs.veenedge.GetCloudServerStorageConfig;
132
+ /**
133
+ * Tags for the edge service. A tag consists of a tag key (Key) and a tag value (Value). Note the following when using tags: Only custom tags can be created. If you set tags when creating an edge service, the edge instances created with the service will inherit the tags. If an edge service needs to bind multiple tags, the tag keys must not be the same. Tag keys set under the same edge service must be unique. If a tag key already exists, the new tag value will overwrite the old value. You can set up to 50 tags at a time.
134
+ */
135
+ readonly tags: outputs.veenedge.GetCloudServerTag[];
136
+ /**
137
+ * Update time, displayed in UNIX timestamp format.
138
+ */
139
+ readonly updatedTime: number;
140
+ }
141
+ /**
142
+ * Data Source schema for Volcengine::VeenEdge::CloudServer
143
+ */
144
+ export declare function getCloudServerOutput(args: GetCloudServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudServerResult>;
145
+ /**
146
+ * A collection of arguments for invoking getCloudServer.
147
+ */
148
+ export interface GetCloudServerOutputArgs {
149
+ /**
150
+ * Uniquely identifies the resource.
151
+ */
152
+ id: pulumi.Input<string>;
153
+ }
@@ -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.getCloudServerOutput = exports.getCloudServer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::VeenEdge::CloudServer
10
+ */
11
+ function getCloudServer(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:veenedge/getCloudServer:getCloudServer", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getCloudServer = getCloudServer;
18
+ /**
19
+ * Data Source schema for Volcengine::VeenEdge::CloudServer
20
+ */
21
+ function getCloudServerOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:veenedge/getCloudServer:getCloudServer", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getCloudServerOutput = getCloudServerOutput;
28
+ //# sourceMappingURL=getCloudServer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCloudServer.js","sourceRoot":"","sources":["../../veenedge/getCloudServer.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,wCAKC;AAyID;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,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,oDAKC"}