@volcengine/pulumi-volcenginecc 0.0.43 → 0.0.44
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/cloudmonitor/eventRule.d.ts +226 -0
- package/cloudmonitor/eventRule.js +126 -0
- package/cloudmonitor/eventRule.js.map +1 -0
- package/cloudmonitor/getEventRule.d.ts +65 -0
- package/cloudmonitor/getEventRule.js +28 -0
- package/cloudmonitor/getEventRule.js.map +1 -0
- package/cloudmonitor/getEventRules.d.ts +22 -0
- package/cloudmonitor/getEventRules.js +24 -0
- package/cloudmonitor/getEventRules.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cr/getVpcEndpoint.d.ts +45 -0
- package/cr/getVpcEndpoint.js +28 -0
- package/cr/getVpcEndpoint.js.map +1 -0
- package/cr/getVpcEndpoints.d.ts +22 -0
- package/cr/getVpcEndpoints.js +24 -0
- package/cr/getVpcEndpoints.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/vpcEndpoint.d.ts +62 -0
- package/cr/vpcEndpoint.js +66 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/dns/backupSchedule.d.ts +89 -0
- package/dns/backupSchedule.js +80 -0
- package/dns/backupSchedule.js.map +1 -0
- package/dns/getBackupSchedule.d.ts +48 -0
- package/dns/getBackupSchedule.js +28 -0
- package/dns/getBackupSchedule.js.map +1 -0
- package/dns/getBackupSchedules.d.ts +22 -0
- package/dns/getBackupSchedules.js +24 -0
- package/dns/getBackupSchedules.js.map +1 -0
- package/dns/index.d.ts +9 -0
- package/dns/index.js +12 -1
- package/dns/index.js.map +1 -1
- package/gtm/getPolicies.d.ts +22 -0
- package/gtm/getPolicies.js +24 -0
- package/gtm/getPolicies.js.map +1 -0
- package/gtm/getPolicy.d.ts +65 -0
- package/gtm/getPolicy.js +28 -0
- package/gtm/getPolicy.js.map +1 -0
- package/gtm/index.d.ts +9 -0
- package/gtm/index.js +12 -1
- package/gtm/index.js.map +1 -1
- package/gtm/policy.d.ts +114 -0
- package/gtm/policy.js +76 -0
- package/gtm/policy.js.map +1 -0
- package/kafka/getGroup.d.ts +65 -0
- package/kafka/getGroup.js +28 -0
- package/kafka/getGroup.js.map +1 -0
- package/kafka/getGroups.d.ts +22 -0
- package/kafka/getGroups.js +24 -0
- package/kafka/getGroups.js.map +1 -0
- package/kafka/group.d.ts +127 -0
- package/kafka/group.js +93 -0
- package/kafka/group.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/package.json +1 -1
- package/rdsmysql/allowList.d.ts +1 -0
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/allowList.js.map +1 -1
- package/rocketmq/accessKey.d.ts +126 -0
- package/rocketmq/accessKey.js +80 -0
- package/rocketmq/accessKey.js.map +1 -0
- package/rocketmq/getAccessKey.d.ts +73 -0
- package/rocketmq/getAccessKey.js +28 -0
- package/rocketmq/getAccessKey.js.map +1 -0
- package/rocketmq/getAccessKeys.d.ts +22 -0
- package/rocketmq/getAccessKeys.js +24 -0
- package/rocketmq/getAccessKeys.js.map +1 -0
- package/rocketmq/index.d.ts +9 -0
- package/rocketmq/index.js +12 -1
- package/rocketmq/index.js.map +1 -1
- package/tls/etl.d.ts +222 -0
- package/tls/etl.js +113 -0
- package/tls/etl.js.map +1 -0
- package/tls/getEtl.d.ts +109 -0
- package/tls/getEtl.js +28 -0
- package/tls/getEtl.js.map +1 -0
- package/tls/getEtls.d.ts +22 -0
- package/tls/getEtls.js +24 -0
- package/tls/getEtls.js.map +1 -0
- package/tls/getHost.d.ts +52 -0
- package/tls/getHost.js +28 -0
- package/tls/getHost.js.map +1 -0
- package/tls/getHostGroup.d.ts +113 -0
- package/tls/getHostGroup.js +28 -0
- package/tls/getHostGroup.js.map +1 -0
- package/tls/getHostGroups.d.ts +22 -0
- package/tls/getHostGroups.js +24 -0
- package/tls/getHostGroups.js.map +1 -0
- package/tls/getHosts.d.ts +22 -0
- package/tls/getHosts.js +24 -0
- package/tls/getHosts.js.map +1 -0
- package/tls/host.d.ts +97 -0
- package/tls/host.js +82 -0
- package/tls/host.js.map +1 -0
- package/tls/hostGroup.d.ts +254 -0
- package/tls/hostGroup.js +121 -0
- package/tls/hostGroup.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +35 -1
- package/tls/index.js.map +1 -1
- package/tos/bucket.d.ts +12 -0
- package/tos/bucket.js +2 -0
- package/tos/bucket.js.map +1 -1
- package/tos/bucketMirrorBack.d.ts +62 -0
- package/tos/bucketMirrorBack.js +63 -0
- package/tos/bucketMirrorBack.js.map +1 -0
- package/tos/bucketRename.d.ts +74 -0
- package/tos/bucketRename.js +72 -0
- package/tos/bucketRename.js.map +1 -0
- package/tos/getBucket.d.ts +4 -0
- package/tos/getBucket.js.map +1 -1
- package/tos/getBucketMirrorBack.d.ts +45 -0
- package/tos/getBucketMirrorBack.js +28 -0
- package/tos/getBucketMirrorBack.js.map +1 -0
- package/tos/getBucketMirrorBacks.d.ts +22 -0
- package/tos/getBucketMirrorBacks.js +24 -0
- package/tos/getBucketMirrorBacks.js.map +1 -0
- package/tos/getBucketRename.d.ts +44 -0
- package/tos/getBucketRename.js +28 -0
- package/tos/getBucketRename.js.map +1 -0
- package/tos/getBucketRenames.d.ts +22 -0
- package/tos/getBucketRenames.js +24 -0
- package/tos/getBucketRenames.js.map +1 -0
- package/tos/index.d.ts +18 -0
- package/tos/index.js +23 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +925 -144
- package/types/output.d.ts +2306 -642
package/types/input.d.ts
CHANGED
|
@@ -4768,6 +4768,20 @@ export declare namespace cr {
|
|
|
4768
4768
|
*/
|
|
4769
4769
|
value?: pulumi.Input<string>;
|
|
4770
4770
|
}
|
|
4771
|
+
interface VpcEndpointVpc {
|
|
4772
|
+
/**
|
|
4773
|
+
* Primary account ID for the VPC
|
|
4774
|
+
*/
|
|
4775
|
+
accountId?: pulumi.Input<number>;
|
|
4776
|
+
/**
|
|
4777
|
+
* Subnet ID
|
|
4778
|
+
*/
|
|
4779
|
+
subnetId?: pulumi.Input<string>;
|
|
4780
|
+
/**
|
|
4781
|
+
* VPC ID。
|
|
4782
|
+
*/
|
|
4783
|
+
vpcId?: pulumi.Input<string>;
|
|
4784
|
+
}
|
|
4771
4785
|
}
|
|
4772
4786
|
export declare namespace directconnect {
|
|
4773
4787
|
interface DirectConnectGatewayAssociateCen {
|
|
@@ -6875,6 +6889,22 @@ export declare namespace fwcenter {
|
|
|
6875
6889
|
}
|
|
6876
6890
|
}
|
|
6877
6891
|
export declare namespace gtm {
|
|
6892
|
+
interface PolicyStatistics {
|
|
6893
|
+
/**
|
|
6894
|
+
* Number of available addresses
|
|
6895
|
+
*/
|
|
6896
|
+
activeAddr?: pulumi.Input<number>;
|
|
6897
|
+
/**
|
|
6898
|
+
* Number of unavailable addresses
|
|
6899
|
+
*/
|
|
6900
|
+
inactiveAddr?: pulumi.Input<number>;
|
|
6901
|
+
}
|
|
6902
|
+
interface PolicyTarget {
|
|
6903
|
+
/**
|
|
6904
|
+
* Address pool ID.
|
|
6905
|
+
*/
|
|
6906
|
+
poolId?: pulumi.Input<string>;
|
|
6907
|
+
}
|
|
6878
6908
|
interface PoolAddress {
|
|
6879
6909
|
/**
|
|
6880
6910
|
* Address capacity
|
|
@@ -7505,6 +7535,16 @@ export declare namespace kafka {
|
|
|
7505
7535
|
*/
|
|
7506
7536
|
instanceId?: pulumi.Input<string>;
|
|
7507
7537
|
}
|
|
7538
|
+
interface GroupTag {
|
|
7539
|
+
/**
|
|
7540
|
+
* Tag key
|
|
7541
|
+
*/
|
|
7542
|
+
key?: pulumi.Input<string>;
|
|
7543
|
+
/**
|
|
7544
|
+
* Tag value
|
|
7545
|
+
*/
|
|
7546
|
+
value?: pulumi.Input<string>;
|
|
7547
|
+
}
|
|
7508
7548
|
interface InstanceChargeInfo {
|
|
7509
7549
|
/**
|
|
7510
7550
|
* Whether to automatically renew the subscription instance after expiration. true - auto renewal; false (default) - no auto renewal, instance will be stopped upon expiration.
|
|
@@ -8763,32 +8803,12 @@ export declare namespace rdsmysql {
|
|
|
8763
8803
|
* Instance ID bound to the current allowlist.
|
|
8764
8804
|
*/
|
|
8765
8805
|
instanceId?: pulumi.Input<string>;
|
|
8766
|
-
/**
|
|
8767
|
-
* Instance name bound to the current allowlist.
|
|
8768
|
-
*/
|
|
8769
|
-
instanceName?: pulumi.Input<string>;
|
|
8770
|
-
/**
|
|
8771
|
-
* Instance status.
|
|
8772
|
-
*/
|
|
8773
|
-
instanceStatus?: pulumi.Input<string>;
|
|
8774
|
-
/**
|
|
8775
|
-
* Has the latest allowlist been synchronized? Values: true: Yes. false: No. Note: When modifying the allowlist, if the instance is not running, changes to the allowlist will not be immediately synchronized to the instance.
|
|
8776
|
-
*/
|
|
8777
|
-
isLatest?: pulumi.Input<boolean>;
|
|
8778
|
-
/**
|
|
8779
|
-
* Private network ID of the instance.
|
|
8780
|
-
*/
|
|
8781
|
-
vpc?: pulumi.Input<string>;
|
|
8782
8806
|
}
|
|
8783
8807
|
interface AllowListSecurityGroupBindInfo {
|
|
8784
8808
|
/**
|
|
8785
8809
|
* Mode for associating security groups. Values: IngressDirectionIp: Inbound IP. AssociateEcsIp: Associate ECS IP. Note: In the CreateAllowList API, the BindMode and SecurityGroupId fields of SecurityGroupBindInfoObject are required.
|
|
8786
8810
|
*/
|
|
8787
8811
|
bindMode?: pulumi.Input<string>;
|
|
8788
|
-
/**
|
|
8789
|
-
* Security group IP address list.
|
|
8790
|
-
*/
|
|
8791
|
-
ipLists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
8792
8812
|
/**
|
|
8793
8813
|
* Security group ID.
|
|
8794
8814
|
*/
|
|
@@ -9878,6 +9898,16 @@ export declare namespace redis {
|
|
|
9878
9898
|
}
|
|
9879
9899
|
}
|
|
9880
9900
|
export declare namespace rocketmq {
|
|
9901
|
+
interface AccessKeyTopicPermission {
|
|
9902
|
+
/**
|
|
9903
|
+
* Permission type. AccessKey has permissions for this Topic. ALL: Publish and subscribe permissions. PUB: Publish permission. SUB: Subscribe permission. DENY: No publish or subscribe permissions
|
|
9904
|
+
*/
|
|
9905
|
+
permission?: pulumi.Input<string>;
|
|
9906
|
+
/**
|
|
9907
|
+
* Topic name
|
|
9908
|
+
*/
|
|
9909
|
+
topicName?: pulumi.Input<string>;
|
|
9910
|
+
}
|
|
9881
9911
|
interface AllowListAssociatedInstance {
|
|
9882
9912
|
/**
|
|
9883
9913
|
* Instance ID
|
|
@@ -10492,248 +10522,692 @@ export declare namespace tls {
|
|
|
10492
10522
|
*/
|
|
10493
10523
|
severity?: pulumi.Input<string>;
|
|
10494
10524
|
}
|
|
10495
|
-
interface
|
|
10525
|
+
interface EtlTargetResource {
|
|
10496
10526
|
/**
|
|
10497
|
-
*
|
|
10527
|
+
* Name of the custom output target. You must use this name to refer to the output target in the data processing rules
|
|
10498
10528
|
*/
|
|
10499
|
-
|
|
10529
|
+
alias: pulumi.Input<string>;
|
|
10500
10530
|
/**
|
|
10501
|
-
*
|
|
10531
|
+
* Region of the log topic for storing processed logs
|
|
10502
10532
|
*/
|
|
10503
|
-
|
|
10504
|
-
}
|
|
10505
|
-
interface ImportTaskImportSourceInfoKafkaSourceInfo {
|
|
10533
|
+
region: pulumi.Input<string>;
|
|
10506
10534
|
/**
|
|
10507
|
-
*
|
|
10535
|
+
* Cross-account authorization role name
|
|
10508
10536
|
*/
|
|
10509
|
-
|
|
10537
|
+
roleTrn?: pulumi.Input<string>;
|
|
10510
10538
|
/**
|
|
10511
|
-
*
|
|
10539
|
+
* Log topic ID for storing processed logs
|
|
10512
10540
|
*/
|
|
10513
|
-
|
|
10541
|
+
topicId: pulumi.Input<string>;
|
|
10542
|
+
}
|
|
10543
|
+
interface HostGroupRule {
|
|
10514
10544
|
/**
|
|
10515
|
-
*
|
|
10545
|
+
* Container collection rules
|
|
10516
10546
|
*/
|
|
10517
|
-
|
|
10547
|
+
containerRule?: pulumi.Input<inputs.tls.HostGroupRuleContainerRule>;
|
|
10518
10548
|
/**
|
|
10519
|
-
*
|
|
10549
|
+
* Time when the collection configuration was created.
|
|
10520
10550
|
*/
|
|
10521
|
-
|
|
10551
|
+
createTime?: pulumi.Input<string>;
|
|
10552
|
+
excludePaths?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleExcludePath>[]>;
|
|
10522
10553
|
/**
|
|
10523
|
-
*
|
|
10554
|
+
* Extraction rules
|
|
10524
10555
|
*/
|
|
10525
|
-
|
|
10556
|
+
extractRule?: pulumi.Input<inputs.tls.HostGroupRuleExtractRule>;
|
|
10526
10557
|
/**
|
|
10527
|
-
*
|
|
10558
|
+
* Collection type. 0: Host log file. 1: K8s container standard output. 2: Log file inside K8s container.
|
|
10528
10559
|
*/
|
|
10529
|
-
|
|
10560
|
+
inputType?: pulumi.Input<number>;
|
|
10530
10561
|
/**
|
|
10531
|
-
*
|
|
10562
|
+
* Log sample.
|
|
10532
10563
|
*/
|
|
10533
|
-
|
|
10564
|
+
logSample?: pulumi.Input<string>;
|
|
10534
10565
|
/**
|
|
10535
|
-
*
|
|
10566
|
+
* Collection modes. minimalist*log: single-line full mode. json*log: JSON mode. delimiter*log: delimiter mode. multiline*log: multi-line full mode. fullregex_log: full regex mode.
|
|
10536
10567
|
*/
|
|
10537
|
-
|
|
10568
|
+
logType?: pulumi.Input<string>;
|
|
10538
10569
|
/**
|
|
10539
|
-
*
|
|
10570
|
+
* Time when the collection configuration was modified.
|
|
10540
10571
|
*/
|
|
10541
|
-
|
|
10572
|
+
modifyTime?: pulumi.Input<string>;
|
|
10542
10573
|
/**
|
|
10543
|
-
*
|
|
10574
|
+
* Data collection path list
|
|
10544
10575
|
*/
|
|
10545
|
-
|
|
10576
|
+
paths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10546
10577
|
/**
|
|
10547
|
-
*
|
|
10578
|
+
* Running status of the collection configuration. 0: Running. 1: Paused.
|
|
10548
10579
|
*/
|
|
10549
|
-
|
|
10580
|
+
pause?: pulumi.Input<number>;
|
|
10550
10581
|
/**
|
|
10551
|
-
*
|
|
10582
|
+
* Collection configuration ID.
|
|
10552
10583
|
*/
|
|
10553
|
-
|
|
10554
|
-
}
|
|
10555
|
-
interface ImportTaskImportSourceInfoTosSourceInfo {
|
|
10584
|
+
ruleId?: pulumi.Input<string>;
|
|
10556
10585
|
/**
|
|
10557
|
-
*
|
|
10586
|
+
* Name of the collection configuration.
|
|
10558
10587
|
*/
|
|
10559
|
-
|
|
10588
|
+
ruleName?: pulumi.Input<string>;
|
|
10560
10589
|
/**
|
|
10561
|
-
*
|
|
10590
|
+
* ID of the log topic to which the collection configuration belongs.
|
|
10562
10591
|
*/
|
|
10563
|
-
|
|
10592
|
+
topicId?: pulumi.Input<string>;
|
|
10564
10593
|
/**
|
|
10565
|
-
*
|
|
10594
|
+
* Name of the log topic associated with the collection configuration
|
|
10566
10595
|
*/
|
|
10567
|
-
|
|
10596
|
+
topicName?: pulumi.Input<string>;
|
|
10568
10597
|
/**
|
|
10569
|
-
*
|
|
10598
|
+
* User-defined collection rules.
|
|
10570
10599
|
*/
|
|
10571
|
-
|
|
10600
|
+
userDefineRule?: pulumi.Input<inputs.tls.HostGroupRuleUserDefineRule>;
|
|
10572
10601
|
}
|
|
10573
|
-
interface
|
|
10574
|
-
/**
|
|
10575
|
-
* Log extraction rule.
|
|
10576
|
-
*/
|
|
10577
|
-
extractRule?: pulumi.Input<inputs.tls.ImportTaskTargetInfoExtractRule>;
|
|
10602
|
+
interface HostGroupRuleContainerRule {
|
|
10578
10603
|
/**
|
|
10579
|
-
*
|
|
10604
|
+
* Container name to collect. If no container name is specified, all containers in the machine group are collected. Supports regular expressions. For example, setting the container name to ^(container-test)$ collects all containers named container-test.
|
|
10580
10605
|
*/
|
|
10581
|
-
|
|
10606
|
+
containerNameRegex?: pulumi.Input<string>;
|
|
10607
|
+
envTags?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleEnvTag>[]>;
|
|
10608
|
+
excludeContainerEnvRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleExcludeContainerEnvRegex>[]>;
|
|
10609
|
+
excludeContainerLabelRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleExcludeContainerLabelRegex>[]>;
|
|
10610
|
+
includeContainerEnvRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleIncludeContainerEnvRegex>[]>;
|
|
10611
|
+
includeContainerLabelRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleIncludeContainerLabelRegex>[]>;
|
|
10582
10612
|
/**
|
|
10583
|
-
*
|
|
10613
|
+
* Kubernetes container collection rules.
|
|
10584
10614
|
*/
|
|
10585
|
-
|
|
10615
|
+
kubernetesRule?: pulumi.Input<inputs.tls.HostGroupRuleContainerRuleKubernetesRule>;
|
|
10586
10616
|
/**
|
|
10587
|
-
*
|
|
10617
|
+
* Collection information. stdout: Container standard output (stdout). stderr: Container standard error (stderr). all: Both container standard output (stdout) and standard error (stderr).
|
|
10588
10618
|
*/
|
|
10589
|
-
|
|
10619
|
+
stream?: pulumi.Input<string>;
|
|
10590
10620
|
}
|
|
10591
|
-
interface
|
|
10621
|
+
interface HostGroupRuleContainerRuleEnvTag {
|
|
10592
10622
|
/**
|
|
10593
|
-
*
|
|
10623
|
+
* Key.
|
|
10594
10624
|
*/
|
|
10595
|
-
|
|
10625
|
+
key?: pulumi.Input<string>;
|
|
10596
10626
|
/**
|
|
10597
|
-
*
|
|
10627
|
+
* Value.
|
|
10598
10628
|
*/
|
|
10599
|
-
|
|
10629
|
+
val?: pulumi.Input<string>;
|
|
10630
|
+
}
|
|
10631
|
+
interface HostGroupRuleContainerRuleExcludeContainerEnvRegex {
|
|
10600
10632
|
/**
|
|
10601
|
-
*
|
|
10633
|
+
* Key.
|
|
10602
10634
|
*/
|
|
10603
|
-
|
|
10635
|
+
key?: pulumi.Input<string>;
|
|
10604
10636
|
/**
|
|
10605
|
-
*
|
|
10637
|
+
* Value.
|
|
10606
10638
|
*/
|
|
10607
|
-
|
|
10639
|
+
val?: pulumi.Input<string>;
|
|
10608
10640
|
}
|
|
10609
|
-
interface
|
|
10641
|
+
interface HostGroupRuleContainerRuleExcludeContainerLabelRegex {
|
|
10610
10642
|
/**
|
|
10611
|
-
*
|
|
10643
|
+
* Key.
|
|
10612
10644
|
*/
|
|
10613
|
-
|
|
10645
|
+
key?: pulumi.Input<string>;
|
|
10614
10646
|
/**
|
|
10615
|
-
*
|
|
10647
|
+
* Value.
|
|
10616
10648
|
*/
|
|
10617
|
-
|
|
10649
|
+
val?: pulumi.Input<string>;
|
|
10650
|
+
}
|
|
10651
|
+
interface HostGroupRuleContainerRuleIncludeContainerEnvRegex {
|
|
10618
10652
|
/**
|
|
10619
|
-
*
|
|
10653
|
+
* Key.
|
|
10620
10654
|
*/
|
|
10621
|
-
|
|
10622
|
-
filterKeyRegexes?: pulumi.Input<pulumi.Input<inputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex>[]>;
|
|
10655
|
+
key?: pulumi.Input<string>;
|
|
10623
10656
|
/**
|
|
10624
|
-
*
|
|
10657
|
+
* Value.
|
|
10625
10658
|
*/
|
|
10626
|
-
|
|
10659
|
+
val?: pulumi.Input<string>;
|
|
10660
|
+
}
|
|
10661
|
+
interface HostGroupRuleContainerRuleIncludeContainerLabelRegex {
|
|
10627
10662
|
/**
|
|
10628
|
-
*
|
|
10663
|
+
* Key.
|
|
10629
10664
|
*/
|
|
10630
|
-
|
|
10665
|
+
key?: pulumi.Input<string>;
|
|
10631
10666
|
/**
|
|
10632
|
-
*
|
|
10667
|
+
* Value.
|
|
10633
10668
|
*/
|
|
10634
|
-
|
|
10669
|
+
val?: pulumi.Input<string>;
|
|
10670
|
+
}
|
|
10671
|
+
interface HostGroupRuleContainerRuleKubernetesRule {
|
|
10672
|
+
annotationTags?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleKubernetesRuleAnnotationTag>[]>;
|
|
10635
10673
|
/**
|
|
10636
|
-
*
|
|
10674
|
+
* Whether to add all Kubernetes Labels as log tags to the raw log data. When enabled, the log service adds fields for all Labels in the Kubernetes Pod to the log. For example, if the Pod has Label source=DC and destination=CS, the log will include fields **tag**source__: DC and **tag**destination__: CS.
|
|
10637
10675
|
*/
|
|
10638
|
-
|
|
10676
|
+
enableAllLabelTag?: pulumi.Input<boolean>;
|
|
10677
|
+
excludePodAnnotationRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex>[]>;
|
|
10678
|
+
excludePodLabelRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleKubernetesRuleExcludePodLabelRegex>[]>;
|
|
10679
|
+
includePodAnnotationRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex>[]>;
|
|
10680
|
+
includePodLabelRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleKubernetesRuleIncludePodLabelRegex>[]>;
|
|
10681
|
+
labelTags?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleContainerRuleKubernetesRuleLabelTag>[]>;
|
|
10639
10682
|
/**
|
|
10640
|
-
*
|
|
10683
|
+
* Name of the Kubernetes Namespace to be collected. If not specified, all containers are collected. Namespace names support regular expression matching. For example, setting the Namespace name to ^(tcp|udp)$ collects all containers under the tcp and udp namespaces.
|
|
10641
10684
|
*/
|
|
10642
|
-
|
|
10685
|
+
namespaceNameRegex?: pulumi.Input<string>;
|
|
10643
10686
|
/**
|
|
10644
|
-
*
|
|
10687
|
+
* Pod name is used to specify the Pod(s) to be collected. If the Pod name is not specified, all containers are collected. Pod name supports regex matching. For example, setting the Pod name to ^(http.*)$ collects all containers under Pods whose names start with http.
|
|
10645
10688
|
*/
|
|
10646
|
-
|
|
10689
|
+
podNameRegex?: pulumi.Input<string>;
|
|
10647
10690
|
/**
|
|
10648
|
-
*
|
|
10691
|
+
* Specify the container to collect by workload name. If no workload name is specified, all containers are collected. Workload names support regular expressions. For example, setting the workload name to ^(http.*)$ collects all containers under workloads starting with http.
|
|
10649
10692
|
*/
|
|
10650
|
-
|
|
10693
|
+
workloadNameRegex?: pulumi.Input<string>;
|
|
10651
10694
|
/**
|
|
10652
|
-
*
|
|
10695
|
+
* Specify containers to collect by workload type. Only one type can be selected. If no type is specified, containers of all types will be collected. Supported workload types are: Deployment: stateless workload StatefulSet: stateful workload DaemonSet: daemon process Job: job CronJob: scheduled job
|
|
10653
10696
|
*/
|
|
10654
|
-
|
|
10697
|
+
workloadType?: pulumi.Input<string>;
|
|
10698
|
+
}
|
|
10699
|
+
interface HostGroupRuleContainerRuleKubernetesRuleAnnotationTag {
|
|
10655
10700
|
/**
|
|
10656
|
-
*
|
|
10701
|
+
* Key.
|
|
10657
10702
|
*/
|
|
10658
|
-
|
|
10703
|
+
key?: pulumi.Input<string>;
|
|
10704
|
+
/**
|
|
10705
|
+
* Value.
|
|
10706
|
+
*/
|
|
10707
|
+
val?: pulumi.Input<string>;
|
|
10659
10708
|
}
|
|
10660
|
-
interface
|
|
10709
|
+
interface HostGroupRuleContainerRuleKubernetesRuleExcludePodAnnotationRegex {
|
|
10661
10710
|
/**
|
|
10662
10711
|
* Key.
|
|
10663
10712
|
*/
|
|
10664
10713
|
key?: pulumi.Input<string>;
|
|
10665
10714
|
/**
|
|
10666
|
-
*
|
|
10715
|
+
* Value.
|
|
10667
10716
|
*/
|
|
10668
|
-
|
|
10717
|
+
val?: pulumi.Input<string>;
|
|
10669
10718
|
}
|
|
10670
|
-
interface
|
|
10719
|
+
interface HostGroupRuleContainerRuleKubernetesRuleExcludePodLabelRegex {
|
|
10671
10720
|
/**
|
|
10672
|
-
*
|
|
10721
|
+
* Key.
|
|
10673
10722
|
*/
|
|
10674
|
-
|
|
10723
|
+
key?: pulumi.Input<string>;
|
|
10675
10724
|
/**
|
|
10676
|
-
*
|
|
10725
|
+
* Value.
|
|
10677
10726
|
*/
|
|
10678
|
-
|
|
10727
|
+
val?: pulumi.Input<string>;
|
|
10679
10728
|
}
|
|
10680
|
-
interface
|
|
10729
|
+
interface HostGroupRuleContainerRuleKubernetesRuleIncludePodAnnotationRegex {
|
|
10681
10730
|
/**
|
|
10682
|
-
*
|
|
10731
|
+
* Key.
|
|
10683
10732
|
*/
|
|
10684
|
-
|
|
10733
|
+
key?: pulumi.Input<string>;
|
|
10685
10734
|
/**
|
|
10686
|
-
*
|
|
10735
|
+
* Value.
|
|
10687
10736
|
*/
|
|
10688
|
-
|
|
10737
|
+
val?: pulumi.Input<string>;
|
|
10738
|
+
}
|
|
10739
|
+
interface HostGroupRuleContainerRuleKubernetesRuleIncludePodLabelRegex {
|
|
10689
10740
|
/**
|
|
10690
|
-
*
|
|
10741
|
+
* Key.
|
|
10691
10742
|
*/
|
|
10692
|
-
|
|
10743
|
+
key?: pulumi.Input<string>;
|
|
10693
10744
|
/**
|
|
10694
|
-
*
|
|
10745
|
+
* Value.
|
|
10695
10746
|
*/
|
|
10696
|
-
|
|
10747
|
+
val?: pulumi.Input<string>;
|
|
10748
|
+
}
|
|
10749
|
+
interface HostGroupRuleContainerRuleKubernetesRuleLabelTag {
|
|
10697
10750
|
/**
|
|
10698
|
-
*
|
|
10751
|
+
* Key.
|
|
10699
10752
|
*/
|
|
10700
|
-
|
|
10753
|
+
key?: pulumi.Input<string>;
|
|
10701
10754
|
/**
|
|
10702
|
-
*
|
|
10755
|
+
* Value.
|
|
10703
10756
|
*/
|
|
10704
|
-
|
|
10757
|
+
val?: pulumi.Input<string>;
|
|
10758
|
+
}
|
|
10759
|
+
interface HostGroupRuleExcludePath {
|
|
10705
10760
|
/**
|
|
10706
|
-
*
|
|
10761
|
+
* Collection path type. File: file name. Path: directory.
|
|
10707
10762
|
*/
|
|
10708
|
-
|
|
10763
|
+
type?: pulumi.Input<string>;
|
|
10709
10764
|
/**
|
|
10710
|
-
*
|
|
10765
|
+
* Collection path. Must be specified as an absolute path. When Type is Path, Value indicates a directory. When Type is File, Value indicates a file name.
|
|
10711
10766
|
*/
|
|
10712
|
-
|
|
10767
|
+
value?: pulumi.Input<string>;
|
|
10713
10768
|
}
|
|
10714
|
-
interface
|
|
10769
|
+
interface HostGroupRuleExtractRule {
|
|
10715
10770
|
/**
|
|
10716
|
-
*
|
|
10771
|
+
* The regex pattern required to match the first line of the log. This is valid only when LogType is multiline*log or fullregex*log. The pattern must be a valid regular expression.
|
|
10717
10772
|
*/
|
|
10718
|
-
|
|
10773
|
+
beginRegex?: pulumi.Input<string>;
|
|
10719
10774
|
/**
|
|
10720
|
-
*
|
|
10775
|
+
* Log delimiter. Valid only when LogType is delimiter_log.
|
|
10721
10776
|
*/
|
|
10722
10777
|
delimiter?: pulumi.Input<string>;
|
|
10723
10778
|
/**
|
|
10724
|
-
*
|
|
10779
|
+
* Enable nanosecond precision time. When enabled, log time parsing will report time with nanosecond precision. true: Enable nanosecond precision time. false: Disable nanosecond precision time.
|
|
10725
10780
|
*/
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
interface IndexKeyValue {
|
|
10781
|
+
enableNanosecond?: pulumi.Input<boolean>;
|
|
10782
|
+
filterKeyRegexes?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleExtractRuleFilterKeyRegex>[]>;
|
|
10729
10783
|
/**
|
|
10730
|
-
*
|
|
10784
|
+
* List of log field names (Keys).
|
|
10731
10785
|
*/
|
|
10732
|
-
|
|
10786
|
+
keys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10733
10787
|
/**
|
|
10734
|
-
*
|
|
10788
|
+
* The entire log entry must match the regular expression. This is only valid when the log type is fullregex_log. The regular expression must be valid.
|
|
10735
10789
|
*/
|
|
10736
|
-
|
|
10790
|
+
logRegex?: pulumi.Input<string>;
|
|
10791
|
+
/**
|
|
10792
|
+
* Automatically extract log fields based on the specified log template.
|
|
10793
|
+
*/
|
|
10794
|
+
logTemplate?: pulumi.Input<inputs.tls.HostGroupRuleExtractRuleLogTemplate>;
|
|
10795
|
+
/**
|
|
10796
|
+
* Quotation mark. Content enclosed by quotation marks is parsed as a complete field and not separated. Only valid when LogType is delimiter_log.
|
|
10797
|
+
*/
|
|
10798
|
+
quote?: pulumi.Input<string>;
|
|
10799
|
+
/**
|
|
10800
|
+
* Regular expression for extracting time, used to extract the time value from the TimeKey field and parse it as the collection time.
|
|
10801
|
+
*/
|
|
10802
|
+
timeExtractRegex?: pulumi.Input<string>;
|
|
10803
|
+
/**
|
|
10804
|
+
* Parsing format for the time field. If a specified time field in the log is used as the log timestamp, you must provide TimeKey and TimeFormat.
|
|
10805
|
+
*/
|
|
10806
|
+
timeFormat?: pulumi.Input<string>;
|
|
10807
|
+
/**
|
|
10808
|
+
* Field name for the log time field. If a specified time field in the log is used as the log timestamp, you must provide TimeKey and TimeFormat.
|
|
10809
|
+
*/
|
|
10810
|
+
timeKey?: pulumi.Input<string>;
|
|
10811
|
+
/**
|
|
10812
|
+
* Sample time. Used to verify whether the specified time parsing format is correct.
|
|
10813
|
+
*/
|
|
10814
|
+
timeSample?: pulumi.Input<string>;
|
|
10815
|
+
/**
|
|
10816
|
+
* Time zone. Supports machine time zone (default) and custom time zone. Custom time zone supports GMT and UTC.
|
|
10817
|
+
*/
|
|
10818
|
+
timeZone?: pulumi.Input<string>;
|
|
10819
|
+
/**
|
|
10820
|
+
* Key name for logs that failed to parse when uploading
|
|
10821
|
+
*/
|
|
10822
|
+
unMatchLogKey?: pulumi.Input<string>;
|
|
10823
|
+
/**
|
|
10824
|
+
* Upload logs that failed to parse. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together. true: Upload logs that failed to parse. false: Do not upload logs that failed to parse.
|
|
10825
|
+
*/
|
|
10826
|
+
unMatchUpLoadSwitch?: pulumi.Input<boolean>;
|
|
10827
|
+
}
|
|
10828
|
+
interface HostGroupRuleExtractRuleFilterKeyRegex {
|
|
10829
|
+
/**
|
|
10830
|
+
* Name of the filter field.
|
|
10831
|
+
*/
|
|
10832
|
+
key?: pulumi.Input<string>;
|
|
10833
|
+
/**
|
|
10834
|
+
* The log content of the filter field must match the specified regular expression.
|
|
10835
|
+
*/
|
|
10836
|
+
regex?: pulumi.Input<string>;
|
|
10837
|
+
}
|
|
10838
|
+
interface HostGroupRuleExtractRuleLogTemplate {
|
|
10839
|
+
/**
|
|
10840
|
+
* Log template format
|
|
10841
|
+
*/
|
|
10842
|
+
format?: pulumi.Input<string>;
|
|
10843
|
+
/**
|
|
10844
|
+
* Log template type. Supported types: Nginx (Nginx log template type).
|
|
10845
|
+
*/
|
|
10846
|
+
type?: pulumi.Input<string>;
|
|
10847
|
+
}
|
|
10848
|
+
interface HostGroupRuleUserDefineRule {
|
|
10849
|
+
/**
|
|
10850
|
+
* Advanced parameters are used for extended configuration. After enabling extended configuration, you can customize advanced behaviors of LogCollector, such as when to release file handles. Note: If multiple conditions for releasing handles are specified, the handle will be released and log file monitoring will end as soon as any condition is met.
|
|
10851
|
+
*/
|
|
10852
|
+
advanced?: pulumi.Input<inputs.tls.HostGroupRuleUserDefineRuleAdvanced>;
|
|
10853
|
+
/**
|
|
10854
|
+
* Whether to upload the Label information of the host group to the log service. Disabled by default. true: LogCollector uploads the Label information of the host group to the specified field. You can specify the field name in the HostGroupLabelKey parameter. false (default): LogCollector does not upload the Label information of the host group.
|
|
10855
|
+
*/
|
|
10856
|
+
enableHostGroupLabel?: pulumi.Input<boolean>;
|
|
10857
|
+
/**
|
|
10858
|
+
* Whether to upload the hostname field. Default is disabled. true: Adds a field to the original log to record the log source's hostname. Specify the hostname field name using HostnameKey. false (default): Does not add the hostname field.
|
|
10859
|
+
*/
|
|
10860
|
+
enableHostname?: pulumi.Input<boolean>;
|
|
10861
|
+
/**
|
|
10862
|
+
* Whether to upload raw logs. true: Upload raw logs. false (default): Do not upload raw logs.
|
|
10863
|
+
*/
|
|
10864
|
+
enableRawLog?: pulumi.Input<boolean>;
|
|
10865
|
+
fields?: pulumi.Input<pulumi.Input<inputs.tls.HostGroupRuleUserDefineRuleField>[]>;
|
|
10866
|
+
/**
|
|
10867
|
+
* Field name used to store machine group label information.
|
|
10868
|
+
*/
|
|
10869
|
+
hostGroupLabelKey?: pulumi.Input<string>;
|
|
10870
|
+
/**
|
|
10871
|
+
* hostname field name. Only required when EnableHostname is set to true.
|
|
10872
|
+
*/
|
|
10873
|
+
hostnameKey?: pulumi.Input<string>;
|
|
10874
|
+
/**
|
|
10875
|
+
* Ignore log files that have not been updated for a specified duration, in hours.
|
|
10876
|
+
*/
|
|
10877
|
+
ignoreOlder?: pulumi.Input<number>;
|
|
10878
|
+
/**
|
|
10879
|
+
* Allows multiple log file collections. Empty: Uses the log file ID (including file inode, device, and checksum of the first N bytes) to uniquely identify the log file. RuleID: Uses the collection rule ID and log file ID to uniquely identify the log file. TopicIDRuleName: Uses the log topic ID, collection rule Name, and log file ID to uniquely identify the log file.
|
|
10880
|
+
*/
|
|
10881
|
+
multiCollectsType?: pulumi.Input<string>;
|
|
10882
|
+
/**
|
|
10883
|
+
* Rules for parsing the collection path. After setting the rule, fields in the collection path are extracted using the specified regex and added as metadata to the log data. Note: This parameter is not supported when collecting container standard output.
|
|
10884
|
+
*/
|
|
10885
|
+
parsePathRule?: pulumi.Input<inputs.tls.HostGroupRuleUserDefineRuleParsePathRule>;
|
|
10886
|
+
/**
|
|
10887
|
+
* LogCollector plugin configuration. After enabling plugin configuration, you can add one or more LogCollector processor plugins to parse logs with complex or variable structures.
|
|
10888
|
+
*/
|
|
10889
|
+
plugin?: pulumi.Input<inputs.tls.HostGroupRuleUserDefineRulePlugin>;
|
|
10890
|
+
/**
|
|
10891
|
+
* Original log field name. Only effective when EnableRawLog is set to true. RawLogKey defaults to **raw**, meaning the original log data will be encapsulated in the **raw** field and uploaded to the log service together with the parsed log data
|
|
10892
|
+
*/
|
|
10893
|
+
rawLogKey?: pulumi.Input<string>;
|
|
10894
|
+
/**
|
|
10895
|
+
* Rules for routing log partitions. If this parameter is not set, logs are written using the default load balancing mode, and packets are written to any available Shard. If set, logs are collected using the HashKey routing Shard mode, and the log service writes data to the Shard containing the specified Key value.
|
|
10896
|
+
*/
|
|
10897
|
+
shardHashKey?: pulumi.Input<inputs.tls.HostGroupRuleUserDefineRuleShardHashKey>;
|
|
10898
|
+
/**
|
|
10899
|
+
* LogCollector collection strategy, specifying whether LogCollector collects incremental logs or full logs. The default is false, which means full log collection. true: incremental collection. When LogCollector collects logs, it only collects newly added content in the file. When a monitored log file receives new log entries, LogCollector is triggered to collect logs. For log files being collected for the first time, LogCollector automatically determines the collection position based on the incremental threshold TailSizeKb you specify. If the new file size does not exceed the incremental threshold, collection starts from the beginning of the new file. If the new file size exceeds the incremental threshold, collection starts from the position at the end of the file minus the incremental threshold, meaning only incremental logs are collected. For log files that are not being collected for the first time, LogCollector determines the collection position based on the Checkpoint and continues collecting. false: (default) full collection. LogCollector collects logs from the beginning of each file, including historical log data.
|
|
10900
|
+
*/
|
|
10901
|
+
tailFiles?: pulumi.Input<boolean>;
|
|
10902
|
+
/**
|
|
10903
|
+
* Incremental collection backtracking threshold, in KiB. When LogCollector uses incremental collection, for the first collection of a log file: if the new log file size does not exceed the TailSizeKb value, collection starts from the beginning of the file. If the new log file size exceeds the TailSizeKb value, collection starts from the position TailSizeKb from the end of the file.
|
|
10904
|
+
*/
|
|
10905
|
+
tailSizeKb?: pulumi.Input<number>;
|
|
10906
|
+
}
|
|
10907
|
+
interface HostGroupRuleUserDefineRuleAdvanced {
|
|
10908
|
+
/**
|
|
10909
|
+
* After reading to the end of the log file, whether to release the file handle. Default is false.
|
|
10910
|
+
*/
|
|
10911
|
+
closeEof?: pulumi.Input<boolean>;
|
|
10912
|
+
/**
|
|
10913
|
+
* Wait time before releasing log file handles. If no new logs are written to a log file for the specified duration, the handle for that log file is released. Unit: seconds. Range: 1–300 seconds. Default: 60 seconds.
|
|
10914
|
+
*/
|
|
10915
|
+
closeInactive?: pulumi.Input<number>;
|
|
10916
|
+
/**
|
|
10917
|
+
* Whether to release the handle of the log file after it is removed. Default is false.
|
|
10918
|
+
*/
|
|
10919
|
+
closeRemoved?: pulumi.Input<boolean>;
|
|
10920
|
+
/**
|
|
10921
|
+
* Whether to release the handle of the log file after it is renamed. Default is false.
|
|
10922
|
+
*/
|
|
10923
|
+
closeRenamed?: pulumi.Input<boolean>;
|
|
10924
|
+
/**
|
|
10925
|
+
* Maximum duration for LogCollector to monitor log files, in seconds. The default is 0 seconds, meaning LogCollector does not limit the monitoring duration. Timing starts when LogCollector begins monitoring the log file. After the specified duration is exceeded, regardless of whether the log file has been fully read, LogCollector immediately releases the file handle and stops monitoring.
|
|
10926
|
+
*/
|
|
10927
|
+
closeTimeout?: pulumi.Input<number>;
|
|
10928
|
+
/**
|
|
10929
|
+
* Maximum wait time when LogCollector does not read a line break. Unit: seconds. Default: 5s. LogCollector starts timing when it begins reading log file content. If no line break is read within the specified time, it will send the buffered logs. If the file write interval is large, a complete log entry may be split into two parts and written separately. Adjust this parameter based on your log write interval.
|
|
10930
|
+
*/
|
|
10931
|
+
noLineTerminatorEofMaxTime?: pulumi.Input<number>;
|
|
10932
|
+
}
|
|
10933
|
+
interface HostGroupRuleUserDefineRuleField {
|
|
10934
|
+
/**
|
|
10935
|
+
* Key.
|
|
10936
|
+
*/
|
|
10937
|
+
key?: pulumi.Input<string>;
|
|
10938
|
+
/**
|
|
10939
|
+
* Value.
|
|
10940
|
+
*/
|
|
10941
|
+
val?: pulumi.Input<string>;
|
|
10942
|
+
}
|
|
10943
|
+
interface HostGroupRuleUserDefineRuleParsePathRule {
|
|
10944
|
+
/**
|
|
10945
|
+
* List of field names. Log Service parses PathSample into multiple fields using regular expressions (Regex). Keys specify the name of each field. You can configure up to 100 field names. Field names cannot be empty or duplicated.
|
|
10946
|
+
*/
|
|
10947
|
+
keys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
10948
|
+
/**
|
|
10949
|
+
* Sample collection path for actual scenarios. The sample path must be an absolute path. Wildcards *, ?, ** are not allowed in the sample path.
|
|
10950
|
+
*/
|
|
10951
|
+
pathSample?: pulumi.Input<string>;
|
|
10952
|
+
/**
|
|
10953
|
+
* Regular expression used to extract the path field. It must match the example collection path; otherwise, extraction will fail.
|
|
10954
|
+
*/
|
|
10955
|
+
regex?: pulumi.Input<string>;
|
|
10956
|
+
}
|
|
10957
|
+
interface HostGroupRuleUserDefineRulePlugin {
|
|
10958
|
+
/**
|
|
10959
|
+
* LogCollector plugins. For supported plugin lists and parameter descriptions, see LogCollector plugin overview.
|
|
10960
|
+
*/
|
|
10961
|
+
processors?: pulumi.Input<string>;
|
|
10962
|
+
}
|
|
10963
|
+
interface HostGroupRuleUserDefineRuleShardHashKey {
|
|
10964
|
+
/**
|
|
10965
|
+
* The HashKey of the log group specifies the shard where the current log group will be written. The valid range for this parameter is [00000000000000000000000000000000-ffffffffffffffffffffffffffffffff).
|
|
10966
|
+
*/
|
|
10967
|
+
hashKey?: pulumi.Input<string>;
|
|
10968
|
+
}
|
|
10969
|
+
interface ImportTaskImportSourceInfo {
|
|
10970
|
+
/**
|
|
10971
|
+
* Kafka data source information. When sourceType is kafka, the KafkaSourceInfo field is required
|
|
10972
|
+
*/
|
|
10973
|
+
kafkaSourceInfo?: pulumi.Input<inputs.tls.ImportTaskImportSourceInfoKafkaSourceInfo>;
|
|
10974
|
+
/**
|
|
10975
|
+
* TOS data source information. When sourceType is tos, the TosSourceInfo field is required.
|
|
10976
|
+
*/
|
|
10977
|
+
tosSourceInfo?: pulumi.Input<inputs.tls.ImportTaskImportSourceInfoTosSourceInfo>;
|
|
10978
|
+
}
|
|
10979
|
+
interface ImportTaskImportSourceInfoKafkaSourceInfo {
|
|
10980
|
+
/**
|
|
10981
|
+
* Data encoding format. Available options: UTF-8, GBK.
|
|
10982
|
+
*/
|
|
10983
|
+
encode?: pulumi.Input<string>;
|
|
10984
|
+
/**
|
|
10985
|
+
* Kafka consumer group. If not specified, the system will automatically create a Kafka consumer group.
|
|
10986
|
+
*/
|
|
10987
|
+
group?: pulumi.Input<string>;
|
|
10988
|
+
/**
|
|
10989
|
+
* The service addresses for different types of Kafka clusters vary. Details are as follows: Message Queue Kafka Edition: Use the access point of the Kafka instance. For more information, see Access Point. If the Kafka instance and the Log Service Project are in the same region, you can use private network access; otherwise, use public network access. Self-hosted Kafka clusters: Use the IP address and port number or the domain name and port number of the Kafka Broker. Only public network access is supported. Separate multiple service addresses with a comma (,).
|
|
10990
|
+
*/
|
|
10991
|
+
host?: pulumi.Input<string>;
|
|
10992
|
+
/**
|
|
10993
|
+
* Starting position for data import. Options: 0: Earliest time, start importing from the first record in the specified Kafka Topic. 1: Latest time, start importing from the most recently generated record in the specified Kafka Topic.
|
|
10994
|
+
*/
|
|
10995
|
+
initialOffset?: pulumi.Input<number>;
|
|
10996
|
+
/**
|
|
10997
|
+
* If you are using Message Queue Kafka Edition, set this to the Kafka instance ID.
|
|
10998
|
+
*/
|
|
10999
|
+
instanceId?: pulumi.Input<string>;
|
|
11000
|
+
/**
|
|
11001
|
+
* Whether to enable authentication. If you use a public service address, it is recommended to enable authentication.
|
|
11002
|
+
*/
|
|
11003
|
+
isNeedAuth?: pulumi.Input<boolean>;
|
|
11004
|
+
/**
|
|
11005
|
+
* Password authentication mechanism. Available options: PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512.
|
|
11006
|
+
*/
|
|
11007
|
+
mechanism?: pulumi.Input<string>;
|
|
11008
|
+
/**
|
|
11009
|
+
* Kafka SASL user password for authentication.
|
|
11010
|
+
*/
|
|
11011
|
+
password?: pulumi.Input<string>;
|
|
11012
|
+
/**
|
|
11013
|
+
* Secure transmission protocol. Options include plaintext, sasl*ssl, ssl, and sasl*plaintext
|
|
11014
|
+
*/
|
|
11015
|
+
protocol?: pulumi.Input<string>;
|
|
11016
|
+
/**
|
|
11017
|
+
* Specify log time. Options: 0: Use Kafka message timestamp. 1: Use current system time.
|
|
11018
|
+
*/
|
|
11019
|
+
timeSourceDefault?: pulumi.Input<number>;
|
|
11020
|
+
/**
|
|
11021
|
+
* Kafka Topic name. Separate multiple Kafka Topics with commas (,).
|
|
11022
|
+
*/
|
|
11023
|
+
topic?: pulumi.Input<string>;
|
|
11024
|
+
/**
|
|
11025
|
+
* Kafka SASL username for authentication.
|
|
11026
|
+
*/
|
|
11027
|
+
username?: pulumi.Input<string>;
|
|
11028
|
+
}
|
|
11029
|
+
interface ImportTaskImportSourceInfoTosSourceInfo {
|
|
11030
|
+
/**
|
|
11031
|
+
* TOS bucket name
|
|
11032
|
+
*/
|
|
11033
|
+
bucket?: pulumi.Input<string>;
|
|
11034
|
+
/**
|
|
11035
|
+
* Compression mode for data in the TOS bucket. none: No compression. snappy: Compress using snappy. gzip: Compress using gzip. lz4: Compress using lz4.
|
|
11036
|
+
*/
|
|
11037
|
+
compressType?: pulumi.Input<string>;
|
|
11038
|
+
/**
|
|
11039
|
+
* Path of the file to be imported in the TOS bucket.
|
|
11040
|
+
*/
|
|
11041
|
+
prefix?: pulumi.Input<string>;
|
|
11042
|
+
/**
|
|
11043
|
+
* Region where the TOS bucket is located. Cross-region data import is supported
|
|
11044
|
+
*/
|
|
11045
|
+
region?: pulumi.Input<string>;
|
|
11046
|
+
}
|
|
11047
|
+
interface ImportTaskTargetInfo {
|
|
11048
|
+
/**
|
|
11049
|
+
* Log extraction rule.
|
|
11050
|
+
*/
|
|
11051
|
+
extractRule?: pulumi.Input<inputs.tls.ImportTaskTargetInfoExtractRule>;
|
|
11052
|
+
/**
|
|
11053
|
+
* Log sample. When LogType is set to multiline_log, you must configure log samples. It is recommended to provide more than two log entries as examples to ensure the regular expression matches the first line of each log. Use real samples from the production environment.
|
|
11054
|
+
*/
|
|
11055
|
+
logSample?: pulumi.Input<string>;
|
|
11056
|
+
/**
|
|
11057
|
+
* Specify log parsing type during import. delimiter*log: CSV type. multiline*log: multiline full text type. minimalist*log: single line full text type. json*log: JSON type.
|
|
11058
|
+
*/
|
|
11059
|
+
logType: pulumi.Input<string>;
|
|
11060
|
+
/**
|
|
11061
|
+
* Region.
|
|
11062
|
+
*/
|
|
11063
|
+
region: pulumi.Input<string>;
|
|
11064
|
+
}
|
|
11065
|
+
interface ImportTaskTargetInfoExtractRule {
|
|
11066
|
+
/**
|
|
11067
|
+
* Basic content of log extraction rules.
|
|
11068
|
+
*/
|
|
11069
|
+
extractRule?: pulumi.Input<inputs.tls.ImportTaskTargetInfoExtractRuleExtractRule>;
|
|
11070
|
+
/**
|
|
11071
|
+
* Number of skipped rows. Only valid when the log type is delimiterLog and the import type is tos.
|
|
11072
|
+
*/
|
|
11073
|
+
skipLineCount?: pulumi.Input<number>;
|
|
11074
|
+
/**
|
|
11075
|
+
* Time extraction regular expression, used to extract the time value from the TimeKey field and parse it as the collection time
|
|
11076
|
+
*/
|
|
11077
|
+
timeExtractRegex?: pulumi.Input<string>;
|
|
11078
|
+
/**
|
|
11079
|
+
* Time zone. Supports machine time zone (default) and custom time zone. Custom time zone supports GMT and UTC. GMT format: GMT+08:00. UTC format: Asia/Shanghai.
|
|
11080
|
+
*/
|
|
11081
|
+
timeZone?: pulumi.Input<string>;
|
|
11082
|
+
}
|
|
11083
|
+
interface ImportTaskTargetInfoExtractRuleExtractRule {
|
|
11084
|
+
/**
|
|
11085
|
+
* Regular expression for identifying the first line of each log. The matched part is treated as the start of the log. When LogType is set to multiline_log, you must configure a log sample
|
|
11086
|
+
*/
|
|
11087
|
+
beginRegex?: pulumi.Input<string>;
|
|
11088
|
+
/**
|
|
11089
|
+
* Delimiter. Only valid when LogType is delimiter_log.
|
|
11090
|
+
*/
|
|
11091
|
+
delimiter?: pulumi.Input<string>;
|
|
11092
|
+
/**
|
|
11093
|
+
* Enable nanoseconds.
|
|
11094
|
+
*/
|
|
11095
|
+
enableNanosecond?: pulumi.Input<boolean>;
|
|
11096
|
+
filterKeyRegexes?: pulumi.Input<pulumi.Input<inputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex>[]>;
|
|
11097
|
+
/**
|
|
11098
|
+
* List of log field names (Key). Valid only when LogType is delimiter_log. Supports up to 100 field names. Duplicate field names are not allowed, and all field names cannot be left blank
|
|
11099
|
+
*/
|
|
11100
|
+
keys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
11101
|
+
/**
|
|
11102
|
+
* Log regular expression
|
|
11103
|
+
*/
|
|
11104
|
+
logRegex?: pulumi.Input<string>;
|
|
11105
|
+
/**
|
|
11106
|
+
* Log template.
|
|
11107
|
+
*/
|
|
11108
|
+
logTemplate?: pulumi.Input<inputs.tls.ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate>;
|
|
11109
|
+
/**
|
|
11110
|
+
* Quotation mark. Content enclosed by the quotation mark will not be separated and will be parsed as a complete field. Only valid when LogType is delimiter_log.
|
|
11111
|
+
*/
|
|
11112
|
+
quote?: pulumi.Input<string>;
|
|
11113
|
+
/**
|
|
11114
|
+
* Parsing format for the time field. If you use a specified time field in the log as the log timestamp, you must fill in TimeKey and TimeFormat. TimeKey and TimeFormat must be paired. For configuration details, see time format.
|
|
11115
|
+
*/
|
|
11116
|
+
timeFormat?: pulumi.Input<string>;
|
|
11117
|
+
/**
|
|
11118
|
+
* Name of the log time field. If you use a specific time field in the log as the log timestamp, you must provide both TimeKey and TimeFormat. TimeKey and TimeFormat must appear in pairs
|
|
11119
|
+
*/
|
|
11120
|
+
timeKey?: pulumi.Input<string>;
|
|
11121
|
+
/**
|
|
11122
|
+
* Time sample. Used to verify whether the entered time parsing format is correct
|
|
11123
|
+
*/
|
|
11124
|
+
timeSample?: pulumi.Input<string>;
|
|
11125
|
+
/**
|
|
11126
|
+
* When uploading logs that failed to parse, specify the key name for the failed logs. UnMatchUpLoadSwitch=true and UnMatchLogKey must be used together.
|
|
11127
|
+
*/
|
|
11128
|
+
unMatchLogKey?: pulumi.Input<string>;
|
|
11129
|
+
/**
|
|
11130
|
+
* Whether to upload logs that failed to parse. UnMatchUpLoadSwitch=true and UnMatchLogKey must be paired. true: Upload logs that failed to parse. false: Do not upload logs that failed to parse.
|
|
11131
|
+
*/
|
|
11132
|
+
unMatchUpLoadSwitch?: pulumi.Input<boolean>;
|
|
11133
|
+
}
|
|
11134
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleFilterKeyRegex {
|
|
11135
|
+
/**
|
|
11136
|
+
* Key.
|
|
11137
|
+
*/
|
|
11138
|
+
key?: pulumi.Input<string>;
|
|
11139
|
+
/**
|
|
11140
|
+
* Regular expression.
|
|
11141
|
+
*/
|
|
11142
|
+
regex?: pulumi.Input<string>;
|
|
11143
|
+
}
|
|
11144
|
+
interface ImportTaskTargetInfoExtractRuleExtractRuleLogTemplate {
|
|
11145
|
+
/**
|
|
11146
|
+
* Format.
|
|
11147
|
+
*/
|
|
11148
|
+
format?: pulumi.Input<string>;
|
|
11149
|
+
/**
|
|
11150
|
+
* Type
|
|
11151
|
+
*/
|
|
11152
|
+
type?: pulumi.Input<string>;
|
|
11153
|
+
}
|
|
11154
|
+
interface ImportTaskTaskStatistics {
|
|
11155
|
+
/**
|
|
11156
|
+
* Total resource bytes enumerated
|
|
11157
|
+
*/
|
|
11158
|
+
bytesTotal?: pulumi.Input<number>;
|
|
11159
|
+
/**
|
|
11160
|
+
* Bytes transferred.
|
|
11161
|
+
*/
|
|
11162
|
+
bytesTransferred?: pulumi.Input<number>;
|
|
11163
|
+
/**
|
|
11164
|
+
* Number of resources failed to import.
|
|
11165
|
+
*/
|
|
11166
|
+
failed?: pulumi.Input<number>;
|
|
11167
|
+
/**
|
|
11168
|
+
* Number of resources not found.
|
|
11169
|
+
*/
|
|
11170
|
+
notExist?: pulumi.Input<number>;
|
|
11171
|
+
/**
|
|
11172
|
+
* Number of resources skipped during import
|
|
11173
|
+
*/
|
|
11174
|
+
skipped?: pulumi.Input<number>;
|
|
11175
|
+
/**
|
|
11176
|
+
* Task status. Status of the import task. Preparing: Preparing for import. Importing: Importing data. Success: Import completed successfully. Failed: Import failed. Stopped: Import paused.
|
|
11177
|
+
*/
|
|
11178
|
+
taskStatus?: pulumi.Input<string>;
|
|
11179
|
+
/**
|
|
11180
|
+
* Total number of resources enumerated.
|
|
11181
|
+
*/
|
|
11182
|
+
total?: pulumi.Input<number>;
|
|
11183
|
+
/**
|
|
11184
|
+
* Number of records transferred.
|
|
11185
|
+
*/
|
|
11186
|
+
transferred?: pulumi.Input<number>;
|
|
11187
|
+
}
|
|
11188
|
+
interface IndexFullText {
|
|
11189
|
+
/**
|
|
11190
|
+
* Case sensitivity. true: Case sensitive. false: Not case sensitive.
|
|
11191
|
+
*/
|
|
11192
|
+
caseSensitive?: pulumi.Input<boolean>;
|
|
11193
|
+
/**
|
|
11194
|
+
* Token separators for the full-text index. Each character in the string represents a token separator. Length: 1–256 bytes. Only one or more of the following characters are supported: letters, numbers, and !@#%^&*()-_=\\"', <>/?|;:\ \r[]{}. . Supports configuring both Chinese characters and token separators simultaneously.
|
|
11195
|
+
*/
|
|
11196
|
+
delimiter?: pulumi.Input<string>;
|
|
11197
|
+
/**
|
|
11198
|
+
* When searching, specify whether to segment Chinese content in logs according to Chinese grammar. The default is false. true: For Chinese characters in logs, segment the log according to common Chinese grammar rules. Custom segmentation symbols for Chinese content are not supported. For non-Chinese characters in logs, segment the log using the segmentation symbols specified in the parameter. false: Segment the log using the segmentation symbols specified in the parameter.
|
|
11199
|
+
*/
|
|
11200
|
+
includeChinese?: pulumi.Input<boolean>;
|
|
11201
|
+
}
|
|
11202
|
+
interface IndexKeyValue {
|
|
11203
|
+
/**
|
|
11204
|
+
* Specify the field names for key-value indexing. Up to 100 fields can be added. Only letters, numbers, spaces, underscores (_), hyphens (-), and slashes (/) are supported, and field names cannot start or end with a space. Each key name must be unique within the same index. Length: 1–128 characters. For subfields in JSON-type key-value indexes, use a dot (.) to indicate the hierarchy between JSON fields. For example, if the JSON field 'namelist' contains a text-type subfield 'totalcount' and a JSON-type subfield 'info', and 'info' contains the field 'name', the field names should be configured as 'totalcount' and 'info.name' respectively.
|
|
11205
|
+
*/
|
|
11206
|
+
key?: pulumi.Input<string>;
|
|
11207
|
+
/**
|
|
11208
|
+
* Field description information required for configuring key-value indexes.
|
|
11209
|
+
*/
|
|
11210
|
+
value?: pulumi.Input<inputs.tls.IndexKeyValueValue>;
|
|
10737
11211
|
}
|
|
10738
11212
|
interface IndexKeyValueValue {
|
|
10739
11213
|
/**
|
|
@@ -11645,6 +12119,283 @@ export declare namespace tos {
|
|
|
11645
12119
|
*/
|
|
11646
12120
|
storageClass?: pulumi.Input<string>;
|
|
11647
12121
|
}
|
|
12122
|
+
interface BucketMirrorBackRule {
|
|
12123
|
+
/**
|
|
12124
|
+
* Conditions that trigger the back-to-origin function.
|
|
12125
|
+
*/
|
|
12126
|
+
condition?: pulumi.Input<inputs.tos.BucketMirrorBackRuleCondition>;
|
|
12127
|
+
/**
|
|
12128
|
+
* Rule ID. The unique identifier for the back-to-origin rule configured on the current bucket. You can set this yourself to distinguish between multiple rules. Restrictions:
|
|
12129
|
+
* Characters supported: letters, numbers, - and _.
|
|
12130
|
+
* Maximum length: 32 characters.
|
|
12131
|
+
*/
|
|
12132
|
+
id?: pulumi.Input<string>;
|
|
12133
|
+
/**
|
|
12134
|
+
* Back-to-origin redirect configuration.
|
|
12135
|
+
*/
|
|
12136
|
+
redirect?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirect>;
|
|
12137
|
+
}
|
|
12138
|
+
interface BucketMirrorBackRuleCondition {
|
|
12139
|
+
/**
|
|
12140
|
+
* Supports triggering origin fetch only for specified domains. The domain must be able to access the bucket; it is recommended to use a custom domain bound to the bucket. Limit: supports up to 30 domains.
|
|
12141
|
+
*/
|
|
12142
|
+
allowHosts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12143
|
+
/**
|
|
12144
|
+
* Error code that triggers origin fetch. When a download request returns this error code, origin fetch is triggered. Limit: currently only supports 404.
|
|
12145
|
+
*/
|
|
12146
|
+
httpCode?: pulumi.Input<number>;
|
|
12147
|
+
/**
|
|
12148
|
+
* Request types that trigger back-to-origin. Value description:
|
|
12149
|
+
* ["GET","HEAD"]: Both GetObject and HeadObject requests can trigger back-to-origin.
|
|
12150
|
+
* ["GET"]: Only GetObject requests can trigger back-to-origin.
|
|
12151
|
+
* Default is ["GET"].
|
|
12152
|
+
*/
|
|
12153
|
+
httpMethods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12154
|
+
/**
|
|
12155
|
+
* Object name prefix for matching origin fetch objects. Limit: supports up to 512 characters.
|
|
12156
|
+
*/
|
|
12157
|
+
keyPrefix?: pulumi.Input<string>;
|
|
12158
|
+
/**
|
|
12159
|
+
* Object name suffix for matching origin fetch objects. Limit: supports up to 512 characters.
|
|
12160
|
+
*/
|
|
12161
|
+
keySuffix?: pulumi.Input<string>;
|
|
12162
|
+
}
|
|
12163
|
+
interface BucketMirrorBackRuleRedirect {
|
|
12164
|
+
fetchHeaderToMetaDataRules?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule>[]>;
|
|
12165
|
+
/**
|
|
12166
|
+
* Whether to fetch data from the configured origin after redirection. Value description: true: Fetch data from the configured origin after redirection. false: Do not fetch data from the configured origin after redirection.
|
|
12167
|
+
*/
|
|
12168
|
+
fetchSourceOnRedirect?: pulumi.Input<boolean>;
|
|
12169
|
+
/**
|
|
12170
|
+
* Whether to include request parameters when fetching data after redirection. If not configured, inherits PassQuery settings: true: includes request parameters. false: does not include request parameters.
|
|
12171
|
+
*/
|
|
12172
|
+
fetchSourceOnRedirectWithQuery?: pulumi.Input<boolean>;
|
|
12173
|
+
/**
|
|
12174
|
+
* If the result of mirror origin fetch is 3xx, whether to continue redirecting to the specified Location to fetch data. Value description: true: TOS will continue to request the address corresponding to Location. false: TOS will return 302.
|
|
12175
|
+
*/
|
|
12176
|
+
followRedirect?: pulumi.Input<boolean>;
|
|
12177
|
+
/**
|
|
12178
|
+
* Specify the headers to include when mirroring back to origin.
|
|
12179
|
+
*/
|
|
12180
|
+
mirrorHeader?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectMirrorHeader>;
|
|
12181
|
+
/**
|
|
12182
|
+
* List of origin response headers allowed to be passed through directly.
|
|
12183
|
+
*/
|
|
12184
|
+
passHeaderFromSources?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12185
|
+
/**
|
|
12186
|
+
* Whether to include request parameters when performing redirect or mirror back-to-origin rules. Value description:
|
|
12187
|
+
* true: Include request parameters.
|
|
12188
|
+
* false: Do not include request parameters.
|
|
12189
|
+
*/
|
|
12190
|
+
passQuery?: pulumi.Input<boolean>;
|
|
12191
|
+
/**
|
|
12192
|
+
* List of origin response status codes allowed to be passed through directly.
|
|
12193
|
+
*/
|
|
12194
|
+
passStatusCodeFromSources?: pulumi.Input<pulumi.Input<number>[]>;
|
|
12195
|
+
/**
|
|
12196
|
+
* Back-to-origin address configuration when the origin server is a private bucket.
|
|
12197
|
+
*/
|
|
12198
|
+
privateSource?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSource>;
|
|
12199
|
+
/**
|
|
12200
|
+
* Back-to-origin address configuration when the origin server is a public bucket.
|
|
12201
|
+
*/
|
|
12202
|
+
publicSource?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPublicSource>;
|
|
12203
|
+
/**
|
|
12204
|
+
* Specify redirect type. Value range: Mirror: Mirror origin fetch. Async: Redirect origin fetch.
|
|
12205
|
+
*/
|
|
12206
|
+
redirectType?: pulumi.Input<string>;
|
|
12207
|
+
/**
|
|
12208
|
+
* Define transformations for the object name when requesting the origin server.
|
|
12209
|
+
*/
|
|
12210
|
+
transform?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectTransform>;
|
|
12211
|
+
}
|
|
12212
|
+
interface BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule {
|
|
12213
|
+
/**
|
|
12214
|
+
* Suffix appended when writing object metadata.
|
|
12215
|
+
*/
|
|
12216
|
+
metaDataSuffix?: pulumi.Input<string>;
|
|
12217
|
+
/**
|
|
12218
|
+
* Origin response header name.
|
|
12219
|
+
*/
|
|
12220
|
+
sourceHeader?: pulumi.Input<string>;
|
|
12221
|
+
}
|
|
12222
|
+
interface BucketMirrorBackRuleRedirectMirrorHeader {
|
|
12223
|
+
/**
|
|
12224
|
+
* Whether to forward all HTTP headers to the origin. Values: true: forwards all HTTP headers to the origin. false: does not forward all HTTP headers to the origin. The following HTTP header types are not supported for forwarding: Host, Content-Length, Date, Authorization.
|
|
12225
|
+
*/
|
|
12226
|
+
passAll?: pulumi.Input<boolean>;
|
|
12227
|
+
/**
|
|
12228
|
+
* Pass the specified headers to the origin server. Limit: up to 64.
|
|
12229
|
+
*/
|
|
12230
|
+
passes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12231
|
+
/**
|
|
12232
|
+
* Prohibit forwarding specified headers to the origin. Limit: maximum 64.
|
|
12233
|
+
*/
|
|
12234
|
+
removes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12235
|
+
sets?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectMirrorHeaderSet>[]>;
|
|
12236
|
+
}
|
|
12237
|
+
interface BucketMirrorBackRuleRedirectMirrorHeaderSet {
|
|
12238
|
+
/**
|
|
12239
|
+
* Request header name.
|
|
12240
|
+
*/
|
|
12241
|
+
key?: pulumi.Input<string>;
|
|
12242
|
+
/**
|
|
12243
|
+
* Request header value.
|
|
12244
|
+
*/
|
|
12245
|
+
value?: pulumi.Input<string>;
|
|
12246
|
+
}
|
|
12247
|
+
interface BucketMirrorBackRuleRedirectPrivateSource {
|
|
12248
|
+
/**
|
|
12249
|
+
* Back-to-origin address configuration when the origin server is a private bucket.
|
|
12250
|
+
*/
|
|
12251
|
+
sourceEndpoint?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint>;
|
|
12252
|
+
}
|
|
12253
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint {
|
|
12254
|
+
followers?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower>[]>;
|
|
12255
|
+
primaries?: pulumi.Input<pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary>[]>;
|
|
12256
|
+
}
|
|
12257
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower {
|
|
12258
|
+
/**
|
|
12259
|
+
* Name of the origin fetch bucket. Required when the origin is a private bucket.
|
|
12260
|
+
*/
|
|
12261
|
+
bucketName?: pulumi.Input<string>;
|
|
12262
|
+
/**
|
|
12263
|
+
* Private back-to-origin authentication method. Required when the origin server is a private bucket.
|
|
12264
|
+
*/
|
|
12265
|
+
credentialProvider?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProvider>;
|
|
12266
|
+
/**
|
|
12267
|
+
* Access domain name of the origin service provider, excluding bucket name, maximum length 255. Required for private buckets.
|
|
12268
|
+
*/
|
|
12269
|
+
endpoint?: pulumi.Input<string>;
|
|
12270
|
+
}
|
|
12271
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProvider {
|
|
12272
|
+
/**
|
|
12273
|
+
* Region where the origin fetch bucket is located. Required when using AK/SK authentication.
|
|
12274
|
+
*/
|
|
12275
|
+
region?: pulumi.Input<string>;
|
|
12276
|
+
/**
|
|
12277
|
+
* Name of AssumeRole. Only when fetching from a private TOS bucket can AssumeRole be used for authentication. Role authentication and AK/SK authentication are mutually exclusive and cannot be set simultaneously.
|
|
12278
|
+
*/
|
|
12279
|
+
role?: pulumi.Input<string>;
|
|
12280
|
+
/**
|
|
12281
|
+
* Authenticate using AK/SK.
|
|
12282
|
+
*/
|
|
12283
|
+
staticCredential?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProviderStaticCredential>;
|
|
12284
|
+
}
|
|
12285
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProviderStaticCredential {
|
|
12286
|
+
/**
|
|
12287
|
+
* AccessKey ID of the origin bucket. Required when using AK/SK authentication.
|
|
12288
|
+
*/
|
|
12289
|
+
ak?: pulumi.Input<string>;
|
|
12290
|
+
/**
|
|
12291
|
+
* SecretKey for the back-to-origin bucket. Required when using AK/SK authentication.
|
|
12292
|
+
*/
|
|
12293
|
+
sk?: pulumi.Input<string>;
|
|
12294
|
+
/**
|
|
12295
|
+
* Encryption method used for SecretKey. Values:
|
|
12296
|
+
* Empty: SecretKey is in plaintext. After receiving the SecretKey, the server will encrypt and store it.
|
|
12297
|
+
* AES256: SecretKey has been encrypted using the AES256 algorithm on the server side. After receiving the SecretKey, the server will parse and encrypt it for storage.
|
|
12298
|
+
* Note: When a back-to-origin rule is created for the first time, the SecretKey is encrypted with AES256. If you modify the back-to-origin rule without changing the SecretKey parameter, you must first decrypt the SecretKey and then re-encrypt it for storage. Therefore, when calling the PutBucketMirrorBack API to modify the back-to-origin rule and only changing other parameters (not the SecretKey), you can set SKEncryptType to AES256.
|
|
12299
|
+
*/
|
|
12300
|
+
skEncryptType?: pulumi.Input<string>;
|
|
12301
|
+
/**
|
|
12302
|
+
* Origin service provider. Values: BOS: Baidu Cloud. S3: Other cloud providers using the S3 storage protocol.
|
|
12303
|
+
*/
|
|
12304
|
+
storageVendor?: pulumi.Input<string>;
|
|
12305
|
+
}
|
|
12306
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary {
|
|
12307
|
+
/**
|
|
12308
|
+
* Name of the origin fetch bucket. Required when the origin is a private bucket.
|
|
12309
|
+
*/
|
|
12310
|
+
bucketName?: pulumi.Input<string>;
|
|
12311
|
+
/**
|
|
12312
|
+
* Private back-to-origin authentication method. Required when the origin server is a private bucket.
|
|
12313
|
+
*/
|
|
12314
|
+
credentialProvider?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider>;
|
|
12315
|
+
/**
|
|
12316
|
+
* Access domain name of the origin service provider, excluding bucket name, maximum length 255. Required for private buckets.
|
|
12317
|
+
*/
|
|
12318
|
+
endpoint?: pulumi.Input<string>;
|
|
12319
|
+
}
|
|
12320
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider {
|
|
12321
|
+
/**
|
|
12322
|
+
* Region where the origin fetch bucket is located. Required when using AK/SK authentication.
|
|
12323
|
+
*/
|
|
12324
|
+
region?: pulumi.Input<string>;
|
|
12325
|
+
/**
|
|
12326
|
+
* Name of AssumeRole. Only when fetching from a private TOS bucket can AssumeRole be used for authentication. Role authentication and AK/SK authentication are mutually exclusive and cannot be set simultaneously.
|
|
12327
|
+
*/
|
|
12328
|
+
role?: pulumi.Input<string>;
|
|
12329
|
+
/**
|
|
12330
|
+
* Authenticate using AK/SK.
|
|
12331
|
+
*/
|
|
12332
|
+
staticCredential?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProviderStaticCredential>;
|
|
12333
|
+
}
|
|
12334
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProviderStaticCredential {
|
|
12335
|
+
/**
|
|
12336
|
+
* AccessKey ID of the origin bucket. Required when using AK/SK authentication.
|
|
12337
|
+
*/
|
|
12338
|
+
ak?: pulumi.Input<string>;
|
|
12339
|
+
/**
|
|
12340
|
+
* SecretKey for the back-to-origin bucket. Required when using AK/SK authentication.
|
|
12341
|
+
*/
|
|
12342
|
+
sk?: pulumi.Input<string>;
|
|
12343
|
+
/**
|
|
12344
|
+
* Encryption method used for SecretKey. Values:
|
|
12345
|
+
* Empty: SecretKey is in plaintext. After receiving the SecretKey, the server will encrypt and store it.
|
|
12346
|
+
* AES256: SecretKey has been encrypted using the AES256 algorithm on the server side. After receiving the SecretKey, the server will parse and encrypt it for storage.
|
|
12347
|
+
* Note: When a back-to-origin rule is created for the first time, the SecretKey is encrypted with AES256. If you modify the back-to-origin rule without changing the SecretKey parameter, you must first decrypt the SecretKey and then re-encrypt it for storage. Therefore, when calling the PutBucketMirrorBack API to modify the back-to-origin rule and only changing other parameters (not the SecretKey), you can set SKEncryptType to AES256.
|
|
12348
|
+
*/
|
|
12349
|
+
skEncryptType?: pulumi.Input<string>;
|
|
12350
|
+
/**
|
|
12351
|
+
* Origin service provider. Values: BOS: Baidu Cloud. S3: Other cloud providers using the S3 storage protocol.
|
|
12352
|
+
*/
|
|
12353
|
+
storageVendor?: pulumi.Input<string>;
|
|
12354
|
+
}
|
|
12355
|
+
interface BucketMirrorBackRuleRedirectPublicSource {
|
|
12356
|
+
/**
|
|
12357
|
+
* Whether to always use the configured origin address.
|
|
12358
|
+
*/
|
|
12359
|
+
fixedEndpoint?: pulumi.Input<boolean>;
|
|
12360
|
+
/**
|
|
12361
|
+
* Publicly accessible origin address.
|
|
12362
|
+
*/
|
|
12363
|
+
sourceEndpoint?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint>;
|
|
12364
|
+
}
|
|
12365
|
+
interface BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint {
|
|
12366
|
+
/**
|
|
12367
|
+
* Origin address. Limit: Maximum length 255, supports up to 5 origin fetch addresses. When all origin fetches fail in Primary, an origin is selected from this configuration.
|
|
12368
|
+
*/
|
|
12369
|
+
followers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12370
|
+
/**
|
|
12371
|
+
* Origin address. Limit: Maximum length 255, supports up to 5 origin fetch addresses.
|
|
12372
|
+
*/
|
|
12373
|
+
primaries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12374
|
+
}
|
|
12375
|
+
interface BucketMirrorBackRuleRedirectTransform {
|
|
12376
|
+
/**
|
|
12377
|
+
* Object name prefix to be replaced when requesting the origin.
|
|
12378
|
+
*/
|
|
12379
|
+
replaceKeyPrefix?: pulumi.Input<inputs.tos.BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix>;
|
|
12380
|
+
/**
|
|
12381
|
+
* Prefix added before the object name when requesting the origin server. Limit: up to 512 characters.
|
|
12382
|
+
*/
|
|
12383
|
+
withKeyPrefix?: pulumi.Input<string>;
|
|
12384
|
+
/**
|
|
12385
|
+
* Prefix added before the object name when requesting the origin server. Limit: up to 512 characters.
|
|
12386
|
+
*/
|
|
12387
|
+
withKeySuffix?: pulumi.Input<string>;
|
|
12388
|
+
}
|
|
12389
|
+
interface BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix {
|
|
12390
|
+
/**
|
|
12391
|
+
* Object name prefix to be replaced when requesting the origin. Limit: Supports up to 512 characters.
|
|
12392
|
+
*/
|
|
12393
|
+
keyPrefix?: pulumi.Input<string>;
|
|
12394
|
+
/**
|
|
12395
|
+
* Value of the object name prefix after replacement when requesting the origin. Limit: Supports up to 512 characters.
|
|
12396
|
+
*/
|
|
12397
|
+
replaceWith?: pulumi.Input<string>;
|
|
12398
|
+
}
|
|
11648
12399
|
interface BucketNotificationNotificationRule {
|
|
11649
12400
|
/**
|
|
11650
12401
|
* Event notification delivery targets. Must include at least one target and supports up to five different targets.
|
|
@@ -11733,6 +12484,36 @@ export declare namespace tos {
|
|
|
11733
12484
|
*/
|
|
11734
12485
|
value?: pulumi.Input<string>;
|
|
11735
12486
|
}
|
|
12487
|
+
interface BucketObjectLockConfiguration {
|
|
12488
|
+
/**
|
|
12489
|
+
* Enable retention policy Only Enabled is supported, which means the retention policy is enabled
|
|
12490
|
+
*/
|
|
12491
|
+
objectLockEnabled?: pulumi.Input<string>;
|
|
12492
|
+
/**
|
|
12493
|
+
* Bucket retention policy rules
|
|
12494
|
+
*/
|
|
12495
|
+
rule?: pulumi.Input<inputs.tos.BucketObjectLockConfigurationRule>;
|
|
12496
|
+
}
|
|
12497
|
+
interface BucketObjectLockConfigurationRule {
|
|
12498
|
+
/**
|
|
12499
|
+
* Default bucket retention policy
|
|
12500
|
+
*/
|
|
12501
|
+
defaultRetention?: pulumi.Input<inputs.tos.BucketObjectLockConfigurationRuleDefaultRetention>;
|
|
12502
|
+
}
|
|
12503
|
+
interface BucketObjectLockConfigurationRuleDefaultRetention {
|
|
12504
|
+
/**
|
|
12505
|
+
* Object lock days Objects cannot be deleted or overwritten during the specified number of days. Measured in days
|
|
12506
|
+
*/
|
|
12507
|
+
days?: pulumi.Input<number>;
|
|
12508
|
+
/**
|
|
12509
|
+
* Retention policy mode Only COMPLIANCE is supported, which means compliance mode. In this mode, no user can delete or overwrite locked objects during the retention period
|
|
12510
|
+
*/
|
|
12511
|
+
mode?: pulumi.Input<string>;
|
|
12512
|
+
/**
|
|
12513
|
+
* Object lock years Objects cannot be deleted or overwritten during the specified number of years. Measured in years, with one year equal to 365 days
|
|
12514
|
+
*/
|
|
12515
|
+
years?: pulumi.Input<number>;
|
|
12516
|
+
}
|
|
11736
12517
|
interface BucketRealtimeLogRealTimeLog {
|
|
11737
12518
|
/**
|
|
11738
12519
|
* 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
|