@pulumi/alicloud 3.61.1 → 3.61.2
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/brain/getIndustrialPidLoops.d.ts +18 -2
- package/brain/getIndustrialPidLoops.js +6 -2
- package/brain/getIndustrialPidLoops.js.map +1 -1
- package/brain/getIndustrialPidOrganizations.d.ts +12 -2
- package/brain/getIndustrialPidOrganizations.js +6 -2
- package/brain/getIndustrialPidOrganizations.js.map +1 -1
- package/brain/getIndustrialPidProjects.d.ts +18 -2
- package/brain/getIndustrialPidProjects.js +6 -2
- package/brain/getIndustrialPidProjects.js.map +1 -1
- package/brain/getIndustrialSerice.d.ts +6 -2
- package/brain/getIndustrialSerice.js +6 -2
- package/brain/getIndustrialSerice.js.map +1 -1
- package/brain/industrialPidLoop.d.ts +3 -1
- package/brain/industrialPidLoop.js +3 -1
- package/brain/industrialPidLoop.js.map +1 -1
- package/brain/industrialPidOrganization.d.ts +2 -2
- package/brain/industrialPidOrganization.js +2 -2
- package/brain/industrialPidProject.d.ts +2 -2
- package/brain/industrialPidProject.js +2 -2
- package/cas/certificate.d.ts +79 -6
- package/cas/certificate.js +76 -3
- package/cas/certificate.js.map +1 -1
- package/cas/serviceCertificate.d.ts +4 -13
- package/cas/serviceCertificate.js +1 -1
- package/cas/serviceCertificate.js.map +1 -1
- package/cdn/realTimeLogDelivery.d.ts +1 -1
- package/cdn/realTimeLogDelivery.js +1 -1
- package/cen/getTransitRouterRouteTables.d.ts +86 -11
- package/cen/getTransitRouterRouteTables.js +59 -4
- package/cen/getTransitRouterRouteTables.js.map +1 -1
- package/cfg/remediation.d.ts +4 -1
- package/cfg/remediation.js +4 -1
- package/cfg/remediation.js.map +1 -1
- package/clickhouse/account.d.ts +1 -1
- package/clickhouse/account.js +1 -1
- package/clickhouse/backupPolicy.d.ts +1 -1
- package/clickhouse/backupPolicy.js +1 -1
- package/cloudfirewall/instance.d.ts +1 -0
- package/cloudfirewall/instance.js +1 -0
- package/cloudfirewall/instance.js.map +1 -1
- package/cs/kubernetes.d.ts +3 -3
- package/cs/managedKubernetes.d.ts +317 -20
- package/cs/managedKubernetes.js +1 -1
- package/cs/managedKubernetes.js.map +1 -1
- package/cs/registryEnterpriseNamespace.d.ts +36 -25
- package/cs/registryEnterpriseNamespace.js +15 -16
- package/cs/registryEnterpriseNamespace.js.map +1 -1
- package/cs/registryEnterpriseRepo.d.ts +45 -34
- package/cs/registryEnterpriseRepo.js +19 -14
- package/cs/registryEnterpriseRepo.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +49 -46
- package/cs/registryEnterpriseSyncRule.js +16 -13
- package/cs/registryEnterpriseSyncRule.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +64 -60
- package/cs/serverlessKubernetes.js +13 -13
- package/cs/serverlessKubernetes.js.map +1 -1
- package/databasefilesystem/instance.d.ts +1 -1
- package/databasefilesystem/instance.js +1 -1
- package/dts/consumerChannel.d.ts +1 -1
- package/dts/consumerChannel.js +1 -1
- package/dts/subscriptionJob.d.ts +1 -1
- package/dts/subscriptionJob.js +1 -1
- package/ecs/autoProvisioningGroup.d.ts +1 -1
- package/ecs/autoProvisioningGroup.js +1 -1
- package/ehpc/getClusters.d.ts +11 -2
- package/ehpc/getClusters.js +2 -2
- package/ehpc/getClusters.js.map +1 -1
- package/ehpc/getJobTemplates.d.ts +5 -2
- package/ehpc/getJobTemplates.js +2 -2
- package/ehpc/getJobTemplates.js.map +1 -1
- package/ehpc/jobTemplate.d.ts +1 -1
- package/ehpc/jobTemplate.js +1 -1
- package/fc/function.d.ts +3 -3
- package/fc/function.js +3 -3
- package/fc/functionAsyncInvokeConfig.d.ts +1 -1
- package/fc/functionAsyncInvokeConfig.js +1 -1
- package/fc/trigger.d.ts +1 -1
- package/fc/trigger.js +1 -1
- package/gpdb/account.d.ts +0 -2
- package/gpdb/account.js +0 -2
- package/gpdb/account.js.map +1 -1
- package/gpdb/connection.d.ts +0 -2
- package/gpdb/connection.js +0 -2
- package/gpdb/connection.js.map +1 -1
- package/log/alert.d.ts +15 -14
- package/log/alert.js +15 -14
- package/log/alert.js.map +1 -1
- package/log/audit.d.ts +1 -0
- package/log/audit.js +1 -0
- package/log/audit.js.map +1 -1
- package/log/dashboard.d.ts +4 -4
- package/log/dashboard.js +4 -4
- package/log/etl.d.ts +13 -13
- package/log/etl.js +13 -13
- package/log/ingestion.d.ts +5 -5
- package/log/ingestion.js +5 -5
- package/log/logTailAttachment.d.ts +7 -7
- package/log/logTailAttachment.js +7 -7
- package/log/logTailConfig.d.ts +5 -5
- package/log/logTailConfig.js +5 -5
- package/log/machineGroup.d.ts +2 -2
- package/log/machineGroup.js +2 -2
- package/log/ossExport.d.ts +5 -5
- package/log/ossExport.js +5 -5
- package/log/project.d.ts +2 -2
- package/log/project.js +2 -2
- package/log/storeIndex.d.ts +5 -5
- package/log/storeIndex.js +5 -5
- package/nlb/serverGroup.d.ts +1 -1
- package/nlb/serverGroup.js +1 -1
- package/oos/serviceSetting.d.ts +5 -4
- package/oos/serviceSetting.js +5 -4
- package/oos/serviceSetting.js.map +1 -1
- package/oss/bucket.d.ts +10 -5
- package/oss/bucket.js +10 -5
- package/oss/bucket.js.map +1 -1
- package/oss/bucketObject.d.ts +6 -4
- package/oss/bucketObject.js +6 -4
- package/oss/bucketObject.js.map +1 -1
- package/oss/bucketReplication.d.ts +1 -1
- package/oss/bucketReplication.js +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +24 -9
- package/polardb/cluster.js +2 -0
- package/polardb/cluster.js.map +1 -1
- package/pvtz/zoneRecord.d.ts +1 -1
- package/pvtz/zoneRecord.js +1 -1
- package/ram/accessKey.d.ts +2 -0
- package/ram/accessKey.js +2 -0
- package/ram/accessKey.js.map +1 -1
- package/rds/accountPrivilege.d.ts +1 -1
- package/rds/accountPrivilege.js +1 -1
- package/rds/backupPolicy.d.ts +81 -3
- package/rds/backupPolicy.js +8 -0
- package/rds/backupPolicy.js.map +1 -1
- package/rds/database.d.ts +21 -3
- package/rds/database.js.map +1 -1
- package/rds/instance.js +4 -2
- package/rds/instance.js.map +1 -1
- package/rocketmq/group.d.ts +1 -1
- package/rocketmq/group.js +1 -1
- package/rocketmq/topic.d.ts +1 -1
- package/rocketmq/topic.js +1 -1
- package/sls/alert.d.ts +3 -3
- package/sls/alert.js +3 -3
- package/sls/scheduledSql.d.ts +5 -5
- package/sls/scheduledSql.js +5 -5
- package/types/input.d.ts +56 -10
- package/types/output.d.ts +82 -12
- package/vpc/havipAttachment.d.ts +1 -1
- package/vpc/havipAttachment.js +1 -1
- package/vpc/ipv6InternetBandwidth.d.ts +2 -2
- package/vpc/ipv6InternetBandwidth.js +2 -2
- package/vpc/routeTableAttachment.d.ts +2 -2
- package/vpc/routeTableAttachment.js +2 -2
- package/vpc/trafficMirrorFilterIngressRule.d.ts +1 -1
- package/vpc/trafficMirrorFilterIngressRule.js +1 -1
package/log/etl.js
CHANGED
|
@@ -26,12 +26,12 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* min: 10000,
|
|
27
27
|
* });
|
|
28
28
|
* const example = new alicloud.log.Project("example", {
|
|
29
|
-
*
|
|
29
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
30
30
|
* description: "terraform-example",
|
|
31
31
|
* });
|
|
32
32
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* projectName: example.projectName,
|
|
34
|
+
* logstoreName: "example-store",
|
|
35
35
|
* retentionPeriod: 3650,
|
|
36
36
|
* shardCount: 3,
|
|
37
37
|
* autoSplit: true,
|
|
@@ -39,8 +39,8 @@ const utilities = require("../utilities");
|
|
|
39
39
|
* appendMeta: true,
|
|
40
40
|
* });
|
|
41
41
|
* const example2 = new alicloud.log.Store("example2", {
|
|
42
|
-
*
|
|
43
|
-
*
|
|
42
|
+
* projectName: example.projectName,
|
|
43
|
+
* logstoreName: "example-store2",
|
|
44
44
|
* retentionPeriod: 3650,
|
|
45
45
|
* shardCount: 3,
|
|
46
46
|
* autoSplit: true,
|
|
@@ -48,8 +48,8 @@ const utilities = require("../utilities");
|
|
|
48
48
|
* appendMeta: true,
|
|
49
49
|
* });
|
|
50
50
|
* const example3 = new alicloud.log.Store("example3", {
|
|
51
|
-
*
|
|
52
|
-
*
|
|
51
|
+
* projectName: example.projectName,
|
|
52
|
+
* logstoreName: "example-store3",
|
|
53
53
|
* retentionPeriod: 3650,
|
|
54
54
|
* shardCount: 3,
|
|
55
55
|
* autoSplit: true,
|
|
@@ -58,29 +58,29 @@ const utilities = require("../utilities");
|
|
|
58
58
|
* });
|
|
59
59
|
* const exampleEtl = new alicloud.log.Etl("example", {
|
|
60
60
|
* etlName: "terraform-example",
|
|
61
|
-
* project: example.
|
|
61
|
+
* project: example.projectName,
|
|
62
62
|
* displayName: "terraform-example",
|
|
63
63
|
* description: "terraform-example",
|
|
64
64
|
* accessKeyId: "access_key_id",
|
|
65
65
|
* accessKeySecret: "access_key_secret",
|
|
66
66
|
* script: "e_set('new','key')",
|
|
67
|
-
* logstore: exampleStore.
|
|
67
|
+
* logstore: exampleStore.logstoreName,
|
|
68
68
|
* etlSinks: [
|
|
69
69
|
* {
|
|
70
70
|
* name: "target_name",
|
|
71
71
|
* accessKeyId: "example2_access_key_id",
|
|
72
72
|
* accessKeySecret: "example2_access_key_secret",
|
|
73
73
|
* endpoint: "cn-hangzhou.log.aliyuncs.com",
|
|
74
|
-
* project: example.
|
|
75
|
-
* logstore: example2.
|
|
74
|
+
* project: example.projectName,
|
|
75
|
+
* logstore: example2.logstoreName,
|
|
76
76
|
* },
|
|
77
77
|
* {
|
|
78
78
|
* name: "target_name2",
|
|
79
79
|
* accessKeyId: "example3_access_key_id",
|
|
80
80
|
* accessKeySecret: "example3_access_key_secret",
|
|
81
81
|
* endpoint: "cn-hangzhou.log.aliyuncs.com",
|
|
82
|
-
* project: example.
|
|
83
|
-
* logstore: example3.
|
|
82
|
+
* project: example.projectName,
|
|
83
|
+
* logstore: example3.logstoreName,
|
|
84
84
|
* },
|
|
85
85
|
* ],
|
|
86
86
|
* });
|
package/log/ingestion.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* min: 10000,
|
|
20
20
|
* });
|
|
21
21
|
* const example = new alicloud.log.Project("example", {
|
|
22
|
-
*
|
|
22
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
23
23
|
* description: "terraform-example",
|
|
24
24
|
* tags: {
|
|
25
25
|
* Created: "TF",
|
|
@@ -27,8 +27,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* },
|
|
28
28
|
* });
|
|
29
29
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* projectName: example.projectName,
|
|
31
|
+
* logstoreName: "example-store",
|
|
32
32
|
* retentionPeriod: 3650,
|
|
33
33
|
* shardCount: 3,
|
|
34
34
|
* autoSplit: true,
|
|
@@ -36,8 +36,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
36
36
|
* appendMeta: true,
|
|
37
37
|
* });
|
|
38
38
|
* const exampleIngestion = new alicloud.log.Ingestion("example", {
|
|
39
|
-
* project: example.
|
|
40
|
-
* logstore: exampleStore.
|
|
39
|
+
* project: example.projectName,
|
|
40
|
+
* logstore: exampleStore.logstoreName,
|
|
41
41
|
* ingestionName: "terraform-example",
|
|
42
42
|
* displayName: "terraform-example",
|
|
43
43
|
* description: "terraform-example",
|
package/log/ingestion.js
CHANGED
|
@@ -25,7 +25,7 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* min: 10000,
|
|
26
26
|
* });
|
|
27
27
|
* const example = new alicloud.log.Project("example", {
|
|
28
|
-
*
|
|
28
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
29
29
|
* description: "terraform-example",
|
|
30
30
|
* tags: {
|
|
31
31
|
* Created: "TF",
|
|
@@ -33,8 +33,8 @@ const utilities = require("../utilities");
|
|
|
33
33
|
* },
|
|
34
34
|
* });
|
|
35
35
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
36
|
-
*
|
|
37
|
-
*
|
|
36
|
+
* projectName: example.projectName,
|
|
37
|
+
* logstoreName: "example-store",
|
|
38
38
|
* retentionPeriod: 3650,
|
|
39
39
|
* shardCount: 3,
|
|
40
40
|
* autoSplit: true,
|
|
@@ -42,8 +42,8 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* appendMeta: true,
|
|
43
43
|
* });
|
|
44
44
|
* const exampleIngestion = new alicloud.log.Ingestion("example", {
|
|
45
|
-
* project: example.
|
|
46
|
-
* logstore: exampleStore.
|
|
45
|
+
* project: example.projectName,
|
|
46
|
+
* logstore: exampleStore.logstoreName,
|
|
47
47
|
* ingestionName: "terraform-example",
|
|
48
48
|
* displayName: "terraform-example",
|
|
49
49
|
* description: "terraform-example",
|
|
@@ -22,12 +22,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
* min: 10000,
|
|
23
23
|
* });
|
|
24
24
|
* const example = new alicloud.log.Project("example", {
|
|
25
|
-
*
|
|
25
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
26
26
|
* description: "terraform-example",
|
|
27
27
|
* });
|
|
28
28
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* projectName: example.projectName,
|
|
30
|
+
* logstoreName: "example-store",
|
|
31
31
|
* retentionPeriod: 3650,
|
|
32
32
|
* shardCount: 3,
|
|
33
33
|
* autoSplit: true,
|
|
@@ -35,8 +35,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
35
|
* appendMeta: true,
|
|
36
36
|
* });
|
|
37
37
|
* const exampleLogTailConfig = new alicloud.log.LogTailConfig("example", {
|
|
38
|
-
* project: example.
|
|
39
|
-
* logstore: exampleStore.
|
|
38
|
+
* project: example.projectName,
|
|
39
|
+
* logstore: exampleStore.logstoreName,
|
|
40
40
|
* inputType: "file",
|
|
41
41
|
* name: "terraform-example",
|
|
42
42
|
* outputType: "LogService",
|
|
@@ -53,7 +53,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
53
53
|
* `,
|
|
54
54
|
* });
|
|
55
55
|
* const exampleMachineGroup = new alicloud.log.MachineGroup("example", {
|
|
56
|
-
* project: example.
|
|
56
|
+
* project: example.projectName,
|
|
57
57
|
* name: "terraform-example",
|
|
58
58
|
* identifyType: "ip",
|
|
59
59
|
* topic: "terraform",
|
|
@@ -63,7 +63,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
63
63
|
* ],
|
|
64
64
|
* });
|
|
65
65
|
* const exampleLogTailAttachment = new alicloud.log.LogTailAttachment("example", {
|
|
66
|
-
* project: example.
|
|
66
|
+
* project: example.projectName,
|
|
67
67
|
* logtailConfigName: exampleLogTailConfig.name,
|
|
68
68
|
* machineGroupName: exampleMachineGroup.name,
|
|
69
69
|
* });
|
package/log/logTailAttachment.js
CHANGED
|
@@ -28,12 +28,12 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* min: 10000,
|
|
29
29
|
* });
|
|
30
30
|
* const example = new alicloud.log.Project("example", {
|
|
31
|
-
*
|
|
31
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
32
32
|
* description: "terraform-example",
|
|
33
33
|
* });
|
|
34
34
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
35
|
-
*
|
|
36
|
-
*
|
|
35
|
+
* projectName: example.projectName,
|
|
36
|
+
* logstoreName: "example-store",
|
|
37
37
|
* retentionPeriod: 3650,
|
|
38
38
|
* shardCount: 3,
|
|
39
39
|
* autoSplit: true,
|
|
@@ -41,8 +41,8 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* appendMeta: true,
|
|
42
42
|
* });
|
|
43
43
|
* const exampleLogTailConfig = new alicloud.log.LogTailConfig("example", {
|
|
44
|
-
* project: example.
|
|
45
|
-
* logstore: exampleStore.
|
|
44
|
+
* project: example.projectName,
|
|
45
|
+
* logstore: exampleStore.logstoreName,
|
|
46
46
|
* inputType: "file",
|
|
47
47
|
* name: "terraform-example",
|
|
48
48
|
* outputType: "LogService",
|
|
@@ -59,7 +59,7 @@ const utilities = require("../utilities");
|
|
|
59
59
|
* `,
|
|
60
60
|
* });
|
|
61
61
|
* const exampleMachineGroup = new alicloud.log.MachineGroup("example", {
|
|
62
|
-
* project: example.
|
|
62
|
+
* project: example.projectName,
|
|
63
63
|
* name: "terraform-example",
|
|
64
64
|
* identifyType: "ip",
|
|
65
65
|
* topic: "terraform",
|
|
@@ -69,7 +69,7 @@ const utilities = require("../utilities");
|
|
|
69
69
|
* ],
|
|
70
70
|
* });
|
|
71
71
|
* const exampleLogTailAttachment = new alicloud.log.LogTailAttachment("example", {
|
|
72
|
-
* project: example.
|
|
72
|
+
* project: example.projectName,
|
|
73
73
|
* logtailConfigName: exampleLogTailConfig.name,
|
|
74
74
|
* machineGroupName: exampleMachineGroup.name,
|
|
75
75
|
* });
|
package/log/logTailConfig.d.ts
CHANGED
|
@@ -20,12 +20,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* min: 10000,
|
|
21
21
|
* });
|
|
22
22
|
* const example = new alicloud.log.Project("example", {
|
|
23
|
-
*
|
|
23
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
24
24
|
* description: "terraform-example",
|
|
25
25
|
* });
|
|
26
26
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* projectName: example.projectName,
|
|
28
|
+
* logstoreName: "example-store",
|
|
29
29
|
* retentionPeriod: 3650,
|
|
30
30
|
* shardCount: 3,
|
|
31
31
|
* autoSplit: true,
|
|
@@ -33,8 +33,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
33
|
* appendMeta: true,
|
|
34
34
|
* });
|
|
35
35
|
* const exampleLogTailConfig = new alicloud.log.LogTailConfig("example", {
|
|
36
|
-
* project: example.
|
|
37
|
-
* logstore: exampleStore.
|
|
36
|
+
* project: example.projectName,
|
|
37
|
+
* logstore: exampleStore.logstoreName,
|
|
38
38
|
* inputType: "file",
|
|
39
39
|
* name: "terraform-example",
|
|
40
40
|
* outputType: "LogService",
|
package/log/logTailConfig.js
CHANGED
|
@@ -26,12 +26,12 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* min: 10000,
|
|
27
27
|
* });
|
|
28
28
|
* const example = new alicloud.log.Project("example", {
|
|
29
|
-
*
|
|
29
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
30
30
|
* description: "terraform-example",
|
|
31
31
|
* });
|
|
32
32
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* projectName: example.projectName,
|
|
34
|
+
* logstoreName: "example-store",
|
|
35
35
|
* retentionPeriod: 3650,
|
|
36
36
|
* shardCount: 3,
|
|
37
37
|
* autoSplit: true,
|
|
@@ -39,8 +39,8 @@ const utilities = require("../utilities");
|
|
|
39
39
|
* appendMeta: true,
|
|
40
40
|
* });
|
|
41
41
|
* const exampleLogTailConfig = new alicloud.log.LogTailConfig("example", {
|
|
42
|
-
* project: example.
|
|
43
|
-
* logstore: exampleStore.
|
|
42
|
+
* project: example.projectName,
|
|
43
|
+
* logstore: exampleStore.logstoreName,
|
|
44
44
|
* inputType: "file",
|
|
45
45
|
* name: "terraform-example",
|
|
46
46
|
* outputType: "LogService",
|
package/log/machineGroup.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* min: 10000,
|
|
18
18
|
* });
|
|
19
19
|
* const example = new alicloud.log.Project("example", {
|
|
20
|
-
*
|
|
20
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
21
21
|
* description: "terraform-example",
|
|
22
22
|
* });
|
|
23
23
|
* const exampleMachineGroup = new alicloud.log.MachineGroup("example", {
|
|
24
|
-
* project: example.
|
|
24
|
+
* project: example.projectName,
|
|
25
25
|
* name: "terraform-example",
|
|
26
26
|
* identifyType: "ip",
|
|
27
27
|
* topic: "terraform",
|
package/log/machineGroup.js
CHANGED
|
@@ -23,11 +23,11 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* min: 10000,
|
|
24
24
|
* });
|
|
25
25
|
* const example = new alicloud.log.Project("example", {
|
|
26
|
-
*
|
|
26
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
27
27
|
* description: "terraform-example",
|
|
28
28
|
* });
|
|
29
29
|
* const exampleMachineGroup = new alicloud.log.MachineGroup("example", {
|
|
30
|
-
* project: example.
|
|
30
|
+
* project: example.projectName,
|
|
31
31
|
* name: "terraform-example",
|
|
32
32
|
* identifyType: "ip",
|
|
33
33
|
* topic: "terraform",
|
package/log/ossExport.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as outputs from "../types/output";
|
|
|
21
21
|
* min: 10000,
|
|
22
22
|
* });
|
|
23
23
|
* const example = new alicloud.log.Project("example", {
|
|
24
|
-
*
|
|
24
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
25
25
|
* description: "terraform-example",
|
|
26
26
|
* tags: {
|
|
27
27
|
* Created: "TF",
|
|
@@ -29,8 +29,8 @@ import * as outputs from "../types/output";
|
|
|
29
29
|
* },
|
|
30
30
|
* });
|
|
31
31
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* projectName: example.projectName,
|
|
33
|
+
* logstoreName: "example-store",
|
|
34
34
|
* retentionPeriod: 3650,
|
|
35
35
|
* shardCount: 3,
|
|
36
36
|
* autoSplit: true,
|
|
@@ -38,8 +38,8 @@ import * as outputs from "../types/output";
|
|
|
38
38
|
* appendMeta: true,
|
|
39
39
|
* });
|
|
40
40
|
* const exampleOssExport = new alicloud.log.OssExport("example", {
|
|
41
|
-
* projectName: example.
|
|
42
|
-
* logstoreName: exampleStore.
|
|
41
|
+
* projectName: example.projectName,
|
|
42
|
+
* logstoreName: exampleStore.logstoreName,
|
|
43
43
|
* exportName: "terraform-example",
|
|
44
44
|
* displayName: "terraform-example",
|
|
45
45
|
* bucket: "example-bucket",
|
package/log/ossExport.js
CHANGED
|
@@ -25,7 +25,7 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* min: 10000,
|
|
26
26
|
* });
|
|
27
27
|
* const example = new alicloud.log.Project("example", {
|
|
28
|
-
*
|
|
28
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
29
29
|
* description: "terraform-example",
|
|
30
30
|
* tags: {
|
|
31
31
|
* Created: "TF",
|
|
@@ -33,8 +33,8 @@ const utilities = require("../utilities");
|
|
|
33
33
|
* },
|
|
34
34
|
* });
|
|
35
35
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
36
|
-
*
|
|
37
|
-
*
|
|
36
|
+
* projectName: example.projectName,
|
|
37
|
+
* logstoreName: "example-store",
|
|
38
38
|
* retentionPeriod: 3650,
|
|
39
39
|
* shardCount: 3,
|
|
40
40
|
* autoSplit: true,
|
|
@@ -42,8 +42,8 @@ const utilities = require("../utilities");
|
|
|
42
42
|
* appendMeta: true,
|
|
43
43
|
* });
|
|
44
44
|
* const exampleOssExport = new alicloud.log.OssExport("example", {
|
|
45
|
-
* projectName: example.
|
|
46
|
-
* logstoreName: exampleStore.
|
|
45
|
+
* projectName: example.projectName,
|
|
46
|
+
* logstoreName: exampleStore.logstoreName,
|
|
47
47
|
* exportName: "terraform-example",
|
|
48
48
|
* displayName: "terraform-example",
|
|
49
49
|
* bucket: "example-bucket",
|
package/log/project.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
20
|
* min: 10000,
|
|
21
21
|
* });
|
|
22
22
|
* const example = new alicloud.log.Project("example", {
|
|
23
|
-
*
|
|
23
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
24
24
|
* description: "terraform-example",
|
|
25
25
|
* tags: {
|
|
26
26
|
* Created: "TF",
|
|
@@ -41,7 +41,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
41
41
|
* min: 10000,
|
|
42
42
|
* });
|
|
43
43
|
* const examplePolicy = new alicloud.log.Project("example_policy", {
|
|
44
|
-
*
|
|
44
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
45
45
|
* description: "terraform-example",
|
|
46
46
|
* policy: `{
|
|
47
47
|
* "Statement": [
|
package/log/project.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* min: 10000,
|
|
27
27
|
* });
|
|
28
28
|
* const example = new alicloud.log.Project("example", {
|
|
29
|
-
*
|
|
29
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
30
30
|
* description: "terraform-example",
|
|
31
31
|
* tags: {
|
|
32
32
|
* Created: "TF",
|
|
@@ -47,7 +47,7 @@ const utilities = require("../utilities");
|
|
|
47
47
|
* min: 10000,
|
|
48
48
|
* });
|
|
49
49
|
* const examplePolicy = new alicloud.log.Project("example_policy", {
|
|
50
|
-
*
|
|
50
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
51
51
|
* description: "terraform-example",
|
|
52
52
|
* policy: `{
|
|
53
53
|
* "Statement": [
|
package/log/storeIndex.d.ts
CHANGED
|
@@ -19,20 +19,20 @@ import * as outputs from "../types/output";
|
|
|
19
19
|
* min: 10000,
|
|
20
20
|
* });
|
|
21
21
|
* const example = new alicloud.log.Project("example", {
|
|
22
|
-
*
|
|
22
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
23
23
|
* description: "terraform-example",
|
|
24
24
|
* });
|
|
25
25
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
26
|
-
*
|
|
27
|
-
*
|
|
26
|
+
* projectName: example.projectName,
|
|
27
|
+
* logstoreName: "example-store",
|
|
28
28
|
* shardCount: 3,
|
|
29
29
|
* autoSplit: true,
|
|
30
30
|
* maxSplitShardCount: 60,
|
|
31
31
|
* appendMeta: true,
|
|
32
32
|
* });
|
|
33
33
|
* const exampleStoreIndex = new alicloud.log.StoreIndex("example", {
|
|
34
|
-
* project: example.
|
|
35
|
-
* logstore: exampleStore.
|
|
34
|
+
* project: example.projectName,
|
|
35
|
+
* logstore: exampleStore.logstoreName,
|
|
36
36
|
* fullText: {
|
|
37
37
|
* caseSensitive: true,
|
|
38
38
|
* token: ` #^*\x0d
|
package/log/storeIndex.js
CHANGED
|
@@ -23,20 +23,20 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* min: 10000,
|
|
24
24
|
* });
|
|
25
25
|
* const example = new alicloud.log.Project("example", {
|
|
26
|
-
*
|
|
26
|
+
* projectName: `terraform-example-${_default.result}`,
|
|
27
27
|
* description: "terraform-example",
|
|
28
28
|
* });
|
|
29
29
|
* const exampleStore = new alicloud.log.Store("example", {
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* projectName: example.projectName,
|
|
31
|
+
* logstoreName: "example-store",
|
|
32
32
|
* shardCount: 3,
|
|
33
33
|
* autoSplit: true,
|
|
34
34
|
* maxSplitShardCount: 60,
|
|
35
35
|
* appendMeta: true,
|
|
36
36
|
* });
|
|
37
37
|
* const exampleStoreIndex = new alicloud.log.StoreIndex("example", {
|
|
38
|
-
* project: example.
|
|
39
|
-
* logstore: exampleStore.
|
|
38
|
+
* project: example.projectName,
|
|
39
|
+
* logstore: exampleStore.logstoreName,
|
|
40
40
|
* fullText: {
|
|
41
41
|
* caseSensitive: true,
|
|
42
42
|
* token: ` #^*\x0d
|
package/nlb/serverGroup.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ import * as outputs from "../types/output";
|
|
|
30
30
|
* vpcId: defaultNetwork.id,
|
|
31
31
|
* scheduler: "Wrr",
|
|
32
32
|
* protocol: "TCP",
|
|
33
|
-
*
|
|
33
|
+
* connectionDrainEnabled: true,
|
|
34
34
|
* connectionDrainTimeout: 60,
|
|
35
35
|
* addressIpVersion: "Ipv4",
|
|
36
36
|
* healthCheck: {
|
package/nlb/serverGroup.js
CHANGED
|
@@ -34,7 +34,7 @@ const utilities = require("../utilities");
|
|
|
34
34
|
* vpcId: defaultNetwork.id,
|
|
35
35
|
* scheduler: "Wrr",
|
|
36
36
|
* protocol: "TCP",
|
|
37
|
-
*
|
|
37
|
+
* connectionDrainEnabled: true,
|
|
38
38
|
* connectionDrainTimeout: 60,
|
|
39
39
|
* addressIpVersion: "Ipv4",
|
|
40
40
|
* healthCheck: {
|
package/oos/serviceSetting.d.ts
CHANGED
|
@@ -16,17 +16,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* const config = new pulumi.Config();
|
|
18
18
|
* const name = config.get("name") || "tf-testaccoossetting";
|
|
19
|
-
* const _default = new alicloud.oss.Bucket("default", {
|
|
20
|
-
*
|
|
19
|
+
* const _default = new alicloud.oss.Bucket("default", {bucket: name});
|
|
20
|
+
* const defaultBucketAcl = new alicloud.oss.BucketAcl("default", {
|
|
21
|
+
* bucket: _default.bucket,
|
|
21
22
|
* acl: "public-read-write",
|
|
22
23
|
* });
|
|
23
|
-
* const defaultProject = new alicloud.log.Project("default", {
|
|
24
|
+
* const defaultProject = new alicloud.log.Project("default", {projectName: name});
|
|
24
25
|
* const defaultServiceSetting = new alicloud.oos.ServiceSetting("default", {
|
|
25
26
|
* deliveryOssEnabled: true,
|
|
26
27
|
* deliveryOssKeyPrefix: "path1/",
|
|
27
28
|
* deliveryOssBucketName: _default.bucket,
|
|
28
29
|
* deliverySlsEnabled: true,
|
|
29
|
-
* deliverySlsProjectName: defaultProject.
|
|
30
|
+
* deliverySlsProjectName: defaultProject.projectName,
|
|
30
31
|
* });
|
|
31
32
|
* ```
|
|
32
33
|
*
|
package/oos/serviceSetting.js
CHANGED
|
@@ -22,17 +22,18 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* const config = new pulumi.Config();
|
|
24
24
|
* const name = config.get("name") || "tf-testaccoossetting";
|
|
25
|
-
* const _default = new alicloud.oss.Bucket("default", {
|
|
26
|
-
*
|
|
25
|
+
* const _default = new alicloud.oss.Bucket("default", {bucket: name});
|
|
26
|
+
* const defaultBucketAcl = new alicloud.oss.BucketAcl("default", {
|
|
27
|
+
* bucket: _default.bucket,
|
|
27
28
|
* acl: "public-read-write",
|
|
28
29
|
* });
|
|
29
|
-
* const defaultProject = new alicloud.log.Project("default", {
|
|
30
|
+
* const defaultProject = new alicloud.log.Project("default", {projectName: name});
|
|
30
31
|
* const defaultServiceSetting = new alicloud.oos.ServiceSetting("default", {
|
|
31
32
|
* deliveryOssEnabled: true,
|
|
32
33
|
* deliveryOssKeyPrefix: "path1/",
|
|
33
34
|
* deliveryOssBucketName: _default.bucket,
|
|
34
35
|
* deliverySlsEnabled: true,
|
|
35
|
-
* deliverySlsProjectName: defaultProject.
|
|
36
|
+
* deliverySlsProjectName: defaultProject.projectName,
|
|
36
37
|
* });
|
|
37
38
|
* ```
|
|
38
39
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceSetting.js","sourceRoot":"","sources":["../../oos/serviceSetting.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serviceSetting.js","sourceRoot":"","sources":["../../oos/serviceSetting.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/F;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA7EL,wCA8EC;AAhEG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/oss/bucket.d.ts
CHANGED
|
@@ -21,8 +21,9 @@ import * as outputs from "../types/output";
|
|
|
21
21
|
* max: 99999,
|
|
22
22
|
* min: 10000,
|
|
23
23
|
* });
|
|
24
|
-
* const bucket_acl = new alicloud.oss.Bucket("bucket-acl", {
|
|
25
|
-
*
|
|
24
|
+
* const bucket_acl = new alicloud.oss.Bucket("bucket-acl", {bucket: `example-value-${_default.result}`});
|
|
25
|
+
* const bucket_aclBucketAcl = new alicloud.oss.BucketAcl("bucket-acl", {
|
|
26
|
+
* bucket: bucket_acl.bucket,
|
|
26
27
|
* acl: "private",
|
|
27
28
|
* });
|
|
28
29
|
* ```
|
|
@@ -58,8 +59,9 @@ import * as outputs from "../types/output";
|
|
|
58
59
|
* max: 99999,
|
|
59
60
|
* min: 10000,
|
|
60
61
|
* });
|
|
61
|
-
* const bucket_target = new alicloud.oss.Bucket("bucket-target", {
|
|
62
|
-
*
|
|
62
|
+
* const bucket_target = new alicloud.oss.Bucket("bucket-target", {bucket: `example-value-${_default.result}`});
|
|
63
|
+
* const bucket_targetBucketAcl = new alicloud.oss.BucketAcl("bucket-target", {
|
|
64
|
+
* bucket: bucket_target.bucket,
|
|
63
65
|
* acl: "public-read",
|
|
64
66
|
* });
|
|
65
67
|
* const bucket_logging = new alicloud.oss.Bucket("bucket-logging", {
|
|
@@ -84,7 +86,6 @@ import * as outputs from "../types/output";
|
|
|
84
86
|
* });
|
|
85
87
|
* const bucket_referer = new alicloud.oss.Bucket("bucket-referer", {
|
|
86
88
|
* bucket: `example-value-${_default.result}`,
|
|
87
|
-
* acl: "private",
|
|
88
89
|
* refererConfig: {
|
|
89
90
|
* allowEmpty: false,
|
|
90
91
|
* referers: [
|
|
@@ -93,6 +94,10 @@ import * as outputs from "../types/output";
|
|
|
93
94
|
* ],
|
|
94
95
|
* },
|
|
95
96
|
* });
|
|
97
|
+
* const defaultBucketAcl = new alicloud.oss.BucketAcl("default", {
|
|
98
|
+
* bucket: bucket_referer.bucket,
|
|
99
|
+
* acl: "private",
|
|
100
|
+
* });
|
|
96
101
|
* ```
|
|
97
102
|
*
|
|
98
103
|
* Set lifecycle rule
|
package/oss/bucket.js
CHANGED
|
@@ -25,8 +25,9 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* max: 99999,
|
|
26
26
|
* min: 10000,
|
|
27
27
|
* });
|
|
28
|
-
* const bucket_acl = new alicloud.oss.Bucket("bucket-acl", {
|
|
29
|
-
*
|
|
28
|
+
* const bucket_acl = new alicloud.oss.Bucket("bucket-acl", {bucket: `example-value-${_default.result}`});
|
|
29
|
+
* const bucket_aclBucketAcl = new alicloud.oss.BucketAcl("bucket-acl", {
|
|
30
|
+
* bucket: bucket_acl.bucket,
|
|
30
31
|
* acl: "private",
|
|
31
32
|
* });
|
|
32
33
|
* ```
|
|
@@ -62,8 +63,9 @@ const utilities = require("../utilities");
|
|
|
62
63
|
* max: 99999,
|
|
63
64
|
* min: 10000,
|
|
64
65
|
* });
|
|
65
|
-
* const bucket_target = new alicloud.oss.Bucket("bucket-target", {
|
|
66
|
-
*
|
|
66
|
+
* const bucket_target = new alicloud.oss.Bucket("bucket-target", {bucket: `example-value-${_default.result}`});
|
|
67
|
+
* const bucket_targetBucketAcl = new alicloud.oss.BucketAcl("bucket-target", {
|
|
68
|
+
* bucket: bucket_target.bucket,
|
|
67
69
|
* acl: "public-read",
|
|
68
70
|
* });
|
|
69
71
|
* const bucket_logging = new alicloud.oss.Bucket("bucket-logging", {
|
|
@@ -88,7 +90,6 @@ const utilities = require("../utilities");
|
|
|
88
90
|
* });
|
|
89
91
|
* const bucket_referer = new alicloud.oss.Bucket("bucket-referer", {
|
|
90
92
|
* bucket: `example-value-${_default.result}`,
|
|
91
|
-
* acl: "private",
|
|
92
93
|
* refererConfig: {
|
|
93
94
|
* allowEmpty: false,
|
|
94
95
|
* referers: [
|
|
@@ -97,6 +98,10 @@ const utilities = require("../utilities");
|
|
|
97
98
|
* ],
|
|
98
99
|
* },
|
|
99
100
|
* });
|
|
101
|
+
* const defaultBucketAcl = new alicloud.oss.BucketAcl("default", {
|
|
102
|
+
* bucket: bucket_referer.bucket,
|
|
103
|
+
* acl: "private",
|
|
104
|
+
* });
|
|
100
105
|
* ```
|
|
101
106
|
*
|
|
102
107
|
* Set lifecycle rule
|