@volcengine/pulumi-volcenginecc 0.0.37 → 0.0.39

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 (118) hide show
  1. package/README.md +1 -0
  2. package/config/vars.d.ts +5 -0
  3. package/config/vars.js +7 -0
  4. package/config/vars.js.map +1 -1
  5. package/directconnect/gatewayRoute.d.ts +142 -0
  6. package/directconnect/gatewayRoute.js +96 -0
  7. package/directconnect/gatewayRoute.js.map +1 -0
  8. package/directconnect/getGatewayRoute.d.ts +72 -0
  9. package/directconnect/getGatewayRoute.js +28 -0
  10. package/directconnect/getGatewayRoute.js.map +1 -0
  11. package/directconnect/getGatewayRoutes.d.ts +22 -0
  12. package/directconnect/getGatewayRoutes.js +24 -0
  13. package/directconnect/getGatewayRoutes.js.map +1 -0
  14. package/directconnect/getVirtualInterface.d.ts +133 -0
  15. package/directconnect/getVirtualInterface.js +28 -0
  16. package/directconnect/getVirtualInterface.js.map +1 -0
  17. package/directconnect/getVirtualInterfaces.d.ts +22 -0
  18. package/directconnect/getVirtualInterfaces.js +24 -0
  19. package/directconnect/getVirtualInterfaces.js.map +1 -0
  20. package/directconnect/index.d.ts +18 -0
  21. package/directconnect/index.js +23 -1
  22. package/directconnect/index.js.map +1 -1
  23. package/directconnect/virtualInterface.d.ts +336 -0
  24. package/directconnect/virtualInterface.js +149 -0
  25. package/directconnect/virtualInterface.js.map +1 -0
  26. package/gtm/getPool.d.ts +81 -0
  27. package/gtm/getPool.js +28 -0
  28. package/gtm/getPool.js.map +1 -0
  29. package/gtm/getPools.d.ts +22 -0
  30. package/gtm/getPools.js +24 -0
  31. package/gtm/getPools.js.map +1 -0
  32. package/gtm/index.d.ts +9 -0
  33. package/gtm/index.js +28 -0
  34. package/gtm/index.js.map +1 -0
  35. package/gtm/pool.d.ts +154 -0
  36. package/gtm/pool.js +87 -0
  37. package/gtm/pool.js.map +1 -0
  38. package/iam/getRole.d.ts +10 -0
  39. package/iam/getRole.js.map +1 -1
  40. package/iam/role.d.ts +18 -34
  41. package/iam/role.js +3 -36
  42. package/iam/role.js.map +1 -1
  43. package/index.d.ts +2 -1
  44. package/index.js +3 -1
  45. package/index.js.map +1 -1
  46. package/kms/getKey.d.ts +24 -0
  47. package/kms/getKey.js.map +1 -1
  48. package/kms/getSecret.d.ts +128 -0
  49. package/kms/getSecret.js +28 -0
  50. package/kms/getSecret.js.map +1 -0
  51. package/kms/getSecrets.d.ts +22 -0
  52. package/kms/getSecrets.js +24 -0
  53. package/kms/getSecrets.js.map +1 -0
  54. package/kms/index.d.ts +9 -0
  55. package/kms/index.js +12 -1
  56. package/kms/index.js.map +1 -1
  57. package/kms/key.d.ts +72 -0
  58. package/kms/key.js +12 -0
  59. package/kms/key.js.map +1 -1
  60. package/kms/secret.d.ts +289 -0
  61. package/kms/secret.js +131 -0
  62. package/kms/secret.js.map +1 -0
  63. package/package.json +1 -1
  64. package/provider.d.ts +10 -0
  65. package/provider.js +2 -1
  66. package/provider.js.map +1 -1
  67. package/rdspostgresql/getParameterTemplate.d.ts +89 -0
  68. package/rdspostgresql/getParameterTemplate.js +28 -0
  69. package/rdspostgresql/getParameterTemplate.js.map +1 -0
  70. package/rdspostgresql/getParameterTemplates.d.ts +22 -0
  71. package/rdspostgresql/getParameterTemplates.js +24 -0
  72. package/rdspostgresql/getParameterTemplates.js.map +1 -0
  73. package/rdspostgresql/index.d.ts +9 -0
  74. package/rdspostgresql/index.js +12 -1
  75. package/rdspostgresql/index.js.map +1 -1
  76. package/rdspostgresql/parameterTemplate.d.ts +186 -0
  77. package/rdspostgresql/parameterTemplate.js +118 -0
  78. package/rdspostgresql/parameterTemplate.js.map +1 -0
  79. package/redis/getInstance.d.ts +9 -5
  80. package/redis/getInstance.js.map +1 -1
  81. package/redis/instance.d.ts +25 -13
  82. package/redis/instance.js +2 -0
  83. package/redis/instance.js.map +1 -1
  84. package/tls/alarm.d.ts +215 -0
  85. package/tls/alarm.js +110 -0
  86. package/tls/alarm.js.map +1 -0
  87. package/tls/getAlarm.d.ts +109 -0
  88. package/tls/getAlarm.js +28 -0
  89. package/tls/getAlarm.js.map +1 -0
  90. package/tls/getAlarms.d.ts +22 -0
  91. package/tls/getAlarms.js +24 -0
  92. package/tls/getAlarms.js.map +1 -0
  93. package/tls/index.d.ts +9 -0
  94. package/tls/index.js +12 -1
  95. package/tls/index.js.map +1 -1
  96. package/types/input.d.ts +274 -1
  97. package/types/output.d.ts +805 -2
  98. package/vpn/getSslVpnServer.d.ts +109 -0
  99. package/vpn/getSslVpnServer.js +28 -0
  100. package/vpn/getSslVpnServer.js.map +1 -0
  101. package/vpn/getSslVpnServers.d.ts +22 -0
  102. package/vpn/getSslVpnServers.js +24 -0
  103. package/vpn/getSslVpnServers.js.map +1 -0
  104. package/vpn/getVpnGatewayRoute.d.ts +77 -0
  105. package/vpn/getVpnGatewayRoute.js +28 -0
  106. package/vpn/getVpnGatewayRoute.js.map +1 -0
  107. package/vpn/getVpnGatewayRoutes.d.ts +22 -0
  108. package/vpn/getVpnGatewayRoutes.js +24 -0
  109. package/vpn/getVpnGatewayRoutes.js.map +1 -0
  110. package/vpn/index.d.ts +18 -0
  111. package/vpn/index.js +23 -1
  112. package/vpn/index.js.map +1 -1
  113. package/vpn/sslVpnServer.d.ts +263 -0
  114. package/vpn/sslVpnServer.js +130 -0
  115. package/vpn/sslVpnServer.js.map +1 -0
  116. package/vpn/vpnGatewayRoute.d.ts +146 -0
  117. package/vpn/vpnGatewayRoute.js +98 -0
  118. package/vpn/vpnGatewayRoute.js.map +1 -0
@@ -0,0 +1,289 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Credential Manager is a credential management product based on the key management system. It is used to store sensitive credential information required by user business applications, such as AK/SK, account passwords, access keys, database passwords, and certificates. The product provides secure storage, access control, automatic rotation, and auditing capabilities. User business applications can securely and dynamically obtain credential information by integrating the KMS SDK or using the KMS OpenAPI, effectively preventing risks such as information leakage or unintended modification caused by storing sensitive information in plaintext
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 kMSSecretDemo = new volcenginecc.kms.Secret("KMSSecretDemo", {
12
+ * secretName: "secret-ccapi-Generic",
13
+ * versionName: "ccapi-v1",
14
+ * projectName: "default",
15
+ * description: "description test ccapi Generic",
16
+ * secretType: "Generic",
17
+ * encryptionKey: "trn:kms:cn-beijing:********:keyrings/ccapi-text/keys/ccapi-terraform-1101",
18
+ * secretValue: JSON.stringify({
19
+ * key1: "value1",
20
+ * key2: "value2",
21
+ * }),
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * ```sh
28
+ * $ pulumi import volcenginecc:kms/secret:Secret example "secret_name"
29
+ * ```
30
+ */
31
+ export declare class Secret extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Secret resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretState, opts?: pulumi.CustomResourceOptions): Secret;
42
+ /**
43
+ * Returns true if the given object is an instance of Secret. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is Secret;
47
+ /**
48
+ * Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
49
+ */
50
+ readonly automaticRotation: pulumi.Output<boolean>;
51
+ /**
52
+ * Credential creation time
53
+ */
54
+ readonly createdTime: pulumi.Output<number>;
55
+ /**
56
+ * Credential description, length: 0 ~ 8192 characters
57
+ */
58
+ readonly description: pulumi.Output<string>;
59
+ /**
60
+ * KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
61
+ */
62
+ readonly encryptionKey: pulumi.Output<string>;
63
+ /**
64
+ * Credential extension configuration, used to specify properties for non-Generic credentials
65
+ */
66
+ readonly extendedConfig: pulumi.Output<string>;
67
+ /**
68
+ * Credential last rotation time
69
+ */
70
+ readonly lastRotationTime: pulumi.Output<string>;
71
+ /**
72
+ * Is managed credential
73
+ */
74
+ readonly managed: pulumi.Output<boolean>;
75
+ /**
76
+ * Managed Cloud Service
77
+ */
78
+ readonly owningService: pulumi.Output<string>;
79
+ /**
80
+ * Credential project name. Default value: default
81
+ */
82
+ readonly projectName: pulumi.Output<string>;
83
+ /**
84
+ * Automatic rotation interval. Range: 1 ~ 365 days. Format: integer[unit], where integer is the duration and unit is the time unit. Unit value: d (days). For example: 7d means a 7-day interval
85
+ */
86
+ readonly rotationInterval: pulumi.Output<string>;
87
+ /**
88
+ * Automatic rotation interval, unit: seconds
89
+ */
90
+ readonly rotationIntervalRead: pulumi.Output<number>;
91
+ /**
92
+ * Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
93
+ */
94
+ readonly rotationState: pulumi.Output<string>;
95
+ /**
96
+ * Credential Scheduled Deletion Time
97
+ */
98
+ readonly scheduleDeleteTime: pulumi.Output<string>;
99
+ /**
100
+ * Credential next rotation time
101
+ */
102
+ readonly scheduleRotationTime: pulumi.Output<string>;
103
+ /**
104
+ * Credential unique identifier, UUID format
105
+ */
106
+ readonly secretId: pulumi.Output<string>;
107
+ /**
108
+ * Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
109
+ */
110
+ readonly secretName: pulumi.Output<string>;
111
+ /**
112
+ * Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
113
+ */
114
+ readonly secretState: pulumi.Output<string>;
115
+ /**
116
+ * Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
117
+ */
118
+ readonly secretType: pulumi.Output<string>;
119
+ /**
120
+ * Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
121
+ */
122
+ readonly secretValue: pulumi.Output<string>;
123
+ /**
124
+ * Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
125
+ */
126
+ readonly trn: pulumi.Output<string>;
127
+ /**
128
+ * Credential tenant ID
129
+ */
130
+ readonly uid: pulumi.Output<string>;
131
+ /**
132
+ * Credential update date
133
+ */
134
+ readonly updatedTime: pulumi.Output<number>;
135
+ /**
136
+ * Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
137
+ */
138
+ readonly versionName: pulumi.Output<string>;
139
+ /**
140
+ * Create a Secret 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: SecretArgs, opts?: pulumi.CustomResourceOptions);
147
+ }
148
+ /**
149
+ * Input properties used for looking up and filtering Secret resources.
150
+ */
151
+ export interface SecretState {
152
+ /**
153
+ * Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
154
+ */
155
+ automaticRotation?: pulumi.Input<boolean>;
156
+ /**
157
+ * Credential creation time
158
+ */
159
+ createdTime?: pulumi.Input<number>;
160
+ /**
161
+ * Credential description, length: 0 ~ 8192 characters
162
+ */
163
+ description?: pulumi.Input<string>;
164
+ /**
165
+ * KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
166
+ */
167
+ encryptionKey?: pulumi.Input<string>;
168
+ /**
169
+ * Credential extension configuration, used to specify properties for non-Generic credentials
170
+ */
171
+ extendedConfig?: pulumi.Input<string>;
172
+ /**
173
+ * Credential last rotation time
174
+ */
175
+ lastRotationTime?: pulumi.Input<string>;
176
+ /**
177
+ * Is managed credential
178
+ */
179
+ managed?: pulumi.Input<boolean>;
180
+ /**
181
+ * Managed Cloud Service
182
+ */
183
+ owningService?: pulumi.Input<string>;
184
+ /**
185
+ * Credential project name. Default value: default
186
+ */
187
+ projectName?: pulumi.Input<string>;
188
+ /**
189
+ * Automatic rotation interval. Range: 1 ~ 365 days. Format: integer[unit], where integer is the duration and unit is the time unit. Unit value: d (days). For example: 7d means a 7-day interval
190
+ */
191
+ rotationInterval?: pulumi.Input<string>;
192
+ /**
193
+ * Automatic rotation interval, unit: seconds
194
+ */
195
+ rotationIntervalRead?: pulumi.Input<number>;
196
+ /**
197
+ * Rotation status: Enable: automatic rotation enabled, Disable: automatic rotation disabled, Rotating: automatic rotation in progress, None: automatic rotation not supported
198
+ */
199
+ rotationState?: pulumi.Input<string>;
200
+ /**
201
+ * Credential Scheduled Deletion Time
202
+ */
203
+ scheduleDeleteTime?: pulumi.Input<string>;
204
+ /**
205
+ * Credential next rotation time
206
+ */
207
+ scheduleRotationTime?: pulumi.Input<string>;
208
+ /**
209
+ * Credential unique identifier, UUID format
210
+ */
211
+ secretId?: pulumi.Input<string>;
212
+ /**
213
+ * Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
214
+ */
215
+ secretName?: pulumi.Input<string>;
216
+ /**
217
+ * Credential status. Enable: enabled, Disable: disabled, PendingDelete: scheduled for deletion
218
+ */
219
+ secretState?: pulumi.Input<string>;
220
+ /**
221
+ * Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
222
+ */
223
+ secretType?: pulumi.Input<string>;
224
+ /**
225
+ * Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
226
+ */
227
+ secretValue?: pulumi.Input<string>;
228
+ /**
229
+ * Credential resource name. Format: trn:kms:${Region}:${AccountID}:secrets/${secret}
230
+ */
231
+ trn?: pulumi.Input<string>;
232
+ /**
233
+ * Credential tenant ID
234
+ */
235
+ uid?: pulumi.Input<string>;
236
+ /**
237
+ * Credential update date
238
+ */
239
+ updatedTime?: pulumi.Input<number>;
240
+ /**
241
+ * Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
242
+ */
243
+ versionName?: pulumi.Input<string>;
244
+ }
245
+ /**
246
+ * The set of arguments for constructing a Secret resource.
247
+ */
248
+ export interface SecretArgs {
249
+ /**
250
+ * Whether to enable automatic rotation. Applies only to credentials of type IAM|RDS|Redis|ECS
251
+ */
252
+ automaticRotation?: pulumi.Input<boolean>;
253
+ /**
254
+ * Credential description, length: 0 ~ 8192 characters
255
+ */
256
+ description?: pulumi.Input<string>;
257
+ /**
258
+ * KMS key TRN for encrypting credential value. If not specified, the default key of Credential Manager is used
259
+ */
260
+ encryptionKey?: pulumi.Input<string>;
261
+ /**
262
+ * Credential extension configuration, used to specify properties for non-Generic credentials
263
+ */
264
+ extendedConfig?: pulumi.Input<string>;
265
+ /**
266
+ * Credential project name. Default value: default
267
+ */
268
+ projectName?: pulumi.Input<string>;
269
+ /**
270
+ * Automatic rotation interval. Range: 1 ~ 365 days. Format: integer[unit], where integer is the duration and unit is the time unit. Unit value: d (days). For example: 7d means a 7-day interval
271
+ */
272
+ rotationInterval?: pulumi.Input<string>;
273
+ /**
274
+ * Credential name. Valid characters: [a-zA-Z0-9/_+=.@-]
275
+ */
276
+ secretName: pulumi.Input<string>;
277
+ /**
278
+ * Credential type. Currently supports Generic|IAM|RDS|Redis|ECS|PGSQL|SQLServer
279
+ */
280
+ secretType: pulumi.Input<string>;
281
+ /**
282
+ * Credential value. When SecretType is Generic, users can customize it. It is recommended to use JSON key-value pairs
283
+ */
284
+ secretValue: pulumi.Input<string>;
285
+ /**
286
+ * Version alias. Valid characters: [a-zA-Z0-9/_+=.@-]
287
+ */
288
+ versionName?: pulumi.Input<string>;
289
+ }
package/kms/secret.js ADDED
@@ -0,0 +1,131 @@
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.Secret = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Credential Manager is a credential management product based on the key management system. It is used to store sensitive credential information required by user business applications, such as AK/SK, account passwords, access keys, database passwords, and certificates. The product provides secure storage, access control, automatic rotation, and auditing capabilities. User business applications can securely and dynamically obtain credential information by integrating the KMS SDK or using the KMS OpenAPI, effectively preventing risks such as information leakage or unintended modification caused by storing sensitive information in plaintext
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 kMSSecretDemo = new volcenginecc.kms.Secret("KMSSecretDemo", {
18
+ * secretName: "secret-ccapi-Generic",
19
+ * versionName: "ccapi-v1",
20
+ * projectName: "default",
21
+ * description: "description test ccapi Generic",
22
+ * secretType: "Generic",
23
+ * encryptionKey: "trn:kms:cn-beijing:********:keyrings/ccapi-text/keys/ccapi-terraform-1101",
24
+ * secretValue: JSON.stringify({
25
+ * key1: "value1",
26
+ * key2: "value2",
27
+ * }),
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * ```sh
34
+ * $ pulumi import volcenginecc:kms/secret:Secret example "secret_name"
35
+ * ```
36
+ */
37
+ class Secret extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing Secret resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new Secret(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of Secret. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === Secret.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["automaticRotation"] = state ? state.automaticRotation : undefined;
66
+ resourceInputs["createdTime"] = state ? state.createdTime : undefined;
67
+ resourceInputs["description"] = state ? state.description : undefined;
68
+ resourceInputs["encryptionKey"] = state ? state.encryptionKey : undefined;
69
+ resourceInputs["extendedConfig"] = state ? state.extendedConfig : undefined;
70
+ resourceInputs["lastRotationTime"] = state ? state.lastRotationTime : undefined;
71
+ resourceInputs["managed"] = state ? state.managed : undefined;
72
+ resourceInputs["owningService"] = state ? state.owningService : undefined;
73
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
74
+ resourceInputs["rotationInterval"] = state ? state.rotationInterval : undefined;
75
+ resourceInputs["rotationIntervalRead"] = state ? state.rotationIntervalRead : undefined;
76
+ resourceInputs["rotationState"] = state ? state.rotationState : undefined;
77
+ resourceInputs["scheduleDeleteTime"] = state ? state.scheduleDeleteTime : undefined;
78
+ resourceInputs["scheduleRotationTime"] = state ? state.scheduleRotationTime : undefined;
79
+ resourceInputs["secretId"] = state ? state.secretId : undefined;
80
+ resourceInputs["secretName"] = state ? state.secretName : undefined;
81
+ resourceInputs["secretState"] = state ? state.secretState : undefined;
82
+ resourceInputs["secretType"] = state ? state.secretType : undefined;
83
+ resourceInputs["secretValue"] = state ? state.secretValue : undefined;
84
+ resourceInputs["trn"] = state ? state.trn : undefined;
85
+ resourceInputs["uid"] = state ? state.uid : undefined;
86
+ resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
87
+ resourceInputs["versionName"] = state ? state.versionName : undefined;
88
+ }
89
+ else {
90
+ const args = argsOrState;
91
+ if ((!args || args.secretName === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'secretName'");
93
+ }
94
+ if ((!args || args.secretType === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'secretType'");
96
+ }
97
+ if ((!args || args.secretValue === undefined) && !opts.urn) {
98
+ throw new Error("Missing required property 'secretValue'");
99
+ }
100
+ resourceInputs["automaticRotation"] = args ? args.automaticRotation : undefined;
101
+ resourceInputs["description"] = args ? args.description : undefined;
102
+ resourceInputs["encryptionKey"] = args ? args.encryptionKey : undefined;
103
+ resourceInputs["extendedConfig"] = args ? args.extendedConfig : undefined;
104
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
105
+ resourceInputs["rotationInterval"] = args ? args.rotationInterval : undefined;
106
+ resourceInputs["secretName"] = args ? args.secretName : undefined;
107
+ resourceInputs["secretType"] = args ? args.secretType : undefined;
108
+ resourceInputs["secretValue"] = args ? args.secretValue : undefined;
109
+ resourceInputs["versionName"] = args ? args.versionName : undefined;
110
+ resourceInputs["createdTime"] = undefined /*out*/;
111
+ resourceInputs["lastRotationTime"] = undefined /*out*/;
112
+ resourceInputs["managed"] = undefined /*out*/;
113
+ resourceInputs["owningService"] = undefined /*out*/;
114
+ resourceInputs["rotationIntervalRead"] = undefined /*out*/;
115
+ resourceInputs["rotationState"] = undefined /*out*/;
116
+ resourceInputs["scheduleDeleteTime"] = undefined /*out*/;
117
+ resourceInputs["scheduleRotationTime"] = undefined /*out*/;
118
+ resourceInputs["secretId"] = undefined /*out*/;
119
+ resourceInputs["secretState"] = undefined /*out*/;
120
+ resourceInputs["trn"] = undefined /*out*/;
121
+ resourceInputs["uid"] = undefined /*out*/;
122
+ resourceInputs["updatedTime"] = undefined /*out*/;
123
+ }
124
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
125
+ super(Secret.__pulumiType, name, resourceInputs, opts);
126
+ }
127
+ }
128
+ exports.Secret = Secret;
129
+ /** @internal */
130
+ Secret.__pulumiType = 'volcenginecc:kms/secret:Secret';
131
+ //# sourceMappingURL=secret.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret.js","sourceRoot":"","sources":["../../kms/secret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AA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C,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,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,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAlML,wBAmMC;AArLG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/pulumi-volcenginecc",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "A Pulumi package to safely use volcengine resource in Pulumi programs.",
5
5
  "keywords": [
6
6
  "volcengine",
package/provider.d.ts CHANGED
@@ -45,6 +45,11 @@ export declare class Provider extends pulumi.ProviderResource {
45
45
  * environment variable
46
46
  */
47
47
  readonly secretKey: pulumi.Output<string | undefined>;
48
+ /**
49
+ * The Session Token for Volcengine Provider. It can also be sourced from the `VOLCENGINE_SESSION_TOKEN` environment
50
+ * variable
51
+ */
52
+ readonly sessionToken: pulumi.Output<string | undefined>;
48
53
  /**
49
54
  * Create a Provider resource with the given unique name, arguments, and options.
50
55
  *
@@ -107,6 +112,11 @@ export interface ProviderArgs {
107
112
  * environment variable
108
113
  */
109
114
  secretKey?: pulumi.Input<string>;
115
+ /**
116
+ * The Session Token for Volcengine Provider. It can also be sourced from the `VOLCENGINE_SESSION_TOKEN` environment
117
+ * variable
118
+ */
119
+ sessionToken?: pulumi.Input<string>;
110
120
  }
111
121
  export declare namespace Provider {
112
122
  /**
package/provider.js CHANGED
@@ -30,7 +30,7 @@ class Provider extends pulumi.ProviderResource {
30
30
  * @param opts A bag of options that control this resource's behavior.
31
31
  */
32
32
  constructor(name, args, opts) {
33
- var _a, _b, _c, _d, _e, _f, _g, _h;
33
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
34
34
  let resourceInputs = {};
35
35
  opts = opts || {};
36
36
  {
@@ -44,6 +44,7 @@ class Provider extends pulumi.ProviderResource {
44
44
  resourceInputs["proxyUrl"] = (_f = (args ? args.proxyUrl : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("VOLCENGINE_PROXY_URL");
45
45
  resourceInputs["region"] = (_g = (args ? args.region : undefined)) !== null && _g !== void 0 ? _g : utilities.getEnv("VOLCENGINE_REGION");
46
46
  resourceInputs["secretKey"] = (_h = (args ? args.secretKey : undefined)) !== null && _h !== void 0 ? _h : utilities.getEnv("VOLCENGINE_SECRET_KEY");
47
+ resourceInputs["sessionToken"] = (_j = (args ? args.sessionToken : undefined)) !== null && _j !== void 0 ? _j : utilities.getEnv("VOLCENGINE_SESSION_TOKEN");
47
48
  }
48
49
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
49
50
  super(Provider.__pulumiType, name, resourceInputs, opts);
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAoCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,WAAW,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;YAC/G,cAAc,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACvG,cAAc,CAAC,iBAAiB,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC;YACjI,cAAc,CAAC,YAAY,CAAC,GAAG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AsB,CAAC,CAAC;YAC5G,cAAc,CAAC,QAAQ,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;YACrG,cAAc,CAAC,WAAW,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;YAC/G,cAAc,CAAC,cAAc,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;SAC3H;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,+CAA+C,EAAE;YACxE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AAxFL,4BAyFC;AAxFG,gBAAgB;AACO,qBAAY,GAAG,cAAc,CAAC"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
5
+ */
6
+ export declare function getParameterTemplate(args: GetParameterTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetParameterTemplateResult>;
7
+ /**
8
+ * A collection of arguments for invoking getParameterTemplate.
9
+ */
10
+ export interface GetParameterTemplateArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getParameterTemplate.
18
+ */
19
+ export interface GetParameterTemplateResult {
20
+ /**
21
+ * Account ID
22
+ */
23
+ readonly accountId: string;
24
+ /**
25
+ * Parameter template creation time
26
+ */
27
+ readonly createTime: string;
28
+ /**
29
+ * Uniquely identifies the resource.
30
+ */
31
+ readonly id: string;
32
+ /**
33
+ * Whether the template contains parameters that require a restart to take effect
34
+ */
35
+ readonly needRestart: boolean;
36
+ /**
37
+ * Number of parameters included in the template
38
+ */
39
+ readonly parameterNum: number;
40
+ /**
41
+ * Template category
42
+ */
43
+ readonly templateCategory: string;
44
+ /**
45
+ * Parameter template description information
46
+ */
47
+ readonly templateDesc: string;
48
+ /**
49
+ * Parameter template ID, automatically generated by the system
50
+ */
51
+ readonly templateId: string;
52
+ /**
53
+ * Parameter template name
54
+ */
55
+ readonly templateName: string;
56
+ /**
57
+ * List of parameters included in the parameter template
58
+ */
59
+ readonly templateParams: outputs.rdspostgresql.GetParameterTemplateTemplateParam[];
60
+ /**
61
+ * Parameter template source type. Options: System (system template), User (user template)
62
+ */
63
+ readonly templateSource: string;
64
+ /**
65
+ * Database type of the parameter template. Value: PostgreSQL
66
+ */
67
+ readonly templateType: string;
68
+ /**
69
+ * Database version of the parameter template, such as PostgreSQL*13, PostgreSQL*14, PostgreSQL_15, etc
70
+ */
71
+ readonly templateTypeVersion: string;
72
+ /**
73
+ * Last modified time of the parameter template
74
+ */
75
+ readonly updateTime: string;
76
+ }
77
+ /**
78
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
79
+ */
80
+ export declare function getParameterTemplateOutput(args: GetParameterTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetParameterTemplateResult>;
81
+ /**
82
+ * A collection of arguments for invoking getParameterTemplate.
83
+ */
84
+ export interface GetParameterTemplateOutputArgs {
85
+ /**
86
+ * Uniquely identifies the resource.
87
+ */
88
+ id: pulumi.Input<string>;
89
+ }
@@ -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.getParameterTemplateOutput = exports.getParameterTemplate = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
10
+ */
11
+ function getParameterTemplate(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:rdspostgresql/getParameterTemplate:getParameterTemplate", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getParameterTemplate = getParameterTemplate;
18
+ /**
19
+ * Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
20
+ */
21
+ function getParameterTemplateOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:rdspostgresql/getParameterTemplate:getParameterTemplate", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getParameterTemplateOutput = getParameterTemplateOutput;
28
+ //# sourceMappingURL=getParameterTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getParameterTemplate.js","sourceRoot":"","sources":["../../rdspostgresql/getParameterTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAyED;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sEAAsE,EAAE;QACvG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
4
+ */
5
+ export declare function getParameterTemplates(opts?: pulumi.InvokeOptions): Promise<GetParameterTemplatesResult>;
6
+ /**
7
+ * A collection of values returned by getParameterTemplates.
8
+ */
9
+ export interface GetParameterTemplatesResult {
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::RDSPostgreSQL::ParameterTemplate
21
+ */
22
+ export declare function getParameterTemplatesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetParameterTemplatesResult>;
@@ -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.getParameterTemplatesOutput = exports.getParameterTemplates = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
10
+ */
11
+ function getParameterTemplates(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:rdspostgresql/getParameterTemplates:getParameterTemplates", {}, opts);
14
+ }
15
+ exports.getParameterTemplates = getParameterTemplates;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::RDSPostgreSQL::ParameterTemplate
18
+ */
19
+ function getParameterTemplatesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:rdspostgresql/getParameterTemplates:getParameterTemplates", {}, opts);
22
+ }
23
+ exports.getParameterTemplatesOutput = getParameterTemplatesOutput;
24
+ //# sourceMappingURL=getParameterTemplates.js.map