pulumi-alicloud 3.63.0a1727424957__py3-none-any.whl → 3.63.0a1727705137__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.

Files changed (40) hide show
  1. pulumi_alicloud/__init__.py +24 -0
  2. pulumi_alicloud/alb/acl.py +18 -19
  3. pulumi_alicloud/alb/health_check_template.py +96 -88
  4. pulumi_alicloud/cms/_inputs.py +6 -6
  5. pulumi_alicloud/cms/outputs.py +6 -6
  6. pulumi_alicloud/ddos/_inputs.py +8 -9
  7. pulumi_alicloud/ddos/domain_resource.py +446 -90
  8. pulumi_alicloud/ddos/outputs.py +7 -8
  9. pulumi_alicloud/eci/container_group.py +47 -0
  10. pulumi_alicloud/ecs/ecs_snapshot.py +199 -77
  11. pulumi_alicloud/ecs/snapshot.py +26 -8
  12. pulumi_alicloud/ess/__init__.py +1 -0
  13. pulumi_alicloud/ess/alarm.py +47 -0
  14. pulumi_alicloud/ess/server_group_attachment.py +552 -0
  15. pulumi_alicloud/ga/_inputs.py +23 -5
  16. pulumi_alicloud/ga/outputs.py +21 -5
  17. pulumi_alicloud/governance/account.py +61 -0
  18. pulumi_alicloud/gpdb/__init__.py +4 -0
  19. pulumi_alicloud/gpdb/_inputs.py +361 -3
  20. pulumi_alicloud/gpdb/db_instance_ip_array.py +533 -0
  21. pulumi_alicloud/gpdb/get_data_backups.py +288 -0
  22. pulumi_alicloud/gpdb/get_log_backups.py +225 -0
  23. pulumi_alicloud/gpdb/instance.py +47 -0
  24. pulumi_alicloud/gpdb/outputs.py +597 -4
  25. pulumi_alicloud/gpdb/streaming_job.py +1568 -0
  26. pulumi_alicloud/nlb/load_balancer.py +116 -0
  27. pulumi_alicloud/oos/get_secret_parameters.py +111 -9
  28. pulumi_alicloud/oos/outputs.py +22 -11
  29. pulumi_alicloud/pulumi-plugin.json +1 -1
  30. pulumi_alicloud/rds/instance.py +21 -21
  31. pulumi_alicloud/rocketmq/_inputs.py +79 -22
  32. pulumi_alicloud/rocketmq/outputs.py +85 -21
  33. pulumi_alicloud/rocketmq/rocket_mq_instance.py +307 -113
  34. pulumi_alicloud/vpc/peer_connection.py +127 -59
  35. pulumi_alicloud/vpc/peer_connection_accepter.py +263 -42
  36. pulumi_alicloud/vpc/route_entry.py +232 -210
  37. {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/METADATA +1 -1
  38. {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/RECORD +40 -35
  39. {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/WHEEL +0 -0
  40. {pulumi_alicloud-3.63.0a1727424957.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/top_level.txt +0 -0
@@ -767,6 +767,64 @@ class LoadBalancer(pulumi.CustomResource):
767
767
  ])
768
768
  ```
769
769
 
770
+ DualStack Usage
771
+
772
+ ```python
773
+ import pulumi
774
+ import pulumi_alicloud as alicloud
775
+
776
+ config = pulumi.Config()
777
+ name = config.get("name")
778
+ if name is None:
779
+ name = "tf-example"
780
+ zone = config.get_object("zone")
781
+ if zone is None:
782
+ zone = [
783
+ "cn-beijing-i",
784
+ "cn-beijing-k",
785
+ "cn-beijing-l",
786
+ ]
787
+ vpc = alicloud.vpc.Network("vpc",
788
+ vpc_name=name,
789
+ cidr_block="10.2.0.0/16",
790
+ enable_ipv6=True)
791
+ vsw = []
792
+ for range in [{"value": i} for i in range(0, 2)]:
793
+ vsw.append(alicloud.vpc.Switch(f"vsw-{range['value']}",
794
+ enable_ipv6=True,
795
+ ipv6_cidr_block_mask=f"1{range['value']}",
796
+ vswitch_name=f"vsw-{range['value']}-for-nlb",
797
+ vpc_id=vpc.id,
798
+ cidr_block=f"10.2.1{range['value']}.0/24",
799
+ zone_id=zone[range["value"]]))
800
+ default = alicloud.vpc.Ipv6Gateway("default",
801
+ ipv6_gateway_name=name,
802
+ vpc_id=vpc.id)
803
+ nlb = alicloud.nlb.LoadBalancer("nlb",
804
+ load_balancer_name=name,
805
+ load_balancer_type="Network",
806
+ address_type="Intranet",
807
+ address_ip_version="DualStack",
808
+ ipv6_address_type="Internet",
809
+ vpc_id=vpc.id,
810
+ cross_zone_enabled=False,
811
+ tags={
812
+ "Created": "TF",
813
+ "For": "example",
814
+ },
815
+ zone_mappings=[
816
+ {
817
+ "vswitch_id": vsw[0].id,
818
+ "zone_id": zone[0],
819
+ },
820
+ {
821
+ "vswitch_id": vsw[1].id,
822
+ "zone_id": zone[1],
823
+ },
824
+ ],
825
+ opts = pulumi.ResourceOptions(depends_on=[default]))
826
+ ```
827
+
770
828
  ## Import
771
829
 
772
830
  NLB Load Balancer can be imported using the id, e.g.
@@ -868,6 +926,64 @@ class LoadBalancer(pulumi.CustomResource):
868
926
  ])
869
927
  ```
870
928
 
929
+ DualStack Usage
930
+
931
+ ```python
932
+ import pulumi
933
+ import pulumi_alicloud as alicloud
934
+
935
+ config = pulumi.Config()
936
+ name = config.get("name")
937
+ if name is None:
938
+ name = "tf-example"
939
+ zone = config.get_object("zone")
940
+ if zone is None:
941
+ zone = [
942
+ "cn-beijing-i",
943
+ "cn-beijing-k",
944
+ "cn-beijing-l",
945
+ ]
946
+ vpc = alicloud.vpc.Network("vpc",
947
+ vpc_name=name,
948
+ cidr_block="10.2.0.0/16",
949
+ enable_ipv6=True)
950
+ vsw = []
951
+ for range in [{"value": i} for i in range(0, 2)]:
952
+ vsw.append(alicloud.vpc.Switch(f"vsw-{range['value']}",
953
+ enable_ipv6=True,
954
+ ipv6_cidr_block_mask=f"1{range['value']}",
955
+ vswitch_name=f"vsw-{range['value']}-for-nlb",
956
+ vpc_id=vpc.id,
957
+ cidr_block=f"10.2.1{range['value']}.0/24",
958
+ zone_id=zone[range["value"]]))
959
+ default = alicloud.vpc.Ipv6Gateway("default",
960
+ ipv6_gateway_name=name,
961
+ vpc_id=vpc.id)
962
+ nlb = alicloud.nlb.LoadBalancer("nlb",
963
+ load_balancer_name=name,
964
+ load_balancer_type="Network",
965
+ address_type="Intranet",
966
+ address_ip_version="DualStack",
967
+ ipv6_address_type="Internet",
968
+ vpc_id=vpc.id,
969
+ cross_zone_enabled=False,
970
+ tags={
971
+ "Created": "TF",
972
+ "For": "example",
973
+ },
974
+ zone_mappings=[
975
+ {
976
+ "vswitch_id": vsw[0].id,
977
+ "zone_id": zone[0],
978
+ },
979
+ {
980
+ "vswitch_id": vsw[1].id,
981
+ "zone_id": zone[1],
982
+ },
983
+ ],
984
+ opts = pulumi.ResourceOptions(depends_on=[default]))
985
+ ```
986
+
871
987
  ## Import
872
988
 
873
989
  NLB Load Balancer can be imported using the id, e.g.
@@ -22,7 +22,7 @@ class GetSecretParametersResult:
22
22
  """
23
23
  A collection of values returned by getSecretParameters.
24
24
  """
25
- def __init__(__self__, enable_details=None, id=None, ids=None, name_regex=None, names=None, output_file=None, parameters=None, resource_group_id=None, secret_parameter_name=None, sort_field=None, sort_order=None, tags=None):
25
+ def __init__(__self__, enable_details=None, id=None, ids=None, name_regex=None, names=None, output_file=None, parameters=None, resource_group_id=None, secret_parameter_name=None, sort_field=None, sort_order=None, tags=None, with_decryption=None):
26
26
  if enable_details and not isinstance(enable_details, bool):
27
27
  raise TypeError("Expected argument 'enable_details' to be a bool")
28
28
  pulumi.set(__self__, "enable_details", enable_details)
@@ -59,6 +59,9 @@ class GetSecretParametersResult:
59
59
  if tags and not isinstance(tags, dict):
60
60
  raise TypeError("Expected argument 'tags' to be a dict")
61
61
  pulumi.set(__self__, "tags", tags)
62
+ if with_decryption and not isinstance(with_decryption, bool):
63
+ raise TypeError("Expected argument 'with_decryption' to be a bool")
64
+ pulumi.set(__self__, "with_decryption", with_decryption)
62
65
 
63
66
  @property
64
67
  @pulumi.getter(name="enableDetails")
@@ -86,6 +89,9 @@ class GetSecretParametersResult:
86
89
  @property
87
90
  @pulumi.getter
88
91
  def names(self) -> Sequence[str]:
92
+ """
93
+ A list of Secret Parameter names.
94
+ """
89
95
  return pulumi.get(self, "names")
90
96
 
91
97
  @property
@@ -96,16 +102,25 @@ class GetSecretParametersResult:
96
102
  @property
97
103
  @pulumi.getter
98
104
  def parameters(self) -> Sequence['outputs.GetSecretParametersParameterResult']:
105
+ """
106
+ A list of Oos Secret Parameters. Each element contains the following attributes:
107
+ """
99
108
  return pulumi.get(self, "parameters")
100
109
 
101
110
  @property
102
111
  @pulumi.getter(name="resourceGroupId")
103
112
  def resource_group_id(self) -> Optional[str]:
113
+ """
114
+ The ID of the Resource Group.
115
+ """
104
116
  return pulumi.get(self, "resource_group_id")
105
117
 
106
118
  @property
107
119
  @pulumi.getter(name="secretParameterName")
108
120
  def secret_parameter_name(self) -> Optional[str]:
121
+ """
122
+ The name of the encryption parameter.
123
+ """
109
124
  return pulumi.get(self, "secret_parameter_name")
110
125
 
111
126
  @property
@@ -121,8 +136,16 @@ class GetSecretParametersResult:
121
136
  @property
122
137
  @pulumi.getter
123
138
  def tags(self) -> Optional[Mapping[str, str]]:
139
+ """
140
+ The tags of the parameter.
141
+ """
124
142
  return pulumi.get(self, "tags")
125
143
 
144
+ @property
145
+ @pulumi.getter(name="withDecryption")
146
+ def with_decryption(self) -> Optional[bool]:
147
+ return pulumi.get(self, "with_decryption")
148
+
126
149
 
127
150
  class AwaitableGetSecretParametersResult(GetSecretParametersResult):
128
151
  # pylint: disable=using-constant-test
@@ -141,7 +164,8 @@ class AwaitableGetSecretParametersResult(GetSecretParametersResult):
141
164
  secret_parameter_name=self.secret_parameter_name,
142
165
  sort_field=self.sort_field,
143
166
  sort_order=self.sort_order,
144
- tags=self.tags)
167
+ tags=self.tags,
168
+ with_decryption=self.with_decryption)
145
169
 
146
170
 
147
171
  def get_secret_parameters(enable_details: Optional[bool] = None,
@@ -153,20 +177,58 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
153
177
  sort_field: Optional[str] = None,
154
178
  sort_order: Optional[str] = None,
155
179
  tags: Optional[Mapping[str, str]] = None,
180
+ with_decryption: Optional[bool] = None,
156
181
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretParametersResult:
157
182
  """
158
183
  This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.
159
184
 
160
- > **NOTE:** Available in v1.147.0+.
185
+ > **NOTE:** Available since v1.147.0.
186
+
187
+ ## Example Usage
188
+
189
+ Basic Usage
190
+
191
+ ```python
192
+ import pulumi
193
+ import pulumi_alicloud as alicloud
161
194
 
195
+ config = pulumi.Config()
196
+ name = config.get("name")
197
+ if name is None:
198
+ name = "terraform-example"
199
+ default = alicloud.oos.SecretParameter("default",
200
+ secret_parameter_name=name,
201
+ value="tf-testacc-oos_secret_parameter",
202
+ type="Secret",
203
+ description=name,
204
+ constraints=\"\"\" {
205
+ "AllowedValues": [
206
+ "tf-testacc-oos_secret_parameter"
207
+ ],
208
+ "AllowedPattern": "tf-testacc-oos_secret_parameter",
209
+ "MinLength": 1,
210
+ "MaxLength": 100
211
+ }
212
+ \"\"\",
213
+ tags={
214
+ "Created": "TF",
215
+ "For": "SecretParameter",
216
+ })
217
+ ids = alicloud.oos.get_secret_parameters_output(ids=[default.id])
218
+ pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
219
+ ```
162
220
 
163
- :param bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
221
+
222
+ :param bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
164
223
  :param Sequence[str] ids: A list of Secret Parameter IDs.
165
224
  :param str name_regex: A regex string to filter results by Secret Parameter name.
166
225
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
167
226
  :param str resource_group_id: The ID of the Resource Group.
168
- :param str secret_parameter_name: The name of the secret parameter.
227
+ :param str secret_parameter_name: The name of the Secret Parameter.
228
+ :param str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
229
+ :param str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
169
230
  :param Mapping[str, str] tags: A mapping of tags to assign to the resource.
231
+ :param bool with_decryption: Specifies whether to decrypt the parameter value. Default value: `false`. **Note:** `with_decryption` takes effect only if `enable_details` is set to `true`.
170
232
  """
171
233
  __args__ = dict()
172
234
  __args__['enableDetails'] = enable_details
@@ -178,6 +240,7 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
178
240
  __args__['sortField'] = sort_field
179
241
  __args__['sortOrder'] = sort_order
180
242
  __args__['tags'] = tags
243
+ __args__['withDecryption'] = with_decryption
181
244
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
182
245
  __ret__ = pulumi.runtime.invoke('alicloud:oos/getSecretParameters:getSecretParameters', __args__, opts=opts, typ=GetSecretParametersResult).value
183
246
 
@@ -193,7 +256,8 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
193
256
  secret_parameter_name=pulumi.get(__ret__, 'secret_parameter_name'),
194
257
  sort_field=pulumi.get(__ret__, 'sort_field'),
195
258
  sort_order=pulumi.get(__ret__, 'sort_order'),
196
- tags=pulumi.get(__ret__, 'tags'))
259
+ tags=pulumi.get(__ret__, 'tags'),
260
+ with_decryption=pulumi.get(__ret__, 'with_decryption'))
197
261
 
198
262
 
199
263
  @_utilities.lift_output_func(get_secret_parameters)
@@ -206,19 +270,57 @@ def get_secret_parameters_output(enable_details: Optional[pulumi.Input[Optional[
206
270
  sort_field: Optional[pulumi.Input[Optional[str]]] = None,
207
271
  sort_order: Optional[pulumi.Input[Optional[str]]] = None,
208
272
  tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
273
+ with_decryption: Optional[pulumi.Input[Optional[bool]]] = None,
209
274
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretParametersResult]:
210
275
  """
211
276
  This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.
212
277
 
213
- > **NOTE:** Available in v1.147.0+.
278
+ > **NOTE:** Available since v1.147.0.
279
+
280
+ ## Example Usage
281
+
282
+ Basic Usage
283
+
284
+ ```python
285
+ import pulumi
286
+ import pulumi_alicloud as alicloud
287
+
288
+ config = pulumi.Config()
289
+ name = config.get("name")
290
+ if name is None:
291
+ name = "terraform-example"
292
+ default = alicloud.oos.SecretParameter("default",
293
+ secret_parameter_name=name,
294
+ value="tf-testacc-oos_secret_parameter",
295
+ type="Secret",
296
+ description=name,
297
+ constraints=\"\"\" {
298
+ "AllowedValues": [
299
+ "tf-testacc-oos_secret_parameter"
300
+ ],
301
+ "AllowedPattern": "tf-testacc-oos_secret_parameter",
302
+ "MinLength": 1,
303
+ "MaxLength": 100
304
+ }
305
+ \"\"\",
306
+ tags={
307
+ "Created": "TF",
308
+ "For": "SecretParameter",
309
+ })
310
+ ids = alicloud.oos.get_secret_parameters_output(ids=[default.id])
311
+ pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
312
+ ```
214
313
 
215
314
 
216
- :param bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
315
+ :param bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
217
316
  :param Sequence[str] ids: A list of Secret Parameter IDs.
218
317
  :param str name_regex: A regex string to filter results by Secret Parameter name.
219
318
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
220
319
  :param str resource_group_id: The ID of the Resource Group.
221
- :param str secret_parameter_name: The name of the secret parameter.
320
+ :param str secret_parameter_name: The name of the Secret Parameter.
321
+ :param str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
322
+ :param str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
222
323
  :param Mapping[str, str] tags: A mapping of tags to assign to the resource.
324
+ :param bool with_decryption: Specifies whether to decrypt the parameter value. Default value: `false`. **Note:** `with_decryption` takes effect only if `enable_details` is set to `true`.
223
325
  """
224
326
  ...
@@ -787,23 +787,25 @@ class GetSecretParametersParameterResult(dict):
787
787
  tags: Mapping[str, str],
788
788
  type: str,
789
789
  updated_by: str,
790
- updated_date: str):
790
+ updated_date: str,
791
+ value: str):
791
792
  """
792
- :param str constraints: The constraints of the encryption parameter.
793
+ :param str constraints: The constraints of the encryption parameter. **Note:** `constraints` takes effect only if `enable_details` is set to `true`.
793
794
  :param str create_time: The time when the encryption parameter was created.
794
795
  :param str created_by: The user who created the encryption parameter.
795
796
  :param str description: The description of the encryption parameter.
796
797
  :param str id: The ID of the Secret Parameter.
797
- :param str key_id: KeyId of KMS used for encryption.
798
+ :param str key_id: The ID of the key of Key Management Service (KMS) that is used for encryption.
798
799
  :param int parameter_version: The version number of the encryption parameter.
799
800
  :param str resource_group_id: The ID of the Resource Group.
800
801
  :param str secret_parameter_id: The ID of the encryption parameter.
801
- :param str secret_parameter_name: The name of the encryption parameter.
802
+ :param str secret_parameter_name: The name of the Secret Parameter.
802
803
  :param str share_type: The share type of the encryption parameter.
803
- :param Mapping[str, str] tags: The tag of the resource.
804
- :param str type: The data type of the encryption parameter.
804
+ :param Mapping[str, str] tags: A mapping of tags to assign to the resource.
805
+ :param str type: The type of the parameter.
805
806
  :param str updated_by: The user who updated the encryption parameter.
806
807
  :param str updated_date: The time when the encryption parameter was updated.
808
+ :param str value: (Available since v1.231.0) The value of the encryption parameter. **Note:** `value` takes effect only if `with_decryption` is set to `true`.
807
809
  """
808
810
  pulumi.set(__self__, "constraints", constraints)
809
811
  pulumi.set(__self__, "create_time", create_time)
@@ -820,12 +822,13 @@ class GetSecretParametersParameterResult(dict):
820
822
  pulumi.set(__self__, "type", type)
821
823
  pulumi.set(__self__, "updated_by", updated_by)
822
824
  pulumi.set(__self__, "updated_date", updated_date)
825
+ pulumi.set(__self__, "value", value)
823
826
 
824
827
  @property
825
828
  @pulumi.getter
826
829
  def constraints(self) -> str:
827
830
  """
828
- The constraints of the encryption parameter.
831
+ The constraints of the encryption parameter. **Note:** `constraints` takes effect only if `enable_details` is set to `true`.
829
832
  """
830
833
  return pulumi.get(self, "constraints")
831
834
 
@@ -865,7 +868,7 @@ class GetSecretParametersParameterResult(dict):
865
868
  @pulumi.getter(name="keyId")
866
869
  def key_id(self) -> str:
867
870
  """
868
- KeyId of KMS used for encryption.
871
+ The ID of the key of Key Management Service (KMS) that is used for encryption.
869
872
  """
870
873
  return pulumi.get(self, "key_id")
871
874
 
@@ -897,7 +900,7 @@ class GetSecretParametersParameterResult(dict):
897
900
  @pulumi.getter(name="secretParameterName")
898
901
  def secret_parameter_name(self) -> str:
899
902
  """
900
- The name of the encryption parameter.
903
+ The name of the Secret Parameter.
901
904
  """
902
905
  return pulumi.get(self, "secret_parameter_name")
903
906
 
@@ -913,7 +916,7 @@ class GetSecretParametersParameterResult(dict):
913
916
  @pulumi.getter
914
917
  def tags(self) -> Mapping[str, str]:
915
918
  """
916
- The tag of the resource.
919
+ A mapping of tags to assign to the resource.
917
920
  """
918
921
  return pulumi.get(self, "tags")
919
922
 
@@ -921,7 +924,7 @@ class GetSecretParametersParameterResult(dict):
921
924
  @pulumi.getter
922
925
  def type(self) -> str:
923
926
  """
924
- The data type of the encryption parameter.
927
+ The type of the parameter.
925
928
  """
926
929
  return pulumi.get(self, "type")
927
930
 
@@ -941,6 +944,14 @@ class GetSecretParametersParameterResult(dict):
941
944
  """
942
945
  return pulumi.get(self, "updated_date")
943
946
 
947
+ @property
948
+ @pulumi.getter
949
+ def value(self) -> str:
950
+ """
951
+ (Available since v1.231.0) The value of the encryption parameter. **Note:** `value` takes effect only if `with_decryption` is set to `true`.
952
+ """
953
+ return pulumi.get(self, "value")
954
+
944
955
 
945
956
  @pulumi.output_type
946
957
  class GetStateConfigurationsConfigurationResult(dict):
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "alicloud",
4
- "version": "3.63.0-alpha.1727424957"
4
+ "version": "3.63.0-alpha.1727705137"
5
5
  }
@@ -138,7 +138,7 @@ class InstanceArgs:
138
138
  :param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
139
139
 
140
140
  > **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
141
- :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
141
+ :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. **NOTE:** From version 1.231.0, `ca_type` start support `MySQL` engine. Value range:
142
142
  - aliyun: a cloud certificate
143
143
  - custom: a custom certificate
144
144
  :param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
@@ -247,8 +247,8 @@ class InstanceArgs:
247
247
  :param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
248
248
  :param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
249
249
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
250
- :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
251
- :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
250
+ :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_cert` start support `MySQL` engine.
251
+ :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_key` start support `MySQL` engine.
252
252
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerlessConfigArgs']]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
253
253
  :param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
254
254
  :param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
@@ -627,7 +627,7 @@ class InstanceArgs:
627
627
  @pulumi.getter(name="caType")
628
628
  def ca_type(self) -> Optional[pulumi.Input[str]]:
629
629
  """
630
- The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
630
+ The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. **NOTE:** From version 1.231.0, `ca_type` start support `MySQL` engine. Value range:
631
631
  - aliyun: a cloud certificate
632
632
  - custom: a custom certificate
633
633
  """
@@ -1199,7 +1199,7 @@ class InstanceArgs:
1199
1199
  @pulumi.getter(name="serverCert")
1200
1200
  def server_cert(self) -> Optional[pulumi.Input[str]]:
1201
1201
  """
1202
- The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
1202
+ The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_cert` start support `MySQL` engine.
1203
1203
  """
1204
1204
  return pulumi.get(self, "server_cert")
1205
1205
 
@@ -1211,7 +1211,7 @@ class InstanceArgs:
1211
1211
  @pulumi.getter(name="serverKey")
1212
1212
  def server_key(self) -> Optional[pulumi.Input[str]]:
1213
1213
  """
1214
- The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
1214
+ The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_key` start support `MySQL` engine.
1215
1215
  """
1216
1216
  return pulumi.get(self, "server_key")
1217
1217
 
@@ -1609,7 +1609,7 @@ class _InstanceState:
1609
1609
  :param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
1610
1610
 
1611
1611
  > **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
1612
- :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
1612
+ :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. **NOTE:** From version 1.231.0, `ca_type` start support `MySQL` engine. Value range:
1613
1613
  - aliyun: a cloud certificate
1614
1614
  - custom: a custom certificate
1615
1615
  :param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
@@ -1749,8 +1749,8 @@ class _InstanceState:
1749
1749
  :param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
1750
1750
  :param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
1751
1751
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
1752
- :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
1753
- :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
1752
+ :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_cert` start support `MySQL` engine.
1753
+ :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_key` start support `MySQL` engine.
1754
1754
  :param pulumi.Input[Sequence[pulumi.Input['InstanceServerlessConfigArgs']]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
1755
1755
  :param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
1756
1756
  :param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
@@ -2073,7 +2073,7 @@ class _InstanceState:
2073
2073
  @pulumi.getter(name="caType")
2074
2074
  def ca_type(self) -> Optional[pulumi.Input[str]]:
2075
2075
  """
2076
- The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
2076
+ The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. **NOTE:** From version 1.231.0, `ca_type` start support `MySQL` engine. Value range:
2077
2077
  - aliyun: a cloud certificate
2078
2078
  - custom: a custom certificate
2079
2079
  """
@@ -2753,7 +2753,7 @@ class _InstanceState:
2753
2753
  @pulumi.getter(name="serverCert")
2754
2754
  def server_cert(self) -> Optional[pulumi.Input[str]]:
2755
2755
  """
2756
- The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
2756
+ The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_cert` start support `MySQL` engine.
2757
2757
  """
2758
2758
  return pulumi.get(self, "server_cert")
2759
2759
 
@@ -2765,7 +2765,7 @@ class _InstanceState:
2765
2765
  @pulumi.getter(name="serverKey")
2766
2766
  def server_key(self) -> Optional[pulumi.Input[str]]:
2767
2767
  """
2768
- The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
2768
+ The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_key` start support `MySQL` engine.
2769
2769
  """
2770
2770
  return pulumi.get(self, "server_key")
2771
2771
 
@@ -3194,7 +3194,7 @@ class Instance(pulumi.CustomResource):
3194
3194
  :param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
3195
3195
 
3196
3196
  > **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
3197
- :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
3197
+ :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. **NOTE:** From version 1.231.0, `ca_type` start support `MySQL` engine. Value range:
3198
3198
  - aliyun: a cloud certificate
3199
3199
  - custom: a custom certificate
3200
3200
  :param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
@@ -3331,8 +3331,8 @@ class Instance(pulumi.CustomResource):
3331
3331
  :param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
3332
3332
  :param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
3333
3333
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
3334
- :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
3335
- :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
3334
+ :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_cert` start support `MySQL` engine.
3335
+ :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_key` start support `MySQL` engine.
3336
3336
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerlessConfigArgs', 'InstanceServerlessConfigArgsDict']]]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
3337
3337
  :param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
3338
3338
  :param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
@@ -3716,7 +3716,7 @@ class Instance(pulumi.CustomResource):
3716
3716
  :param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
3717
3717
 
3718
3718
  > **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
3719
- :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
3719
+ :param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. **NOTE:** From version 1.231.0, `ca_type` start support `MySQL` engine. Value range:
3720
3720
  - aliyun: a cloud certificate
3721
3721
  - custom: a custom certificate
3722
3722
  :param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
@@ -3856,8 +3856,8 @@ class Instance(pulumi.CustomResource):
3856
3856
  :param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
3857
3857
  :param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
3858
3858
  :param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
3859
- :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
3860
- :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
3859
+ :param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_cert` start support `MySQL` engine.
3860
+ :param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_key` start support `MySQL` engine.
3861
3861
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerlessConfigArgs', 'InstanceServerlessConfigArgsDict']]]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
3862
3862
  :param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
3863
3863
  :param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
@@ -4076,7 +4076,7 @@ class Instance(pulumi.CustomResource):
4076
4076
  @pulumi.getter(name="caType")
4077
4077
  def ca_type(self) -> pulumi.Output[str]:
4078
4078
  """
4079
- The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
4079
+ The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. **NOTE:** From version 1.231.0, `ca_type` start support `MySQL` engine. Value range:
4080
4080
  - aliyun: a cloud certificate
4081
4081
  - custom: a custom certificate
4082
4082
  """
@@ -4560,7 +4560,7 @@ class Instance(pulumi.CustomResource):
4560
4560
  @pulumi.getter(name="serverCert")
4561
4561
  def server_cert(self) -> pulumi.Output[str]:
4562
4562
  """
4563
- The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
4563
+ The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_cert` start support `MySQL` engine.
4564
4564
  """
4565
4565
  return pulumi.get(self, "server_cert")
4566
4566
 
@@ -4568,7 +4568,7 @@ class Instance(pulumi.CustomResource):
4568
4568
  @pulumi.getter(name="serverKey")
4569
4569
  def server_key(self) -> pulumi.Output[str]:
4570
4570
  """
4571
- The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
4571
+ The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL or MySQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter. **NOTE:** From version 1.231.0, `server_key` start support `MySQL` engine.
4572
4572
  """
4573
4573
  return pulumi.get(self, "server_key")
4574
4574