@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/types/input.d.ts
CHANGED
|
@@ -7733,6 +7733,32 @@ export declare namespace privatelink {
|
|
|
7733
7733
|
}
|
|
7734
7734
|
}
|
|
7735
7735
|
export declare namespace privatezone {
|
|
7736
|
+
interface RecordRecordSet {
|
|
7737
|
+
/**
|
|
7738
|
+
* Full domain name
|
|
7739
|
+
*/
|
|
7740
|
+
fqdn?: pulumi.Input<string>;
|
|
7741
|
+
/**
|
|
7742
|
+
* Subdomain prefix
|
|
7743
|
+
*/
|
|
7744
|
+
host?: pulumi.Input<string>;
|
|
7745
|
+
/**
|
|
7746
|
+
* Record set ID
|
|
7747
|
+
*/
|
|
7748
|
+
id?: pulumi.Input<string>;
|
|
7749
|
+
/**
|
|
7750
|
+
* Resolution line
|
|
7751
|
+
*/
|
|
7752
|
+
line?: pulumi.Input<string>;
|
|
7753
|
+
/**
|
|
7754
|
+
* Record type
|
|
7755
|
+
*/
|
|
7756
|
+
type?: pulumi.Input<string>;
|
|
7757
|
+
/**
|
|
7758
|
+
* Load balancing enabled
|
|
7759
|
+
*/
|
|
7760
|
+
weightEnabled?: pulumi.Input<boolean>;
|
|
7761
|
+
}
|
|
7736
7762
|
interface ResolverEndpointIpConfig {
|
|
7737
7763
|
/**
|
|
7738
7764
|
* Availability zone for the endpoint IP address. To ensure high availability, it is recommended to add at least 2 availability zones
|
|
@@ -8564,6 +8590,16 @@ export declare namespace rdsmysql {
|
|
|
8564
8590
|
*/
|
|
8565
8591
|
value?: pulumi.Input<string>;
|
|
8566
8592
|
}
|
|
8593
|
+
interface ParameterTemplateTemplateParam {
|
|
8594
|
+
/**
|
|
8595
|
+
* Instance parameter name
|
|
8596
|
+
*/
|
|
8597
|
+
name: pulumi.Input<string>;
|
|
8598
|
+
/**
|
|
8599
|
+
* Parameter runtime value
|
|
8600
|
+
*/
|
|
8601
|
+
runningValue: pulumi.Input<string>;
|
|
8602
|
+
}
|
|
8567
8603
|
}
|
|
8568
8604
|
export declare namespace rdspostgresql {
|
|
8569
8605
|
interface AllowListAssociatedInstance {
|
|
@@ -8884,6 +8920,20 @@ export declare namespace redis {
|
|
|
8884
8920
|
*/
|
|
8885
8921
|
securityGroupId?: pulumi.Input<string>;
|
|
8886
8922
|
}
|
|
8923
|
+
interface InstanceBackupRestore {
|
|
8924
|
+
/**
|
|
8925
|
+
* Backup ID, used to specify which backup to use when restoring from a backup set
|
|
8926
|
+
*/
|
|
8927
|
+
backupPointId?: pulumi.Input<string>;
|
|
8928
|
+
/**
|
|
8929
|
+
* Recovery method
|
|
8930
|
+
*/
|
|
8931
|
+
backupType?: pulumi.Input<string>;
|
|
8932
|
+
/**
|
|
8933
|
+
* Used to specify the point in time for point-in-time recovery
|
|
8934
|
+
*/
|
|
8935
|
+
timePoint?: pulumi.Input<string>;
|
|
8936
|
+
}
|
|
8887
8937
|
interface InstanceCapacity {
|
|
8888
8938
|
/**
|
|
8889
8939
|
* Total memory capacity of the current instance. Unit: MiB.
|
|
@@ -10432,6 +10482,32 @@ export declare namespace tos {
|
|
|
10432
10482
|
*/
|
|
10433
10483
|
ownerId?: pulumi.Input<string>;
|
|
10434
10484
|
}
|
|
10485
|
+
interface BucketCorsCorsRule {
|
|
10486
|
+
/**
|
|
10487
|
+
* Specify the response headers allowed for cross-origin requests.
|
|
10488
|
+
*/
|
|
10489
|
+
allowedHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10490
|
+
/**
|
|
10491
|
+
* Specify the allowed methods for cross-origin requests.
|
|
10492
|
+
*/
|
|
10493
|
+
allowedMethods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10494
|
+
/**
|
|
10495
|
+
* Specify the allowed origins for cross-origin requests.
|
|
10496
|
+
*/
|
|
10497
|
+
allowedOrigins?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10498
|
+
/**
|
|
10499
|
+
* Specify additional headers to include in the CORS response to provide extra information to the client.
|
|
10500
|
+
*/
|
|
10501
|
+
exposeHeaders?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10502
|
+
/**
|
|
10503
|
+
* Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
|
|
10504
|
+
*/
|
|
10505
|
+
maxAgeSeconds?: pulumi.Input<number>;
|
|
10506
|
+
/**
|
|
10507
|
+
* Whether to return the Vary: Origin header
|
|
10508
|
+
*/
|
|
10509
|
+
responseVary?: pulumi.Input<boolean>;
|
|
10510
|
+
}
|
|
10435
10511
|
interface BucketInventoryDestination {
|
|
10436
10512
|
/**
|
|
10437
10513
|
* Bucket information related to the inventory files.
|
|
@@ -10590,6 +10666,112 @@ export declare namespace tos {
|
|
|
10590
10666
|
*/
|
|
10591
10667
|
storageClass?: pulumi.Input<string>;
|
|
10592
10668
|
}
|
|
10669
|
+
interface BucketNotificationNotificationRule {
|
|
10670
|
+
/**
|
|
10671
|
+
* Event notification delivery targets. Must include at least one target and supports up to five different targets.
|
|
10672
|
+
*/
|
|
10673
|
+
destination?: pulumi.Input<inputs.tos.BucketNotificationNotificationRuleDestination>;
|
|
10674
|
+
/**
|
|
10675
|
+
* Event type. List of events supported by TOS.
|
|
10676
|
+
*/
|
|
10677
|
+
events?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10678
|
+
/**
|
|
10679
|
+
* Filter rules.
|
|
10680
|
+
*/
|
|
10681
|
+
filter?: pulumi.Input<inputs.tos.BucketNotificationNotificationRuleFilter>;
|
|
10682
|
+
/**
|
|
10683
|
+
* Event notification rule name. Naming rules: Event names created under the same bucket must be unique. Maximum length is 255 characters. If not set, TOS will automatically generate a rule name.
|
|
10684
|
+
*/
|
|
10685
|
+
ruleId?: pulumi.Input<string>;
|
|
10686
|
+
}
|
|
10687
|
+
interface BucketNotificationNotificationRuleDestination {
|
|
10688
|
+
kafkas?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRuleDestinationKafka>[]>;
|
|
10689
|
+
rocketMqs?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRuleDestinationRocketMq>[]>;
|
|
10690
|
+
veFaaS?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRuleDestinationVeFaa>[]>;
|
|
10691
|
+
}
|
|
10692
|
+
interface BucketNotificationNotificationRuleDestinationKafka {
|
|
10693
|
+
/**
|
|
10694
|
+
* Kafka instance ID.
|
|
10695
|
+
*/
|
|
10696
|
+
instanceId?: pulumi.Input<string>;
|
|
10697
|
+
/**
|
|
10698
|
+
* Region where the Kafka instance is located.
|
|
10699
|
+
*/
|
|
10700
|
+
region?: pulumi.Input<string>;
|
|
10701
|
+
/**
|
|
10702
|
+
* Role TRN, used to authorize TOS to access Kafka service.
|
|
10703
|
+
*/
|
|
10704
|
+
role?: pulumi.Input<string>;
|
|
10705
|
+
/**
|
|
10706
|
+
* Name of the Kafka topic.
|
|
10707
|
+
*/
|
|
10708
|
+
topic?: pulumi.Input<string>;
|
|
10709
|
+
/**
|
|
10710
|
+
* Kafka username.
|
|
10711
|
+
*/
|
|
10712
|
+
user?: pulumi.Input<string>;
|
|
10713
|
+
}
|
|
10714
|
+
interface BucketNotificationNotificationRuleDestinationRocketMq {
|
|
10715
|
+
/**
|
|
10716
|
+
* RocketMQ AccessKey。
|
|
10717
|
+
*/
|
|
10718
|
+
accessKeyId?: pulumi.Input<string>;
|
|
10719
|
+
/**
|
|
10720
|
+
* RocketMQ instance ID.
|
|
10721
|
+
*/
|
|
10722
|
+
instanceId?: pulumi.Input<string>;
|
|
10723
|
+
/**
|
|
10724
|
+
* Role TRN, used to authorize TOS to access RocketMQ service.
|
|
10725
|
+
*/
|
|
10726
|
+
role?: pulumi.Input<string>;
|
|
10727
|
+
/**
|
|
10728
|
+
* Name of the RocketMQ topic.
|
|
10729
|
+
*/
|
|
10730
|
+
topic?: pulumi.Input<string>;
|
|
10731
|
+
}
|
|
10732
|
+
interface BucketNotificationNotificationRuleDestinationVeFaa {
|
|
10733
|
+
/**
|
|
10734
|
+
* Function ID for event delivery.
|
|
10735
|
+
*/
|
|
10736
|
+
functionId?: pulumi.Input<string>;
|
|
10737
|
+
}
|
|
10738
|
+
interface BucketNotificationNotificationRuleFilter {
|
|
10739
|
+
/**
|
|
10740
|
+
* Object filter information.
|
|
10741
|
+
*/
|
|
10742
|
+
tosKey?: pulumi.Input<inputs.tos.BucketNotificationNotificationRuleFilterTosKey>;
|
|
10743
|
+
}
|
|
10744
|
+
interface BucketNotificationNotificationRuleFilterTosKey {
|
|
10745
|
+
filterRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketNotificationNotificationRuleFilterTosKeyFilterRule>[]>;
|
|
10746
|
+
}
|
|
10747
|
+
interface BucketNotificationNotificationRuleFilterTosKeyFilterRule {
|
|
10748
|
+
/**
|
|
10749
|
+
* Matching conditions. The values are as follows: prefix: prefix; suffix: suffix.
|
|
10750
|
+
*/
|
|
10751
|
+
name?: pulumi.Input<string>;
|
|
10752
|
+
/**
|
|
10753
|
+
* Matched prefix and suffix information.
|
|
10754
|
+
*/
|
|
10755
|
+
value?: pulumi.Input<string>;
|
|
10756
|
+
}
|
|
10757
|
+
interface BucketRealtimeLogRealTimeLog {
|
|
10758
|
+
/**
|
|
10759
|
+
* Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
|
|
10760
|
+
*/
|
|
10761
|
+
role: pulumi.Input<string>;
|
|
10762
|
+
/**
|
|
10763
|
+
* Log project ID
|
|
10764
|
+
*/
|
|
10765
|
+
tlsProjectId?: pulumi.Input<string>;
|
|
10766
|
+
/**
|
|
10767
|
+
* Log topic ID
|
|
10768
|
+
*/
|
|
10769
|
+
tlsTopicId?: pulumi.Input<string>;
|
|
10770
|
+
/**
|
|
10771
|
+
* For topics created using the TOS service, only "true" is allowed as a value
|
|
10772
|
+
*/
|
|
10773
|
+
useServiceTopic: pulumi.Input<boolean>;
|
|
10774
|
+
}
|
|
10593
10775
|
interface BucketTag {
|
|
10594
10776
|
/**
|
|
10595
10777
|
* Tag key
|
package/types/output.d.ts
CHANGED
|
@@ -15948,6 +15948,32 @@ export declare namespace privatelink {
|
|
|
15948
15948
|
}
|
|
15949
15949
|
}
|
|
15950
15950
|
export declare namespace privatezone {
|
|
15951
|
+
interface GetRecordRecordSet {
|
|
15952
|
+
/**
|
|
15953
|
+
* Full domain name
|
|
15954
|
+
*/
|
|
15955
|
+
fqdn: string;
|
|
15956
|
+
/**
|
|
15957
|
+
* Subdomain prefix
|
|
15958
|
+
*/
|
|
15959
|
+
host: string;
|
|
15960
|
+
/**
|
|
15961
|
+
* Record set ID
|
|
15962
|
+
*/
|
|
15963
|
+
id: string;
|
|
15964
|
+
/**
|
|
15965
|
+
* Resolution line
|
|
15966
|
+
*/
|
|
15967
|
+
line: string;
|
|
15968
|
+
/**
|
|
15969
|
+
* Record type
|
|
15970
|
+
*/
|
|
15971
|
+
type: string;
|
|
15972
|
+
/**
|
|
15973
|
+
* Load balancing enabled
|
|
15974
|
+
*/
|
|
15975
|
+
weightEnabled: boolean;
|
|
15976
|
+
}
|
|
15951
15977
|
interface GetResolverEndpointIpConfig {
|
|
15952
15978
|
/**
|
|
15953
15979
|
* Availability zone for the endpoint IP address. To ensure high availability, it is recommended to add at least 2 availability zones
|
|
@@ -16014,6 +16040,32 @@ export declare namespace privatezone {
|
|
|
16014
16040
|
*/
|
|
16015
16041
|
vpcId: string;
|
|
16016
16042
|
}
|
|
16043
|
+
interface RecordRecordSet {
|
|
16044
|
+
/**
|
|
16045
|
+
* Full domain name
|
|
16046
|
+
*/
|
|
16047
|
+
fqdn: string;
|
|
16048
|
+
/**
|
|
16049
|
+
* Subdomain prefix
|
|
16050
|
+
*/
|
|
16051
|
+
host: string;
|
|
16052
|
+
/**
|
|
16053
|
+
* Record set ID
|
|
16054
|
+
*/
|
|
16055
|
+
id: string;
|
|
16056
|
+
/**
|
|
16057
|
+
* Resolution line
|
|
16058
|
+
*/
|
|
16059
|
+
line: string;
|
|
16060
|
+
/**
|
|
16061
|
+
* Record type
|
|
16062
|
+
*/
|
|
16063
|
+
type: string;
|
|
16064
|
+
/**
|
|
16065
|
+
* Load balancing enabled
|
|
16066
|
+
*/
|
|
16067
|
+
weightEnabled: boolean;
|
|
16068
|
+
}
|
|
16017
16069
|
interface ResolverEndpointIpConfig {
|
|
16018
16070
|
/**
|
|
16019
16071
|
* Availability zone for the endpoint IP address. To ensure high availability, it is recommended to add at least 2 availability zones
|
|
@@ -17416,6 +17468,36 @@ export declare namespace rdsmysql {
|
|
|
17416
17468
|
*/
|
|
17417
17469
|
value: string;
|
|
17418
17470
|
}
|
|
17471
|
+
interface GetParameterTemplateTemplateParam {
|
|
17472
|
+
/**
|
|
17473
|
+
* Default value of the parameter
|
|
17474
|
+
*/
|
|
17475
|
+
defaultValue: string;
|
|
17476
|
+
/**
|
|
17477
|
+
* Parameter description
|
|
17478
|
+
*/
|
|
17479
|
+
description: string;
|
|
17480
|
+
/**
|
|
17481
|
+
* Expected value of the parameter
|
|
17482
|
+
*/
|
|
17483
|
+
expectValue: string;
|
|
17484
|
+
/**
|
|
17485
|
+
* Instance parameter name
|
|
17486
|
+
*/
|
|
17487
|
+
name: string;
|
|
17488
|
+
/**
|
|
17489
|
+
* Whether a restart is required for the instance to take effect
|
|
17490
|
+
*/
|
|
17491
|
+
restart: boolean;
|
|
17492
|
+
/**
|
|
17493
|
+
* Parameter runtime value
|
|
17494
|
+
*/
|
|
17495
|
+
runningValue: string;
|
|
17496
|
+
/**
|
|
17497
|
+
* Parameter value range
|
|
17498
|
+
*/
|
|
17499
|
+
valueRange: string;
|
|
17500
|
+
}
|
|
17419
17501
|
interface InstanceAddressObject {
|
|
17420
17502
|
/**
|
|
17421
17503
|
* false: private network resolution (default). true: private and public network resolution.
|
|
@@ -17699,6 +17781,16 @@ export declare namespace rdsmysql {
|
|
|
17699
17781
|
*/
|
|
17700
17782
|
value: string;
|
|
17701
17783
|
}
|
|
17784
|
+
interface ParameterTemplateTemplateParam {
|
|
17785
|
+
/**
|
|
17786
|
+
* Instance parameter name
|
|
17787
|
+
*/
|
|
17788
|
+
name: string;
|
|
17789
|
+
/**
|
|
17790
|
+
* Parameter runtime value
|
|
17791
|
+
*/
|
|
17792
|
+
runningValue: string;
|
|
17793
|
+
}
|
|
17702
17794
|
}
|
|
17703
17795
|
export declare namespace rdspostgresql {
|
|
17704
17796
|
interface AllowListAssociatedInstance {
|
|
@@ -18380,6 +18472,20 @@ export declare namespace redis {
|
|
|
18380
18472
|
*/
|
|
18381
18473
|
securityGroupName: string;
|
|
18382
18474
|
}
|
|
18475
|
+
interface GetInstanceBackupRestore {
|
|
18476
|
+
/**
|
|
18477
|
+
* Backup ID, used to specify which backup to use when restoring from a backup set
|
|
18478
|
+
*/
|
|
18479
|
+
backupPointId: string;
|
|
18480
|
+
/**
|
|
18481
|
+
* Recovery method
|
|
18482
|
+
*/
|
|
18483
|
+
backupType: string;
|
|
18484
|
+
/**
|
|
18485
|
+
* Used to specify the point in time for point-in-time recovery
|
|
18486
|
+
*/
|
|
18487
|
+
timePoint: string;
|
|
18488
|
+
}
|
|
18383
18489
|
interface GetInstanceCapacity {
|
|
18384
18490
|
/**
|
|
18385
18491
|
* Total memory capacity of the current instance. Unit: MiB.
|
|
@@ -18464,6 +18570,20 @@ export declare namespace redis {
|
|
|
18464
18570
|
*/
|
|
18465
18571
|
vip: string;
|
|
18466
18572
|
}
|
|
18573
|
+
interface InstanceBackupRestore {
|
|
18574
|
+
/**
|
|
18575
|
+
* Backup ID, used to specify which backup to use when restoring from a backup set
|
|
18576
|
+
*/
|
|
18577
|
+
backupPointId: string;
|
|
18578
|
+
/**
|
|
18579
|
+
* Recovery method
|
|
18580
|
+
*/
|
|
18581
|
+
backupType: string;
|
|
18582
|
+
/**
|
|
18583
|
+
* Used to specify the point in time for point-in-time recovery
|
|
18584
|
+
*/
|
|
18585
|
+
timePoint: string;
|
|
18586
|
+
}
|
|
18467
18587
|
interface InstanceCapacity {
|
|
18468
18588
|
/**
|
|
18469
18589
|
* Total memory capacity of the current instance. Unit: MiB.
|
|
@@ -21544,6 +21664,32 @@ export declare namespace tos {
|
|
|
21544
21664
|
*/
|
|
21545
21665
|
ownerId: string;
|
|
21546
21666
|
}
|
|
21667
|
+
interface BucketCorsCorsRule {
|
|
21668
|
+
/**
|
|
21669
|
+
* Specify the response headers allowed for cross-origin requests.
|
|
21670
|
+
*/
|
|
21671
|
+
allowedHeaders: string[];
|
|
21672
|
+
/**
|
|
21673
|
+
* Specify the allowed methods for cross-origin requests.
|
|
21674
|
+
*/
|
|
21675
|
+
allowedMethods: string[];
|
|
21676
|
+
/**
|
|
21677
|
+
* Specify the allowed origins for cross-origin requests.
|
|
21678
|
+
*/
|
|
21679
|
+
allowedOrigins: string[];
|
|
21680
|
+
/**
|
|
21681
|
+
* Specify additional headers to include in the CORS response to provide extra information to the client.
|
|
21682
|
+
*/
|
|
21683
|
+
exposeHeaders: string[];
|
|
21684
|
+
/**
|
|
21685
|
+
* Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
|
|
21686
|
+
*/
|
|
21687
|
+
maxAgeSeconds: number;
|
|
21688
|
+
/**
|
|
21689
|
+
* Whether to return the Vary: Origin header
|
|
21690
|
+
*/
|
|
21691
|
+
responseVary: boolean;
|
|
21692
|
+
}
|
|
21547
21693
|
interface BucketInventoryDestination {
|
|
21548
21694
|
/**
|
|
21549
21695
|
* Bucket information related to the inventory files.
|
|
@@ -21702,6 +21848,112 @@ export declare namespace tos {
|
|
|
21702
21848
|
*/
|
|
21703
21849
|
storageClass: string;
|
|
21704
21850
|
}
|
|
21851
|
+
interface BucketNotificationNotificationRule {
|
|
21852
|
+
/**
|
|
21853
|
+
* Event notification delivery targets. Must include at least one target and supports up to five different targets.
|
|
21854
|
+
*/
|
|
21855
|
+
destination: outputs.tos.BucketNotificationNotificationRuleDestination;
|
|
21856
|
+
/**
|
|
21857
|
+
* Event type. List of events supported by TOS.
|
|
21858
|
+
*/
|
|
21859
|
+
events: string[];
|
|
21860
|
+
/**
|
|
21861
|
+
* Filter rules.
|
|
21862
|
+
*/
|
|
21863
|
+
filter: outputs.tos.BucketNotificationNotificationRuleFilter;
|
|
21864
|
+
/**
|
|
21865
|
+
* Event notification rule name. Naming rules: Event names created under the same bucket must be unique. Maximum length is 255 characters. If not set, TOS will automatically generate a rule name.
|
|
21866
|
+
*/
|
|
21867
|
+
ruleId: string;
|
|
21868
|
+
}
|
|
21869
|
+
interface BucketNotificationNotificationRuleDestination {
|
|
21870
|
+
kafkas: outputs.tos.BucketNotificationNotificationRuleDestinationKafka[];
|
|
21871
|
+
rocketMqs: outputs.tos.BucketNotificationNotificationRuleDestinationRocketMq[];
|
|
21872
|
+
veFaaS: outputs.tos.BucketNotificationNotificationRuleDestinationVeFaa[];
|
|
21873
|
+
}
|
|
21874
|
+
interface BucketNotificationNotificationRuleDestinationKafka {
|
|
21875
|
+
/**
|
|
21876
|
+
* Kafka instance ID.
|
|
21877
|
+
*/
|
|
21878
|
+
instanceId: string;
|
|
21879
|
+
/**
|
|
21880
|
+
* Region where the Kafka instance is located.
|
|
21881
|
+
*/
|
|
21882
|
+
region: string;
|
|
21883
|
+
/**
|
|
21884
|
+
* Role TRN, used to authorize TOS to access Kafka service.
|
|
21885
|
+
*/
|
|
21886
|
+
role: string;
|
|
21887
|
+
/**
|
|
21888
|
+
* Name of the Kafka topic.
|
|
21889
|
+
*/
|
|
21890
|
+
topic: string;
|
|
21891
|
+
/**
|
|
21892
|
+
* Kafka username.
|
|
21893
|
+
*/
|
|
21894
|
+
user: string;
|
|
21895
|
+
}
|
|
21896
|
+
interface BucketNotificationNotificationRuleDestinationRocketMq {
|
|
21897
|
+
/**
|
|
21898
|
+
* RocketMQ AccessKey。
|
|
21899
|
+
*/
|
|
21900
|
+
accessKeyId: string;
|
|
21901
|
+
/**
|
|
21902
|
+
* RocketMQ instance ID.
|
|
21903
|
+
*/
|
|
21904
|
+
instanceId: string;
|
|
21905
|
+
/**
|
|
21906
|
+
* Role TRN, used to authorize TOS to access RocketMQ service.
|
|
21907
|
+
*/
|
|
21908
|
+
role: string;
|
|
21909
|
+
/**
|
|
21910
|
+
* Name of the RocketMQ topic.
|
|
21911
|
+
*/
|
|
21912
|
+
topic: string;
|
|
21913
|
+
}
|
|
21914
|
+
interface BucketNotificationNotificationRuleDestinationVeFaa {
|
|
21915
|
+
/**
|
|
21916
|
+
* Function ID for event delivery.
|
|
21917
|
+
*/
|
|
21918
|
+
functionId: string;
|
|
21919
|
+
}
|
|
21920
|
+
interface BucketNotificationNotificationRuleFilter {
|
|
21921
|
+
/**
|
|
21922
|
+
* Object filter information.
|
|
21923
|
+
*/
|
|
21924
|
+
tosKey: outputs.tos.BucketNotificationNotificationRuleFilterTosKey;
|
|
21925
|
+
}
|
|
21926
|
+
interface BucketNotificationNotificationRuleFilterTosKey {
|
|
21927
|
+
filterRules: outputs.tos.BucketNotificationNotificationRuleFilterTosKeyFilterRule[];
|
|
21928
|
+
}
|
|
21929
|
+
interface BucketNotificationNotificationRuleFilterTosKeyFilterRule {
|
|
21930
|
+
/**
|
|
21931
|
+
* Matching conditions. The values are as follows: prefix: prefix; suffix: suffix.
|
|
21932
|
+
*/
|
|
21933
|
+
name: string;
|
|
21934
|
+
/**
|
|
21935
|
+
* Matched prefix and suffix information.
|
|
21936
|
+
*/
|
|
21937
|
+
value: string;
|
|
21938
|
+
}
|
|
21939
|
+
interface BucketRealtimeLogRealTimeLog {
|
|
21940
|
+
/**
|
|
21941
|
+
* Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
|
|
21942
|
+
*/
|
|
21943
|
+
role: string;
|
|
21944
|
+
/**
|
|
21945
|
+
* Log project ID
|
|
21946
|
+
*/
|
|
21947
|
+
tlsProjectId: string;
|
|
21948
|
+
/**
|
|
21949
|
+
* Log topic ID
|
|
21950
|
+
*/
|
|
21951
|
+
tlsTopicId: string;
|
|
21952
|
+
/**
|
|
21953
|
+
* For topics created using the TOS service, only "true" is allowed as a value
|
|
21954
|
+
*/
|
|
21955
|
+
useServiceTopic: boolean;
|
|
21956
|
+
}
|
|
21705
21957
|
interface BucketTag {
|
|
21706
21958
|
/**
|
|
21707
21959
|
* Tag key
|
|
@@ -21762,6 +22014,32 @@ export declare namespace tos {
|
|
|
21762
22014
|
*/
|
|
21763
22015
|
ownerId: string;
|
|
21764
22016
|
}
|
|
22017
|
+
interface GetBucketCorsCorsRule {
|
|
22018
|
+
/**
|
|
22019
|
+
* Specify the response headers allowed for cross-origin requests.
|
|
22020
|
+
*/
|
|
22021
|
+
allowedHeaders: string[];
|
|
22022
|
+
/**
|
|
22023
|
+
* Specify the allowed methods for cross-origin requests.
|
|
22024
|
+
*/
|
|
22025
|
+
allowedMethods: string[];
|
|
22026
|
+
/**
|
|
22027
|
+
* Specify the allowed origins for cross-origin requests.
|
|
22028
|
+
*/
|
|
22029
|
+
allowedOrigins: string[];
|
|
22030
|
+
/**
|
|
22031
|
+
* Specify additional headers to include in the CORS response to provide extra information to the client.
|
|
22032
|
+
*/
|
|
22033
|
+
exposeHeaders: string[];
|
|
22034
|
+
/**
|
|
22035
|
+
* Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
|
|
22036
|
+
*/
|
|
22037
|
+
maxAgeSeconds: number;
|
|
22038
|
+
/**
|
|
22039
|
+
* Whether to return the Vary: Origin header
|
|
22040
|
+
*/
|
|
22041
|
+
responseVary: boolean;
|
|
22042
|
+
}
|
|
21765
22043
|
interface GetBucketInventoryDestination {
|
|
21766
22044
|
/**
|
|
21767
22045
|
* Bucket information related to the inventory files.
|
|
@@ -21929,6 +22207,124 @@ export declare namespace tos {
|
|
|
21929
22207
|
*/
|
|
21930
22208
|
storageClass: string;
|
|
21931
22209
|
}
|
|
22210
|
+
interface GetBucketNotificationNotificationRule {
|
|
22211
|
+
/**
|
|
22212
|
+
* Event notification delivery targets. Must include at least one target and supports up to five different targets.
|
|
22213
|
+
*/
|
|
22214
|
+
destination: outputs.tos.GetBucketNotificationNotificationRuleDestination;
|
|
22215
|
+
/**
|
|
22216
|
+
* Event type. List of events supported by TOS.
|
|
22217
|
+
*/
|
|
22218
|
+
events: string[];
|
|
22219
|
+
/**
|
|
22220
|
+
* Filter rules.
|
|
22221
|
+
*/
|
|
22222
|
+
filter: outputs.tos.GetBucketNotificationNotificationRuleFilter;
|
|
22223
|
+
/**
|
|
22224
|
+
* Event notification rule name. Naming rules: Event names created under the same bucket must be unique. Maximum length is 255 characters. If not set, TOS will automatically generate a rule name.
|
|
22225
|
+
*/
|
|
22226
|
+
ruleId: string;
|
|
22227
|
+
}
|
|
22228
|
+
interface GetBucketNotificationNotificationRuleDestination {
|
|
22229
|
+
/**
|
|
22230
|
+
* Event delivery target is Kafka message queue.
|
|
22231
|
+
*/
|
|
22232
|
+
kafkas: outputs.tos.GetBucketNotificationNotificationRuleDestinationKafka[];
|
|
22233
|
+
/**
|
|
22234
|
+
* Event delivery target is RocketMQ message queue.
|
|
22235
|
+
*/
|
|
22236
|
+
rocketMqs: outputs.tos.GetBucketNotificationNotificationRuleDestinationRocketMq[];
|
|
22237
|
+
/**
|
|
22238
|
+
* Event delivery target is Function Service.
|
|
22239
|
+
*/
|
|
22240
|
+
veFaaS: outputs.tos.GetBucketNotificationNotificationRuleDestinationVeFaa[];
|
|
22241
|
+
}
|
|
22242
|
+
interface GetBucketNotificationNotificationRuleDestinationKafka {
|
|
22243
|
+
/**
|
|
22244
|
+
* Kafka instance ID.
|
|
22245
|
+
*/
|
|
22246
|
+
instanceId: string;
|
|
22247
|
+
/**
|
|
22248
|
+
* Region where the Kafka instance is located.
|
|
22249
|
+
*/
|
|
22250
|
+
region: string;
|
|
22251
|
+
/**
|
|
22252
|
+
* Role TRN, used to authorize TOS to access Kafka service.
|
|
22253
|
+
*/
|
|
22254
|
+
role: string;
|
|
22255
|
+
/**
|
|
22256
|
+
* Name of the Kafka topic.
|
|
22257
|
+
*/
|
|
22258
|
+
topic: string;
|
|
22259
|
+
/**
|
|
22260
|
+
* Kafka username.
|
|
22261
|
+
*/
|
|
22262
|
+
user: string;
|
|
22263
|
+
}
|
|
22264
|
+
interface GetBucketNotificationNotificationRuleDestinationRocketMq {
|
|
22265
|
+
/**
|
|
22266
|
+
* RocketMQ AccessKey。
|
|
22267
|
+
*/
|
|
22268
|
+
accessKeyId: string;
|
|
22269
|
+
/**
|
|
22270
|
+
* RocketMQ instance ID.
|
|
22271
|
+
*/
|
|
22272
|
+
instanceId: string;
|
|
22273
|
+
/**
|
|
22274
|
+
* Role TRN, used to authorize TOS to access RocketMQ service.
|
|
22275
|
+
*/
|
|
22276
|
+
role: string;
|
|
22277
|
+
/**
|
|
22278
|
+
* Name of the RocketMQ topic.
|
|
22279
|
+
*/
|
|
22280
|
+
topic: string;
|
|
22281
|
+
}
|
|
22282
|
+
interface GetBucketNotificationNotificationRuleDestinationVeFaa {
|
|
22283
|
+
/**
|
|
22284
|
+
* Function ID for event delivery.
|
|
22285
|
+
*/
|
|
22286
|
+
functionId: string;
|
|
22287
|
+
}
|
|
22288
|
+
interface GetBucketNotificationNotificationRuleFilter {
|
|
22289
|
+
/**
|
|
22290
|
+
* Object filter information.
|
|
22291
|
+
*/
|
|
22292
|
+
tosKey: outputs.tos.GetBucketNotificationNotificationRuleFilterTosKey;
|
|
22293
|
+
}
|
|
22294
|
+
interface GetBucketNotificationNotificationRuleFilterTosKey {
|
|
22295
|
+
/**
|
|
22296
|
+
* Object filter information.
|
|
22297
|
+
*/
|
|
22298
|
+
filterRules: outputs.tos.GetBucketNotificationNotificationRuleFilterTosKeyFilterRule[];
|
|
22299
|
+
}
|
|
22300
|
+
interface GetBucketNotificationNotificationRuleFilterTosKeyFilterRule {
|
|
22301
|
+
/**
|
|
22302
|
+
* Matching conditions. The values are as follows: prefix: prefix; suffix: suffix.
|
|
22303
|
+
*/
|
|
22304
|
+
name: string;
|
|
22305
|
+
/**
|
|
22306
|
+
* Matched prefix and suffix information.
|
|
22307
|
+
*/
|
|
22308
|
+
value: string;
|
|
22309
|
+
}
|
|
22310
|
+
interface GetBucketRealtimeLogRealTimeLog {
|
|
22311
|
+
/**
|
|
22312
|
+
* Role name. Used to grant TOS Object Storage permission to create resources such as projects and topics in Log Service TLS and to write logs
|
|
22313
|
+
*/
|
|
22314
|
+
role: string;
|
|
22315
|
+
/**
|
|
22316
|
+
* Log project ID
|
|
22317
|
+
*/
|
|
22318
|
+
tlsProjectId: string;
|
|
22319
|
+
/**
|
|
22320
|
+
* Log topic ID
|
|
22321
|
+
*/
|
|
22322
|
+
tlsTopicId: string;
|
|
22323
|
+
/**
|
|
22324
|
+
* For topics created using the TOS service, only "true" is allowed as a value
|
|
22325
|
+
*/
|
|
22326
|
+
useServiceTopic: boolean;
|
|
22327
|
+
}
|
|
21932
22328
|
interface GetBucketTag {
|
|
21933
22329
|
/**
|
|
21934
22330
|
* Tag key
|