pulumi-alicloud 3.61.2a1725006221__py3-none-any.whl → 3.62.0a1724476801__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/brain/get_industrial_pid_loops.py +2 -18
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +2 -12
- pulumi_alicloud/brain/get_industrial_pid_projects.py +2 -18
- pulumi_alicloud/brain/get_industrial_serice.py +2 -6
- pulumi_alicloud/brain/industrial_pid_loop.py +2 -6
- pulumi_alicloud/brain/industrial_pid_organization.py +4 -4
- pulumi_alicloud/brain/industrial_pid_project.py +4 -4
- pulumi_alicloud/cas/certificate.py +13 -155
- pulumi_alicloud/cas/service_certificate.py +30 -9
- pulumi_alicloud/cdn/real_time_log_delivery.py +2 -2
- pulumi_alicloud/cen/get_transit_router_route_tables.py +14 -81
- pulumi_alicloud/cen/outputs.py +2 -6
- pulumi_alicloud/cfg/remediation.py +2 -6
- pulumi_alicloud/clickhouse/account.py +2 -2
- pulumi_alicloud/clickhouse/backup_policy.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +0 -2
- pulumi_alicloud/cs/_inputs.py +21 -141
- pulumi_alicloud/cs/kubernetes.py +7 -7
- pulumi_alicloud/cs/managed_kubernetes.py +45 -506
- pulumi_alicloud/cs/outputs.py +21 -148
- pulumi_alicloud/cs/registry_enterprise_namespace.py +72 -92
- pulumi_alicloud/cs/registry_enterprise_repo.py +74 -96
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +101 -105
- pulumi_alicloud/cs/serverless_kubernetes.py +206 -174
- pulumi_alicloud/databasefilesystem/instance.py +2 -2
- pulumi_alicloud/dts/consumer_channel.py +2 -2
- pulumi_alicloud/dts/subscription_job.py +2 -2
- pulumi_alicloud/ecs/auto_provisioning_group.py +2 -2
- pulumi_alicloud/ehpc/get_clusters.py +2 -11
- pulumi_alicloud/ehpc/get_job_templates.py +2 -5
- pulumi_alicloud/ehpc/job_template.py +2 -2
- pulumi_alicloud/ehpc/outputs.py +2 -34
- pulumi_alicloud/fc/function.py +6 -6
- pulumi_alicloud/fc/function_async_invoke_config.py +2 -2
- pulumi_alicloud/fc/trigger.py +2 -2
- pulumi_alicloud/gpdb/account.py +4 -0
- pulumi_alicloud/gpdb/connection.py +4 -0
- pulumi_alicloud/log/alert.py +28 -30
- pulumi_alicloud/log/audit.py +0 -2
- pulumi_alicloud/log/dashboard.py +8 -8
- pulumi_alicloud/log/etl.py +26 -26
- pulumi_alicloud/log/ingestion.py +10 -10
- pulumi_alicloud/log/log_tail_attachment.py +14 -14
- pulumi_alicloud/log/log_tail_config.py +10 -10
- pulumi_alicloud/log/machine_group.py +4 -4
- pulumi_alicloud/log/oss_export.py +10 -10
- pulumi_alicloud/log/project.py +4 -4
- pulumi_alicloud/log/store_index.py +10 -10
- pulumi_alicloud/nlb/server_group.py +2 -2
- pulumi_alicloud/oos/service_setting.py +8 -10
- pulumi_alicloud/oss/bucket.py +10 -18
- pulumi_alicloud/oss/bucket_object.py +8 -12
- pulumi_alicloud/oss/bucket_replication.py +2 -2
- pulumi_alicloud/polardb/cluster.py +21 -75
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone_record.py +2 -2
- pulumi_alicloud/ram/access_key.py +0 -4
- pulumi_alicloud/rds/account_privilege.py +2 -2
- pulumi_alicloud/rds/backup_policy.py +12 -270
- pulumi_alicloud/rds/database.py +7 -49
- pulumi_alicloud/rds/instance.py +2 -4
- pulumi_alicloud/rocketmq/group.py +2 -2
- pulumi_alicloud/rocketmq/topic.py +2 -2
- pulumi_alicloud/sls/alert.py +6 -6
- pulumi_alicloud/sls/scheduled_sql.py +10 -10
- pulumi_alicloud/vpc/ha_vip_attachment.py +2 -2
- pulumi_alicloud/vpc/ipv6_internet_bandwidth.py +4 -4
- pulumi_alicloud/vpc/route_table_attachment.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter_ingress_rule.py +2 -2
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/RECORD +73 -73
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.61.2a1725006221.dist-info → pulumi_alicloud-3.62.0a1724476801.dist-info}/top_level.txt +0 -0
pulumi_alicloud/log/dashboard.py
CHANGED
|
@@ -218,17 +218,17 @@ class Dashboard(pulumi.CustomResource):
|
|
|
218
218
|
max=99999,
|
|
219
219
|
min=10000)
|
|
220
220
|
example = alicloud.log.Project("example",
|
|
221
|
-
|
|
221
|
+
name=f"terraform-example-{default['result']}",
|
|
222
222
|
description="terraform-example")
|
|
223
223
|
example_store = alicloud.log.Store("example",
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
project=example.name,
|
|
225
|
+
name="example-store",
|
|
226
226
|
shard_count=3,
|
|
227
227
|
auto_split=True,
|
|
228
228
|
max_split_shard_count=60,
|
|
229
229
|
append_meta=True)
|
|
230
230
|
example_dashboard = alicloud.log.Dashboard("example",
|
|
231
|
-
project_name=example.
|
|
231
|
+
project_name=example.name,
|
|
232
232
|
dashboard_name="terraform-example",
|
|
233
233
|
display_name="terraform-example",
|
|
234
234
|
attribute=\"\"\" {
|
|
@@ -307,17 +307,17 @@ class Dashboard(pulumi.CustomResource):
|
|
|
307
307
|
max=99999,
|
|
308
308
|
min=10000)
|
|
309
309
|
example = alicloud.log.Project("example",
|
|
310
|
-
|
|
310
|
+
name=f"terraform-example-{default['result']}",
|
|
311
311
|
description="terraform-example")
|
|
312
312
|
example_store = alicloud.log.Store("example",
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
project=example.name,
|
|
314
|
+
name="example-store",
|
|
315
315
|
shard_count=3,
|
|
316
316
|
auto_split=True,
|
|
317
317
|
max_split_shard_count=60,
|
|
318
318
|
append_meta=True)
|
|
319
319
|
example_dashboard = alicloud.log.Dashboard("example",
|
|
320
|
-
project_name=example.
|
|
320
|
+
project_name=example.name,
|
|
321
321
|
dashboard_name="terraform-example",
|
|
322
322
|
display_name="terraform-example",
|
|
323
323
|
attribute=\"\"\" {
|
pulumi_alicloud/log/etl.py
CHANGED
|
@@ -808,27 +808,27 @@ class Etl(pulumi.CustomResource):
|
|
|
808
808
|
max=99999,
|
|
809
809
|
min=10000)
|
|
810
810
|
example = alicloud.log.Project("example",
|
|
811
|
-
|
|
811
|
+
name=f"terraform-example-{default['result']}",
|
|
812
812
|
description="terraform-example")
|
|
813
813
|
example_store = alicloud.log.Store("example",
|
|
814
|
-
|
|
815
|
-
|
|
814
|
+
project=example.name,
|
|
815
|
+
name="example-store",
|
|
816
816
|
retention_period=3650,
|
|
817
817
|
shard_count=3,
|
|
818
818
|
auto_split=True,
|
|
819
819
|
max_split_shard_count=60,
|
|
820
820
|
append_meta=True)
|
|
821
821
|
example2 = alicloud.log.Store("example2",
|
|
822
|
-
|
|
823
|
-
|
|
822
|
+
project=example.name,
|
|
823
|
+
name="example-store2",
|
|
824
824
|
retention_period=3650,
|
|
825
825
|
shard_count=3,
|
|
826
826
|
auto_split=True,
|
|
827
827
|
max_split_shard_count=60,
|
|
828
828
|
append_meta=True)
|
|
829
829
|
example3 = alicloud.log.Store("example3",
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
project=example.name,
|
|
831
|
+
name="example-store3",
|
|
832
832
|
retention_period=3650,
|
|
833
833
|
shard_count=3,
|
|
834
834
|
auto_split=True,
|
|
@@ -836,29 +836,29 @@ class Etl(pulumi.CustomResource):
|
|
|
836
836
|
append_meta=True)
|
|
837
837
|
example_etl = alicloud.log.Etl("example",
|
|
838
838
|
etl_name="terraform-example",
|
|
839
|
-
project=example.
|
|
839
|
+
project=example.name,
|
|
840
840
|
display_name="terraform-example",
|
|
841
841
|
description="terraform-example",
|
|
842
842
|
access_key_id="access_key_id",
|
|
843
843
|
access_key_secret="access_key_secret",
|
|
844
844
|
script="e_set('new','key')",
|
|
845
|
-
logstore=example_store.
|
|
845
|
+
logstore=example_store.name,
|
|
846
846
|
etl_sinks=[
|
|
847
847
|
{
|
|
848
848
|
"name": "target_name",
|
|
849
849
|
"access_key_id": "example2_access_key_id",
|
|
850
850
|
"access_key_secret": "example2_access_key_secret",
|
|
851
851
|
"endpoint": "cn-hangzhou.log.aliyuncs.com",
|
|
852
|
-
"project": example.
|
|
853
|
-
"logstore": example2.
|
|
852
|
+
"project": example.name,
|
|
853
|
+
"logstore": example2.name,
|
|
854
854
|
},
|
|
855
855
|
{
|
|
856
856
|
"name": "target_name2",
|
|
857
857
|
"access_key_id": "example3_access_key_id",
|
|
858
858
|
"access_key_secret": "example3_access_key_secret",
|
|
859
859
|
"endpoint": "cn-hangzhou.log.aliyuncs.com",
|
|
860
|
-
"project": example.
|
|
861
|
-
"logstore": example3.
|
|
860
|
+
"project": example.name,
|
|
861
|
+
"logstore": example3.name,
|
|
862
862
|
},
|
|
863
863
|
])
|
|
864
864
|
```
|
|
@@ -923,27 +923,27 @@ class Etl(pulumi.CustomResource):
|
|
|
923
923
|
max=99999,
|
|
924
924
|
min=10000)
|
|
925
925
|
example = alicloud.log.Project("example",
|
|
926
|
-
|
|
926
|
+
name=f"terraform-example-{default['result']}",
|
|
927
927
|
description="terraform-example")
|
|
928
928
|
example_store = alicloud.log.Store("example",
|
|
929
|
-
|
|
930
|
-
|
|
929
|
+
project=example.name,
|
|
930
|
+
name="example-store",
|
|
931
931
|
retention_period=3650,
|
|
932
932
|
shard_count=3,
|
|
933
933
|
auto_split=True,
|
|
934
934
|
max_split_shard_count=60,
|
|
935
935
|
append_meta=True)
|
|
936
936
|
example2 = alicloud.log.Store("example2",
|
|
937
|
-
|
|
938
|
-
|
|
937
|
+
project=example.name,
|
|
938
|
+
name="example-store2",
|
|
939
939
|
retention_period=3650,
|
|
940
940
|
shard_count=3,
|
|
941
941
|
auto_split=True,
|
|
942
942
|
max_split_shard_count=60,
|
|
943
943
|
append_meta=True)
|
|
944
944
|
example3 = alicloud.log.Store("example3",
|
|
945
|
-
|
|
946
|
-
|
|
945
|
+
project=example.name,
|
|
946
|
+
name="example-store3",
|
|
947
947
|
retention_period=3650,
|
|
948
948
|
shard_count=3,
|
|
949
949
|
auto_split=True,
|
|
@@ -951,29 +951,29 @@ class Etl(pulumi.CustomResource):
|
|
|
951
951
|
append_meta=True)
|
|
952
952
|
example_etl = alicloud.log.Etl("example",
|
|
953
953
|
etl_name="terraform-example",
|
|
954
|
-
project=example.
|
|
954
|
+
project=example.name,
|
|
955
955
|
display_name="terraform-example",
|
|
956
956
|
description="terraform-example",
|
|
957
957
|
access_key_id="access_key_id",
|
|
958
958
|
access_key_secret="access_key_secret",
|
|
959
959
|
script="e_set('new','key')",
|
|
960
|
-
logstore=example_store.
|
|
960
|
+
logstore=example_store.name,
|
|
961
961
|
etl_sinks=[
|
|
962
962
|
{
|
|
963
963
|
"name": "target_name",
|
|
964
964
|
"access_key_id": "example2_access_key_id",
|
|
965
965
|
"access_key_secret": "example2_access_key_secret",
|
|
966
966
|
"endpoint": "cn-hangzhou.log.aliyuncs.com",
|
|
967
|
-
"project": example.
|
|
968
|
-
"logstore": example2.
|
|
967
|
+
"project": example.name,
|
|
968
|
+
"logstore": example2.name,
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
971
|
"name": "target_name2",
|
|
972
972
|
"access_key_id": "example3_access_key_id",
|
|
973
973
|
"access_key_secret": "example3_access_key_secret",
|
|
974
974
|
"endpoint": "cn-hangzhou.log.aliyuncs.com",
|
|
975
|
-
"project": example.
|
|
976
|
-
"logstore": example3.
|
|
975
|
+
"project": example.name,
|
|
976
|
+
"logstore": example3.name,
|
|
977
977
|
},
|
|
978
978
|
])
|
|
979
979
|
```
|
pulumi_alicloud/log/ingestion.py
CHANGED
|
@@ -342,23 +342,23 @@ class Ingestion(pulumi.CustomResource):
|
|
|
342
342
|
max=99999,
|
|
343
343
|
min=10000)
|
|
344
344
|
example = alicloud.log.Project("example",
|
|
345
|
-
|
|
345
|
+
name=f"terraform-example-{default['result']}",
|
|
346
346
|
description="terraform-example",
|
|
347
347
|
tags={
|
|
348
348
|
"Created": "TF",
|
|
349
349
|
"For": "example",
|
|
350
350
|
})
|
|
351
351
|
example_store = alicloud.log.Store("example",
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
project=example.name,
|
|
353
|
+
name="example-store",
|
|
354
354
|
retention_period=3650,
|
|
355
355
|
shard_count=3,
|
|
356
356
|
auto_split=True,
|
|
357
357
|
max_split_shard_count=60,
|
|
358
358
|
append_meta=True)
|
|
359
359
|
example_ingestion = alicloud.log.Ingestion("example",
|
|
360
|
-
project=example.
|
|
361
|
-
logstore=example_store.
|
|
360
|
+
project=example.name,
|
|
361
|
+
logstore=example_store.name,
|
|
362
362
|
ingestion_name="terraform-example",
|
|
363
363
|
display_name="terraform-example",
|
|
364
364
|
description="terraform-example",
|
|
@@ -435,23 +435,23 @@ class Ingestion(pulumi.CustomResource):
|
|
|
435
435
|
max=99999,
|
|
436
436
|
min=10000)
|
|
437
437
|
example = alicloud.log.Project("example",
|
|
438
|
-
|
|
438
|
+
name=f"terraform-example-{default['result']}",
|
|
439
439
|
description="terraform-example",
|
|
440
440
|
tags={
|
|
441
441
|
"Created": "TF",
|
|
442
442
|
"For": "example",
|
|
443
443
|
})
|
|
444
444
|
example_store = alicloud.log.Store("example",
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
project=example.name,
|
|
446
|
+
name="example-store",
|
|
447
447
|
retention_period=3650,
|
|
448
448
|
shard_count=3,
|
|
449
449
|
auto_split=True,
|
|
450
450
|
max_split_shard_count=60,
|
|
451
451
|
append_meta=True)
|
|
452
452
|
example_ingestion = alicloud.log.Ingestion("example",
|
|
453
|
-
project=example.
|
|
454
|
-
logstore=example_store.
|
|
453
|
+
project=example.name,
|
|
454
|
+
logstore=example_store.name,
|
|
455
455
|
ingestion_name="terraform-example",
|
|
456
456
|
display_name="terraform-example",
|
|
457
457
|
description="terraform-example",
|
|
@@ -151,19 +151,19 @@ class LogTailAttachment(pulumi.CustomResource):
|
|
|
151
151
|
max=99999,
|
|
152
152
|
min=10000)
|
|
153
153
|
example = alicloud.log.Project("example",
|
|
154
|
-
|
|
154
|
+
name=f"terraform-example-{default['result']}",
|
|
155
155
|
description="terraform-example")
|
|
156
156
|
example_store = alicloud.log.Store("example",
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
project=example.name,
|
|
158
|
+
name="example-store",
|
|
159
159
|
retention_period=3650,
|
|
160
160
|
shard_count=3,
|
|
161
161
|
auto_split=True,
|
|
162
162
|
max_split_shard_count=60,
|
|
163
163
|
append_meta=True)
|
|
164
164
|
example_log_tail_config = alicloud.log.LogTailConfig("example",
|
|
165
|
-
project=example.
|
|
166
|
-
logstore=example_store.
|
|
165
|
+
project=example.name,
|
|
166
|
+
logstore=example_store.name,
|
|
167
167
|
input_type="file",
|
|
168
168
|
name="terraform-example",
|
|
169
169
|
output_type="LogService",
|
|
@@ -179,7 +179,7 @@ class LogTailAttachment(pulumi.CustomResource):
|
|
|
179
179
|
\\x09}
|
|
180
180
|
\"\"\")
|
|
181
181
|
example_machine_group = alicloud.log.MachineGroup("example",
|
|
182
|
-
project=example.
|
|
182
|
+
project=example.name,
|
|
183
183
|
name="terraform-example",
|
|
184
184
|
identify_type="ip",
|
|
185
185
|
topic="terraform",
|
|
@@ -188,7 +188,7 @@ class LogTailAttachment(pulumi.CustomResource):
|
|
|
188
188
|
"10.0.0.2",
|
|
189
189
|
])
|
|
190
190
|
example_log_tail_attachment = alicloud.log.LogTailAttachment("example",
|
|
191
|
-
project=example.
|
|
191
|
+
project=example.name,
|
|
192
192
|
logtail_config_name=example_log_tail_config.name,
|
|
193
193
|
machine_group_name=example_machine_group.name)
|
|
194
194
|
```
|
|
@@ -235,19 +235,19 @@ class LogTailAttachment(pulumi.CustomResource):
|
|
|
235
235
|
max=99999,
|
|
236
236
|
min=10000)
|
|
237
237
|
example = alicloud.log.Project("example",
|
|
238
|
-
|
|
238
|
+
name=f"terraform-example-{default['result']}",
|
|
239
239
|
description="terraform-example")
|
|
240
240
|
example_store = alicloud.log.Store("example",
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
project=example.name,
|
|
242
|
+
name="example-store",
|
|
243
243
|
retention_period=3650,
|
|
244
244
|
shard_count=3,
|
|
245
245
|
auto_split=True,
|
|
246
246
|
max_split_shard_count=60,
|
|
247
247
|
append_meta=True)
|
|
248
248
|
example_log_tail_config = alicloud.log.LogTailConfig("example",
|
|
249
|
-
project=example.
|
|
250
|
-
logstore=example_store.
|
|
249
|
+
project=example.name,
|
|
250
|
+
logstore=example_store.name,
|
|
251
251
|
input_type="file",
|
|
252
252
|
name="terraform-example",
|
|
253
253
|
output_type="LogService",
|
|
@@ -263,7 +263,7 @@ class LogTailAttachment(pulumi.CustomResource):
|
|
|
263
263
|
\\x09}
|
|
264
264
|
\"\"\")
|
|
265
265
|
example_machine_group = alicloud.log.MachineGroup("example",
|
|
266
|
-
project=example.
|
|
266
|
+
project=example.name,
|
|
267
267
|
name="terraform-example",
|
|
268
268
|
identify_type="ip",
|
|
269
269
|
topic="terraform",
|
|
@@ -272,7 +272,7 @@ class LogTailAttachment(pulumi.CustomResource):
|
|
|
272
272
|
"10.0.0.2",
|
|
273
273
|
])
|
|
274
274
|
example_log_tail_attachment = alicloud.log.LogTailAttachment("example",
|
|
275
|
-
project=example.
|
|
275
|
+
project=example.name,
|
|
276
276
|
logtail_config_name=example_log_tail_config.name,
|
|
277
277
|
machine_group_name=example_machine_group.name)
|
|
278
278
|
```
|
|
@@ -295,19 +295,19 @@ class LogTailConfig(pulumi.CustomResource):
|
|
|
295
295
|
max=99999,
|
|
296
296
|
min=10000)
|
|
297
297
|
example = alicloud.log.Project("example",
|
|
298
|
-
|
|
298
|
+
name=f"terraform-example-{default['result']}",
|
|
299
299
|
description="terraform-example")
|
|
300
300
|
example_store = alicloud.log.Store("example",
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
project=example.name,
|
|
302
|
+
name="example-store",
|
|
303
303
|
retention_period=3650,
|
|
304
304
|
shard_count=3,
|
|
305
305
|
auto_split=True,
|
|
306
306
|
max_split_shard_count=60,
|
|
307
307
|
append_meta=True)
|
|
308
308
|
example_log_tail_config = alicloud.log.LogTailConfig("example",
|
|
309
|
-
project=example.
|
|
310
|
-
logstore=example_store.
|
|
309
|
+
project=example.name,
|
|
310
|
+
logstore=example_store.name,
|
|
311
311
|
input_type="file",
|
|
312
312
|
name="terraform-example",
|
|
313
313
|
output_type="LogService",
|
|
@@ -373,19 +373,19 @@ class LogTailConfig(pulumi.CustomResource):
|
|
|
373
373
|
max=99999,
|
|
374
374
|
min=10000)
|
|
375
375
|
example = alicloud.log.Project("example",
|
|
376
|
-
|
|
376
|
+
name=f"terraform-example-{default['result']}",
|
|
377
377
|
description="terraform-example")
|
|
378
378
|
example_store = alicloud.log.Store("example",
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
project=example.name,
|
|
380
|
+
name="example-store",
|
|
381
381
|
retention_period=3650,
|
|
382
382
|
shard_count=3,
|
|
383
383
|
auto_split=True,
|
|
384
384
|
max_split_shard_count=60,
|
|
385
385
|
append_meta=True)
|
|
386
386
|
example_log_tail_config = alicloud.log.LogTailConfig("example",
|
|
387
|
-
project=example.
|
|
388
|
-
logstore=example_store.
|
|
387
|
+
project=example.name,
|
|
388
|
+
logstore=example_store.name,
|
|
389
389
|
input_type="file",
|
|
390
390
|
name="terraform-example",
|
|
391
391
|
output_type="LogService",
|
|
@@ -213,10 +213,10 @@ class MachineGroup(pulumi.CustomResource):
|
|
|
213
213
|
max=99999,
|
|
214
214
|
min=10000)
|
|
215
215
|
example = alicloud.log.Project("example",
|
|
216
|
-
|
|
216
|
+
name=f"terraform-example-{default['result']}",
|
|
217
217
|
description="terraform-example")
|
|
218
218
|
example_machine_group = alicloud.log.MachineGroup("example",
|
|
219
|
-
project=example.
|
|
219
|
+
project=example.name,
|
|
220
220
|
name="terraform-example",
|
|
221
221
|
identify_type="ip",
|
|
222
222
|
topic="terraform",
|
|
@@ -270,10 +270,10 @@ class MachineGroup(pulumi.CustomResource):
|
|
|
270
270
|
max=99999,
|
|
271
271
|
min=10000)
|
|
272
272
|
example = alicloud.log.Project("example",
|
|
273
|
-
|
|
273
|
+
name=f"terraform-example-{default['result']}",
|
|
274
274
|
description="terraform-example")
|
|
275
275
|
example_machine_group = alicloud.log.MachineGroup("example",
|
|
276
|
-
project=example.
|
|
276
|
+
project=example.name,
|
|
277
277
|
name="terraform-example",
|
|
278
278
|
identify_type="ip",
|
|
279
279
|
topic="terraform",
|
|
@@ -874,23 +874,23 @@ class OssExport(pulumi.CustomResource):
|
|
|
874
874
|
max=99999,
|
|
875
875
|
min=10000)
|
|
876
876
|
example = alicloud.log.Project("example",
|
|
877
|
-
|
|
877
|
+
name=f"terraform-example-{default['result']}",
|
|
878
878
|
description="terraform-example",
|
|
879
879
|
tags={
|
|
880
880
|
"Created": "TF",
|
|
881
881
|
"For": "example",
|
|
882
882
|
})
|
|
883
883
|
example_store = alicloud.log.Store("example",
|
|
884
|
-
|
|
885
|
-
|
|
884
|
+
project=example.name,
|
|
885
|
+
name="example-store",
|
|
886
886
|
retention_period=3650,
|
|
887
887
|
shard_count=3,
|
|
888
888
|
auto_split=True,
|
|
889
889
|
max_split_shard_count=60,
|
|
890
890
|
append_meta=True)
|
|
891
891
|
example_oss_export = alicloud.log.OssExport("example",
|
|
892
|
-
project_name=example.
|
|
893
|
-
logstore_name=example_store.
|
|
892
|
+
project_name=example.name,
|
|
893
|
+
logstore_name=example_store.name,
|
|
894
894
|
export_name="terraform-example",
|
|
895
895
|
display_name="terraform-example",
|
|
896
896
|
bucket="example-bucket",
|
|
@@ -969,23 +969,23 @@ class OssExport(pulumi.CustomResource):
|
|
|
969
969
|
max=99999,
|
|
970
970
|
min=10000)
|
|
971
971
|
example = alicloud.log.Project("example",
|
|
972
|
-
|
|
972
|
+
name=f"terraform-example-{default['result']}",
|
|
973
973
|
description="terraform-example",
|
|
974
974
|
tags={
|
|
975
975
|
"Created": "TF",
|
|
976
976
|
"For": "example",
|
|
977
977
|
})
|
|
978
978
|
example_store = alicloud.log.Store("example",
|
|
979
|
-
|
|
980
|
-
|
|
979
|
+
project=example.name,
|
|
980
|
+
name="example-store",
|
|
981
981
|
retention_period=3650,
|
|
982
982
|
shard_count=3,
|
|
983
983
|
auto_split=True,
|
|
984
984
|
max_split_shard_count=60,
|
|
985
985
|
append_meta=True)
|
|
986
986
|
example_oss_export = alicloud.log.OssExport("example",
|
|
987
|
-
project_name=example.
|
|
988
|
-
logstore_name=example_store.
|
|
987
|
+
project_name=example.name,
|
|
988
|
+
logstore_name=example_store.name,
|
|
989
989
|
export_name="terraform-example",
|
|
990
990
|
display_name="terraform-example",
|
|
991
991
|
bucket="example-bucket",
|
pulumi_alicloud/log/project.py
CHANGED
|
@@ -315,7 +315,7 @@ class Project(pulumi.CustomResource):
|
|
|
315
315
|
max=99999,
|
|
316
316
|
min=10000)
|
|
317
317
|
example = alicloud.log.Project("example",
|
|
318
|
-
|
|
318
|
+
name=f"terraform-example-{default['result']}",
|
|
319
319
|
description="terraform-example",
|
|
320
320
|
tags={
|
|
321
321
|
"Created": "TF",
|
|
@@ -334,7 +334,7 @@ class Project(pulumi.CustomResource):
|
|
|
334
334
|
max=99999,
|
|
335
335
|
min=10000)
|
|
336
336
|
example_policy = alicloud.log.Project("example_policy",
|
|
337
|
-
|
|
337
|
+
name=f"terraform-example-{default['result']}",
|
|
338
338
|
description="terraform-example",
|
|
339
339
|
policy=\"\"\"{
|
|
340
340
|
"Statement": [
|
|
@@ -412,7 +412,7 @@ class Project(pulumi.CustomResource):
|
|
|
412
412
|
max=99999,
|
|
413
413
|
min=10000)
|
|
414
414
|
example = alicloud.log.Project("example",
|
|
415
|
-
|
|
415
|
+
name=f"terraform-example-{default['result']}",
|
|
416
416
|
description="terraform-example",
|
|
417
417
|
tags={
|
|
418
418
|
"Created": "TF",
|
|
@@ -431,7 +431,7 @@ class Project(pulumi.CustomResource):
|
|
|
431
431
|
max=99999,
|
|
432
432
|
min=10000)
|
|
433
433
|
example_policy = alicloud.log.Project("example_policy",
|
|
434
|
-
|
|
434
|
+
name=f"terraform-example-{default['result']}",
|
|
435
435
|
description="terraform-example",
|
|
436
436
|
policy=\"\"\"{
|
|
437
437
|
"Statement": [
|
|
@@ -182,18 +182,18 @@ class StoreIndex(pulumi.CustomResource):
|
|
|
182
182
|
max=99999,
|
|
183
183
|
min=10000)
|
|
184
184
|
example = alicloud.log.Project("example",
|
|
185
|
-
|
|
185
|
+
name=f"terraform-example-{default['result']}",
|
|
186
186
|
description="terraform-example")
|
|
187
187
|
example_store = alicloud.log.Store("example",
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
project=example.name,
|
|
189
|
+
name="example-store",
|
|
190
190
|
shard_count=3,
|
|
191
191
|
auto_split=True,
|
|
192
192
|
max_split_shard_count=60,
|
|
193
193
|
append_meta=True)
|
|
194
194
|
example_store_index = alicloud.log.StoreIndex("example",
|
|
195
|
-
project=example.
|
|
196
|
-
logstore=example_store.
|
|
195
|
+
project=example.name,
|
|
196
|
+
logstore=example_store.name,
|
|
197
197
|
full_text={
|
|
198
198
|
"case_sensitive": True,
|
|
199
199
|
"token": \"\"\" #$^*\\x0d
|
|
@@ -251,18 +251,18 @@ class StoreIndex(pulumi.CustomResource):
|
|
|
251
251
|
max=99999,
|
|
252
252
|
min=10000)
|
|
253
253
|
example = alicloud.log.Project("example",
|
|
254
|
-
|
|
254
|
+
name=f"terraform-example-{default['result']}",
|
|
255
255
|
description="terraform-example")
|
|
256
256
|
example_store = alicloud.log.Store("example",
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
project=example.name,
|
|
258
|
+
name="example-store",
|
|
259
259
|
shard_count=3,
|
|
260
260
|
auto_split=True,
|
|
261
261
|
max_split_shard_count=60,
|
|
262
262
|
append_meta=True)
|
|
263
263
|
example_store_index = alicloud.log.StoreIndex("example",
|
|
264
|
-
project=example.
|
|
265
|
-
logstore=example_store.
|
|
264
|
+
project=example.name,
|
|
265
|
+
logstore=example_store.name,
|
|
266
266
|
full_text={
|
|
267
267
|
"case_sensitive": True,
|
|
268
268
|
"token": \"\"\" #$^*\\x0d
|
|
@@ -585,7 +585,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
585
585
|
vpc_id=default_network.id,
|
|
586
586
|
scheduler="Wrr",
|
|
587
587
|
protocol="TCP",
|
|
588
|
-
|
|
588
|
+
connection_drain=True,
|
|
589
589
|
connection_drain_timeout=60,
|
|
590
590
|
address_ip_version="Ipv4",
|
|
591
591
|
health_check={
|
|
@@ -679,7 +679,7 @@ class ServerGroup(pulumi.CustomResource):
|
|
|
679
679
|
vpc_id=default_network.id,
|
|
680
680
|
scheduler="Wrr",
|
|
681
681
|
protocol="TCP",
|
|
682
|
-
|
|
682
|
+
connection_drain=True,
|
|
683
683
|
connection_drain_timeout=60,
|
|
684
684
|
address_ip_version="Ipv4",
|
|
685
685
|
health_check={
|
|
@@ -217,17 +217,16 @@ class ServiceSetting(pulumi.CustomResource):
|
|
|
217
217
|
name = config.get("name")
|
|
218
218
|
if name is None:
|
|
219
219
|
name = "tf-testaccoossetting"
|
|
220
|
-
default = alicloud.oss.Bucket("default",
|
|
221
|
-
|
|
222
|
-
bucket=default.bucket,
|
|
220
|
+
default = alicloud.oss.Bucket("default",
|
|
221
|
+
bucket=name,
|
|
223
222
|
acl="public-read-write")
|
|
224
|
-
default_project = alicloud.log.Project("default",
|
|
223
|
+
default_project = alicloud.log.Project("default", name=name)
|
|
225
224
|
default_service_setting = alicloud.oos.ServiceSetting("default",
|
|
226
225
|
delivery_oss_enabled=True,
|
|
227
226
|
delivery_oss_key_prefix="path1/",
|
|
228
227
|
delivery_oss_bucket_name=default.bucket,
|
|
229
228
|
delivery_sls_enabled=True,
|
|
230
|
-
delivery_sls_project_name=default_project.
|
|
229
|
+
delivery_sls_project_name=default_project.name)
|
|
231
230
|
```
|
|
232
231
|
|
|
233
232
|
## Import
|
|
@@ -271,17 +270,16 @@ class ServiceSetting(pulumi.CustomResource):
|
|
|
271
270
|
name = config.get("name")
|
|
272
271
|
if name is None:
|
|
273
272
|
name = "tf-testaccoossetting"
|
|
274
|
-
default = alicloud.oss.Bucket("default",
|
|
275
|
-
|
|
276
|
-
bucket=default.bucket,
|
|
273
|
+
default = alicloud.oss.Bucket("default",
|
|
274
|
+
bucket=name,
|
|
277
275
|
acl="public-read-write")
|
|
278
|
-
default_project = alicloud.log.Project("default",
|
|
276
|
+
default_project = alicloud.log.Project("default", name=name)
|
|
279
277
|
default_service_setting = alicloud.oos.ServiceSetting("default",
|
|
280
278
|
delivery_oss_enabled=True,
|
|
281
279
|
delivery_oss_key_prefix="path1/",
|
|
282
280
|
delivery_oss_bucket_name=default.bucket,
|
|
283
281
|
delivery_sls_enabled=True,
|
|
284
|
-
delivery_sls_project_name=default_project.
|
|
282
|
+
delivery_sls_project_name=default_project.name)
|
|
285
283
|
```
|
|
286
284
|
|
|
287
285
|
## Import
|