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
pulumi_alicloud/oss/bucket.py
CHANGED
|
@@ -769,8 +769,9 @@ class Bucket(pulumi.CustomResource):
|
|
|
769
769
|
default = random.index.Integer("default",
|
|
770
770
|
max=99999,
|
|
771
771
|
min=10000)
|
|
772
|
-
bucket_acl = alicloud.oss.Bucket("bucket-acl",
|
|
773
|
-
|
|
772
|
+
bucket_acl = alicloud.oss.Bucket("bucket-acl", bucket=f"example-value-{default['result']}")
|
|
773
|
+
bucket_acl_bucket_acl = alicloud.oss.BucketAcl("bucket-acl",
|
|
774
|
+
bucket=bucket_acl.bucket,
|
|
774
775
|
acl="private")
|
|
775
776
|
```
|
|
776
777
|
|
|
@@ -802,8 +803,9 @@ class Bucket(pulumi.CustomResource):
|
|
|
802
803
|
default = random.index.Integer("default",
|
|
803
804
|
max=99999,
|
|
804
805
|
min=10000)
|
|
805
|
-
bucket_target = alicloud.oss.Bucket("bucket-target",
|
|
806
|
-
|
|
806
|
+
bucket_target = alicloud.oss.Bucket("bucket-target", bucket=f"example-value-{default['result']}")
|
|
807
|
+
bucket_target_bucket_acl = alicloud.oss.BucketAcl("bucket-target",
|
|
808
|
+
bucket=bucket_target.bucket,
|
|
807
809
|
acl="public-read")
|
|
808
810
|
bucket_logging = alicloud.oss.Bucket("bucket-logging",
|
|
809
811
|
bucket=f"example-logging-{default['result']}",
|
|
@@ -825,7 +827,6 @@ class Bucket(pulumi.CustomResource):
|
|
|
825
827
|
min=10000)
|
|
826
828
|
bucket_referer = alicloud.oss.Bucket("bucket-referer",
|
|
827
829
|
bucket=f"example-value-{default['result']}",
|
|
828
|
-
acl="private",
|
|
829
830
|
referer_config={
|
|
830
831
|
"allow_empty": False,
|
|
831
832
|
"referers": [
|
|
@@ -833,6 +834,9 @@ class Bucket(pulumi.CustomResource):
|
|
|
833
834
|
"https://www.aliyun.com",
|
|
834
835
|
],
|
|
835
836
|
})
|
|
837
|
+
default_bucket_acl = alicloud.oss.BucketAcl("default",
|
|
838
|
+
bucket=bucket_referer.bucket,
|
|
839
|
+
acl="private")
|
|
836
840
|
```
|
|
837
841
|
|
|
838
842
|
Set lifecycle rule
|
|
@@ -891,8 +895,9 @@ class Bucket(pulumi.CustomResource):
|
|
|
891
895
|
default = random.index.Integer("default",
|
|
892
896
|
max=99999,
|
|
893
897
|
min=10000)
|
|
894
|
-
bucket_acl = alicloud.oss.Bucket("bucket-acl",
|
|
895
|
-
|
|
898
|
+
bucket_acl = alicloud.oss.Bucket("bucket-acl", bucket=f"example-value-{default['result']}")
|
|
899
|
+
bucket_acl_bucket_acl = alicloud.oss.BucketAcl("bucket-acl",
|
|
900
|
+
bucket=bucket_acl.bucket,
|
|
896
901
|
acl="private")
|
|
897
902
|
```
|
|
898
903
|
|
|
@@ -924,8 +929,9 @@ class Bucket(pulumi.CustomResource):
|
|
|
924
929
|
default = random.index.Integer("default",
|
|
925
930
|
max=99999,
|
|
926
931
|
min=10000)
|
|
927
|
-
bucket_target = alicloud.oss.Bucket("bucket-target",
|
|
928
|
-
|
|
932
|
+
bucket_target = alicloud.oss.Bucket("bucket-target", bucket=f"example-value-{default['result']}")
|
|
933
|
+
bucket_target_bucket_acl = alicloud.oss.BucketAcl("bucket-target",
|
|
934
|
+
bucket=bucket_target.bucket,
|
|
929
935
|
acl="public-read")
|
|
930
936
|
bucket_logging = alicloud.oss.Bucket("bucket-logging",
|
|
931
937
|
bucket=f"example-logging-{default['result']}",
|
|
@@ -947,7 +953,6 @@ class Bucket(pulumi.CustomResource):
|
|
|
947
953
|
min=10000)
|
|
948
954
|
bucket_referer = alicloud.oss.Bucket("bucket-referer",
|
|
949
955
|
bucket=f"example-value-{default['result']}",
|
|
950
|
-
acl="private",
|
|
951
956
|
referer_config={
|
|
952
957
|
"allow_empty": False,
|
|
953
958
|
"referers": [
|
|
@@ -955,6 +960,9 @@ class Bucket(pulumi.CustomResource):
|
|
|
955
960
|
"https://www.aliyun.com",
|
|
956
961
|
],
|
|
957
962
|
})
|
|
963
|
+
default_bucket_acl = alicloud.oss.BucketAcl("default",
|
|
964
|
+
bucket=bucket_referer.bucket,
|
|
965
|
+
acl="private")
|
|
958
966
|
```
|
|
959
967
|
|
|
960
968
|
Set lifecycle rule
|
|
@@ -535,8 +535,9 @@ class BucketObject(pulumi.CustomResource):
|
|
|
535
535
|
default = random.index.Integer("default",
|
|
536
536
|
max=99999,
|
|
537
537
|
min=10000)
|
|
538
|
-
default_bucket = alicloud.oss.Bucket("default",
|
|
539
|
-
|
|
538
|
+
default_bucket = alicloud.oss.Bucket("default", bucket=f"terraform-example-{default['result']}")
|
|
539
|
+
default_bucket_acl = alicloud.oss.BucketAcl("default",
|
|
540
|
+
bucket=default_bucket.bucket,
|
|
540
541
|
acl="private")
|
|
541
542
|
default_bucket_object = alicloud.oss.BucketObject("default",
|
|
542
543
|
bucket=default_bucket.bucket,
|
|
@@ -554,8 +555,9 @@ class BucketObject(pulumi.CustomResource):
|
|
|
554
555
|
default = random.index.Integer("default",
|
|
555
556
|
max=99999,
|
|
556
557
|
min=10000)
|
|
557
|
-
default_bucket = alicloud.oss.Bucket("default",
|
|
558
|
-
|
|
558
|
+
default_bucket = alicloud.oss.Bucket("default", bucket=f"terraform-example-{default['result']}")
|
|
559
|
+
default_bucket_acl = alicloud.oss.BucketAcl("default",
|
|
560
|
+
bucket=default_bucket.bucket,
|
|
559
561
|
acl="private")
|
|
560
562
|
default_bucket_object = alicloud.oss.BucketObject("default",
|
|
561
563
|
bucket=default_bucket.bucket,
|
|
@@ -603,8 +605,9 @@ class BucketObject(pulumi.CustomResource):
|
|
|
603
605
|
default = random.index.Integer("default",
|
|
604
606
|
max=99999,
|
|
605
607
|
min=10000)
|
|
606
|
-
default_bucket = alicloud.oss.Bucket("default",
|
|
607
|
-
|
|
608
|
+
default_bucket = alicloud.oss.Bucket("default", bucket=f"terraform-example-{default['result']}")
|
|
609
|
+
default_bucket_acl = alicloud.oss.BucketAcl("default",
|
|
610
|
+
bucket=default_bucket.bucket,
|
|
608
611
|
acl="private")
|
|
609
612
|
default_bucket_object = alicloud.oss.BucketObject("default",
|
|
610
613
|
bucket=default_bucket.bucket,
|
|
@@ -622,8 +625,9 @@ class BucketObject(pulumi.CustomResource):
|
|
|
622
625
|
default = random.index.Integer("default",
|
|
623
626
|
max=99999,
|
|
624
627
|
min=10000)
|
|
625
|
-
default_bucket = alicloud.oss.Bucket("default",
|
|
626
|
-
|
|
628
|
+
default_bucket = alicloud.oss.Bucket("default", bucket=f"terraform-example-{default['result']}")
|
|
629
|
+
default_bucket_acl = alicloud.oss.BucketAcl("default",
|
|
630
|
+
bucket=default_bucket.bucket,
|
|
627
631
|
acl="private")
|
|
628
632
|
default_bucket_object = alicloud.oss.BucketObject("default",
|
|
629
633
|
bucket=default_bucket.bucket,
|
|
@@ -422,7 +422,7 @@ class BucketReplication(pulumi.CustomResource):
|
|
|
422
422
|
description="this is a policy test",
|
|
423
423
|
force=True)
|
|
424
424
|
attach = alicloud.ram.RolePolicyAttachment("attach",
|
|
425
|
-
policy_name=policy.
|
|
425
|
+
policy_name=policy.policy_name,
|
|
426
426
|
policy_type=policy.type,
|
|
427
427
|
role_name=role.name)
|
|
428
428
|
key = alicloud.kms.Key("key",
|
|
@@ -540,7 +540,7 @@ class BucketReplication(pulumi.CustomResource):
|
|
|
540
540
|
description="this is a policy test",
|
|
541
541
|
force=True)
|
|
542
542
|
attach = alicloud.ram.RolePolicyAttachment("attach",
|
|
543
|
-
policy_name=policy.
|
|
543
|
+
policy_name=policy.policy_name,
|
|
544
544
|
policy_type=policy.type,
|
|
545
545
|
role_name=role.name)
|
|
546
546
|
key = alicloud.kms.Key("key",
|
|
@@ -50,6 +50,7 @@ class ClusterArgs:
|
|
|
50
50
|
period: Optional[pulumi.Input[int]] = None,
|
|
51
51
|
planned_end_time: Optional[pulumi.Input[str]] = None,
|
|
52
52
|
planned_start_time: Optional[pulumi.Input[str]] = None,
|
|
53
|
+
provisioned_iops: Optional[pulumi.Input[str]] = None,
|
|
53
54
|
proxy_class: Optional[pulumi.Input[str]] = None,
|
|
54
55
|
proxy_type: Optional[pulumi.Input[str]] = None,
|
|
55
56
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
@@ -82,7 +83,8 @@ class ClusterArgs:
|
|
|
82
83
|
The set of arguments for constructing a Cluster resource.
|
|
83
84
|
:param pulumi.Input[str] db_node_class: The db_node_class of cluster node.
|
|
84
85
|
> **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
|
|
85
|
-
From version 1.204.0, If you need to create a Serverless cluster, `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
86
|
+
From version 1.204.0, If you need to create a Serverless cluster with MySQL , `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
87
|
+
From version 1.229.1, If you need to create a Serverless cluster with PostgreSQL 14 using the SENormal edition, `db_node_class` can be set to `polar.pg.sl.small.c`(x86 Architecture). Region can refer to the latest docs(https://help.aliyun.com/zh/polardb/polardb-for-postgresql/the-public-preview-of-polardb-for-postgresql-serverless-ends?spm=a2c4g.11186623.0.0.2e9f6cf0B4rIfC).
|
|
86
88
|
:param pulumi.Input[str] db_type: Database type. Value options: MySQL, Oracle, PostgreSQL.
|
|
87
89
|
:param pulumi.Input[str] db_version: Database version. Value options can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1) `DBVersion`.
|
|
88
90
|
:param pulumi.Input[str] allow_shut_down: Specifies whether to enable the no-activity suspension feature. Default value: false. Valid values are `true`, `false`. This parameter is valid only for serverless clusters.
|
|
@@ -132,6 +134,8 @@ class ClusterArgs:
|
|
|
132
134
|
> **NOTE:** The latest time must be 30 minutes or more later than the start time. If PlannedStartTime is set but this parameter is not specified, the latest time to execute the target task defaults to the start time+30 minutes. For example, when the PlannedStartTime is set to 2021-01-14T09:00:00Z and this parameter is left blank, the target task will start executing at the latest on 2021-01-14T09:30:00Z.
|
|
133
135
|
:param pulumi.Input[str] planned_start_time: The earliest time to start executing a scheduled (i.e. within the target time period) kernel version upgrade task. The format is YYYY-MM-DDThh: mm: ssZ (UTC).
|
|
134
136
|
> **NOTE:** The starting time range is any time point within the next 24 hours. For example, the current time is 2021-01-14T09:00:00Z, and the allowed start time range for filling in here is 2021-01-14T09:00:00Z~2021-01-15T09:00:00Z. If this parameter is left blank, the kernel version upgrade task will be executed immediately by default.
|
|
137
|
+
:param pulumi.Input[str] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
138
|
+
> **NOTE:** This parameter is available only if the StorageType parameter is set to ESSDAUTOPL.
|
|
135
139
|
:param pulumi.Input[str] proxy_class: The specifications of the Standard Edition PolarProxy. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
136
140
|
> **NOTE:** This parameter is valid only for standard edition clusters.
|
|
137
141
|
:param pulumi.Input[str] proxy_type: The type of PolarProxy. Valid values are `EXCLUSIVE` `GENERAL`.
|
|
@@ -158,8 +162,7 @@ class ClusterArgs:
|
|
|
158
162
|
:param pulumi.Input[int] storage_space: Storage space charged by space (monthly package). Unit: GB.
|
|
159
163
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
160
164
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
161
|
-
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`. The standard version only supports MySQL.
|
|
162
|
-
> **NOTE:** Serverless cluster does not support this parameter.
|
|
165
|
+
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
163
166
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
164
167
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
165
168
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -238,6 +241,8 @@ class ClusterArgs:
|
|
|
238
241
|
pulumi.set(__self__, "planned_end_time", planned_end_time)
|
|
239
242
|
if planned_start_time is not None:
|
|
240
243
|
pulumi.set(__self__, "planned_start_time", planned_start_time)
|
|
244
|
+
if provisioned_iops is not None:
|
|
245
|
+
pulumi.set(__self__, "provisioned_iops", provisioned_iops)
|
|
241
246
|
if proxy_class is not None:
|
|
242
247
|
pulumi.set(__self__, "proxy_class", proxy_class)
|
|
243
248
|
if proxy_type is not None:
|
|
@@ -301,7 +306,8 @@ class ClusterArgs:
|
|
|
301
306
|
"""
|
|
302
307
|
The db_node_class of cluster node.
|
|
303
308
|
> **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
|
|
304
|
-
From version 1.204.0, If you need to create a Serverless cluster, `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
309
|
+
From version 1.204.0, If you need to create a Serverless cluster with MySQL , `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
310
|
+
From version 1.229.1, If you need to create a Serverless cluster with PostgreSQL 14 using the SENormal edition, `db_node_class` can be set to `polar.pg.sl.small.c`(x86 Architecture). Region can refer to the latest docs(https://help.aliyun.com/zh/polardb/polardb-for-postgresql/the-public-preview-of-polardb-for-postgresql-serverless-ends?spm=a2c4g.11186623.0.0.2e9f6cf0B4rIfC).
|
|
305
311
|
"""
|
|
306
312
|
return pulumi.get(self, "db_node_class")
|
|
307
313
|
|
|
@@ -721,6 +727,19 @@ class ClusterArgs:
|
|
|
721
727
|
def planned_start_time(self, value: Optional[pulumi.Input[str]]):
|
|
722
728
|
pulumi.set(self, "planned_start_time", value)
|
|
723
729
|
|
|
730
|
+
@property
|
|
731
|
+
@pulumi.getter(name="provisionedIops")
|
|
732
|
+
def provisioned_iops(self) -> Optional[pulumi.Input[str]]:
|
|
733
|
+
"""
|
|
734
|
+
The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
735
|
+
> **NOTE:** This parameter is available only if the StorageType parameter is set to ESSDAUTOPL.
|
|
736
|
+
"""
|
|
737
|
+
return pulumi.get(self, "provisioned_iops")
|
|
738
|
+
|
|
739
|
+
@provisioned_iops.setter
|
|
740
|
+
def provisioned_iops(self, value: Optional[pulumi.Input[str]]):
|
|
741
|
+
pulumi.set(self, "provisioned_iops", value)
|
|
742
|
+
|
|
724
743
|
@property
|
|
725
744
|
@pulumi.getter(name="proxyClass")
|
|
726
745
|
def proxy_class(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -960,8 +979,7 @@ class ClusterArgs:
|
|
|
960
979
|
@pulumi.getter(name="storageType")
|
|
961
980
|
def storage_type(self) -> Optional[pulumi.Input[str]]:
|
|
962
981
|
"""
|
|
963
|
-
The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`. The standard version only supports MySQL.
|
|
964
|
-
> **NOTE:** Serverless cluster does not support this parameter.
|
|
982
|
+
The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
965
983
|
"""
|
|
966
984
|
return pulumi.get(self, "storage_type")
|
|
967
985
|
|
|
@@ -1111,6 +1129,7 @@ class _ClusterState:
|
|
|
1111
1129
|
planned_end_time: Optional[pulumi.Input[str]] = None,
|
|
1112
1130
|
planned_start_time: Optional[pulumi.Input[str]] = None,
|
|
1113
1131
|
port: Optional[pulumi.Input[str]] = None,
|
|
1132
|
+
provisioned_iops: Optional[pulumi.Input[str]] = None,
|
|
1114
1133
|
proxy_class: Optional[pulumi.Input[str]] = None,
|
|
1115
1134
|
proxy_type: Optional[pulumi.Input[str]] = None,
|
|
1116
1135
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
@@ -1158,7 +1177,8 @@ class _ClusterState:
|
|
|
1158
1177
|
:param pulumi.Input[Sequence[pulumi.Input['ClusterDbClusterIpArrayArgs']]] db_cluster_ip_arrays: db_cluster_ip_array defines how users can send requests to your API. See `db_cluster_ip_array` below.
|
|
1159
1178
|
:param pulumi.Input[str] db_node_class: The db_node_class of cluster node.
|
|
1160
1179
|
> **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
|
|
1161
|
-
From version 1.204.0, If you need to create a Serverless cluster, `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
1180
|
+
From version 1.204.0, If you need to create a Serverless cluster with MySQL , `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
1181
|
+
From version 1.229.1, If you need to create a Serverless cluster with PostgreSQL 14 using the SENormal edition, `db_node_class` can be set to `polar.pg.sl.small.c`(x86 Architecture). Region can refer to the latest docs(https://help.aliyun.com/zh/polardb/polardb-for-postgresql/the-public-preview-of-polardb-for-postgresql-serverless-ends?spm=a2c4g.11186623.0.0.2e9f6cf0B4rIfC).
|
|
1162
1182
|
:param pulumi.Input[int] db_node_count: Number of the PolarDB cluster nodes, default is 2(Each cluster must contain at least a primary node and a read-only node). Add/remove nodes by modifying this parameter, valid values: [2~16].
|
|
1163
1183
|
> **NOTE:** To avoid adding or removing multiple read-only nodes by mistake, the system allows you to add or remove one read-only node at a time.
|
|
1164
1184
|
:param pulumi.Input[str] db_node_id: The ID of the node or node subscript. Node subscript values: 1 to 15.
|
|
@@ -1199,6 +1219,8 @@ class _ClusterState:
|
|
|
1199
1219
|
:param pulumi.Input[str] planned_start_time: The earliest time to start executing a scheduled (i.e. within the target time period) kernel version upgrade task. The format is YYYY-MM-DDThh: mm: ssZ (UTC).
|
|
1200
1220
|
> **NOTE:** The starting time range is any time point within the next 24 hours. For example, the current time is 2021-01-14T09:00:00Z, and the allowed start time range for filling in here is 2021-01-14T09:00:00Z~2021-01-15T09:00:00Z. If this parameter is left blank, the kernel version upgrade task will be executed immediately by default.
|
|
1201
1221
|
:param pulumi.Input[str] port: (Available since 1.196.0) PolarDB cluster connection port.
|
|
1222
|
+
:param pulumi.Input[str] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1223
|
+
> **NOTE:** This parameter is available only if the StorageType parameter is set to ESSDAUTOPL.
|
|
1202
1224
|
:param pulumi.Input[str] proxy_class: The specifications of the Standard Edition PolarProxy. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
1203
1225
|
> **NOTE:** This parameter is valid only for standard edition clusters.
|
|
1204
1226
|
:param pulumi.Input[str] proxy_type: The type of PolarProxy. Valid values are `EXCLUSIVE` `GENERAL`.
|
|
@@ -1226,8 +1248,7 @@ class _ClusterState:
|
|
|
1226
1248
|
:param pulumi.Input[int] storage_space: Storage space charged by space (monthly package). Unit: GB.
|
|
1227
1249
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
1228
1250
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
1229
|
-
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`. The standard version only supports MySQL.
|
|
1230
|
-
> **NOTE:** Serverless cluster does not support this parameter.
|
|
1251
|
+
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
1231
1252
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
1232
1253
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1233
1254
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -1320,6 +1341,8 @@ class _ClusterState:
|
|
|
1320
1341
|
pulumi.set(__self__, "planned_start_time", planned_start_time)
|
|
1321
1342
|
if port is not None:
|
|
1322
1343
|
pulumi.set(__self__, "port", port)
|
|
1344
|
+
if provisioned_iops is not None:
|
|
1345
|
+
pulumi.set(__self__, "provisioned_iops", provisioned_iops)
|
|
1323
1346
|
if proxy_class is not None:
|
|
1324
1347
|
pulumi.set(__self__, "proxy_class", proxy_class)
|
|
1325
1348
|
if proxy_type is not None:
|
|
@@ -1510,7 +1533,8 @@ class _ClusterState:
|
|
|
1510
1533
|
"""
|
|
1511
1534
|
The db_node_class of cluster node.
|
|
1512
1535
|
> **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
|
|
1513
|
-
From version 1.204.0, If you need to create a Serverless cluster, `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
1536
|
+
From version 1.204.0, If you need to create a Serverless cluster with MySQL , `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
1537
|
+
From version 1.229.1, If you need to create a Serverless cluster with PostgreSQL 14 using the SENormal edition, `db_node_class` can be set to `polar.pg.sl.small.c`(x86 Architecture). Region can refer to the latest docs(https://help.aliyun.com/zh/polardb/polardb-for-postgresql/the-public-preview-of-polardb-for-postgresql-serverless-ends?spm=a2c4g.11186623.0.0.2e9f6cf0B4rIfC).
|
|
1514
1538
|
"""
|
|
1515
1539
|
return pulumi.get(self, "db_node_class")
|
|
1516
1540
|
|
|
@@ -1855,6 +1879,19 @@ class _ClusterState:
|
|
|
1855
1879
|
def port(self, value: Optional[pulumi.Input[str]]):
|
|
1856
1880
|
pulumi.set(self, "port", value)
|
|
1857
1881
|
|
|
1882
|
+
@property
|
|
1883
|
+
@pulumi.getter(name="provisionedIops")
|
|
1884
|
+
def provisioned_iops(self) -> Optional[pulumi.Input[str]]:
|
|
1885
|
+
"""
|
|
1886
|
+
The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1887
|
+
> **NOTE:** This parameter is available only if the StorageType parameter is set to ESSDAUTOPL.
|
|
1888
|
+
"""
|
|
1889
|
+
return pulumi.get(self, "provisioned_iops")
|
|
1890
|
+
|
|
1891
|
+
@provisioned_iops.setter
|
|
1892
|
+
def provisioned_iops(self, value: Optional[pulumi.Input[str]]):
|
|
1893
|
+
pulumi.set(self, "provisioned_iops", value)
|
|
1894
|
+
|
|
1858
1895
|
@property
|
|
1859
1896
|
@pulumi.getter(name="proxyClass")
|
|
1860
1897
|
def proxy_class(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2106,8 +2143,7 @@ class _ClusterState:
|
|
|
2106
2143
|
@pulumi.getter(name="storageType")
|
|
2107
2144
|
def storage_type(self) -> Optional[pulumi.Input[str]]:
|
|
2108
2145
|
"""
|
|
2109
|
-
The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`. The standard version only supports MySQL.
|
|
2110
|
-
> **NOTE:** Serverless cluster does not support this parameter.
|
|
2146
|
+
The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
2111
2147
|
"""
|
|
2112
2148
|
return pulumi.get(self, "storage_type")
|
|
2113
2149
|
|
|
@@ -2269,6 +2305,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2269
2305
|
period: Optional[pulumi.Input[int]] = None,
|
|
2270
2306
|
planned_end_time: Optional[pulumi.Input[str]] = None,
|
|
2271
2307
|
planned_start_time: Optional[pulumi.Input[str]] = None,
|
|
2308
|
+
provisioned_iops: Optional[pulumi.Input[str]] = None,
|
|
2272
2309
|
proxy_class: Optional[pulumi.Input[str]] = None,
|
|
2273
2310
|
proxy_type: Optional[pulumi.Input[str]] = None,
|
|
2274
2311
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
@@ -2322,7 +2359,8 @@ class Cluster(pulumi.CustomResource):
|
|
|
2322
2359
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ClusterDbClusterIpArrayArgs', 'ClusterDbClusterIpArrayArgsDict']]]] db_cluster_ip_arrays: db_cluster_ip_array defines how users can send requests to your API. See `db_cluster_ip_array` below.
|
|
2323
2360
|
:param pulumi.Input[str] db_node_class: The db_node_class of cluster node.
|
|
2324
2361
|
> **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
|
|
2325
|
-
From version 1.204.0, If you need to create a Serverless cluster, `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
2362
|
+
From version 1.204.0, If you need to create a Serverless cluster with MySQL , `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
2363
|
+
From version 1.229.1, If you need to create a Serverless cluster with PostgreSQL 14 using the SENormal edition, `db_node_class` can be set to `polar.pg.sl.small.c`(x86 Architecture). Region can refer to the latest docs(https://help.aliyun.com/zh/polardb/polardb-for-postgresql/the-public-preview-of-polardb-for-postgresql-serverless-ends?spm=a2c4g.11186623.0.0.2e9f6cf0B4rIfC).
|
|
2326
2364
|
:param pulumi.Input[int] db_node_count: Number of the PolarDB cluster nodes, default is 2(Each cluster must contain at least a primary node and a read-only node). Add/remove nodes by modifying this parameter, valid values: [2~16].
|
|
2327
2365
|
> **NOTE:** To avoid adding or removing multiple read-only nodes by mistake, the system allows you to add or remove one read-only node at a time.
|
|
2328
2366
|
:param pulumi.Input[str] db_node_id: The ID of the node or node subscript. Node subscript values: 1 to 15.
|
|
@@ -2361,6 +2399,8 @@ class Cluster(pulumi.CustomResource):
|
|
|
2361
2399
|
> **NOTE:** The latest time must be 30 minutes or more later than the start time. If PlannedStartTime is set but this parameter is not specified, the latest time to execute the target task defaults to the start time+30 minutes. For example, when the PlannedStartTime is set to 2021-01-14T09:00:00Z and this parameter is left blank, the target task will start executing at the latest on 2021-01-14T09:30:00Z.
|
|
2362
2400
|
:param pulumi.Input[str] planned_start_time: The earliest time to start executing a scheduled (i.e. within the target time period) kernel version upgrade task. The format is YYYY-MM-DDThh: mm: ssZ (UTC).
|
|
2363
2401
|
> **NOTE:** The starting time range is any time point within the next 24 hours. For example, the current time is 2021-01-14T09:00:00Z, and the allowed start time range for filling in here is 2021-01-14T09:00:00Z~2021-01-15T09:00:00Z. If this parameter is left blank, the kernel version upgrade task will be executed immediately by default.
|
|
2402
|
+
:param pulumi.Input[str] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
2403
|
+
> **NOTE:** This parameter is available only if the StorageType parameter is set to ESSDAUTOPL.
|
|
2364
2404
|
:param pulumi.Input[str] proxy_class: The specifications of the Standard Edition PolarProxy. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
2365
2405
|
> **NOTE:** This parameter is valid only for standard edition clusters.
|
|
2366
2406
|
:param pulumi.Input[str] proxy_type: The type of PolarProxy. Valid values are `EXCLUSIVE` `GENERAL`.
|
|
@@ -2387,8 +2427,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2387
2427
|
:param pulumi.Input[int] storage_space: Storage space charged by space (monthly package). Unit: GB.
|
|
2388
2428
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
2389
2429
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
2390
|
-
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`. The standard version only supports MySQL.
|
|
2391
|
-
> **NOTE:** Serverless cluster does not support this parameter.
|
|
2430
|
+
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
2392
2431
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
2393
2432
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
2394
2433
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -2466,6 +2505,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2466
2505
|
period: Optional[pulumi.Input[int]] = None,
|
|
2467
2506
|
planned_end_time: Optional[pulumi.Input[str]] = None,
|
|
2468
2507
|
planned_start_time: Optional[pulumi.Input[str]] = None,
|
|
2508
|
+
provisioned_iops: Optional[pulumi.Input[str]] = None,
|
|
2469
2509
|
proxy_class: Optional[pulumi.Input[str]] = None,
|
|
2470
2510
|
proxy_type: Optional[pulumi.Input[str]] = None,
|
|
2471
2511
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
@@ -2543,6 +2583,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2543
2583
|
__props__.__dict__["period"] = period
|
|
2544
2584
|
__props__.__dict__["planned_end_time"] = planned_end_time
|
|
2545
2585
|
__props__.__dict__["planned_start_time"] = planned_start_time
|
|
2586
|
+
__props__.__dict__["provisioned_iops"] = provisioned_iops
|
|
2546
2587
|
__props__.__dict__["proxy_class"] = proxy_class
|
|
2547
2588
|
__props__.__dict__["proxy_type"] = proxy_type
|
|
2548
2589
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
@@ -2625,6 +2666,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2625
2666
|
planned_end_time: Optional[pulumi.Input[str]] = None,
|
|
2626
2667
|
planned_start_time: Optional[pulumi.Input[str]] = None,
|
|
2627
2668
|
port: Optional[pulumi.Input[str]] = None,
|
|
2669
|
+
provisioned_iops: Optional[pulumi.Input[str]] = None,
|
|
2628
2670
|
proxy_class: Optional[pulumi.Input[str]] = None,
|
|
2629
2671
|
proxy_type: Optional[pulumi.Input[str]] = None,
|
|
2630
2672
|
renewal_status: Optional[pulumi.Input[str]] = None,
|
|
@@ -2677,7 +2719,8 @@ class Cluster(pulumi.CustomResource):
|
|
|
2677
2719
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ClusterDbClusterIpArrayArgs', 'ClusterDbClusterIpArrayArgsDict']]]] db_cluster_ip_arrays: db_cluster_ip_array defines how users can send requests to your API. See `db_cluster_ip_array` below.
|
|
2678
2720
|
:param pulumi.Input[str] db_node_class: The db_node_class of cluster node.
|
|
2679
2721
|
> **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
|
|
2680
|
-
From version 1.204.0, If you need to create a Serverless cluster, `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
2722
|
+
From version 1.204.0, If you need to create a Serverless cluster with MySQL , `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
2723
|
+
From version 1.229.1, If you need to create a Serverless cluster with PostgreSQL 14 using the SENormal edition, `db_node_class` can be set to `polar.pg.sl.small.c`(x86 Architecture). Region can refer to the latest docs(https://help.aliyun.com/zh/polardb/polardb-for-postgresql/the-public-preview-of-polardb-for-postgresql-serverless-ends?spm=a2c4g.11186623.0.0.2e9f6cf0B4rIfC).
|
|
2681
2724
|
:param pulumi.Input[int] db_node_count: Number of the PolarDB cluster nodes, default is 2(Each cluster must contain at least a primary node and a read-only node). Add/remove nodes by modifying this parameter, valid values: [2~16].
|
|
2682
2725
|
> **NOTE:** To avoid adding or removing multiple read-only nodes by mistake, the system allows you to add or remove one read-only node at a time.
|
|
2683
2726
|
:param pulumi.Input[str] db_node_id: The ID of the node or node subscript. Node subscript values: 1 to 15.
|
|
@@ -2718,6 +2761,8 @@ class Cluster(pulumi.CustomResource):
|
|
|
2718
2761
|
:param pulumi.Input[str] planned_start_time: The earliest time to start executing a scheduled (i.e. within the target time period) kernel version upgrade task. The format is YYYY-MM-DDThh: mm: ssZ (UTC).
|
|
2719
2762
|
> **NOTE:** The starting time range is any time point within the next 24 hours. For example, the current time is 2021-01-14T09:00:00Z, and the allowed start time range for filling in here is 2021-01-14T09:00:00Z~2021-01-15T09:00:00Z. If this parameter is left blank, the kernel version upgrade task will be executed immediately by default.
|
|
2720
2763
|
:param pulumi.Input[str] port: (Available since 1.196.0) PolarDB cluster connection port.
|
|
2764
|
+
:param pulumi.Input[str] provisioned_iops: The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
2765
|
+
> **NOTE:** This parameter is available only if the StorageType parameter is set to ESSDAUTOPL.
|
|
2721
2766
|
:param pulumi.Input[str] proxy_class: The specifications of the Standard Edition PolarProxy. Available parameters can refer to the latest docs [CreateDBCluster](https://www.alibabacloud.com/help/en/polardb/latest/createdbcluster-1)
|
|
2722
2767
|
> **NOTE:** This parameter is valid only for standard edition clusters.
|
|
2723
2768
|
:param pulumi.Input[str] proxy_type: The type of PolarProxy. Valid values are `EXCLUSIVE` `GENERAL`.
|
|
@@ -2745,8 +2790,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2745
2790
|
:param pulumi.Input[int] storage_space: Storage space charged by space (monthly package). Unit: GB.
|
|
2746
2791
|
> **NOTE:** Valid values for PolarDB for MySQL Standard Edition: 20 to 32000. It is valid when pay_type are `PrePaid` ,`PostPaid`.
|
|
2747
2792
|
> **NOTE:** Valid values for PolarDB for MySQL Enterprise Edition: 50 to 100000.It is valid when pay_type is `PrePaid`.
|
|
2748
|
-
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`. The standard version only supports MySQL.
|
|
2749
|
-
> **NOTE:** Serverless cluster does not support this parameter.
|
|
2793
|
+
:param pulumi.Input[str] storage_type: The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
2750
2794
|
:param pulumi.Input[str] sub_category: The category of the cluster. Valid values are `Exclusive`, `General`. Only MySQL supports.
|
|
2751
2795
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
2752
2796
|
- Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string.
|
|
@@ -2805,6 +2849,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
2805
2849
|
__props__.__dict__["planned_end_time"] = planned_end_time
|
|
2806
2850
|
__props__.__dict__["planned_start_time"] = planned_start_time
|
|
2807
2851
|
__props__.__dict__["port"] = port
|
|
2852
|
+
__props__.__dict__["provisioned_iops"] = provisioned_iops
|
|
2808
2853
|
__props__.__dict__["proxy_class"] = proxy_class
|
|
2809
2854
|
__props__.__dict__["proxy_type"] = proxy_type
|
|
2810
2855
|
__props__.__dict__["renewal_status"] = renewal_status
|
|
@@ -2926,7 +2971,8 @@ class Cluster(pulumi.CustomResource):
|
|
|
2926
2971
|
"""
|
|
2927
2972
|
The db_node_class of cluster node.
|
|
2928
2973
|
> **NOTE:** Node specifications are divided into cluster version, single node version and History Library version. They can't change each other, but the general specification and exclusive specification of cluster version can be changed.
|
|
2929
|
-
From version 1.204.0, If you need to create a Serverless cluster, `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
2974
|
+
From version 1.204.0, If you need to create a Serverless cluster with MySQL , `db_node_class` can be set to `polar.mysql.sl.small`.
|
|
2975
|
+
From version 1.229.1, If you need to create a Serverless cluster with PostgreSQL 14 using the SENormal edition, `db_node_class` can be set to `polar.pg.sl.small.c`(x86 Architecture). Region can refer to the latest docs(https://help.aliyun.com/zh/polardb/polardb-for-postgresql/the-public-preview-of-polardb-for-postgresql-serverless-ends?spm=a2c4g.11186623.0.0.2e9f6cf0B4rIfC).
|
|
2930
2976
|
"""
|
|
2931
2977
|
return pulumi.get(self, "db_node_class")
|
|
2932
2978
|
|
|
@@ -3159,6 +3205,15 @@ class Cluster(pulumi.CustomResource):
|
|
|
3159
3205
|
"""
|
|
3160
3206
|
return pulumi.get(self, "port")
|
|
3161
3207
|
|
|
3208
|
+
@property
|
|
3209
|
+
@pulumi.getter(name="provisionedIops")
|
|
3210
|
+
def provisioned_iops(self) -> pulumi.Output[str]:
|
|
3211
|
+
"""
|
|
3212
|
+
The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
3213
|
+
> **NOTE:** This parameter is available only if the StorageType parameter is set to ESSDAUTOPL.
|
|
3214
|
+
"""
|
|
3215
|
+
return pulumi.get(self, "provisioned_iops")
|
|
3216
|
+
|
|
3162
3217
|
@property
|
|
3163
3218
|
@pulumi.getter(name="proxyClass")
|
|
3164
3219
|
def proxy_class(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -3330,8 +3385,7 @@ class Cluster(pulumi.CustomResource):
|
|
|
3330
3385
|
@pulumi.getter(name="storageType")
|
|
3331
3386
|
def storage_type(self) -> pulumi.Output[str]:
|
|
3332
3387
|
"""
|
|
3333
|
-
The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`. The standard version only supports MySQL.
|
|
3334
|
-
> **NOTE:** Serverless cluster does not support this parameter.
|
|
3388
|
+
The storage type of the cluster. Enterprise storage type values are `PSL5`, `PSL4`. The standard version storage type values are `ESSDPL1`, `ESSDPL2`, `ESSDPL3`, `ESSDPL0`, `ESSDAUTOPL`. The standard version only supports MySQL and PostgreSQL.
|
|
3335
3389
|
"""
|
|
3336
3390
|
return pulumi.get(self, "storage_type")
|
|
3337
3391
|
|
|
@@ -426,7 +426,7 @@ class ZoneRecord(pulumi.CustomResource):
|
|
|
426
426
|
import pulumi
|
|
427
427
|
import pulumi_alicloud as alicloud
|
|
428
428
|
|
|
429
|
-
zone = alicloud.pvtz.Zone("zone",
|
|
429
|
+
zone = alicloud.pvtz.Zone("zone", zone_name="foo.test.com")
|
|
430
430
|
foo = alicloud.pvtz.ZoneRecord("foo",
|
|
431
431
|
zone_id=zone.id,
|
|
432
432
|
rr="www",
|
|
@@ -473,7 +473,7 @@ class ZoneRecord(pulumi.CustomResource):
|
|
|
473
473
|
import pulumi
|
|
474
474
|
import pulumi_alicloud as alicloud
|
|
475
475
|
|
|
476
|
-
zone = alicloud.pvtz.Zone("zone",
|
|
476
|
+
zone = alicloud.pvtz.Zone("zone", zone_name="foo.test.com")
|
|
477
477
|
foo = alicloud.pvtz.ZoneRecord("foo",
|
|
478
478
|
zone_id=zone.id,
|
|
479
479
|
rr="www",
|
|
@@ -227,6 +227,7 @@ class AccessKey(pulumi.CustomResource):
|
|
|
227
227
|
## Example Usage
|
|
228
228
|
|
|
229
229
|
Output the secret to a file.
|
|
230
|
+
|
|
230
231
|
```python
|
|
231
232
|
import pulumi
|
|
232
233
|
import pulumi_alicloud as alicloud
|
|
@@ -245,6 +246,7 @@ class AccessKey(pulumi.CustomResource):
|
|
|
245
246
|
```
|
|
246
247
|
|
|
247
248
|
Using `pgp_key` to encrypt the secret.
|
|
249
|
+
|
|
248
250
|
```python
|
|
249
251
|
import pulumi
|
|
250
252
|
import pulumi_alicloud as alicloud
|
|
@@ -314,6 +316,7 @@ class AccessKey(pulumi.CustomResource):
|
|
|
314
316
|
## Example Usage
|
|
315
317
|
|
|
316
318
|
Output the secret to a file.
|
|
319
|
+
|
|
317
320
|
```python
|
|
318
321
|
import pulumi
|
|
319
322
|
import pulumi_alicloud as alicloud
|
|
@@ -332,6 +335,7 @@ class AccessKey(pulumi.CustomResource):
|
|
|
332
335
|
```
|
|
333
336
|
|
|
334
337
|
Using `pgp_key` to encrypt the secret.
|
|
338
|
+
|
|
335
339
|
```python
|
|
336
340
|
import pulumi
|
|
337
341
|
import pulumi_alicloud as alicloud
|
|
@@ -233,7 +233,7 @@ class AccountPrivilege(pulumi.CustomResource):
|
|
|
233
233
|
account_description="from terraform")
|
|
234
234
|
privilege = alicloud.rds.AccountPrivilege("privilege",
|
|
235
235
|
instance_id=instance.id,
|
|
236
|
-
account_name=account.
|
|
236
|
+
account_name=account.account_name,
|
|
237
237
|
privilege="ReadOnly",
|
|
238
238
|
db_names=[__item.name for __item in db])
|
|
239
239
|
```
|
|
@@ -312,7 +312,7 @@ class AccountPrivilege(pulumi.CustomResource):
|
|
|
312
312
|
account_description="from terraform")
|
|
313
313
|
privilege = alicloud.rds.AccountPrivilege("privilege",
|
|
314
314
|
instance_id=instance.id,
|
|
315
|
-
account_name=account.
|
|
315
|
+
account_name=account.account_name,
|
|
316
316
|
privilege="ReadOnly",
|
|
317
317
|
db_names=[__item.name for __item in db])
|
|
318
318
|
```
|