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
|
@@ -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
|
+
instance_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
|
+
instance_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.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.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.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.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
|
+
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
|
+
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,9 +51,6 @@ 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
|
-
"""
|
|
57
54
|
return pulumi.get(self, "clusters")
|
|
58
55
|
|
|
59
56
|
@property
|
|
@@ -82,9 +79,6 @@ class GetClustersResult:
|
|
|
82
79
|
@property
|
|
83
80
|
@pulumi.getter
|
|
84
81
|
def names(self) -> Sequence[str]:
|
|
85
|
-
"""
|
|
86
|
-
A list of Cluster names.
|
|
87
|
-
"""
|
|
88
82
|
return pulumi.get(self, "names")
|
|
89
83
|
|
|
90
84
|
@property
|
|
@@ -95,9 +89,6 @@ class GetClustersResult:
|
|
|
95
89
|
@property
|
|
96
90
|
@pulumi.getter
|
|
97
91
|
def status(self) -> Optional[str]:
|
|
98
|
-
"""
|
|
99
|
-
The status of the resource.
|
|
100
|
-
"""
|
|
101
92
|
return pulumi.get(self, "status")
|
|
102
93
|
|
|
103
94
|
|
|
@@ -126,7 +117,7 @@ def get_clusters(enable_details: Optional[bool] = None,
|
|
|
126
117
|
"""
|
|
127
118
|
This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
128
119
|
|
|
129
|
-
> **NOTE:** Available
|
|
120
|
+
> **NOTE:** Available in v1.173.0+.
|
|
130
121
|
|
|
131
122
|
## Example Usage
|
|
132
123
|
|
|
@@ -179,7 +170,7 @@ def get_clusters_output(enable_details: Optional[pulumi.Input[Optional[bool]]] =
|
|
|
179
170
|
"""
|
|
180
171
|
This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
|
|
181
172
|
|
|
182
|
-
> **NOTE:** Available
|
|
173
|
+
> **NOTE:** Available in v1.173.0+.
|
|
183
174
|
|
|
184
175
|
## Example Usage
|
|
185
176
|
|
|
@@ -57,9 +57,6 @@ 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
|
-
"""
|
|
63
60
|
return pulumi.get(self, "templates")
|
|
64
61
|
|
|
65
62
|
|
|
@@ -81,7 +78,7 @@ def get_job_templates(ids: Optional[Sequence[str]] = None,
|
|
|
81
78
|
"""
|
|
82
79
|
This data source provides the Ehpc Job Templates of the current Alibaba Cloud user.
|
|
83
80
|
|
|
84
|
-
> **NOTE:** Available
|
|
81
|
+
> **NOTE:** Available in v1.133.0+.
|
|
85
82
|
|
|
86
83
|
## Example Usage
|
|
87
84
|
|
|
@@ -122,7 +119,7 @@ def get_job_templates_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]
|
|
|
122
119
|
"""
|
|
123
120
|
This data source provides the Ehpc Job Templates of the current Alibaba Cloud user.
|
|
124
121
|
|
|
125
|
-
> **NOTE:** Available
|
|
122
|
+
> **NOTE:** Available in v1.133.0+.
|
|
126
123
|
|
|
127
124
|
## Example Usage
|
|
128
125
|
|
|
@@ -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 in 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 in v1.133.0+.
|
|
655
655
|
|
|
656
656
|
## Example Usage
|
|
657
657
|
|
pulumi_alicloud/ehpc/outputs.py
CHANGED
|
@@ -285,7 +285,6 @@ 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.
|
|
289
288
|
:param str client_version: The version number of the client used by the cluster.
|
|
290
289
|
:param str cluster_id: The id of E-HPC Cluster.
|
|
291
290
|
:param str cluster_name: The name of E-HPC cluster.
|
|
@@ -305,22 +304,19 @@ class GetClustersClusterResult(dict):
|
|
|
305
304
|
:param str image_owner_alias: The type of the image.
|
|
306
305
|
:param int login_count: The number of cluster login nodes. Only configuration 1 is supported.
|
|
307
306
|
:param str login_instance_type: Cluster login node specifications.
|
|
308
|
-
:param int manager_count: The number of control nodes.
|
|
309
307
|
:param str manager_instance_type: The instance type of manager nodes.
|
|
310
308
|
:param str os_tag: The image tag of the operating system.
|
|
311
|
-
:param Sequence['GetClustersClusterPostInstallScriptArgs'] post_install_scripts: List of post-installation scripts.
|
|
312
309
|
:param str remote_directory: Mount the remote directory of the shared storage.
|
|
313
310
|
:param str scc_cluster_id: The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
|
|
314
311
|
:param str scheduler_type: Dispatch server type.
|
|
315
312
|
:param str security_group_id: The ID of the security group.
|
|
316
|
-
:param str status: The status of the resource.
|
|
313
|
+
:param str status: The status of the resource.
|
|
317
314
|
:param str volume_id: The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
|
|
318
315
|
:param str volume_mountpoint: The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
|
|
319
316
|
:param str volume_protocol: The type of the protocol that is used by the file system.
|
|
320
317
|
:param str volume_type: The type of the network shared storage. Valid value: NAS.
|
|
321
318
|
:param str vpc_id: The ID of the VPC network.
|
|
322
319
|
:param str vswitch_id: The vswitch id.
|
|
323
|
-
:param str zone_id: The available zone ID.
|
|
324
320
|
"""
|
|
325
321
|
pulumi.set(__self__, "account_type", account_type)
|
|
326
322
|
pulumi.set(__self__, "applications", applications)
|
|
@@ -366,9 +362,6 @@ class GetClustersClusterResult(dict):
|
|
|
366
362
|
@property
|
|
367
363
|
@pulumi.getter
|
|
368
364
|
def applications(self) -> Sequence['outputs.GetClustersClusterApplicationResult']:
|
|
369
|
-
"""
|
|
370
|
-
A list of clustered applications.
|
|
371
|
-
"""
|
|
372
365
|
return pulumi.get(self, "applications")
|
|
373
366
|
|
|
374
367
|
@property
|
|
@@ -491,9 +484,6 @@ class GetClustersClusterResult(dict):
|
|
|
491
484
|
@property
|
|
492
485
|
@pulumi.getter(name="managerCount")
|
|
493
486
|
def manager_count(self) -> int:
|
|
494
|
-
"""
|
|
495
|
-
The number of control nodes.
|
|
496
|
-
"""
|
|
497
487
|
return pulumi.get(self, "manager_count")
|
|
498
488
|
|
|
499
489
|
@property
|
|
@@ -515,9 +505,6 @@ class GetClustersClusterResult(dict):
|
|
|
515
505
|
@property
|
|
516
506
|
@pulumi.getter(name="postInstallScripts")
|
|
517
507
|
def post_install_scripts(self) -> Sequence['outputs.GetClustersClusterPostInstallScriptResult']:
|
|
518
|
-
"""
|
|
519
|
-
List of post-installation scripts.
|
|
520
|
-
"""
|
|
521
508
|
return pulumi.get(self, "post_install_scripts")
|
|
522
509
|
|
|
523
510
|
@property
|
|
@@ -556,7 +543,7 @@ class GetClustersClusterResult(dict):
|
|
|
556
543
|
@pulumi.getter
|
|
557
544
|
def status(self) -> str:
|
|
558
545
|
"""
|
|
559
|
-
The status of the resource.
|
|
546
|
+
The status of the resource.
|
|
560
547
|
"""
|
|
561
548
|
return pulumi.get(self, "status")
|
|
562
549
|
|
|
@@ -611,9 +598,6 @@ class GetClustersClusterResult(dict):
|
|
|
611
598
|
@property
|
|
612
599
|
@pulumi.getter(name="zoneId")
|
|
613
600
|
def zone_id(self) -> str:
|
|
614
|
-
"""
|
|
615
|
-
The available zone ID.
|
|
616
|
-
"""
|
|
617
601
|
return pulumi.get(self, "zone_id")
|
|
618
602
|
|
|
619
603
|
|
|
@@ -621,17 +605,11 @@ class GetClustersClusterResult(dict):
|
|
|
621
605
|
class GetClustersClusterApplicationResult(dict):
|
|
622
606
|
def __init__(__self__, *,
|
|
623
607
|
tag: str):
|
|
624
|
-
"""
|
|
625
|
-
:param str tag: Application Tags.
|
|
626
|
-
"""
|
|
627
608
|
pulumi.set(__self__, "tag", tag)
|
|
628
609
|
|
|
629
610
|
@property
|
|
630
611
|
@pulumi.getter
|
|
631
612
|
def tag(self) -> str:
|
|
632
|
-
"""
|
|
633
|
-
Application Tags.
|
|
634
|
-
"""
|
|
635
613
|
return pulumi.get(self, "tag")
|
|
636
614
|
|
|
637
615
|
|
|
@@ -640,27 +618,17 @@ class GetClustersClusterPostInstallScriptResult(dict):
|
|
|
640
618
|
def __init__(__self__, *,
|
|
641
619
|
args: str,
|
|
642
620
|
url: str):
|
|
643
|
-
"""
|
|
644
|
-
:param str args: The parameters of the script.
|
|
645
|
-
:param str url: The download path of the script.
|
|
646
|
-
"""
|
|
647
621
|
pulumi.set(__self__, "args", args)
|
|
648
622
|
pulumi.set(__self__, "url", url)
|
|
649
623
|
|
|
650
624
|
@property
|
|
651
625
|
@pulumi.getter
|
|
652
626
|
def args(self) -> str:
|
|
653
|
-
"""
|
|
654
|
-
The parameters of the script.
|
|
655
|
-
"""
|
|
656
627
|
return pulumi.get(self, "args")
|
|
657
628
|
|
|
658
629
|
@property
|
|
659
630
|
@pulumi.getter
|
|
660
631
|
def url(self) -> str:
|
|
661
|
-
"""
|
|
662
|
-
The download path of the script.
|
|
663
|
-
"""
|
|
664
632
|
return pulumi.get(self, "url")
|
|
665
633
|
|
|
666
634
|
|
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.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.name,
|
|
784
|
+
"logstore": default_store.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.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.name,
|
|
908
|
+
"logstore": default_store.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.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.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.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.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,7 +243,9 @@ 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,
|
|
246
247
|
payment_type="PayAsYouGo",
|
|
248
|
+
private_ip_address="1.1.1.1",
|
|
247
249
|
seg_storage_type="cloud_essd",
|
|
248
250
|
seg_node_num=4,
|
|
249
251
|
storage_size=50,
|
|
@@ -321,7 +323,9 @@ class Account(pulumi.CustomResource):
|
|
|
321
323
|
zone_id=default.ids[0],
|
|
322
324
|
instance_network_type="VPC",
|
|
323
325
|
instance_spec="2C16G",
|
|
326
|
+
master_node_num=1,
|
|
324
327
|
payment_type="PayAsYouGo",
|
|
328
|
+
private_ip_address="1.1.1.1",
|
|
325
329
|
seg_storage_type="cloud_essd",
|
|
326
330
|
seg_node_num=4,
|
|
327
331
|
storage_size=50,
|
|
@@ -196,7 +196,9 @@ 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,
|
|
199
200
|
payment_type="PayAsYouGo",
|
|
201
|
+
private_ip_address="1.1.1.1",
|
|
200
202
|
seg_storage_type="cloud_essd",
|
|
201
203
|
seg_node_num=4,
|
|
202
204
|
storage_size=50,
|
|
@@ -263,7 +265,9 @@ class Connection(pulumi.CustomResource):
|
|
|
263
265
|
zone_id=default_get_zones.ids[0],
|
|
264
266
|
instance_network_type="VPC",
|
|
265
267
|
instance_spec="2C16G",
|
|
268
|
+
master_node_num=1,
|
|
266
269
|
payment_type="PayAsYouGo",
|
|
270
|
+
private_ip_address="1.1.1.1",
|
|
267
271
|
seg_storage_type="cloud_essd",
|
|
268
272
|
seg_node_num=4,
|
|
269
273
|
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
|
+
name=f"terraform-example-{default['result']}",
|
|
1096
1096
|
description="terraform-example")
|
|
1097
1097
|
example_store = alicloud.log.Store("example",
|
|
1098
|
-
|
|
1099
|
-
|
|
1098
|
+
project=example.name,
|
|
1099
|
+
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.name,
|
|
1109
1109
|
alert_name="example-alert",
|
|
1110
1110
|
alert_displayname="example-alert",
|
|
1111
1111
|
mute_until=1632486684,
|
|
@@ -1113,6 +1113,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1113
1113
|
no_data_severity=8,
|
|
1114
1114
|
send_resolved=True,
|
|
1115
1115
|
auto_annotation=True,
|
|
1116
|
+
dashboard="example-dashboard",
|
|
1116
1117
|
schedule={
|
|
1117
1118
|
"type": "FixedRate",
|
|
1118
1119
|
"interval": "5m",
|
|
@@ -1123,28 +1124,26 @@ class Alert(pulumi.CustomResource):
|
|
|
1123
1124
|
},
|
|
1124
1125
|
query_lists=[
|
|
1125
1126
|
{
|
|
1126
|
-
"store": example_store.
|
|
1127
|
+
"store": example_store.name,
|
|
1127
1128
|
"store_type": "log",
|
|
1128
|
-
"project": example.
|
|
1129
|
+
"project": example.name,
|
|
1129
1130
|
"region": "cn-heyuan",
|
|
1130
1131
|
"chart_title": "chart_title",
|
|
1131
1132
|
"start": "-60s",
|
|
1132
1133
|
"end": "20s",
|
|
1133
1134
|
"query": "* AND aliyun | select count(1) as cnt",
|
|
1134
1135
|
"power_sql_mode": "auto",
|
|
1135
|
-
"dashboard_id": "example-dashboard",
|
|
1136
1136
|
},
|
|
1137
1137
|
{
|
|
1138
|
-
"store": example_store.
|
|
1138
|
+
"store": example_store.name,
|
|
1139
1139
|
"store_type": "log",
|
|
1140
|
-
"project": example.
|
|
1140
|
+
"project": example.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",
|
|
1148
1147
|
},
|
|
1149
1148
|
],
|
|
1150
1149
|
labels=[{
|
|
@@ -1214,11 +1213,11 @@ class Alert(pulumi.CustomResource):
|
|
|
1214
1213
|
max=99999,
|
|
1215
1214
|
min=10000)
|
|
1216
1215
|
example = alicloud.log.Project("example",
|
|
1217
|
-
|
|
1216
|
+
name=f"terraform-example-{default['result']}",
|
|
1218
1217
|
description="terraform-example")
|
|
1219
1218
|
example_store = alicloud.log.Store("example",
|
|
1220
|
-
|
|
1221
|
-
|
|
1219
|
+
project=example.name,
|
|
1220
|
+
name="example-store",
|
|
1222
1221
|
retention_period=3650,
|
|
1223
1222
|
shard_count=3,
|
|
1224
1223
|
auto_split=True,
|
|
@@ -1227,7 +1226,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1227
1226
|
example_3 = alicloud.log.Alert("example-3",
|
|
1228
1227
|
version="2.0",
|
|
1229
1228
|
type="tpl",
|
|
1230
|
-
project_name=example.
|
|
1229
|
+
project_name=example.name,
|
|
1231
1230
|
alert_name="example-alert",
|
|
1232
1231
|
alert_displayname="example-alert",
|
|
1233
1232
|
mute_until=1632486684,
|
|
@@ -1249,7 +1248,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1249
1248
|
"default_action_policy": "sls.app.ack.builtin",
|
|
1250
1249
|
"default_severity": "6",
|
|
1251
1250
|
"send_resolved": "false",
|
|
1252
|
-
"default_project": example.
|
|
1251
|
+
"default_project": example.name,
|
|
1253
1252
|
"default_logstore": "k8s-event",
|
|
1254
1253
|
"default_repeat_interval": "4h",
|
|
1255
1254
|
"trigger_threshold": "1",
|
|
@@ -1390,11 +1389,11 @@ class Alert(pulumi.CustomResource):
|
|
|
1390
1389
|
max=99999,
|
|
1391
1390
|
min=10000)
|
|
1392
1391
|
example = alicloud.log.Project("example",
|
|
1393
|
-
|
|
1392
|
+
name=f"terraform-example-{default['result']}",
|
|
1394
1393
|
description="terraform-example")
|
|
1395
1394
|
example_store = alicloud.log.Store("example",
|
|
1396
|
-
|
|
1397
|
-
|
|
1395
|
+
project=example.name,
|
|
1396
|
+
name="example-store",
|
|
1398
1397
|
retention_period=3650,
|
|
1399
1398
|
shard_count=3,
|
|
1400
1399
|
auto_split=True,
|
|
@@ -1403,7 +1402,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1403
1402
|
example_2 = alicloud.log.Alert("example-2",
|
|
1404
1403
|
version="2.0",
|
|
1405
1404
|
type="default",
|
|
1406
|
-
project_name=example.
|
|
1405
|
+
project_name=example.name,
|
|
1407
1406
|
alert_name="example-alert",
|
|
1408
1407
|
alert_displayname="example-alert",
|
|
1409
1408
|
mute_until=1632486684,
|
|
@@ -1411,6 +1410,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1411
1410
|
no_data_severity=8,
|
|
1412
1411
|
send_resolved=True,
|
|
1413
1412
|
auto_annotation=True,
|
|
1413
|
+
dashboard="example-dashboard",
|
|
1414
1414
|
schedule={
|
|
1415
1415
|
"type": "FixedRate",
|
|
1416
1416
|
"interval": "5m",
|
|
@@ -1421,28 +1421,26 @@ class Alert(pulumi.CustomResource):
|
|
|
1421
1421
|
},
|
|
1422
1422
|
query_lists=[
|
|
1423
1423
|
{
|
|
1424
|
-
"store": example_store.
|
|
1424
|
+
"store": example_store.name,
|
|
1425
1425
|
"store_type": "log",
|
|
1426
|
-
"project": example.
|
|
1426
|
+
"project": example.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",
|
|
1434
1433
|
},
|
|
1435
1434
|
{
|
|
1436
|
-
"store": example_store.
|
|
1435
|
+
"store": example_store.name,
|
|
1437
1436
|
"store_type": "log",
|
|
1438
|
-
"project": example.
|
|
1437
|
+
"project": example.name,
|
|
1439
1438
|
"region": "cn-heyuan",
|
|
1440
1439
|
"chart_title": "chart_title",
|
|
1441
1440
|
"start": "-60s",
|
|
1442
1441
|
"end": "20s",
|
|
1443
1442
|
"query": "error | select count(1) as error_cnt",
|
|
1444
1443
|
"power_sql_mode": "enable",
|
|
1445
|
-
"dashboard_id": "example-dashboard",
|
|
1446
1444
|
},
|
|
1447
1445
|
],
|
|
1448
1446
|
labels=[{
|
|
@@ -1512,11 +1510,11 @@ class Alert(pulumi.CustomResource):
|
|
|
1512
1510
|
max=99999,
|
|
1513
1511
|
min=10000)
|
|
1514
1512
|
example = alicloud.log.Project("example",
|
|
1515
|
-
|
|
1513
|
+
name=f"terraform-example-{default['result']}",
|
|
1516
1514
|
description="terraform-example")
|
|
1517
1515
|
example_store = alicloud.log.Store("example",
|
|
1518
|
-
|
|
1519
|
-
|
|
1516
|
+
project=example.name,
|
|
1517
|
+
name="example-store",
|
|
1520
1518
|
retention_period=3650,
|
|
1521
1519
|
shard_count=3,
|
|
1522
1520
|
auto_split=True,
|
|
@@ -1525,7 +1523,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1525
1523
|
example_3 = alicloud.log.Alert("example-3",
|
|
1526
1524
|
version="2.0",
|
|
1527
1525
|
type="tpl",
|
|
1528
|
-
project_name=example.
|
|
1526
|
+
project_name=example.name,
|
|
1529
1527
|
alert_name="example-alert",
|
|
1530
1528
|
alert_displayname="example-alert",
|
|
1531
1529
|
mute_until=1632486684,
|
|
@@ -1547,7 +1545,7 @@ class Alert(pulumi.CustomResource):
|
|
|
1547
1545
|
"default_action_policy": "sls.app.ack.builtin",
|
|
1548
1546
|
"default_severity": "6",
|
|
1549
1547
|
"send_resolved": "false",
|
|
1550
|
-
"default_project": example.
|
|
1548
|
+
"default_project": example.name,
|
|
1551
1549
|
"default_logstore": "k8s-event",
|
|
1552
1550
|
"default_repeat_interval": "4h",
|
|
1553
1551
|
"trigger_threshold": "1",
|
pulumi_alicloud/log/audit.py
CHANGED
|
@@ -342,7 +342,6 @@ class Audit(pulumi.CustomResource):
|
|
|
342
342
|
},
|
|
343
343
|
resource_directory_type="all")
|
|
344
344
|
```
|
|
345
|
-
|
|
346
345
|
```python
|
|
347
346
|
import pulumi
|
|
348
347
|
import pulumi_alicloud as alicloud
|
|
@@ -529,7 +528,6 @@ class Audit(pulumi.CustomResource):
|
|
|
529
528
|
},
|
|
530
529
|
resource_directory_type="all")
|
|
531
530
|
```
|
|
532
|
-
|
|
533
531
|
```python
|
|
534
532
|
import pulumi
|
|
535
533
|
import pulumi_alicloud as alicloud
|