@volcengine/pulumi-volcenginecc 0.0.33 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/privatezone/getRecord.d.ts +5 -0
- package/privatezone/getRecord.js.map +1 -1
- package/privatezone/record.d.ts +4 -0
- package/privatezone/record.js +2 -0
- package/privatezone/record.js.map +1 -1
- package/rdsmysql/getParameterTemplate.d.ts +97 -0
- package/rdsmysql/getParameterTemplate.js +28 -0
- package/rdsmysql/getParameterTemplate.js.map +1 -0
- package/rdsmysql/getParameterTemplates.d.ts +22 -0
- package/rdsmysql/getParameterTemplates.js +24 -0
- package/rdsmysql/getParameterTemplates.js.map +1 -0
- package/rdsmysql/index.d.ts +9 -0
- package/rdsmysql/index.js +12 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdsmysql/parameterTemplate.d.ts +186 -0
- package/rdsmysql/parameterTemplate.js +92 -0
- package/rdsmysql/parameterTemplate.js.map +1 -0
- package/redis/getInstance.d.ts +8 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +47 -18
- package/redis/instance.js +27 -18
- package/redis/instance.js.map +1 -1
- package/tos/bucketCors.d.ts +69 -0
- package/tos/bucketCors.js +73 -0
- package/tos/bucketCors.js.map +1 -0
- package/tos/bucketNotification.d.ts +69 -0
- package/tos/bucketNotification.js +70 -0
- package/tos/bucketNotification.js.map +1 -0
- package/tos/bucketRealtimeLog.d.ts +78 -0
- package/tos/bucketRealtimeLog.js +73 -0
- package/tos/bucketRealtimeLog.js.map +1 -0
- package/tos/getBucketCors.d.ts +45 -0
- package/tos/getBucketCors.js +28 -0
- package/tos/getBucketCors.js.map +1 -0
- package/tos/getBucketNotification.d.ts +45 -0
- package/tos/getBucketNotification.js +28 -0
- package/tos/getBucketNotification.js.map +1 -0
- package/tos/getBucketNotifications.d.ts +22 -0
- package/tos/getBucketNotifications.js +24 -0
- package/tos/getBucketNotifications.js.map +1 -0
- package/tos/getBucketRealtimeLog.d.ts +45 -0
- package/tos/getBucketRealtimeLog.js +28 -0
- package/tos/getBucketRealtimeLog.js.map +1 -0
- package/tos/getBucketRealtimeLogs.d.ts +22 -0
- package/tos/getBucketRealtimeLogs.js +24 -0
- package/tos/getBucketRealtimeLogs.js.map +1 -0
- package/tos/index.d.ts +24 -0
- package/tos/index.js +31 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +182 -0
- package/types/output.d.ts +396 -0
package/redis/getInstance.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export interface GetInstanceResult {
|
|
|
29
29
|
* Set a backup name for the full backup created before changes.
|
|
30
30
|
*/
|
|
31
31
|
readonly backupPointName: string;
|
|
32
|
+
/**
|
|
33
|
+
* Restore data from the backup set to the original Redis instance.
|
|
34
|
+
*/
|
|
35
|
+
readonly backupRestore: outputs.redis.GetInstanceBackupRestore;
|
|
32
36
|
/**
|
|
33
37
|
* Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
|
|
34
38
|
*/
|
|
@@ -45,6 +49,10 @@ export interface GetInstanceResult {
|
|
|
45
49
|
* Set the list of availability zones to which the node belongs.
|
|
46
50
|
*/
|
|
47
51
|
readonly configureNodes: outputs.redis.GetInstanceConfigureNode[];
|
|
52
|
+
/**
|
|
53
|
+
* Enable data flashback
|
|
54
|
+
*/
|
|
55
|
+
readonly continuousBackup: boolean;
|
|
48
56
|
/**
|
|
49
57
|
* Whether to create a backup before making changes.
|
|
50
58
|
*/
|
package/redis/getInstance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../redis/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;
|
|
1
|
+
{"version":3,"file":"getInstance.js","sourceRoot":"","sources":["../../redis/getInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AA6MD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
|
package/redis/instance.d.ts
CHANGED
|
@@ -11,24 +11,6 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
12
|
*
|
|
13
13
|
* const redisInstanceDemo = new volcenginecc.redis.Instance("RedisInstanceDemo", {
|
|
14
|
-
* instanceName: "RedisInstance",
|
|
15
|
-
* shardedCluster: 1,
|
|
16
|
-
* password: "********",
|
|
17
|
-
* nodeNumber: 2,
|
|
18
|
-
* shardCapacity: 512,
|
|
19
|
-
* shardNumber: 2,
|
|
20
|
-
* engineVersion: "5.0",
|
|
21
|
-
* vpcId: "vpc-13f8xxxx",
|
|
22
|
-
* subnetId: "vpc_subnet-xxxx",
|
|
23
|
-
* deletionProtection: "disabled",
|
|
24
|
-
* chargeType: "PostPaid",
|
|
25
|
-
* port: 6381,
|
|
26
|
-
* projectName: "default",
|
|
27
|
-
* tags: [{
|
|
28
|
-
* key: "env",
|
|
29
|
-
* value: "test",
|
|
30
|
-
* }],
|
|
31
|
-
* multiAz: "enabled",
|
|
32
14
|
* configureNodes: [
|
|
33
15
|
* {
|
|
34
16
|
* az: "cn-beijing-a",
|
|
@@ -37,6 +19,29 @@ import * as outputs from "../types/output";
|
|
|
37
19
|
* az: "cn-beijing-b",
|
|
38
20
|
* },
|
|
39
21
|
* ],
|
|
22
|
+
* multiAz: "enabled",
|
|
23
|
+
* tags: [{
|
|
24
|
+
* key: "env",
|
|
25
|
+
* value: "test",
|
|
26
|
+
* }],
|
|
27
|
+
* projectName: "default",
|
|
28
|
+
* vpcId: "vpc-xxxxx",
|
|
29
|
+
* subnetId: "subnet-xxxxx",
|
|
30
|
+
* deletionProtection: "enabled",
|
|
31
|
+
* port: 9999,
|
|
32
|
+
* autoRenew: false,
|
|
33
|
+
* chargeType: "PostPaid",
|
|
34
|
+
* engineVersion: "6.0",
|
|
35
|
+
* shardCapacity: 512,
|
|
36
|
+
* shardNumber: 2,
|
|
37
|
+
* nodeNumber: 2,
|
|
38
|
+
* allowListIds: ["acl-cnlfwmfaqdefxxxxx"],
|
|
39
|
+
* password: "********",
|
|
40
|
+
* shardedCluster: 1,
|
|
41
|
+
* instanceName: "ccapi-auto-test",
|
|
42
|
+
* noAuthMode: "open",
|
|
43
|
+
* parameterGroupId: "DefaultParamGroupId-6.0",
|
|
44
|
+
* continuousBackup: true,
|
|
40
45
|
* });
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
@@ -74,6 +79,10 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
74
79
|
* Set a backup name for the full backup created before changes.
|
|
75
80
|
*/
|
|
76
81
|
readonly backupPointName: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Restore data from the backup set to the original Redis instance.
|
|
84
|
+
*/
|
|
85
|
+
readonly backupRestore: pulumi.Output<outputs.redis.InstanceBackupRestore>;
|
|
77
86
|
/**
|
|
78
87
|
* Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
|
|
79
88
|
*/
|
|
@@ -87,6 +96,10 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
87
96
|
*/
|
|
88
97
|
readonly chargeType: pulumi.Output<string>;
|
|
89
98
|
readonly configureNodes: pulumi.Output<outputs.redis.InstanceConfigureNode[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Enable data flashback
|
|
101
|
+
*/
|
|
102
|
+
readonly continuousBackup: pulumi.Output<boolean>;
|
|
90
103
|
/**
|
|
91
104
|
* Whether to create a backup before making changes.
|
|
92
105
|
*/
|
|
@@ -251,6 +264,10 @@ export interface InstanceState {
|
|
|
251
264
|
* Set a backup name for the full backup created before changes.
|
|
252
265
|
*/
|
|
253
266
|
backupPointName?: pulumi.Input<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Restore data from the backup set to the original Redis instance.
|
|
269
|
+
*/
|
|
270
|
+
backupRestore?: pulumi.Input<inputs.redis.InstanceBackupRestore>;
|
|
254
271
|
/**
|
|
255
272
|
* Blue-green deployment role of the instance. Valid values: Blue: blue instance. Green: green instance. This parameter is returned only for Redis instances that have used the blue-green deployment feature.
|
|
256
273
|
*/
|
|
@@ -264,6 +281,10 @@ export interface InstanceState {
|
|
|
264
281
|
*/
|
|
265
282
|
chargeType?: pulumi.Input<string>;
|
|
266
283
|
configureNodes?: pulumi.Input<pulumi.Input<inputs.redis.InstanceConfigureNode>[]>;
|
|
284
|
+
/**
|
|
285
|
+
* Enable data flashback
|
|
286
|
+
*/
|
|
287
|
+
continuousBackup?: pulumi.Input<boolean>;
|
|
267
288
|
/**
|
|
268
289
|
* Whether to create a backup before making changes.
|
|
269
290
|
*/
|
|
@@ -420,11 +441,19 @@ export interface InstanceArgs {
|
|
|
420
441
|
* Set a backup name for the full backup created before changes.
|
|
421
442
|
*/
|
|
422
443
|
backupPointName?: pulumi.Input<string>;
|
|
444
|
+
/**
|
|
445
|
+
* Restore data from the backup set to the original Redis instance.
|
|
446
|
+
*/
|
|
447
|
+
backupRestore?: pulumi.Input<inputs.redis.InstanceBackupRestore>;
|
|
423
448
|
/**
|
|
424
449
|
* Instance billing type. Value options: PrePaid: Subscription (also called prepaid). PostPaid: Pay-as-you-go (also called postpaid).
|
|
425
450
|
*/
|
|
426
451
|
chargeType?: pulumi.Input<string>;
|
|
427
452
|
configureNodes: pulumi.Input<pulumi.Input<inputs.redis.InstanceConfigureNode>[]>;
|
|
453
|
+
/**
|
|
454
|
+
* Enable data flashback
|
|
455
|
+
*/
|
|
456
|
+
continuousBackup?: pulumi.Input<boolean>;
|
|
428
457
|
/**
|
|
429
458
|
* Whether to create a backup before making changes.
|
|
430
459
|
*/
|
package/redis/instance.js
CHANGED
|
@@ -15,24 +15,6 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
16
|
*
|
|
17
17
|
* const redisInstanceDemo = new volcenginecc.redis.Instance("RedisInstanceDemo", {
|
|
18
|
-
* instanceName: "RedisInstance",
|
|
19
|
-
* shardedCluster: 1,
|
|
20
|
-
* password: "********",
|
|
21
|
-
* nodeNumber: 2,
|
|
22
|
-
* shardCapacity: 512,
|
|
23
|
-
* shardNumber: 2,
|
|
24
|
-
* engineVersion: "5.0",
|
|
25
|
-
* vpcId: "vpc-13f8xxxx",
|
|
26
|
-
* subnetId: "vpc_subnet-xxxx",
|
|
27
|
-
* deletionProtection: "disabled",
|
|
28
|
-
* chargeType: "PostPaid",
|
|
29
|
-
* port: 6381,
|
|
30
|
-
* projectName: "default",
|
|
31
|
-
* tags: [{
|
|
32
|
-
* key: "env",
|
|
33
|
-
* value: "test",
|
|
34
|
-
* }],
|
|
35
|
-
* multiAz: "enabled",
|
|
36
18
|
* configureNodes: [
|
|
37
19
|
* {
|
|
38
20
|
* az: "cn-beijing-a",
|
|
@@ -41,6 +23,29 @@ const utilities = require("../utilities");
|
|
|
41
23
|
* az: "cn-beijing-b",
|
|
42
24
|
* },
|
|
43
25
|
* ],
|
|
26
|
+
* multiAz: "enabled",
|
|
27
|
+
* tags: [{
|
|
28
|
+
* key: "env",
|
|
29
|
+
* value: "test",
|
|
30
|
+
* }],
|
|
31
|
+
* projectName: "default",
|
|
32
|
+
* vpcId: "vpc-xxxxx",
|
|
33
|
+
* subnetId: "subnet-xxxxx",
|
|
34
|
+
* deletionProtection: "enabled",
|
|
35
|
+
* port: 9999,
|
|
36
|
+
* autoRenew: false,
|
|
37
|
+
* chargeType: "PostPaid",
|
|
38
|
+
* engineVersion: "6.0",
|
|
39
|
+
* shardCapacity: 512,
|
|
40
|
+
* shardNumber: 2,
|
|
41
|
+
* nodeNumber: 2,
|
|
42
|
+
* allowListIds: ["acl-cnlfwmfaqdefxxxxx"],
|
|
43
|
+
* password: "********",
|
|
44
|
+
* shardedCluster: 1,
|
|
45
|
+
* instanceName: "ccapi-auto-test",
|
|
46
|
+
* noAuthMode: "open",
|
|
47
|
+
* parameterGroupId: "DefaultParamGroupId-6.0",
|
|
48
|
+
* continuousBackup: true,
|
|
44
49
|
* });
|
|
45
50
|
* ```
|
|
46
51
|
*
|
|
@@ -81,10 +86,12 @@ class Instance extends pulumi.CustomResource {
|
|
|
81
86
|
resourceInputs["allowListIds"] = state ? state.allowListIds : undefined;
|
|
82
87
|
resourceInputs["autoRenew"] = state ? state.autoRenew : undefined;
|
|
83
88
|
resourceInputs["backupPointName"] = state ? state.backupPointName : undefined;
|
|
89
|
+
resourceInputs["backupRestore"] = state ? state.backupRestore : undefined;
|
|
84
90
|
resourceInputs["blueGreenRole"] = state ? state.blueGreenRole : undefined;
|
|
85
91
|
resourceInputs["capacity"] = state ? state.capacity : undefined;
|
|
86
92
|
resourceInputs["chargeType"] = state ? state.chargeType : undefined;
|
|
87
93
|
resourceInputs["configureNodes"] = state ? state.configureNodes : undefined;
|
|
94
|
+
resourceInputs["continuousBackup"] = state ? state.continuousBackup : undefined;
|
|
88
95
|
resourceInputs["createBackup"] = state ? state.createBackup : undefined;
|
|
89
96
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
90
97
|
resourceInputs["dataLayout"] = state ? state.dataLayout : undefined;
|
|
@@ -152,8 +159,10 @@ class Instance extends pulumi.CustomResource {
|
|
|
152
159
|
resourceInputs["allowListIds"] = args ? args.allowListIds : undefined;
|
|
153
160
|
resourceInputs["autoRenew"] = args ? args.autoRenew : undefined;
|
|
154
161
|
resourceInputs["backupPointName"] = args ? args.backupPointName : undefined;
|
|
162
|
+
resourceInputs["backupRestore"] = args ? args.backupRestore : undefined;
|
|
155
163
|
resourceInputs["chargeType"] = args ? args.chargeType : undefined;
|
|
156
164
|
resourceInputs["configureNodes"] = args ? args.configureNodes : undefined;
|
|
165
|
+
resourceInputs["continuousBackup"] = args ? args.continuousBackup : undefined;
|
|
157
166
|
resourceInputs["createBackup"] = args ? args.createBackup : undefined;
|
|
158
167
|
resourceInputs["deletionProtection"] = args ? args.deletionProtection : undefined;
|
|
159
168
|
resourceInputs["engineVersion"] = args ? args.engineVersion : undefined;
|
package/redis/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../redis/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"instance.js","source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AAO,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;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;;AA/UL,4BAgVC;AAlUG,gBAAgB;AACO,qBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* { .Description | trimspace }
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* { tffile (printf "examples/resources/%s/tos_bucket_cors.tf" .Name)}
|
|
10
|
+
*
|
|
11
|
+
* { .SchemaMarkdown | trimspace }
|
|
12
|
+
* {- if .HasImport }
|
|
13
|
+
*
|
|
14
|
+
* ## Import
|
|
15
|
+
*
|
|
16
|
+
* { codefile "shell" .ImportFile }
|
|
17
|
+
*
|
|
18
|
+
* {- end }
|
|
19
|
+
*/
|
|
20
|
+
export declare class BucketCors extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing BucketCors resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketCorsState, opts?: pulumi.CustomResourceOptions): BucketCors;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of BucketCors. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is BucketCors;
|
|
36
|
+
/**
|
|
37
|
+
* Bucket name.
|
|
38
|
+
*/
|
|
39
|
+
readonly bucketName: pulumi.Output<string>;
|
|
40
|
+
readonly corsRules: pulumi.Output<outputs.tos.BucketCorsCorsRule[]>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a BucketCors resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: BucketCorsArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering BucketCors resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface BucketCorsState {
|
|
54
|
+
/**
|
|
55
|
+
* Bucket name.
|
|
56
|
+
*/
|
|
57
|
+
bucketName?: pulumi.Input<string>;
|
|
58
|
+
corsRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketCorsCorsRule>[]>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The set of arguments for constructing a BucketCors resource.
|
|
62
|
+
*/
|
|
63
|
+
export interface BucketCorsArgs {
|
|
64
|
+
/**
|
|
65
|
+
* Bucket name.
|
|
66
|
+
*/
|
|
67
|
+
bucketName: pulumi.Input<string>;
|
|
68
|
+
corsRules: pulumi.Input<pulumi.Input<inputs.tos.BucketCorsCorsRule>[]>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.BucketCors = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* { .Description | trimspace }
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* { tffile (printf "examples/resources/%s/tos_bucket_cors.tf" .Name)}
|
|
14
|
+
*
|
|
15
|
+
* { .SchemaMarkdown | trimspace }
|
|
16
|
+
* {- if .HasImport }
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* { codefile "shell" .ImportFile }
|
|
21
|
+
*
|
|
22
|
+
* {- end }
|
|
23
|
+
*/
|
|
24
|
+
class BucketCors extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing BucketCors resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name, id, state, opts) {
|
|
35
|
+
return new BucketCors(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of BucketCors. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj) {
|
|
42
|
+
if (obj === undefined || obj === null) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return obj['__pulumiType'] === BucketCors.__pulumiType;
|
|
46
|
+
}
|
|
47
|
+
constructor(name, argsOrState, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (opts.id) {
|
|
51
|
+
const state = argsOrState;
|
|
52
|
+
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
53
|
+
resourceInputs["corsRules"] = state ? state.corsRules : undefined;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
const args = argsOrState;
|
|
57
|
+
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'bucketName'");
|
|
59
|
+
}
|
|
60
|
+
if ((!args || args.corsRules === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'corsRules'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
64
|
+
resourceInputs["corsRules"] = args ? args.corsRules : undefined;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
super(BucketCors.__pulumiType, name, resourceInputs, opts);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.BucketCors = BucketCors;
|
|
71
|
+
/** @internal */
|
|
72
|
+
BucketCors.__pulumiType = 'volcenginecc:tos/bucketCors:BucketCors';
|
|
73
|
+
//# sourceMappingURL=bucketCors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketCors.js","sourceRoot":"","sources":["../../tos/bucketCors.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;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AC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9DL,gCA+DC;AAjDG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* { .Description | trimspace }
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* { tffile (printf "examples/resources/%s/tos_bucket_notification.tf" .Name)}
|
|
10
|
+
*
|
|
11
|
+
* { .SchemaMarkdown | trimspace }
|
|
12
|
+
* {- if .HasImport }
|
|
13
|
+
*
|
|
14
|
+
* ## Import
|
|
15
|
+
*
|
|
16
|
+
* { codefile "shell" .ImportFile }
|
|
17
|
+
*
|
|
18
|
+
* {- end }
|
|
19
|
+
*/
|
|
20
|
+
export declare class BucketNotification extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing BucketNotification resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketNotificationState, opts?: pulumi.CustomResourceOptions): BucketNotification;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of BucketNotification. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is BucketNotification;
|
|
36
|
+
/**
|
|
37
|
+
* Bucket name.
|
|
38
|
+
*/
|
|
39
|
+
readonly bucketName: pulumi.Output<string>;
|
|
40
|
+
readonly notificationRules: pulumi.Output<outputs.tos.BucketNotificationNotificationRule[]>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a BucketNotification resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: BucketNotificationArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering BucketNotification resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface BucketNotificationState {
|
|
54
|
+
/**
|
|
55
|
+
* Bucket name.
|
|
56
|
+
*/
|
|
57
|
+
bucketName?: pulumi.Input<string>;
|
|
58
|
+
notificationRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRule>[]>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The set of arguments for constructing a BucketNotification resource.
|
|
62
|
+
*/
|
|
63
|
+
export interface BucketNotificationArgs {
|
|
64
|
+
/**
|
|
65
|
+
* Bucket name.
|
|
66
|
+
*/
|
|
67
|
+
bucketName: pulumi.Input<string>;
|
|
68
|
+
notificationRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRule>[]>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.BucketNotification = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* { .Description | trimspace }
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* { tffile (printf "examples/resources/%s/tos_bucket_notification.tf" .Name)}
|
|
14
|
+
*
|
|
15
|
+
* { .SchemaMarkdown | trimspace }
|
|
16
|
+
* {- if .HasImport }
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* { codefile "shell" .ImportFile }
|
|
21
|
+
*
|
|
22
|
+
* {- end }
|
|
23
|
+
*/
|
|
24
|
+
class BucketNotification extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing BucketNotification resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name, id, state, opts) {
|
|
35
|
+
return new BucketNotification(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of BucketNotification. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj) {
|
|
42
|
+
if (obj === undefined || obj === null) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return obj['__pulumiType'] === BucketNotification.__pulumiType;
|
|
46
|
+
}
|
|
47
|
+
constructor(name, argsOrState, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (opts.id) {
|
|
51
|
+
const state = argsOrState;
|
|
52
|
+
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
53
|
+
resourceInputs["notificationRules"] = state ? state.notificationRules : undefined;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
const args = argsOrState;
|
|
57
|
+
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'bucketName'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
61
|
+
resourceInputs["notificationRules"] = args ? args.notificationRules : undefined;
|
|
62
|
+
}
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
+
super(BucketNotification.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.BucketNotification = BucketNotification;
|
|
68
|
+
/** @internal */
|
|
69
|
+
BucketNotification.__pulumiType = 'volcenginecc:tos/bucketNotification:BucketNotification';
|
|
70
|
+
//# sourceMappingURL=bucketNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketNotification.js","sourceRoot":"","sources":["../../tos/bucketNotification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB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AAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA3DL,gDA4DC;AA9CG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* { .Description | trimspace }
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* { tffile (printf "examples/resources/%s/tos_bucket_realtime_log.tf" .Name)}
|
|
10
|
+
*
|
|
11
|
+
* { .SchemaMarkdown | trimspace }
|
|
12
|
+
* {- if .HasImport }
|
|
13
|
+
*
|
|
14
|
+
* ## Import
|
|
15
|
+
*
|
|
16
|
+
* { codefile "shell" .ImportFile }
|
|
17
|
+
*
|
|
18
|
+
* {- end }
|
|
19
|
+
*/
|
|
20
|
+
export declare class BucketRealtimeLog extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing BucketRealtimeLog resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BucketRealtimeLogState, opts?: pulumi.CustomResourceOptions): BucketRealtimeLog;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of BucketRealtimeLog. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is BucketRealtimeLog;
|
|
36
|
+
/**
|
|
37
|
+
* Bucket name
|
|
38
|
+
*/
|
|
39
|
+
readonly bucketName: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Log analysis feature for the bucket
|
|
42
|
+
*/
|
|
43
|
+
readonly realTimeLog: pulumi.Output<outputs.tos.BucketRealtimeLogRealTimeLog>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a BucketRealtimeLog resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args: BucketRealtimeLogArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Input properties used for looking up and filtering BucketRealtimeLog resources.
|
|
55
|
+
*/
|
|
56
|
+
export interface BucketRealtimeLogState {
|
|
57
|
+
/**
|
|
58
|
+
* Bucket name
|
|
59
|
+
*/
|
|
60
|
+
bucketName?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Log analysis feature for the bucket
|
|
63
|
+
*/
|
|
64
|
+
realTimeLog?: pulumi.Input<inputs.tos.BucketRealtimeLogRealTimeLog>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a BucketRealtimeLog resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface BucketRealtimeLogArgs {
|
|
70
|
+
/**
|
|
71
|
+
* Bucket name
|
|
72
|
+
*/
|
|
73
|
+
bucketName: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Log analysis feature for the bucket
|
|
76
|
+
*/
|
|
77
|
+
realTimeLog: pulumi.Input<inputs.tos.BucketRealtimeLogRealTimeLog>;
|
|
78
|
+
}
|