@volcengine/pulumi-volcenginecc 0.0.33 → 0.0.35

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 (97) hide show
  1. package/iam/accesskey.d.ts +23 -23
  2. package/iam/accesskey.js +1 -1
  3. package/iam/getAccesskey.d.ts +10 -10
  4. package/mongodb/getInstance.d.ts +4 -0
  5. package/mongodb/getInstance.js.map +1 -1
  6. package/mongodb/instance.d.ts +3 -0
  7. package/mongodb/instance.js +2 -0
  8. package/mongodb/instance.js.map +1 -1
  9. package/package.json +1 -1
  10. package/privatelink/endpointService.d.ts +12 -0
  11. package/privatelink/endpointService.js +2 -0
  12. package/privatelink/endpointService.js.map +1 -1
  13. package/privatelink/getEndpointService.d.ts +4 -0
  14. package/privatelink/getEndpointService.js.map +1 -1
  15. package/privatezone/getRecord.d.ts +5 -0
  16. package/privatezone/getRecord.js.map +1 -1
  17. package/privatezone/record.d.ts +4 -0
  18. package/privatezone/record.js +2 -0
  19. package/privatezone/record.js.map +1 -1
  20. package/rdsmysql/getParameterTemplate.d.ts +97 -0
  21. package/rdsmysql/getParameterTemplate.js +28 -0
  22. package/rdsmysql/getParameterTemplate.js.map +1 -0
  23. package/rdsmysql/getParameterTemplates.d.ts +22 -0
  24. package/rdsmysql/getParameterTemplates.js +24 -0
  25. package/rdsmysql/getParameterTemplates.js.map +1 -0
  26. package/rdsmysql/index.d.ts +9 -0
  27. package/rdsmysql/index.js +12 -1
  28. package/rdsmysql/index.js.map +1 -1
  29. package/rdsmysql/parameterTemplate.d.ts +186 -0
  30. package/rdsmysql/parameterTemplate.js +92 -0
  31. package/rdsmysql/parameterTemplate.js.map +1 -0
  32. package/rdspostgresql/allowList.d.ts +1 -22
  33. package/rdspostgresql/allowList.js +2 -20
  34. package/rdspostgresql/allowList.js.map +1 -1
  35. package/rdspostgresql/backup.d.ts +222 -0
  36. package/rdspostgresql/backup.js +97 -0
  37. package/rdspostgresql/backup.js.map +1 -0
  38. package/rdspostgresql/getBackup.d.ts +113 -0
  39. package/rdspostgresql/getBackup.js +28 -0
  40. package/rdspostgresql/getBackup.js.map +1 -0
  41. package/rdspostgresql/getBackups.d.ts +22 -0
  42. package/rdspostgresql/getBackups.js +24 -0
  43. package/rdspostgresql/getBackups.js.map +1 -0
  44. package/rdspostgresql/index.d.ts +9 -0
  45. package/rdspostgresql/index.js +12 -1
  46. package/rdspostgresql/index.js.map +1 -1
  47. package/redis/getInstance.d.ts +8 -0
  48. package/redis/getInstance.js.map +1 -1
  49. package/redis/getParameterGroup.d.ts +77 -0
  50. package/redis/getParameterGroup.js +28 -0
  51. package/redis/getParameterGroup.js.map +1 -0
  52. package/redis/getParameterGroups.d.ts +22 -0
  53. package/redis/getParameterGroups.js +24 -0
  54. package/redis/getParameterGroups.js.map +1 -0
  55. package/redis/index.d.ts +9 -0
  56. package/redis/index.js +12 -1
  57. package/redis/index.js.map +1 -1
  58. package/redis/instance.d.ts +47 -18
  59. package/redis/instance.js +27 -18
  60. package/redis/instance.js.map +1 -1
  61. package/redis/parameterGroup.d.ts +151 -0
  62. package/redis/parameterGroup.js +108 -0
  63. package/redis/parameterGroup.js.map +1 -0
  64. package/tos/bucketCors.d.ts +62 -0
  65. package/tos/bucketCors.js +66 -0
  66. package/tos/bucketCors.js.map +1 -0
  67. package/tos/bucketNotification.d.ts +62 -0
  68. package/tos/bucketNotification.js +63 -0
  69. package/tos/bucketNotification.js.map +1 -0
  70. package/tos/bucketRealtimeLog.d.ts +71 -0
  71. package/tos/bucketRealtimeLog.js +66 -0
  72. package/tos/bucketRealtimeLog.js.map +1 -0
  73. package/tos/getBucketCors.d.ts +45 -0
  74. package/tos/getBucketCors.js +28 -0
  75. package/tos/getBucketCors.js.map +1 -0
  76. package/tos/getBucketNotification.d.ts +45 -0
  77. package/tos/getBucketNotification.js +28 -0
  78. package/tos/getBucketNotification.js.map +1 -0
  79. package/tos/getBucketNotifications.d.ts +22 -0
  80. package/tos/getBucketNotifications.js +24 -0
  81. package/tos/getBucketNotifications.js.map +1 -0
  82. package/tos/getBucketRealtimeLog.d.ts +45 -0
  83. package/tos/getBucketRealtimeLog.js +28 -0
  84. package/tos/getBucketRealtimeLog.js.map +1 -0
  85. package/tos/getBucketRealtimeLogs.d.ts +22 -0
  86. package/tos/getBucketRealtimeLogs.js +24 -0
  87. package/tos/getBucketRealtimeLogs.js.map +1 -0
  88. package/tos/index.d.ts +24 -0
  89. package/tos/index.js +31 -1
  90. package/tos/index.js.map +1 -1
  91. package/types/input.d.ts +286 -8
  92. package/types/output.d.ts +628 -8
  93. package/vefaas/function.d.ts +20 -0
  94. package/vefaas/function.js +4 -0
  95. package/vefaas/function.js.map +1 -1
  96. package/vefaas/getFunction.d.ts +8 -0
  97. package/vefaas/getFunction.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -15073,6 +15073,44 @@ export declare namespace mongodb {
15073
15073
  */
15074
15074
  zoneId: string;
15075
15075
  }
15076
+ interface GetInstanceInstanceParameter {
15077
+ /**
15078
+ * Parameter validation rule
15079
+ */
15080
+ checkingCode: string;
15081
+ /**
15082
+ * Whether to force modification
15083
+ */
15084
+ forceModify: boolean;
15085
+ /**
15086
+ * Requires instance restart to take effect after modification
15087
+ */
15088
+ forceRestart: boolean;
15089
+ /**
15090
+ * Parameter default value
15091
+ */
15092
+ parameterDefaultValue: string;
15093
+ /**
15094
+ * Parameter description
15095
+ */
15096
+ parameterDescription: string;
15097
+ /**
15098
+ * Parameter name
15099
+ */
15100
+ parameterName: string;
15101
+ /**
15102
+ * Parameter role. Optional values: Node, Shard, ConfigServer, Mongos
15103
+ */
15104
+ parameterRole: string;
15105
+ /**
15106
+ * Parameter type. Optional values: String, Integer, Boolean, List, Float
15107
+ */
15108
+ parameterType: string;
15109
+ /**
15110
+ * Parameter value
15111
+ */
15112
+ parameterValue: string;
15113
+ }
15076
15114
  interface GetInstanceMongo {
15077
15115
  /**
15078
15116
  * Mongos node ID
@@ -15271,6 +15309,20 @@ export declare namespace mongodb {
15271
15309
  */
15272
15310
  zoneId: string;
15273
15311
  }
15312
+ interface InstanceInstanceParameter {
15313
+ /**
15314
+ * Parameter name
15315
+ */
15316
+ parameterName: string;
15317
+ /**
15318
+ * Parameter role. Optional values: Node, Shard, ConfigServer, Mongos
15319
+ */
15320
+ parameterRole: string;
15321
+ /**
15322
+ * Parameter value
15323
+ */
15324
+ parameterValue: string;
15325
+ }
15274
15326
  interface InstanceMongo {
15275
15327
  /**
15276
15328
  * Mongos node ID
@@ -15948,6 +16000,32 @@ export declare namespace privatelink {
15948
16000
  }
15949
16001
  }
15950
16002
  export declare namespace privatezone {
16003
+ interface GetRecordRecordSet {
16004
+ /**
16005
+ * Full domain name
16006
+ */
16007
+ fqdn: string;
16008
+ /**
16009
+ * Subdomain prefix
16010
+ */
16011
+ host: string;
16012
+ /**
16013
+ * Record set ID
16014
+ */
16015
+ id: string;
16016
+ /**
16017
+ * Resolution line
16018
+ */
16019
+ line: string;
16020
+ /**
16021
+ * Record type
16022
+ */
16023
+ type: string;
16024
+ /**
16025
+ * Load balancing enabled
16026
+ */
16027
+ weightEnabled: boolean;
16028
+ }
15951
16029
  interface GetResolverEndpointIpConfig {
15952
16030
  /**
15953
16031
  * Availability zone for the endpoint IP address. To ensure high availability, it is recommended to add at least 2 availability zones
@@ -16014,6 +16092,32 @@ export declare namespace privatezone {
16014
16092
  */
16015
16093
  vpcId: string;
16016
16094
  }
16095
+ interface RecordRecordSet {
16096
+ /**
16097
+ * Full domain name
16098
+ */
16099
+ fqdn: string;
16100
+ /**
16101
+ * Subdomain prefix
16102
+ */
16103
+ host: string;
16104
+ /**
16105
+ * Record set ID
16106
+ */
16107
+ id: string;
16108
+ /**
16109
+ * Resolution line
16110
+ */
16111
+ line: string;
16112
+ /**
16113
+ * Record type
16114
+ */
16115
+ type: string;
16116
+ /**
16117
+ * Load balancing enabled
16118
+ */
16119
+ weightEnabled: boolean;
16120
+ }
16017
16121
  interface ResolverEndpointIpConfig {
16018
16122
  /**
16019
16123
  * Availability zone for the endpoint IP address. To ensure high availability, it is recommended to add at least 2 availability zones
@@ -17416,6 +17520,36 @@ export declare namespace rdsmysql {
17416
17520
  */
17417
17521
  value: string;
17418
17522
  }
17523
+ interface GetParameterTemplateTemplateParam {
17524
+ /**
17525
+ * Default value of the parameter
17526
+ */
17527
+ defaultValue: string;
17528
+ /**
17529
+ * Parameter description
17530
+ */
17531
+ description: string;
17532
+ /**
17533
+ * Expected value of the parameter
17534
+ */
17535
+ expectValue: string;
17536
+ /**
17537
+ * Instance parameter name
17538
+ */
17539
+ name: string;
17540
+ /**
17541
+ * Whether a restart is required for the instance to take effect
17542
+ */
17543
+ restart: boolean;
17544
+ /**
17545
+ * Parameter runtime value
17546
+ */
17547
+ runningValue: string;
17548
+ /**
17549
+ * Parameter value range
17550
+ */
17551
+ valueRange: string;
17552
+ }
17419
17553
  interface InstanceAddressObject {
17420
17554
  /**
17421
17555
  * false: private network resolution (default). true: private and public network resolution.
@@ -17699,6 +17833,16 @@ export declare namespace rdsmysql {
17699
17833
  */
17700
17834
  value: string;
17701
17835
  }
17836
+ interface ParameterTemplateTemplateParam {
17837
+ /**
17838
+ * Instance parameter name
17839
+ */
17840
+ name: string;
17841
+ /**
17842
+ * Parameter runtime value
17843
+ */
17844
+ runningValue: string;
17845
+ }
17702
17846
  }
17703
17847
  export declare namespace rdspostgresql {
17704
17848
  interface AllowListAssociatedInstance {
@@ -17706,14 +17850,6 @@ export declare namespace rdspostgresql {
17706
17850
  * Instance ID.
17707
17851
  */
17708
17852
  instanceId: string;
17709
- /**
17710
- * Instance name.
17711
- */
17712
- instanceName: string;
17713
- /**
17714
- * VPC ID to which the instance belongs.
17715
- */
17716
- vpc: string;
17717
17853
  }
17718
17854
  interface AllowListSecurityGroupBindInfo {
17719
17855
  /**
@@ -17733,6 +17869,42 @@ export declare namespace rdspostgresql {
17733
17869
  */
17734
17870
  securityGroupName: string;
17735
17871
  }
17872
+ interface BackupBackupMeta {
17873
+ /**
17874
+ * Database name.
17875
+ */
17876
+ dbName: string;
17877
+ }
17878
+ interface BackupBackupPolicy {
17879
+ /**
17880
+ * Backup retention days.
17881
+ */
17882
+ backupRetentionPeriod: number;
17883
+ /**
17884
+ * Data incremental backup schedule.
17885
+ */
17886
+ dataIncrBackupPeriods: string;
17887
+ /**
17888
+ * Full backup schedule, such as Monday,Tuesday.
17889
+ */
17890
+ fullBackupPeriod: string;
17891
+ /**
17892
+ * Full backup time window, such as 00:00Z-01:00Z.
17893
+ */
17894
+ fullBackupTime: string;
17895
+ /**
17896
+ * Enable hourly incremental backup.
17897
+ */
17898
+ hourlyIncrBackupEnable: boolean;
17899
+ /**
17900
+ * Incremental backup frequency (hours).
17901
+ */
17902
+ incrementBackupFrequency: number;
17903
+ /**
17904
+ * Enable WAL log space limit.
17905
+ */
17906
+ walLogSpaceLimitEnable: boolean;
17907
+ }
17736
17908
  interface DbEndpointAddress {
17737
17909
  /**
17738
17910
  * Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
@@ -17793,6 +17965,42 @@ export declare namespace rdspostgresql {
17793
17965
  */
17794
17966
  securityGroupName: string;
17795
17967
  }
17968
+ interface GetBackupBackupMeta {
17969
+ /**
17970
+ * Database name.
17971
+ */
17972
+ dbName: string;
17973
+ }
17974
+ interface GetBackupBackupPolicy {
17975
+ /**
17976
+ * Backup retention days.
17977
+ */
17978
+ backupRetentionPeriod: number;
17979
+ /**
17980
+ * Data incremental backup schedule.
17981
+ */
17982
+ dataIncrBackupPeriods: string;
17983
+ /**
17984
+ * Full backup schedule, such as Monday,Tuesday.
17985
+ */
17986
+ fullBackupPeriod: string;
17987
+ /**
17988
+ * Full backup time window, such as 00:00Z-01:00Z.
17989
+ */
17990
+ fullBackupTime: string;
17991
+ /**
17992
+ * Enable hourly incremental backup.
17993
+ */
17994
+ hourlyIncrBackupEnable: boolean;
17995
+ /**
17996
+ * Incremental backup frequency (hours).
17997
+ */
17998
+ incrementBackupFrequency: number;
17999
+ /**
18000
+ * Enable WAL log space limit.
18001
+ */
18002
+ walLogSpaceLimitEnable: boolean;
18003
+ }
17796
18004
  interface GetDbEndpointAddress {
17797
18005
  /**
17798
18006
  * Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
@@ -18380,6 +18588,20 @@ export declare namespace redis {
18380
18588
  */
18381
18589
  securityGroupName: string;
18382
18590
  }
18591
+ interface GetInstanceBackupRestore {
18592
+ /**
18593
+ * Backup ID, used to specify which backup to use when restoring from a backup set
18594
+ */
18595
+ backupPointId: string;
18596
+ /**
18597
+ * Recovery method
18598
+ */
18599
+ backupType: string;
18600
+ /**
18601
+ * Used to specify the point in time for point-in-time recovery
18602
+ */
18603
+ timePoint: string;
18604
+ }
18383
18605
  interface GetInstanceCapacity {
18384
18606
  /**
18385
18607
  * Total memory capacity of the current instance. Unit: MiB.
@@ -18464,6 +18686,60 @@ export declare namespace redis {
18464
18686
  */
18465
18687
  vip: string;
18466
18688
  }
18689
+ interface GetParameterGroupParamValue {
18690
+ /**
18691
+ * Parameter name
18692
+ */
18693
+ name: string;
18694
+ /**
18695
+ * Parameter value
18696
+ */
18697
+ value: string;
18698
+ }
18699
+ interface GetParameterGroupParameter {
18700
+ /**
18701
+ * Current parameter value
18702
+ */
18703
+ currentValue: string;
18704
+ /**
18705
+ * Parameter description
18706
+ */
18707
+ description: string;
18708
+ /**
18709
+ * Whether modifying this parameter requires a restart
18710
+ */
18711
+ needReboot: boolean;
18712
+ /**
18713
+ * Parameter name
18714
+ */
18715
+ paramName: string;
18716
+ /**
18717
+ * Parameter value range
18718
+ */
18719
+ range: string;
18720
+ /**
18721
+ * Parameter type
18722
+ */
18723
+ type: string;
18724
+ /**
18725
+ * Parameter unit
18726
+ */
18727
+ unit: string;
18728
+ }
18729
+ interface InstanceBackupRestore {
18730
+ /**
18731
+ * Backup ID, used to specify which backup to use when restoring from a backup set
18732
+ */
18733
+ backupPointId: string;
18734
+ /**
18735
+ * Recovery method
18736
+ */
18737
+ backupType: string;
18738
+ /**
18739
+ * Used to specify the point in time for point-in-time recovery
18740
+ */
18741
+ timePoint: string;
18742
+ }
18467
18743
  interface InstanceCapacity {
18468
18744
  /**
18469
18745
  * Total memory capacity of the current instance. Unit: MiB.
@@ -18545,6 +18821,46 @@ export declare namespace redis {
18545
18821
  */
18546
18822
  vip: string;
18547
18823
  }
18824
+ interface ParameterGroupParamValue {
18825
+ /**
18826
+ * Parameter name
18827
+ */
18828
+ name: string;
18829
+ /**
18830
+ * Parameter value
18831
+ */
18832
+ value: string;
18833
+ }
18834
+ interface ParameterGroupParameter {
18835
+ /**
18836
+ * Current parameter value
18837
+ */
18838
+ currentValue: string;
18839
+ /**
18840
+ * Parameter description
18841
+ */
18842
+ description: string;
18843
+ /**
18844
+ * Whether modifying this parameter requires a restart
18845
+ */
18846
+ needReboot: boolean;
18847
+ /**
18848
+ * Parameter name
18849
+ */
18850
+ paramName: string;
18851
+ /**
18852
+ * Parameter value range
18853
+ */
18854
+ range: string;
18855
+ /**
18856
+ * Parameter type
18857
+ */
18858
+ type: string;
18859
+ /**
18860
+ * Parameter unit
18861
+ */
18862
+ unit: string;
18863
+ }
18548
18864
  }
18549
18865
  export declare namespace rocketmq {
18550
18866
  interface AllowListAssociatedInstance {
@@ -21544,6 +21860,32 @@ export declare namespace tos {
21544
21860
  */
21545
21861
  ownerId: string;
21546
21862
  }
21863
+ interface BucketCorsCorsRule {
21864
+ /**
21865
+ * Specify the response headers allowed for cross-origin requests.
21866
+ */
21867
+ allowedHeaders: string[];
21868
+ /**
21869
+ * Specify the allowed methods for cross-origin requests.
21870
+ */
21871
+ allowedMethods: string[];
21872
+ /**
21873
+ * Specify the allowed origins for cross-origin requests.
21874
+ */
21875
+ allowedOrigins: string[];
21876
+ /**
21877
+ * Specify additional headers to include in the CORS response to provide extra information to the client.
21878
+ */
21879
+ exposeHeaders: string[];
21880
+ /**
21881
+ * Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
21882
+ */
21883
+ maxAgeSeconds: number;
21884
+ /**
21885
+ * Whether to return the Vary: Origin header
21886
+ */
21887
+ responseVary: boolean;
21888
+ }
21547
21889
  interface BucketInventoryDestination {
21548
21890
  /**
21549
21891
  * Bucket information related to the inventory files.
@@ -21702,6 +22044,112 @@ export declare namespace tos {
21702
22044
  */
21703
22045
  storageClass: string;
21704
22046
  }
22047
+ interface BucketNotificationNotificationRule {
22048
+ /**
22049
+ * Event notification delivery targets. Must include at least one target and supports up to five different targets.
22050
+ */
22051
+ destination: outputs.tos.BucketNotificationNotificationRuleDestination;
22052
+ /**
22053
+ * Event type. List of events supported by TOS.
22054
+ */
22055
+ events: string[];
22056
+ /**
22057
+ * Filter rules.
22058
+ */
22059
+ filter: outputs.tos.BucketNotificationNotificationRuleFilter;
22060
+ /**
22061
+ * 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.
22062
+ */
22063
+ ruleId: string;
22064
+ }
22065
+ interface BucketNotificationNotificationRuleDestination {
22066
+ kafkas: outputs.tos.BucketNotificationNotificationRuleDestinationKafka[];
22067
+ rocketMqs: outputs.tos.BucketNotificationNotificationRuleDestinationRocketMq[];
22068
+ veFaaS: outputs.tos.BucketNotificationNotificationRuleDestinationVeFaa[];
22069
+ }
22070
+ interface BucketNotificationNotificationRuleDestinationKafka {
22071
+ /**
22072
+ * Kafka instance ID.
22073
+ */
22074
+ instanceId: string;
22075
+ /**
22076
+ * Region where the Kafka instance is located.
22077
+ */
22078
+ region: string;
22079
+ /**
22080
+ * Role TRN, used to authorize TOS to access Kafka service.
22081
+ */
22082
+ role: string;
22083
+ /**
22084
+ * Name of the Kafka topic.
22085
+ */
22086
+ topic: string;
22087
+ /**
22088
+ * Kafka username.
22089
+ */
22090
+ user: string;
22091
+ }
22092
+ interface BucketNotificationNotificationRuleDestinationRocketMq {
22093
+ /**
22094
+ * RocketMQ AccessKey。
22095
+ */
22096
+ accessKeyId: string;
22097
+ /**
22098
+ * RocketMQ instance ID.
22099
+ */
22100
+ instanceId: string;
22101
+ /**
22102
+ * Role TRN, used to authorize TOS to access RocketMQ service.
22103
+ */
22104
+ role: string;
22105
+ /**
22106
+ * Name of the RocketMQ topic.
22107
+ */
22108
+ topic: string;
22109
+ }
22110
+ interface BucketNotificationNotificationRuleDestinationVeFaa {
22111
+ /**
22112
+ * Function ID for event delivery.
22113
+ */
22114
+ functionId: string;
22115
+ }
22116
+ interface BucketNotificationNotificationRuleFilter {
22117
+ /**
22118
+ * Object filter information.
22119
+ */
22120
+ tosKey: outputs.tos.BucketNotificationNotificationRuleFilterTosKey;
22121
+ }
22122
+ interface BucketNotificationNotificationRuleFilterTosKey {
22123
+ filterRules: outputs.tos.BucketNotificationNotificationRuleFilterTosKeyFilterRule[];
22124
+ }
22125
+ interface BucketNotificationNotificationRuleFilterTosKeyFilterRule {
22126
+ /**
22127
+ * Matching conditions. The values are as follows: prefix: prefix; suffix: suffix.
22128
+ */
22129
+ name: string;
22130
+ /**
22131
+ * Matched prefix and suffix information.
22132
+ */
22133
+ value: string;
22134
+ }
22135
+ interface BucketRealtimeLogRealTimeLog {
22136
+ /**
22137
+ * 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
22138
+ */
22139
+ role: string;
22140
+ /**
22141
+ * Log project ID
22142
+ */
22143
+ tlsProjectId: string;
22144
+ /**
22145
+ * Log topic ID
22146
+ */
22147
+ tlsTopicId: string;
22148
+ /**
22149
+ * For topics created using the TOS service, only "true" is allowed as a value
22150
+ */
22151
+ useServiceTopic: boolean;
22152
+ }
21705
22153
  interface BucketTag {
21706
22154
  /**
21707
22155
  * Tag key
@@ -21762,6 +22210,32 @@ export declare namespace tos {
21762
22210
  */
21763
22211
  ownerId: string;
21764
22212
  }
22213
+ interface GetBucketCorsCorsRule {
22214
+ /**
22215
+ * Specify the response headers allowed for cross-origin requests.
22216
+ */
22217
+ allowedHeaders: string[];
22218
+ /**
22219
+ * Specify the allowed methods for cross-origin requests.
22220
+ */
22221
+ allowedMethods: string[];
22222
+ /**
22223
+ * Specify the allowed origins for cross-origin requests.
22224
+ */
22225
+ allowedOrigins: string[];
22226
+ /**
22227
+ * Specify additional headers to include in the CORS response to provide extra information to the client.
22228
+ */
22229
+ exposeHeaders: string[];
22230
+ /**
22231
+ * Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
22232
+ */
22233
+ maxAgeSeconds: number;
22234
+ /**
22235
+ * Whether to return the Vary: Origin header
22236
+ */
22237
+ responseVary: boolean;
22238
+ }
21765
22239
  interface GetBucketInventoryDestination {
21766
22240
  /**
21767
22241
  * Bucket information related to the inventory files.
@@ -21929,6 +22403,124 @@ export declare namespace tos {
21929
22403
  */
21930
22404
  storageClass: string;
21931
22405
  }
22406
+ interface GetBucketNotificationNotificationRule {
22407
+ /**
22408
+ * Event notification delivery targets. Must include at least one target and supports up to five different targets.
22409
+ */
22410
+ destination: outputs.tos.GetBucketNotificationNotificationRuleDestination;
22411
+ /**
22412
+ * Event type. List of events supported by TOS.
22413
+ */
22414
+ events: string[];
22415
+ /**
22416
+ * Filter rules.
22417
+ */
22418
+ filter: outputs.tos.GetBucketNotificationNotificationRuleFilter;
22419
+ /**
22420
+ * 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.
22421
+ */
22422
+ ruleId: string;
22423
+ }
22424
+ interface GetBucketNotificationNotificationRuleDestination {
22425
+ /**
22426
+ * Event delivery target is Kafka message queue.
22427
+ */
22428
+ kafkas: outputs.tos.GetBucketNotificationNotificationRuleDestinationKafka[];
22429
+ /**
22430
+ * Event delivery target is RocketMQ message queue.
22431
+ */
22432
+ rocketMqs: outputs.tos.GetBucketNotificationNotificationRuleDestinationRocketMq[];
22433
+ /**
22434
+ * Event delivery target is Function Service.
22435
+ */
22436
+ veFaaS: outputs.tos.GetBucketNotificationNotificationRuleDestinationVeFaa[];
22437
+ }
22438
+ interface GetBucketNotificationNotificationRuleDestinationKafka {
22439
+ /**
22440
+ * Kafka instance ID.
22441
+ */
22442
+ instanceId: string;
22443
+ /**
22444
+ * Region where the Kafka instance is located.
22445
+ */
22446
+ region: string;
22447
+ /**
22448
+ * Role TRN, used to authorize TOS to access Kafka service.
22449
+ */
22450
+ role: string;
22451
+ /**
22452
+ * Name of the Kafka topic.
22453
+ */
22454
+ topic: string;
22455
+ /**
22456
+ * Kafka username.
22457
+ */
22458
+ user: string;
22459
+ }
22460
+ interface GetBucketNotificationNotificationRuleDestinationRocketMq {
22461
+ /**
22462
+ * RocketMQ AccessKey。
22463
+ */
22464
+ accessKeyId: string;
22465
+ /**
22466
+ * RocketMQ instance ID.
22467
+ */
22468
+ instanceId: string;
22469
+ /**
22470
+ * Role TRN, used to authorize TOS to access RocketMQ service.
22471
+ */
22472
+ role: string;
22473
+ /**
22474
+ * Name of the RocketMQ topic.
22475
+ */
22476
+ topic: string;
22477
+ }
22478
+ interface GetBucketNotificationNotificationRuleDestinationVeFaa {
22479
+ /**
22480
+ * Function ID for event delivery.
22481
+ */
22482
+ functionId: string;
22483
+ }
22484
+ interface GetBucketNotificationNotificationRuleFilter {
22485
+ /**
22486
+ * Object filter information.
22487
+ */
22488
+ tosKey: outputs.tos.GetBucketNotificationNotificationRuleFilterTosKey;
22489
+ }
22490
+ interface GetBucketNotificationNotificationRuleFilterTosKey {
22491
+ /**
22492
+ * Object filter information.
22493
+ */
22494
+ filterRules: outputs.tos.GetBucketNotificationNotificationRuleFilterTosKeyFilterRule[];
22495
+ }
22496
+ interface GetBucketNotificationNotificationRuleFilterTosKeyFilterRule {
22497
+ /**
22498
+ * Matching conditions. The values are as follows: prefix: prefix; suffix: suffix.
22499
+ */
22500
+ name: string;
22501
+ /**
22502
+ * Matched prefix and suffix information.
22503
+ */
22504
+ value: string;
22505
+ }
22506
+ interface GetBucketRealtimeLogRealTimeLog {
22507
+ /**
22508
+ * 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
22509
+ */
22510
+ role: string;
22511
+ /**
22512
+ * Log project ID
22513
+ */
22514
+ tlsProjectId: string;
22515
+ /**
22516
+ * Log topic ID
22517
+ */
22518
+ tlsTopicId: string;
22519
+ /**
22520
+ * For topics created using the TOS service, only "true" is allowed as a value
22521
+ */
22522
+ useServiceTopic: boolean;
22523
+ }
21932
22524
  interface GetBucketTag {
21933
22525
  /**
21934
22526
  * Tag key
@@ -22787,6 +23379,20 @@ export declare namespace vefaas {
22787
23379
  */
22788
23380
  destination: string;
22789
23381
  }
23382
+ interface FunctionDependencyInstallStatus {
23383
+ /**
23384
+ * Task creation time.
23385
+ */
23386
+ createTime: string;
23387
+ /**
23388
+ * Task completion time. The task is considered complete when it is in one of the following statuses: Canceled: Canceled. Timeout: Timed out. Failed: Failed. Succeeded: Succeeded.
23389
+ */
23390
+ finishTime: string;
23391
+ /**
23392
+ * Task status. Possible values are as follows: Enqueued: Queued. Dequeued: Dequeued. InProgress: In progress. Canceling/Canceled: Canceling/Canceled. Timeout: Timed out. Failed: Failed. Succeeded: Succeeded.
23393
+ */
23394
+ status: string;
23395
+ }
22790
23396
  interface FunctionEnv {
22791
23397
  /**
22792
23398
  * Environment variable key. 1–63 characters; can include letters, numbers, and underscores (_), but cannot start with a number. Key must be unique within the same function
@@ -22965,6 +23571,20 @@ export declare namespace vefaas {
22965
23571
  */
22966
23572
  destination: string;
22967
23573
  }
23574
+ interface GetFunctionDependencyInstallStatus {
23575
+ /**
23576
+ * Task creation time.
23577
+ */
23578
+ createTime: string;
23579
+ /**
23580
+ * Task completion time. The task is considered complete when it is in one of the following statuses: Canceled: Canceled. Timeout: Timed out. Failed: Failed. Succeeded: Succeeded.
23581
+ */
23582
+ finishTime: string;
23583
+ /**
23584
+ * Task status. Possible values are as follows: Enqueued: Queued. Dequeued: Dequeued. InProgress: In progress. Canceling/Canceled: Canceling/Canceled. Timeout: Timed out. Failed: Failed. Succeeded: Succeeded.
23585
+ */
23586
+ status: string;
23587
+ }
22968
23588
  interface GetFunctionEnv {
22969
23589
  /**
22970
23590
  * Environment variable key. 1–63 characters; can include letters, numbers, and underscores (_), but cannot start with a number. Key must be unique within the same function