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/rds/database.py
CHANGED
|
@@ -34,13 +34,7 @@ class DatabaseArgs:
|
|
|
34
34
|
:param pulumi.Input[str] description: Database description. It cannot begin with https://. It must start with a Chinese character or English letter. It can include Chinese and English characters, underlines (_), hyphens (-), and numbers. The length may be 2-256 characters.
|
|
35
35
|
|
|
36
36
|
> **NOTE:** The value of "name" or "character_set" does not support modification.
|
|
37
|
-
:param pulumi.Input[str] name:
|
|
38
|
-
* > **NOTE:**
|
|
39
|
-
The name must be 2 to 64 characters in length.
|
|
40
|
-
The name must start with a lowercase letter and end with a lowercase letter or digit.
|
|
41
|
-
The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
|
|
42
|
-
The name must be unique within the instance.
|
|
43
|
-
For more information about invalid characters, see [Forbidden keywords table](https://help.aliyun.com/zh/rds/developer-reference/forbidden-keywords?spm=api-workbench.api_explorer.0.0.20e15f16d1z52p).
|
|
37
|
+
:param pulumi.Input[str] name: Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 64 characters.
|
|
44
38
|
"""
|
|
45
39
|
pulumi.set(__self__, "instance_id", instance_id)
|
|
46
40
|
if character_set is not None:
|
|
@@ -101,13 +95,7 @@ class DatabaseArgs:
|
|
|
101
95
|
@pulumi.getter
|
|
102
96
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
103
97
|
"""
|
|
104
|
-
|
|
105
|
-
* > **NOTE:**
|
|
106
|
-
The name must be 2 to 64 characters in length.
|
|
107
|
-
The name must start with a lowercase letter and end with a lowercase letter or digit.
|
|
108
|
-
The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
|
|
109
|
-
The name must be unique within the instance.
|
|
110
|
-
For more information about invalid characters, see [Forbidden keywords table](https://help.aliyun.com/zh/rds/developer-reference/forbidden-keywords?spm=api-workbench.api_explorer.0.0.20e15f16d1z52p).
|
|
98
|
+
Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 64 characters.
|
|
111
99
|
"""
|
|
112
100
|
return pulumi.get(self, "name")
|
|
113
101
|
|
|
@@ -139,13 +127,7 @@ class _DatabaseState:
|
|
|
139
127
|
|
|
140
128
|
> **NOTE:** The value of "name" or "character_set" does not support modification.
|
|
141
129
|
:param pulumi.Input[str] instance_id: The Id of instance that can run database.
|
|
142
|
-
:param pulumi.Input[str] name:
|
|
143
|
-
* > **NOTE:**
|
|
144
|
-
The name must be 2 to 64 characters in length.
|
|
145
|
-
The name must start with a lowercase letter and end with a lowercase letter or digit.
|
|
146
|
-
The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
|
|
147
|
-
The name must be unique within the instance.
|
|
148
|
-
For more information about invalid characters, see [Forbidden keywords table](https://help.aliyun.com/zh/rds/developer-reference/forbidden-keywords?spm=api-workbench.api_explorer.0.0.20e15f16d1z52p).
|
|
130
|
+
:param pulumi.Input[str] name: Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 64 characters.
|
|
149
131
|
"""
|
|
150
132
|
if character_set is not None:
|
|
151
133
|
pulumi.set(__self__, "character_set", character_set)
|
|
@@ -207,13 +189,7 @@ class _DatabaseState:
|
|
|
207
189
|
@pulumi.getter
|
|
208
190
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
209
191
|
"""
|
|
210
|
-
|
|
211
|
-
* > **NOTE:**
|
|
212
|
-
The name must be 2 to 64 characters in length.
|
|
213
|
-
The name must start with a lowercase letter and end with a lowercase letter or digit.
|
|
214
|
-
The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
|
|
215
|
-
The name must be unique within the instance.
|
|
216
|
-
For more information about invalid characters, see [Forbidden keywords table](https://help.aliyun.com/zh/rds/developer-reference/forbidden-keywords?spm=api-workbench.api_explorer.0.0.20e15f16d1z52p).
|
|
192
|
+
Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 64 characters.
|
|
217
193
|
"""
|
|
218
194
|
return pulumi.get(self, "name")
|
|
219
195
|
|
|
@@ -293,13 +269,7 @@ class Database(pulumi.CustomResource):
|
|
|
293
269
|
|
|
294
270
|
> **NOTE:** The value of "name" or "character_set" does not support modification.
|
|
295
271
|
:param pulumi.Input[str] instance_id: The Id of instance that can run database.
|
|
296
|
-
:param pulumi.Input[str] name:
|
|
297
|
-
* > **NOTE:**
|
|
298
|
-
The name must be 2 to 64 characters in length.
|
|
299
|
-
The name must start with a lowercase letter and end with a lowercase letter or digit.
|
|
300
|
-
The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
|
|
301
|
-
The name must be unique within the instance.
|
|
302
|
-
For more information about invalid characters, see [Forbidden keywords table](https://help.aliyun.com/zh/rds/developer-reference/forbidden-keywords?spm=api-workbench.api_explorer.0.0.20e15f16d1z52p).
|
|
272
|
+
:param pulumi.Input[str] name: Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 64 characters.
|
|
303
273
|
"""
|
|
304
274
|
...
|
|
305
275
|
@overload
|
|
@@ -421,13 +391,7 @@ class Database(pulumi.CustomResource):
|
|
|
421
391
|
|
|
422
392
|
> **NOTE:** The value of "name" or "character_set" does not support modification.
|
|
423
393
|
:param pulumi.Input[str] instance_id: The Id of instance that can run database.
|
|
424
|
-
:param pulumi.Input[str] name:
|
|
425
|
-
* > **NOTE:**
|
|
426
|
-
The name must be 2 to 64 characters in length.
|
|
427
|
-
The name must start with a lowercase letter and end with a lowercase letter or digit.
|
|
428
|
-
The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
|
|
429
|
-
The name must be unique within the instance.
|
|
430
|
-
For more information about invalid characters, see [Forbidden keywords table](https://help.aliyun.com/zh/rds/developer-reference/forbidden-keywords?spm=api-workbench.api_explorer.0.0.20e15f16d1z52p).
|
|
394
|
+
:param pulumi.Input[str] name: Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 64 characters.
|
|
431
395
|
"""
|
|
432
396
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
433
397
|
|
|
@@ -478,13 +442,7 @@ class Database(pulumi.CustomResource):
|
|
|
478
442
|
@pulumi.getter
|
|
479
443
|
def name(self) -> pulumi.Output[str]:
|
|
480
444
|
"""
|
|
481
|
-
|
|
482
|
-
* > **NOTE:**
|
|
483
|
-
The name must be 2 to 64 characters in length.
|
|
484
|
-
The name must start with a lowercase letter and end with a lowercase letter or digit.
|
|
485
|
-
The name can contain lowercase letters, digits, underscores (_), and hyphens (-).
|
|
486
|
-
The name must be unique within the instance.
|
|
487
|
-
For more information about invalid characters, see [Forbidden keywords table](https://help.aliyun.com/zh/rds/developer-reference/forbidden-keywords?spm=api-workbench.api_explorer.0.0.20e15f16d1z52p).
|
|
445
|
+
Name of the database requiring a uniqueness check. It may consist of lower case letters, numbers, and underlines, and must start with a letter and have no more than 64 characters.
|
|
488
446
|
"""
|
|
489
447
|
return pulumi.get(self, "name")
|
|
490
448
|
|
pulumi_alicloud/rds/instance.py
CHANGED
|
@@ -3521,7 +3521,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3521
3521
|
__props__.__dict__["babelfish_port"] = babelfish_port
|
|
3522
3522
|
__props__.__dict__["ca_type"] = ca_type
|
|
3523
3523
|
__props__.__dict__["category"] = category
|
|
3524
|
-
__props__.__dict__["client_ca_cert"] =
|
|
3524
|
+
__props__.__dict__["client_ca_cert"] = client_ca_cert
|
|
3525
3525
|
__props__.__dict__["client_ca_enabled"] = client_ca_enabled
|
|
3526
3526
|
__props__.__dict__["client_cert_revocation_list"] = client_cert_revocation_list
|
|
3527
3527
|
__props__.__dict__["client_crl_enabled"] = client_crl_enabled
|
|
@@ -3573,7 +3573,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3573
3573
|
__props__.__dict__["security_ip_mode"] = security_ip_mode
|
|
3574
3574
|
__props__.__dict__["security_ip_type"] = security_ip_type
|
|
3575
3575
|
__props__.__dict__["security_ips"] = security_ips
|
|
3576
|
-
__props__.__dict__["server_cert"] =
|
|
3576
|
+
__props__.__dict__["server_cert"] = server_cert
|
|
3577
3577
|
__props__.__dict__["server_key"] = server_key
|
|
3578
3578
|
__props__.__dict__["serverless_configs"] = serverless_configs
|
|
3579
3579
|
__props__.__dict__["sql_collector_config_value"] = sql_collector_config_value
|
|
@@ -3600,8 +3600,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3600
3600
|
__props__.__dict__["db_instance_type"] = None
|
|
3601
3601
|
__props__.__dict__["ssl_status"] = None
|
|
3602
3602
|
__props__.__dict__["status"] = None
|
|
3603
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["clientCaCert", "serverCert"])
|
|
3604
|
-
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
3605
3603
|
super(Instance, __self__).__init__(
|
|
3606
3604
|
'alicloud:rds/instance:Instance',
|
|
3607
3605
|
resource_name,
|
|
@@ -305,7 +305,7 @@ class Group(pulumi.CustomResource):
|
|
|
305
305
|
default = random.index.Integer("default",
|
|
306
306
|
min=10000,
|
|
307
307
|
max=99999)
|
|
308
|
-
default_instance = alicloud.rocketmq.Instance("default",
|
|
308
|
+
default_instance = alicloud.rocketmq.Instance("default", name=f"{name}-{default['result']}")
|
|
309
309
|
default_group = alicloud.rocketmq.Group("default",
|
|
310
310
|
group_name=group_name,
|
|
311
311
|
instance_id=default_instance.id,
|
|
@@ -364,7 +364,7 @@ class Group(pulumi.CustomResource):
|
|
|
364
364
|
default = random.index.Integer("default",
|
|
365
365
|
min=10000,
|
|
366
366
|
max=99999)
|
|
367
|
-
default_instance = alicloud.rocketmq.Instance("default",
|
|
367
|
+
default_instance = alicloud.rocketmq.Instance("default", name=f"{name}-{default['result']}")
|
|
368
368
|
default_group = alicloud.rocketmq.Group("default",
|
|
369
369
|
group_name=group_name,
|
|
370
370
|
instance_id=default_instance.id,
|
|
@@ -321,7 +321,7 @@ class Topic(pulumi.CustomResource):
|
|
|
321
321
|
min=10000,
|
|
322
322
|
max=99999)
|
|
323
323
|
default_instance = alicloud.rocketmq.Instance("default",
|
|
324
|
-
|
|
324
|
+
name=f"{name}-{default['result']}",
|
|
325
325
|
remark="default_ons_instance_remark")
|
|
326
326
|
default_topic = alicloud.rocketmq.Topic("default",
|
|
327
327
|
topic_name=topic,
|
|
@@ -385,7 +385,7 @@ class Topic(pulumi.CustomResource):
|
|
|
385
385
|
min=10000,
|
|
386
386
|
max=99999)
|
|
387
387
|
default_instance = alicloud.rocketmq.Instance("default",
|
|
388
|
-
|
|
388
|
+
name=f"{name}-{default['result']}",
|
|
389
389
|
remark="default_ons_instance_remark")
|
|
390
390
|
default_topic = alicloud.rocketmq.Topic("default",
|
|
391
391
|
topic_name=topic,
|
pulumi_alicloud/sls/alert.py
CHANGED
|
@@ -308,7 +308,7 @@ class Alert(pulumi.CustomResource):
|
|
|
308
308
|
max=99999)
|
|
309
309
|
default_ins_mgl = alicloud.log.Project("defaultINsMgl",
|
|
310
310
|
description=f"{project_name}-{default['result']}",
|
|
311
|
-
|
|
311
|
+
name=f"{project_name}-{default['result']}")
|
|
312
312
|
default_alert = alicloud.sls.Alert("default",
|
|
313
313
|
schedule={
|
|
314
314
|
"type": "FixedRate",
|
|
@@ -381,7 +381,7 @@ class Alert(pulumi.CustomResource):
|
|
|
381
381
|
"role_arn": "acs:ram::1654218965343050:role/aliyunslsalertmonitorrole",
|
|
382
382
|
"query": "* | select *",
|
|
383
383
|
"time_span_type": "Relative",
|
|
384
|
-
"project": default_ins_mgl.
|
|
384
|
+
"project": default_ins_mgl.name,
|
|
385
385
|
"power_sql_mode": "disable",
|
|
386
386
|
"dashboard_id": "wkb-dashboard",
|
|
387
387
|
"chart_title": "wkb-chart",
|
|
@@ -432,7 +432,7 @@ class Alert(pulumi.CustomResource):
|
|
|
432
432
|
],
|
|
433
433
|
},
|
|
434
434
|
alert_name=alert_name,
|
|
435
|
-
project_name=default_ins_mgl.
|
|
435
|
+
project_name=default_ins_mgl.name)
|
|
436
436
|
```
|
|
437
437
|
|
|
438
438
|
## Import
|
|
@@ -490,7 +490,7 @@ class Alert(pulumi.CustomResource):
|
|
|
490
490
|
max=99999)
|
|
491
491
|
default_ins_mgl = alicloud.log.Project("defaultINsMgl",
|
|
492
492
|
description=f"{project_name}-{default['result']}",
|
|
493
|
-
|
|
493
|
+
name=f"{project_name}-{default['result']}")
|
|
494
494
|
default_alert = alicloud.sls.Alert("default",
|
|
495
495
|
schedule={
|
|
496
496
|
"type": "FixedRate",
|
|
@@ -563,7 +563,7 @@ class Alert(pulumi.CustomResource):
|
|
|
563
563
|
"role_arn": "acs:ram::1654218965343050:role/aliyunslsalertmonitorrole",
|
|
564
564
|
"query": "* | select *",
|
|
565
565
|
"time_span_type": "Relative",
|
|
566
|
-
"project": default_ins_mgl.
|
|
566
|
+
"project": default_ins_mgl.name,
|
|
567
567
|
"power_sql_mode": "disable",
|
|
568
568
|
"dashboard_id": "wkb-dashboard",
|
|
569
569
|
"chart_title": "wkb-chart",
|
|
@@ -614,7 +614,7 @@ class Alert(pulumi.CustomResource):
|
|
|
614
614
|
],
|
|
615
615
|
},
|
|
616
616
|
alert_name=alert_name,
|
|
617
|
-
project_name=default_ins_mgl.
|
|
617
|
+
project_name=default_ins_mgl.name)
|
|
618
618
|
```
|
|
619
619
|
|
|
620
620
|
## Import
|
|
@@ -253,13 +253,13 @@ class ScheduledSql(pulumi.CustomResource):
|
|
|
253
253
|
max=99999)
|
|
254
254
|
default_k_ie4_kv = alicloud.log.Project("defaultKIe4KV",
|
|
255
255
|
description=f"{name}-{default['result']}",
|
|
256
|
-
|
|
256
|
+
name=f"{name}-{default['result']}")
|
|
257
257
|
default1_li9we = alicloud.log.Store("default1LI9we",
|
|
258
258
|
hot_ttl=8,
|
|
259
259
|
retention_period=30,
|
|
260
260
|
shard_count=2,
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
project=default_k_ie4_kv.name,
|
|
262
|
+
name=f"{name}-{default['result']}")
|
|
263
263
|
default_scheduled_sql = alicloud.sls.ScheduledSql("default",
|
|
264
264
|
description="example-tf-scheduled-sql-0006",
|
|
265
265
|
schedule={
|
|
@@ -274,7 +274,7 @@ class ScheduledSql(pulumi.CustomResource):
|
|
|
274
274
|
"sql_type": "searchQuery",
|
|
275
275
|
"dest_endpoint": "ap-northeast-1.log.aliyuncs.com",
|
|
276
276
|
"dest_project": "job-e2e-project-jj78kur-ap-southeast-1",
|
|
277
|
-
"source_logstore": default1_li9we.
|
|
277
|
+
"source_logstore": default1_li9we.name,
|
|
278
278
|
"dest_logstore": "example-open-api02",
|
|
279
279
|
"role_arn": "acs:ram::1395894005868720:role/aliyunlogetlrole",
|
|
280
280
|
"dest_role_arn": "acs:ram::1395894005868720:role/aliyunlogetlrole",
|
|
@@ -288,7 +288,7 @@ class ScheduledSql(pulumi.CustomResource):
|
|
|
288
288
|
"data_format": "log2log",
|
|
289
289
|
},
|
|
290
290
|
scheduled_sql_name=name,
|
|
291
|
-
project=default_k_ie4_kv.
|
|
291
|
+
project=default_k_ie4_kv.name)
|
|
292
292
|
```
|
|
293
293
|
|
|
294
294
|
## Import
|
|
@@ -339,13 +339,13 @@ class ScheduledSql(pulumi.CustomResource):
|
|
|
339
339
|
max=99999)
|
|
340
340
|
default_k_ie4_kv = alicloud.log.Project("defaultKIe4KV",
|
|
341
341
|
description=f"{name}-{default['result']}",
|
|
342
|
-
|
|
342
|
+
name=f"{name}-{default['result']}")
|
|
343
343
|
default1_li9we = alicloud.log.Store("default1LI9we",
|
|
344
344
|
hot_ttl=8,
|
|
345
345
|
retention_period=30,
|
|
346
346
|
shard_count=2,
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
project=default_k_ie4_kv.name,
|
|
348
|
+
name=f"{name}-{default['result']}")
|
|
349
349
|
default_scheduled_sql = alicloud.sls.ScheduledSql("default",
|
|
350
350
|
description="example-tf-scheduled-sql-0006",
|
|
351
351
|
schedule={
|
|
@@ -360,7 +360,7 @@ class ScheduledSql(pulumi.CustomResource):
|
|
|
360
360
|
"sql_type": "searchQuery",
|
|
361
361
|
"dest_endpoint": "ap-northeast-1.log.aliyuncs.com",
|
|
362
362
|
"dest_project": "job-e2e-project-jj78kur-ap-southeast-1",
|
|
363
|
-
"source_logstore": default1_li9we.
|
|
363
|
+
"source_logstore": default1_li9we.name,
|
|
364
364
|
"dest_logstore": "example-open-api02",
|
|
365
365
|
"role_arn": "acs:ram::1395894005868720:role/aliyunlogetlrole",
|
|
366
366
|
"dest_role_arn": "acs:ram::1395894005868720:role/aliyunlogetlrole",
|
|
@@ -374,7 +374,7 @@ class ScheduledSql(pulumi.CustomResource):
|
|
|
374
374
|
"data_format": "log2log",
|
|
375
375
|
},
|
|
376
376
|
scheduled_sql_name=name,
|
|
377
|
-
project=default_k_ie4_kv.
|
|
377
|
+
project=default_k_ie4_kv.name)
|
|
378
378
|
```
|
|
379
379
|
|
|
380
380
|
## Import
|
|
@@ -287,7 +287,7 @@ class HAVipAttachment(pulumi.CustomResource):
|
|
|
287
287
|
instance_name=name,
|
|
288
288
|
user_data="echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf")
|
|
289
289
|
example_ha_vip_attachment = alicloud.vpc.HAVipAttachment("example",
|
|
290
|
-
|
|
290
|
+
havip_id=example_ha_vip.id,
|
|
291
291
|
instance_id=example_instance.id)
|
|
292
292
|
```
|
|
293
293
|
|
|
@@ -364,7 +364,7 @@ class HAVipAttachment(pulumi.CustomResource):
|
|
|
364
364
|
instance_name=name,
|
|
365
365
|
user_data="echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf")
|
|
366
366
|
example_ha_vip_attachment = alicloud.vpc.HAVipAttachment("example",
|
|
367
|
-
|
|
367
|
+
havip_id=example_ha_vip.id,
|
|
368
368
|
instance_id=example_instance.id)
|
|
369
369
|
```
|
|
370
370
|
|
|
@@ -205,8 +205,8 @@ class Ipv6InternetBandwidth(pulumi.CustomResource):
|
|
|
205
205
|
vsw = alicloud.vpc.Switch("vsw",
|
|
206
206
|
vpc_id=default_network.id,
|
|
207
207
|
cidr_block="172.16.0.0/21",
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
availability_zone=default.zones[0].id,
|
|
209
|
+
name=name,
|
|
210
210
|
ipv6_cidr_block_mask=22)
|
|
211
211
|
group = alicloud.ecs.SecurityGroup("group",
|
|
212
212
|
name=name,
|
|
@@ -289,8 +289,8 @@ class Ipv6InternetBandwidth(pulumi.CustomResource):
|
|
|
289
289
|
vsw = alicloud.vpc.Switch("vsw",
|
|
290
290
|
vpc_id=default_network.id,
|
|
291
291
|
cidr_block="172.16.0.0/21",
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
availability_zone=default.zones[0].id,
|
|
293
|
+
name=name,
|
|
294
294
|
ipv6_cidr_block_mask=22)
|
|
295
295
|
group = alicloud.ecs.SecurityGroup("group",
|
|
296
296
|
name=name,
|
|
@@ -134,13 +134,13 @@ class RouteTableAttachment(pulumi.CustomResource):
|
|
|
134
134
|
name = "terraform-example"
|
|
135
135
|
foo = alicloud.vpc.Network("foo",
|
|
136
136
|
cidr_block="172.16.0.0/12",
|
|
137
|
-
|
|
137
|
+
name=name)
|
|
138
138
|
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
139
139
|
foo_switch = alicloud.vpc.Switch("foo",
|
|
140
140
|
vpc_id=foo.id,
|
|
141
141
|
cidr_block="172.16.0.0/21",
|
|
142
142
|
zone_id=default.zones[0].id,
|
|
143
|
-
|
|
143
|
+
name=name)
|
|
144
144
|
foo_route_table = alicloud.vpc.RouteTable("foo",
|
|
145
145
|
vpc_id=foo.id,
|
|
146
146
|
route_table_name=name,
|
|
@@ -190,13 +190,13 @@ class RouteTableAttachment(pulumi.CustomResource):
|
|
|
190
190
|
name = "terraform-example"
|
|
191
191
|
foo = alicloud.vpc.Network("foo",
|
|
192
192
|
cidr_block="172.16.0.0/12",
|
|
193
|
-
|
|
193
|
+
name=name)
|
|
194
194
|
default = alicloud.get_zones(available_resource_creation="VSwitch")
|
|
195
195
|
foo_switch = alicloud.vpc.Switch("foo",
|
|
196
196
|
vpc_id=foo.id,
|
|
197
197
|
cidr_block="172.16.0.0/21",
|
|
198
198
|
zone_id=default.zones[0].id,
|
|
199
|
-
|
|
199
|
+
name=name)
|
|
200
200
|
foo_route_table = alicloud.vpc.RouteTable("foo",
|
|
201
201
|
vpc_id=foo.id,
|
|
202
202
|
route_table_name=name,
|
|
@@ -433,7 +433,7 @@ class TrafficMirrorFilterIngressRule(pulumi.CustomResource):
|
|
|
433
433
|
example_traffic_mirror_filter_ingress_rule = alicloud.vpc.TrafficMirrorFilterIngressRule("example",
|
|
434
434
|
traffic_mirror_filter_id=example.id,
|
|
435
435
|
priority=1,
|
|
436
|
-
|
|
436
|
+
rule_action="accept",
|
|
437
437
|
protocol="UDP",
|
|
438
438
|
destination_cidr_block="10.0.0.0/24",
|
|
439
439
|
source_cidr_block="10.0.0.0/24",
|
|
@@ -491,7 +491,7 @@ class TrafficMirrorFilterIngressRule(pulumi.CustomResource):
|
|
|
491
491
|
example_traffic_mirror_filter_ingress_rule = alicloud.vpc.TrafficMirrorFilterIngressRule("example",
|
|
492
492
|
traffic_mirror_filter_id=example.id,
|
|
493
493
|
priority=1,
|
|
494
|
-
|
|
494
|
+
rule_action="accept",
|
|
495
495
|
protocol="UDP",
|
|
496
496
|
destination_cidr_block="10.0.0.0/24",
|
|
497
497
|
source_cidr_block="10.0.0.0/24",
|