pulumi-alicloud 3.61.1a1724698226__py3-none-any.whl → 3.61.2__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 +18 -2
- pulumi_alicloud/brain/get_industrial_pid_organizations.py +12 -2
- pulumi_alicloud/brain/get_industrial_pid_projects.py +18 -2
- pulumi_alicloud/brain/get_industrial_serice.py +6 -2
- pulumi_alicloud/brain/industrial_pid_loop.py +6 -2
- pulumi_alicloud/brain/industrial_pid_organization.py +4 -4
- pulumi_alicloud/brain/industrial_pid_project.py +4 -4
- pulumi_alicloud/cas/certificate.py +155 -13
- pulumi_alicloud/cas/service_certificate.py +9 -30
- pulumi_alicloud/cdn/real_time_log_delivery.py +2 -2
- pulumi_alicloud/cen/get_transit_router_route_tables.py +81 -14
- pulumi_alicloud/cen/outputs.py +6 -2
- pulumi_alicloud/cfg/remediation.py +6 -2
- pulumi_alicloud/clickhouse/account.py +2 -2
- pulumi_alicloud/clickhouse/backup_policy.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +2 -0
- pulumi_alicloud/cs/_inputs.py +141 -21
- pulumi_alicloud/cs/kubernetes.py +7 -7
- pulumi_alicloud/cs/managed_kubernetes.py +506 -45
- pulumi_alicloud/cs/outputs.py +148 -21
- pulumi_alicloud/cs/registry_enterprise_namespace.py +92 -72
- pulumi_alicloud/cs/registry_enterprise_repo.py +96 -74
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +105 -101
- pulumi_alicloud/cs/serverless_kubernetes.py +174 -206
- 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 +11 -2
- pulumi_alicloud/ehpc/get_job_templates.py +5 -2
- pulumi_alicloud/ehpc/job_template.py +2 -2
- pulumi_alicloud/ehpc/outputs.py +34 -2
- 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 +0 -4
- pulumi_alicloud/gpdb/connection.py +0 -4
- pulumi_alicloud/log/alert.py +30 -28
- pulumi_alicloud/log/audit.py +2 -0
- 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 +10 -8
- pulumi_alicloud/oss/bucket.py +18 -10
- pulumi_alicloud/oss/bucket_object.py +12 -8
- pulumi_alicloud/oss/bucket_replication.py +2 -2
- pulumi_alicloud/polardb/cluster.py +75 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/zone_record.py +2 -2
- pulumi_alicloud/ram/access_key.py +4 -0
- pulumi_alicloud/rds/account_privilege.py +2 -2
- pulumi_alicloud/rds/backup_policy.py +270 -12
- pulumi_alicloud/rds/database.py +49 -7
- pulumi_alicloud/rds/instance.py +4 -2
- 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.1a1724698226.dist-info → pulumi_alicloud-3.61.2.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.61.1a1724698226.dist-info → pulumi_alicloud-3.61.2.dist-info}/RECORD +73 -73
- {pulumi_alicloud-3.61.1a1724698226.dist-info → pulumi_alicloud-3.61.2.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.61.1a1724698226.dist-info → pulumi_alicloud-3.61.2.dist-info}/top_level.txt +0 -0
|
@@ -696,7 +696,7 @@ class Instance(pulumi.CustomResource):
|
|
|
696
696
|
category="standard",
|
|
697
697
|
zone_id="cn-hangzhou-i",
|
|
698
698
|
performance_level="PL1",
|
|
699
|
-
|
|
699
|
+
fs_name=name,
|
|
700
700
|
size=100)
|
|
701
701
|
```
|
|
702
702
|
|
|
@@ -766,7 +766,7 @@ class Instance(pulumi.CustomResource):
|
|
|
766
766
|
category="standard",
|
|
767
767
|
zone_id="cn-hangzhou-i",
|
|
768
768
|
performance_level="PL1",
|
|
769
|
-
|
|
769
|
+
fs_name=name,
|
|
770
770
|
size=100)
|
|
771
771
|
```
|
|
772
772
|
|
|
@@ -239,7 +239,7 @@ class ConsumerChannel(pulumi.CustomResource):
|
|
|
239
239
|
name=name)
|
|
240
240
|
example_account_privilege = alicloud.rds.AccountPrivilege("example",
|
|
241
241
|
instance_id=example_instance.id,
|
|
242
|
-
account_name=example_rds_account.
|
|
242
|
+
account_name=example_rds_account.account_name,
|
|
243
243
|
privilege="ReadWrite",
|
|
244
244
|
db_names=[example_database.name])
|
|
245
245
|
example_subscription_job = alicloud.dts.SubscriptionJob("example",
|
|
@@ -351,7 +351,7 @@ class ConsumerChannel(pulumi.CustomResource):
|
|
|
351
351
|
name=name)
|
|
352
352
|
example_account_privilege = alicloud.rds.AccountPrivilege("example",
|
|
353
353
|
instance_id=example_instance.id,
|
|
354
|
-
account_name=example_rds_account.
|
|
354
|
+
account_name=example_rds_account.account_name,
|
|
355
355
|
privilege="ReadWrite",
|
|
356
356
|
db_names=[example_database.name])
|
|
357
357
|
example_subscription_job = alicloud.dts.SubscriptionJob("example",
|
|
@@ -1379,7 +1379,7 @@ class SubscriptionJob(pulumi.CustomResource):
|
|
|
1379
1379
|
name=name)
|
|
1380
1380
|
example_account_privilege = alicloud.rds.AccountPrivilege("example",
|
|
1381
1381
|
instance_id=example_instance.id,
|
|
1382
|
-
account_name=example_rds_account.
|
|
1382
|
+
account_name=example_rds_account.account_name,
|
|
1383
1383
|
privilege="ReadWrite",
|
|
1384
1384
|
db_names=[example_database.name])
|
|
1385
1385
|
example_subscription_job = alicloud.dts.SubscriptionJob("example",
|
|
@@ -1527,7 +1527,7 @@ class SubscriptionJob(pulumi.CustomResource):
|
|
|
1527
1527
|
name=name)
|
|
1528
1528
|
example_account_privilege = alicloud.rds.AccountPrivilege("example",
|
|
1529
1529
|
instance_id=example_instance.id,
|
|
1530
|
-
account_name=example_rds_account.
|
|
1530
|
+
account_name=example_rds_account.account_name,
|
|
1531
1531
|
privilege="ReadWrite",
|
|
1532
1532
|
db_names=[example_database.name])
|
|
1533
1533
|
example_subscription_job = alicloud.dts.SubscriptionJob("example",
|
|
@@ -724,7 +724,7 @@ class AutoProvisioningGroup(pulumi.CustomResource):
|
|
|
724
724
|
most_recent=True,
|
|
725
725
|
owners="system")
|
|
726
726
|
template = alicloud.ecs.EcsLaunchTemplate("template",
|
|
727
|
-
|
|
727
|
+
launch_template_name=name,
|
|
728
728
|
image_id=default_get_images.images[0].id,
|
|
729
729
|
instance_type="ecs.n1.tiny",
|
|
730
730
|
security_group_id=default_security_group.id)
|
|
@@ -810,7 +810,7 @@ class AutoProvisioningGroup(pulumi.CustomResource):
|
|
|
810
810
|
most_recent=True,
|
|
811
811
|
owners="system")
|
|
812
812
|
template = alicloud.ecs.EcsLaunchTemplate("template",
|
|
813
|
-
|
|
813
|
+
launch_template_name=name,
|
|
814
814
|
image_id=default_get_images.images[0].id,
|
|
815
815
|
instance_type="ecs.n1.tiny",
|
|
816
816
|
security_group_id=default_security_group.id)
|
|
@@ -51,6 +51,9 @@ class GetClustersResult:
|
|
|
51
51
|
@property
|
|
52
52
|
@pulumi.getter
|
|
53
53
|
def clusters(self) -> Sequence['outputs.GetClustersClusterResult']:
|
|
54
|
+
"""
|
|
55
|
+
A list of Ehpc Clusters. Each element contains the following attributes:
|
|
56
|
+
"""
|
|
54
57
|
return pulumi.get(self, "clusters")
|
|
55
58
|
|
|
56
59
|
@property
|
|
@@ -79,6 +82,9 @@ class GetClustersResult:
|
|
|
79
82
|
@property
|
|
80
83
|
@pulumi.getter
|
|
81
84
|
def names(self) -> Sequence[str]:
|
|
85
|
+
"""
|
|
86
|
+
A list of Cluster names.
|
|
87
|
+
"""
|
|
82
88
|
return pulumi.get(self, "names")
|
|
83
89
|
|
|
84
90
|
@property
|
|
@@ -89,6 +95,9 @@ class GetClustersResult:
|
|
|
89
95
|
@property
|
|
90
96
|
@pulumi.getter
|
|
91
97
|
def status(self) -> Optional[str]:
|
|
98
|
+
"""
|
|
99
|
+
The status of the resource.
|
|
100
|
+
"""
|
|
92
101
|
return pulumi.get(self, "status")
|
|
93
102
|
|
|
94
103
|
|
|
@@ -117,7 +126,7 @@ def get_clusters(enable_details: Optional[bool] = None,
|
|
|
117
126
|
"""
|
|
118
127
|
This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
119
128
|
|
|
120
|
-
> **NOTE:** Available
|
|
129
|
+
> **NOTE:** Available since v1.173.0.
|
|
121
130
|
|
|
122
131
|
## Example Usage
|
|
123
132
|
|
|
@@ -170,7 +179,7 @@ def get_clusters_output(enable_details: Optional[pulumi.Input[Optional[bool]]] =
|
|
|
170
179
|
"""
|
|
171
180
|
This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
172
181
|
|
|
173
|
-
> **NOTE:** Available
|
|
182
|
+
> **NOTE:** Available since v1.173.0.
|
|
174
183
|
|
|
175
184
|
## Example Usage
|
|
176
185
|
|
|
@@ -57,6 +57,9 @@ class GetJobTemplatesResult:
|
|
|
57
57
|
@property
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def templates(self) -> Sequence['outputs.GetJobTemplatesTemplateResult']:
|
|
60
|
+
"""
|
|
61
|
+
A list of Ehpc Job Templates. Each element contains the following attributes:
|
|
62
|
+
"""
|
|
60
63
|
return pulumi.get(self, "templates")
|
|
61
64
|
|
|
62
65
|
|
|
@@ -78,7 +81,7 @@ def get_job_templates(ids: Optional[Sequence[str]] = None,
|
|
|
78
81
|
"""
|
|
79
82
|
This data source provides the Ehpc Job Templates of the current Alibaba Cloud user.
|
|
80
83
|
|
|
81
|
-
> **NOTE:** Available
|
|
84
|
+
> **NOTE:** Available since v1.133.0.
|
|
82
85
|
|
|
83
86
|
## Example Usage
|
|
84
87
|
|
|
@@ -119,7 +122,7 @@ def get_job_templates_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]
|
|
|
119
122
|
"""
|
|
120
123
|
This data source provides the Ehpc Job Templates of the current Alibaba Cloud user.
|
|
121
124
|
|
|
122
|
-
> **NOTE:** Available
|
|
125
|
+
> **NOTE:** Available since v1.133.0.
|
|
123
126
|
|
|
124
127
|
## Example Usage
|
|
125
128
|
|
|
@@ -597,7 +597,7 @@ class JobTemplate(pulumi.CustomResource):
|
|
|
597
597
|
|
|
598
598
|
For information about Ehpc Job Template and how to use it, see [What is Job Template](https://www.alibabacloud.com/help/product/57664.html).
|
|
599
599
|
|
|
600
|
-
> **NOTE:** Available
|
|
600
|
+
> **NOTE:** Available since v1.133.0.
|
|
601
601
|
|
|
602
602
|
## Example Usage
|
|
603
603
|
|
|
@@ -651,7 +651,7 @@ class JobTemplate(pulumi.CustomResource):
|
|
|
651
651
|
|
|
652
652
|
For information about Ehpc Job Template and how to use it, see [What is Job Template](https://www.alibabacloud.com/help/product/57664.html).
|
|
653
653
|
|
|
654
|
-
> **NOTE:** Available
|
|
654
|
+
> **NOTE:** Available since v1.133.0.
|
|
655
655
|
|
|
656
656
|
## Example Usage
|
|
657
657
|
|
pulumi_alicloud/ehpc/outputs.py
CHANGED
|
@@ -285,6 +285,7 @@ class GetClustersClusterResult(dict):
|
|
|
285
285
|
zone_id: str):
|
|
286
286
|
"""
|
|
287
287
|
:param str account_type: The server type of the account.
|
|
288
|
+
:param Sequence['GetClustersClusterApplicationArgs'] applications: A list of clustered applications.
|
|
288
289
|
:param str client_version: The version number of the client used by the cluster.
|
|
289
290
|
:param str cluster_id: The id of E-HPC Cluster.
|
|
290
291
|
:param str cluster_name: The name of E-HPC cluster.
|
|
@@ -304,19 +305,22 @@ class GetClustersClusterResult(dict):
|
|
|
304
305
|
:param str image_owner_alias: The type of the image.
|
|
305
306
|
:param int login_count: The number of cluster login nodes. Only configuration 1 is supported.
|
|
306
307
|
:param str login_instance_type: Cluster login node specifications.
|
|
308
|
+
:param int manager_count: The number of control nodes.
|
|
307
309
|
:param str manager_instance_type: The instance type of manager nodes.
|
|
308
310
|
:param str os_tag: The image tag of the operating system.
|
|
311
|
+
:param Sequence['GetClustersClusterPostInstallScriptArgs'] post_install_scripts: List of post-installation scripts.
|
|
309
312
|
:param str remote_directory: Mount the remote directory of the shared storage.
|
|
310
313
|
:param str scc_cluster_id: The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
|
|
311
314
|
:param str scheduler_type: Dispatch server type.
|
|
312
315
|
:param str security_group_id: The ID of the security group.
|
|
313
|
-
:param str status: The status of the resource.
|
|
316
|
+
:param str status: The status of the resource. Valid values:
|
|
314
317
|
:param str volume_id: The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
|
|
315
318
|
:param str volume_mountpoint: The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
|
|
316
319
|
:param str volume_protocol: The type of the protocol that is used by the file system.
|
|
317
320
|
:param str volume_type: The type of the network shared storage. Valid value: NAS.
|
|
318
321
|
:param str vpc_id: The ID of the VPC network.
|
|
319
322
|
:param str vswitch_id: The vswitch id.
|
|
323
|
+
:param str zone_id: The available zone ID.
|
|
320
324
|
"""
|
|
321
325
|
pulumi.set(__self__, "account_type", account_type)
|
|
322
326
|
pulumi.set(__self__, "applications", applications)
|
|
@@ -362,6 +366,9 @@ class GetClustersClusterResult(dict):
|
|
|
362
366
|
@property
|
|
363
367
|
@pulumi.getter
|
|
364
368
|
def applications(self) -> Sequence['outputs.GetClustersClusterApplicationResult']:
|
|
369
|
+
"""
|
|
370
|
+
A list of clustered applications.
|
|
371
|
+
"""
|
|
365
372
|
return pulumi.get(self, "applications")
|
|
366
373
|
|
|
367
374
|
@property
|
|
@@ -484,6 +491,9 @@ class GetClustersClusterResult(dict):
|
|
|
484
491
|
@property
|
|
485
492
|
@pulumi.getter(name="managerCount")
|
|
486
493
|
def manager_count(self) -> int:
|
|
494
|
+
"""
|
|
495
|
+
The number of control nodes.
|
|
496
|
+
"""
|
|
487
497
|
return pulumi.get(self, "manager_count")
|
|
488
498
|
|
|
489
499
|
@property
|
|
@@ -505,6 +515,9 @@ class GetClustersClusterResult(dict):
|
|
|
505
515
|
@property
|
|
506
516
|
@pulumi.getter(name="postInstallScripts")
|
|
507
517
|
def post_install_scripts(self) -> Sequence['outputs.GetClustersClusterPostInstallScriptResult']:
|
|
518
|
+
"""
|
|
519
|
+
List of post-installation scripts.
|
|
520
|
+
"""
|
|
508
521
|
return pulumi.get(self, "post_install_scripts")
|
|
509
522
|
|
|
510
523
|
@property
|
|
@@ -543,7 +556,7 @@ class GetClustersClusterResult(dict):
|
|
|
543
556
|
@pulumi.getter
|
|
544
557
|
def status(self) -> str:
|
|
545
558
|
"""
|
|
546
|
-
The status of the resource.
|
|
559
|
+
The status of the resource. Valid values:
|
|
547
560
|
"""
|
|
548
561
|
return pulumi.get(self, "status")
|
|
549
562
|
|
|
@@ -598,6 +611,9 @@ class GetClustersClusterResult(dict):
|
|
|
598
611
|
@property
|
|
599
612
|
@pulumi.getter(name="zoneId")
|
|
600
613
|
def zone_id(self) -> str:
|
|
614
|
+
"""
|
|
615
|
+
The available zone ID.
|
|
616
|
+
"""
|
|
601
617
|
return pulumi.get(self, "zone_id")
|
|
602
618
|
|
|
603
619
|
|
|
@@ -605,11 +621,17 @@ class GetClustersClusterResult(dict):
|
|
|
605
621
|
class GetClustersClusterApplicationResult(dict):
|
|
606
622
|
def __init__(__self__, *,
|
|
607
623
|
tag: str):
|
|
624
|
+
"""
|
|
625
|
+
:param str tag: Application Tags.
|
|
626
|
+
"""
|
|
608
627
|
pulumi.set(__self__, "tag", tag)
|
|
609
628
|
|
|
610
629
|
@property
|
|
611
630
|
@pulumi.getter
|
|
612
631
|
def tag(self) -> str:
|
|
632
|
+
"""
|
|
633
|
+
Application Tags.
|
|
634
|
+
"""
|
|
613
635
|
return pulumi.get(self, "tag")
|
|
614
636
|
|
|
615
637
|
|
|
@@ -618,17 +640,27 @@ class GetClustersClusterPostInstallScriptResult(dict):
|
|
|
618
640
|
def __init__(__self__, *,
|
|
619
641
|
args: str,
|
|
620
642
|
url: str):
|
|
643
|
+
"""
|
|
644
|
+
:param str args: The parameters of the script.
|
|
645
|
+
:param str url: The download path of the script.
|
|
646
|
+
"""
|
|
621
647
|
pulumi.set(__self__, "args", args)
|
|
622
648
|
pulumi.set(__self__, "url", url)
|
|
623
649
|
|
|
624
650
|
@property
|
|
625
651
|
@pulumi.getter
|
|
626
652
|
def args(self) -> str:
|
|
653
|
+
"""
|
|
654
|
+
The parameters of the script.
|
|
655
|
+
"""
|
|
627
656
|
return pulumi.get(self, "args")
|
|
628
657
|
|
|
629
658
|
@property
|
|
630
659
|
@pulumi.getter
|
|
631
660
|
def url(self) -> str:
|
|
661
|
+
"""
|
|
662
|
+
The download path of the script.
|
|
663
|
+
"""
|
|
632
664
|
return pulumi.get(self, "url")
|
|
633
665
|
|
|
634
666
|
|
pulumi_alicloud/fc/function.py
CHANGED
|
@@ -750,7 +750,7 @@ class Function(pulumi.CustomResource):
|
|
|
750
750
|
min=10000)
|
|
751
751
|
default_project = alicloud.log.Project("default", project_name=f"example-value-{default['result']}")
|
|
752
752
|
default_store = alicloud.log.Store("default",
|
|
753
|
-
project_name=default_project.
|
|
753
|
+
project_name=default_project.project_name,
|
|
754
754
|
logstore_name="example-value")
|
|
755
755
|
default_role = alicloud.ram.Role("default",
|
|
756
756
|
name=f"fcservicerole-{default['result']}",
|
|
@@ -780,8 +780,8 @@ class Function(pulumi.CustomResource):
|
|
|
780
780
|
description="example-value",
|
|
781
781
|
role=default_role.arn,
|
|
782
782
|
log_config={
|
|
783
|
-
"project": default_project.
|
|
784
|
-
"logstore": default_store.
|
|
783
|
+
"project": default_project.project_name,
|
|
784
|
+
"logstore": default_store.logstore_name,
|
|
785
785
|
"enable_instance_metrics": True,
|
|
786
786
|
"enable_request_metrics": True,
|
|
787
787
|
})
|
|
@@ -874,7 +874,7 @@ class Function(pulumi.CustomResource):
|
|
|
874
874
|
min=10000)
|
|
875
875
|
default_project = alicloud.log.Project("default", project_name=f"example-value-{default['result']}")
|
|
876
876
|
default_store = alicloud.log.Store("default",
|
|
877
|
-
project_name=default_project.
|
|
877
|
+
project_name=default_project.project_name,
|
|
878
878
|
logstore_name="example-value")
|
|
879
879
|
default_role = alicloud.ram.Role("default",
|
|
880
880
|
name=f"fcservicerole-{default['result']}",
|
|
@@ -904,8 +904,8 @@ class Function(pulumi.CustomResource):
|
|
|
904
904
|
description="example-value",
|
|
905
905
|
role=default_role.arn,
|
|
906
906
|
log_config={
|
|
907
|
-
"project": default_project.
|
|
908
|
-
"logstore": default_store.
|
|
907
|
+
"project": default_project.project_name,
|
|
908
|
+
"logstore": default_store.logstore_name,
|
|
909
909
|
"enable_instance_metrics": True,
|
|
910
910
|
"enable_request_metrics": True,
|
|
911
911
|
})
|
|
@@ -352,7 +352,7 @@ class FunctionAsyncInvokeConfig(pulumi.CustomResource):
|
|
|
352
352
|
\"\"\")
|
|
353
353
|
default_role_policy_attachment = alicloud.ram.RolePolicyAttachment("default",
|
|
354
354
|
role_name=default_role.name,
|
|
355
|
-
policy_name=default_policy.
|
|
355
|
+
policy_name=default_policy.policy_name,
|
|
356
356
|
policy_type="Custom")
|
|
357
357
|
default_service = alicloud.fc.Service("default",
|
|
358
358
|
name=f"example-value-{default_integer['result']}",
|
|
@@ -477,7 +477,7 @@ class FunctionAsyncInvokeConfig(pulumi.CustomResource):
|
|
|
477
477
|
\"\"\")
|
|
478
478
|
default_role_policy_attachment = alicloud.ram.RolePolicyAttachment("default",
|
|
479
479
|
role_name=default_role.name,
|
|
480
|
-
policy_name=default_policy.
|
|
480
|
+
policy_name=default_policy.policy_name,
|
|
481
481
|
policy_type="Custom")
|
|
482
482
|
default_service = alicloud.fc.Service("default",
|
|
483
483
|
name=f"example-value-{default_integer['result']}",
|
pulumi_alicloud/fc/trigger.py
CHANGED
|
@@ -637,7 +637,7 @@ class Trigger(pulumi.CustomResource):
|
|
|
637
637
|
force=True)
|
|
638
638
|
default_role_policy_attachment = alicloud.ram.RolePolicyAttachment("default",
|
|
639
639
|
role_name=default_role.name,
|
|
640
|
-
policy_name=default_policy.
|
|
640
|
+
policy_name=default_policy.policy_name,
|
|
641
641
|
policy_type="Custom")
|
|
642
642
|
default_bucket = alicloud.oss.Bucket("default", bucket=f"terraform-example-{default_integer['result']}")
|
|
643
643
|
# If you upload the function by OSS Bucket, you need to specify path can't upload by content.
|
|
@@ -1137,7 +1137,7 @@ class Trigger(pulumi.CustomResource):
|
|
|
1137
1137
|
force=True)
|
|
1138
1138
|
default_role_policy_attachment = alicloud.ram.RolePolicyAttachment("default",
|
|
1139
1139
|
role_name=default_role.name,
|
|
1140
|
-
policy_name=default_policy.
|
|
1140
|
+
policy_name=default_policy.policy_name,
|
|
1141
1141
|
policy_type="Custom")
|
|
1142
1142
|
default_bucket = alicloud.oss.Bucket("default", bucket=f"terraform-example-{default_integer['result']}")
|
|
1143
1143
|
# If you upload the function by OSS Bucket, you need to specify path can't upload by content.
|
pulumi_alicloud/gpdb/account.py
CHANGED
|
@@ -243,9 +243,7 @@ class Account(pulumi.CustomResource):
|
|
|
243
243
|
zone_id=default.ids[0],
|
|
244
244
|
instance_network_type="VPC",
|
|
245
245
|
instance_spec="2C16G",
|
|
246
|
-
master_node_num=1,
|
|
247
246
|
payment_type="PayAsYouGo",
|
|
248
|
-
private_ip_address="1.1.1.1",
|
|
249
247
|
seg_storage_type="cloud_essd",
|
|
250
248
|
seg_node_num=4,
|
|
251
249
|
storage_size=50,
|
|
@@ -323,9 +321,7 @@ class Account(pulumi.CustomResource):
|
|
|
323
321
|
zone_id=default.ids[0],
|
|
324
322
|
instance_network_type="VPC",
|
|
325
323
|
instance_spec="2C16G",
|
|
326
|
-
master_node_num=1,
|
|
327
324
|
payment_type="PayAsYouGo",
|
|
328
|
-
private_ip_address="1.1.1.1",
|
|
329
325
|
seg_storage_type="cloud_essd",
|
|
330
326
|
seg_node_num=4,
|
|
331
327
|
storage_size=50,
|
|
@@ -196,9 +196,7 @@ class Connection(pulumi.CustomResource):
|
|
|
196
196
|
zone_id=default_get_zones.ids[0],
|
|
197
197
|
instance_network_type="VPC",
|
|
198
198
|
instance_spec="2C16G",
|
|
199
|
-
master_node_num=1,
|
|
200
199
|
payment_type="PayAsYouGo",
|
|
201
|
-
private_ip_address="1.1.1.1",
|
|
202
200
|
seg_storage_type="cloud_essd",
|
|
203
201
|
seg_node_num=4,
|
|
204
202
|
storage_size=50,
|
|
@@ -265,9 +263,7 @@ class Connection(pulumi.CustomResource):
|
|
|
265
263
|
zone_id=default_get_zones.ids[0],
|
|
266
264
|
instance_network_type="VPC",
|
|
267
265
|
instance_spec="2C16G",
|
|
268
|
-
master_node_num=1,
|
|
269
266
|
payment_type="PayAsYouGo",
|
|
270
|
-
private_ip_address="1.1.1.1",
|
|
271
267
|
seg_storage_type="cloud_essd",
|
|
272
268
|
seg_node_num=4,
|
|
273
269
|
storage_size=50,
|
pulumi_alicloud/log/alert.py
CHANGED
|
@@ -1092,11 +1092,11 @@ class Alert(pulumi.CustomResource):
|
|
|
1092
1092
|
max=99999,
|
|
1093
1093
|
min=10000)
|
|
1094
1094
|
example = alicloud.log.Project("example",
|
|
1095
|
-
|
|
1095
|
+
project_name=f"terraform-example-{default['result']}",
|
|
1096
1096
|
description="terraform-example")
|
|
1097
1097
|
example_store = alicloud.log.Store("example",
|
|
1098
|
-
|
|
1099
|
-
|
|
1098
|
+
project_name=example.project_name,
|
|
1099
|
+
logstore_name="example-store",
|
|
1100
1100
|
retention_period=3650,
|
|
1101
1101
|
shard_count=3,
|
|
1102
1102
|
auto_split=True,
|
|
@@ -1105,7 +1105,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1105
1105
|
example_2 = alicloud.log.Alert("example-2",
|
|
1106
1106
|
version="2.0",
|
|
1107
1107
|
type="default",
|
|
1108
|
-
project_name=example.
|
|
1108
|
+
project_name=example.project_name,
|
|
1109
1109
|
alert_name="example-alert",
|
|
1110
1110
|
alert_displayname="example-alert",
|
|
1111
1111
|
mute_until=1632486684,
|
|
@@ -1113,7 +1113,6 @@ class Alert(pulumi.CustomResource):
|
|
|
1113
1113
|
no_data_severity=8,
|
|
1114
1114
|
send_resolved=True,
|
|
1115
1115
|
auto_annotation=True,
|
|
1116
|
-
dashboard="example-dashboard",
|
|
1117
1116
|
schedule={
|
|
1118
1117
|
"type": "FixedRate",
|
|
1119
1118
|
"interval": "5m",
|
|
@@ -1124,26 +1123,28 @@ class Alert(pulumi.CustomResource):
|
|
|
1124
1123
|
},
|
|
1125
1124
|
query_lists=[
|
|
1126
1125
|
{
|
|
1127
|
-
"store": example_store.
|
|
1126
|
+
"store": example_store.logstore_name,
|
|
1128
1127
|
"store_type": "log",
|
|
1129
|
-
"project": example.
|
|
1128
|
+
"project": example.project_name,
|
|
1130
1129
|
"region": "cn-heyuan",
|
|
1131
1130
|
"chart_title": "chart_title",
|
|
1132
1131
|
"start": "-60s",
|
|
1133
1132
|
"end": "20s",
|
|
1134
1133
|
"query": "* AND aliyun | select count(1) as cnt",
|
|
1135
1134
|
"power_sql_mode": "auto",
|
|
1135
|
+
"dashboard_id": "example-dashboard",
|
|
1136
1136
|
},
|
|
1137
1137
|
{
|
|
1138
|
-
"store": example_store.
|
|
1138
|
+
"store": example_store.logstore_name,
|
|
1139
1139
|
"store_type": "log",
|
|
1140
|
-
"project": example.
|
|
1140
|
+
"project": example.project_name,
|
|
1141
1141
|
"region": "cn-heyuan",
|
|
1142
1142
|
"chart_title": "chart_title",
|
|
1143
1143
|
"start": "-60s",
|
|
1144
1144
|
"end": "20s",
|
|
1145
1145
|
"query": "error | select count(1) as error_cnt",
|
|
1146
1146
|
"power_sql_mode": "enable",
|
|
1147
|
+
"dashboard_id": "example-dashboard",
|
|
1147
1148
|
},
|
|
1148
1149
|
],
|
|
1149
1150
|
labels=[{
|
|
@@ -1213,11 +1214,11 @@ class Alert(pulumi.CustomResource):
|
|
|
1213
1214
|
max=99999,
|
|
1214
1215
|
min=10000)
|
|
1215
1216
|
example = alicloud.log.Project("example",
|
|
1216
|
-
|
|
1217
|
+
project_name=f"terraform-example-{default['result']}",
|
|
1217
1218
|
description="terraform-example")
|
|
1218
1219
|
example_store = alicloud.log.Store("example",
|
|
1219
|
-
|
|
1220
|
-
|
|
1220
|
+
project_name=example.project_name,
|
|
1221
|
+
logstore_name="example-store",
|
|
1221
1222
|
retention_period=3650,
|
|
1222
1223
|
shard_count=3,
|
|
1223
1224
|
auto_split=True,
|
|
@@ -1226,7 +1227,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1226
1227
|
example_3 = alicloud.log.Alert("example-3",
|
|
1227
1228
|
version="2.0",
|
|
1228
1229
|
type="tpl",
|
|
1229
|
-
project_name=example.
|
|
1230
|
+
project_name=example.project_name,
|
|
1230
1231
|
alert_name="example-alert",
|
|
1231
1232
|
alert_displayname="example-alert",
|
|
1232
1233
|
mute_until=1632486684,
|
|
@@ -1248,7 +1249,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1248
1249
|
"default_action_policy": "sls.app.ack.builtin",
|
|
1249
1250
|
"default_severity": "6",
|
|
1250
1251
|
"send_resolved": "false",
|
|
1251
|
-
"default_project": example.
|
|
1252
|
+
"default_project": example.project_name,
|
|
1252
1253
|
"default_logstore": "k8s-event",
|
|
1253
1254
|
"default_repeat_interval": "4h",
|
|
1254
1255
|
"trigger_threshold": "1",
|
|
@@ -1389,11 +1390,11 @@ class Alert(pulumi.CustomResource):
|
|
|
1389
1390
|
max=99999,
|
|
1390
1391
|
min=10000)
|
|
1391
1392
|
example = alicloud.log.Project("example",
|
|
1392
|
-
|
|
1393
|
+
project_name=f"terraform-example-{default['result']}",
|
|
1393
1394
|
description="terraform-example")
|
|
1394
1395
|
example_store = alicloud.log.Store("example",
|
|
1395
|
-
|
|
1396
|
-
|
|
1396
|
+
project_name=example.project_name,
|
|
1397
|
+
logstore_name="example-store",
|
|
1397
1398
|
retention_period=3650,
|
|
1398
1399
|
shard_count=3,
|
|
1399
1400
|
auto_split=True,
|
|
@@ -1402,7 +1403,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1402
1403
|
example_2 = alicloud.log.Alert("example-2",
|
|
1403
1404
|
version="2.0",
|
|
1404
1405
|
type="default",
|
|
1405
|
-
project_name=example.
|
|
1406
|
+
project_name=example.project_name,
|
|
1406
1407
|
alert_name="example-alert",
|
|
1407
1408
|
alert_displayname="example-alert",
|
|
1408
1409
|
mute_until=1632486684,
|
|
@@ -1410,7 +1411,6 @@ class Alert(pulumi.CustomResource):
|
|
|
1410
1411
|
no_data_severity=8,
|
|
1411
1412
|
send_resolved=True,
|
|
1412
1413
|
auto_annotation=True,
|
|
1413
|
-
dashboard="example-dashboard",
|
|
1414
1414
|
schedule={
|
|
1415
1415
|
"type": "FixedRate",
|
|
1416
1416
|
"interval": "5m",
|
|
@@ -1421,26 +1421,28 @@ class Alert(pulumi.CustomResource):
|
|
|
1421
1421
|
},
|
|
1422
1422
|
query_lists=[
|
|
1423
1423
|
{
|
|
1424
|
-
"store": example_store.
|
|
1424
|
+
"store": example_store.logstore_name,
|
|
1425
1425
|
"store_type": "log",
|
|
1426
|
-
"project": example.
|
|
1426
|
+
"project": example.project_name,
|
|
1427
1427
|
"region": "cn-heyuan",
|
|
1428
1428
|
"chart_title": "chart_title",
|
|
1429
1429
|
"start": "-60s",
|
|
1430
1430
|
"end": "20s",
|
|
1431
1431
|
"query": "* AND aliyun | select count(1) as cnt",
|
|
1432
1432
|
"power_sql_mode": "auto",
|
|
1433
|
+
"dashboard_id": "example-dashboard",
|
|
1433
1434
|
},
|
|
1434
1435
|
{
|
|
1435
|
-
"store": example_store.
|
|
1436
|
+
"store": example_store.logstore_name,
|
|
1436
1437
|
"store_type": "log",
|
|
1437
|
-
"project": example.
|
|
1438
|
+
"project": example.project_name,
|
|
1438
1439
|
"region": "cn-heyuan",
|
|
1439
1440
|
"chart_title": "chart_title",
|
|
1440
1441
|
"start": "-60s",
|
|
1441
1442
|
"end": "20s",
|
|
1442
1443
|
"query": "error | select count(1) as error_cnt",
|
|
1443
1444
|
"power_sql_mode": "enable",
|
|
1445
|
+
"dashboard_id": "example-dashboard",
|
|
1444
1446
|
},
|
|
1445
1447
|
],
|
|
1446
1448
|
labels=[{
|
|
@@ -1510,11 +1512,11 @@ class Alert(pulumi.CustomResource):
|
|
|
1510
1512
|
max=99999,
|
|
1511
1513
|
min=10000)
|
|
1512
1514
|
example = alicloud.log.Project("example",
|
|
1513
|
-
|
|
1515
|
+
project_name=f"terraform-example-{default['result']}",
|
|
1514
1516
|
description="terraform-example")
|
|
1515
1517
|
example_store = alicloud.log.Store("example",
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
+
project_name=example.project_name,
|
|
1519
|
+
logstore_name="example-store",
|
|
1518
1520
|
retention_period=3650,
|
|
1519
1521
|
shard_count=3,
|
|
1520
1522
|
auto_split=True,
|
|
@@ -1523,7 +1525,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1523
1525
|
example_3 = alicloud.log.Alert("example-3",
|
|
1524
1526
|
version="2.0",
|
|
1525
1527
|
type="tpl",
|
|
1526
|
-
project_name=example.
|
|
1528
|
+
project_name=example.project_name,
|
|
1527
1529
|
alert_name="example-alert",
|
|
1528
1530
|
alert_displayname="example-alert",
|
|
1529
1531
|
mute_until=1632486684,
|
|
@@ -1545,7 +1547,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1545
1547
|
"default_action_policy": "sls.app.ack.builtin",
|
|
1546
1548
|
"default_severity": "6",
|
|
1547
1549
|
"send_resolved": "false",
|
|
1548
|
-
"default_project": example.
|
|
1550
|
+
"default_project": example.project_name,
|
|
1549
1551
|
"default_logstore": "k8s-event",
|
|
1550
1552
|
"default_repeat_interval": "4h",
|
|
1551
1553
|
"trigger_threshold": "1",
|
pulumi_alicloud/log/audit.py
CHANGED
|
@@ -342,6 +342,7 @@ class Audit(pulumi.CustomResource):
|
|
|
342
342
|
},
|
|
343
343
|
resource_directory_type="all")
|
|
344
344
|
```
|
|
345
|
+
|
|
345
346
|
```python
|
|
346
347
|
import pulumi
|
|
347
348
|
import pulumi_alicloud as alicloud
|
|
@@ -528,6 +529,7 @@ class Audit(pulumi.CustomResource):
|
|
|
528
529
|
},
|
|
529
530
|
resource_directory_type="all")
|
|
530
531
|
```
|
|
532
|
+
|
|
531
533
|
```python
|
|
532
534
|
import pulumi
|
|
533
535
|
import pulumi_alicloud as alicloud
|