pulumi-alicloud 3.67.0a1731734345__py3-none-any.whl → 3.67.0a1732274867__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 (44) hide show
  1. pulumi_alicloud/__init__.py +16 -0
  2. pulumi_alicloud/cen/flow_log.py +373 -58
  3. pulumi_alicloud/cen/transit_router_ecr_attachment.py +4 -4
  4. pulumi_alicloud/cr/registry_enterprise_instance.py +474 -90
  5. pulumi_alicloud/ecs/ecs_image_component.py +221 -48
  6. pulumi_alicloud/ess/_inputs.py +94 -0
  7. pulumi_alicloud/ess/eci_scaling_configuration.py +42 -14
  8. pulumi_alicloud/ess/outputs.py +79 -0
  9. pulumi_alicloud/ess/scaling_configuration.py +47 -0
  10. pulumi_alicloud/expressconnect/router_vbr_child_instance.py +86 -25
  11. pulumi_alicloud/kms/key.py +1 -1
  12. pulumi_alicloud/kvstore/account.py +24 -24
  13. pulumi_alicloud/kvstore/audit_log_config.py +4 -4
  14. pulumi_alicloud/kvstore/backup_policy.py +2 -2
  15. pulumi_alicloud/kvstore/connection.py +8 -8
  16. pulumi_alicloud/kvstore/get_accounts.py +4 -4
  17. pulumi_alicloud/kvstore/get_connections.py +5 -5
  18. pulumi_alicloud/kvstore/get_instance_classes.py +12 -12
  19. pulumi_alicloud/kvstore/get_instance_engines.py +7 -7
  20. pulumi_alicloud/kvstore/get_permission.py +10 -10
  21. pulumi_alicloud/kvstore/get_zones.py +4 -4
  22. pulumi_alicloud/kvstore/outputs.py +2 -2
  23. pulumi_alicloud/mongodb/instance.py +47 -0
  24. pulumi_alicloud/mongodb/sharding_instance.py +47 -0
  25. pulumi_alicloud/polardb/cluster.py +7 -7
  26. pulumi_alicloud/privatelink/vpc_endpoint_service.py +42 -91
  27. pulumi_alicloud/privatelink/vpc_endpoint_service_connection.py +27 -23
  28. pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +34 -37
  29. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +28 -0
  30. pulumi_alicloud/pulumi-plugin.json +1 -1
  31. pulumi_alicloud/rds/__init__.py +2 -0
  32. pulumi_alicloud/rds/_inputs.py +146 -0
  33. pulumi_alicloud/rds/custom.py +1630 -0
  34. pulumi_alicloud/rds/custom_deployment_set.py +525 -0
  35. pulumi_alicloud/rds/outputs.py +105 -0
  36. pulumi_alicloud/redis/tair_instance.py +76 -1
  37. pulumi_alicloud/vpc/_inputs.py +54 -0
  38. pulumi_alicloud/vpc/nat_gateway.py +175 -14
  39. pulumi_alicloud/vpc/outputs.py +51 -0
  40. pulumi_alicloud/vpn/gateway_vco_route.py +68 -21
  41. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/METADATA +5 -5
  42. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/RECORD +44 -42
  43. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/WHEEL +1 -1
  44. {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/top_level.txt +0 -0
@@ -72,8 +72,12 @@ class EciScalingConfigurationArgs:
72
72
  :param pulumi.Input[int] active_deadline_seconds: The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
73
73
  :param pulumi.Input[bool] auto_create_eip: Whether create eip automatically.
74
74
  :param pulumi.Input[bool] auto_match_image_cache: Whether to automatically match the image cache.
75
- :param pulumi.Input[str] container_group_name: The name of the container group. which must contain 2-128 characters (
76
- English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
75
+ :param pulumi.Input[str] container_group_name: The name series of the elastic container instances created from the scaling configuration. If you want to use an ordered instance name, specify the value for this parameter in the following format: name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix.
76
+ name_prefix: the prefix of the hostname.
77
+ (AUTO_INCREMENT): the sort method. This is a static field.
78
+ begin_number: the start value of the sequential values. Valid values: 0 to 999999.
79
+ bits: the number of digits in sequential values. Valid values: 1 to 6. If the number of digits in the specified begin_number value is greater than the value of the bits field, the bits field is automatically set to 6.
80
+ name_suffix: the suffix of the hostname. This field is optional.
77
81
  :param pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]] containers: The list of containers. See `containers` below for details.
78
82
  :param pulumi.Input[bool] cost_optimization: Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
79
83
  :param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
@@ -285,8 +289,12 @@ class EciScalingConfigurationArgs:
285
289
  @pulumi.getter(name="containerGroupName")
286
290
  def container_group_name(self) -> Optional[pulumi.Input[str]]:
287
291
  """
288
- The name of the container group. which must contain 2-128 characters (
289
- English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
292
+ The name series of the elastic container instances created from the scaling configuration. If you want to use an ordered instance name, specify the value for this parameter in the following format: name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix.
293
+ name_prefix: the prefix of the hostname.
294
+ (AUTO_INCREMENT): the sort method. This is a static field.
295
+ begin_number: the start value of the sequential values. Valid values: 0 to 999999.
296
+ bits: the number of digits in sequential values. Valid values: 1 to 6. If the number of digits in the specified begin_number value is greater than the value of the bits field, the bits field is automatically set to 6.
297
+ name_suffix: the suffix of the hostname. This field is optional.
290
298
  """
291
299
  return pulumi.get(self, "container_group_name")
292
300
 
@@ -782,8 +790,12 @@ class _EciScalingConfigurationState:
782
790
  :param pulumi.Input[int] active_deadline_seconds: The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
783
791
  :param pulumi.Input[bool] auto_create_eip: Whether create eip automatically.
784
792
  :param pulumi.Input[bool] auto_match_image_cache: Whether to automatically match the image cache.
785
- :param pulumi.Input[str] container_group_name: The name of the container group. which must contain 2-128 characters (
786
- English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
793
+ :param pulumi.Input[str] container_group_name: The name series of the elastic container instances created from the scaling configuration. If you want to use an ordered instance name, specify the value for this parameter in the following format: name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix.
794
+ name_prefix: the prefix of the hostname.
795
+ (AUTO_INCREMENT): the sort method. This is a static field.
796
+ begin_number: the start value of the sequential values. Valid values: 0 to 999999.
797
+ bits: the number of digits in sequential values. Valid values: 1 to 6. If the number of digits in the specified begin_number value is greater than the value of the bits field, the bits field is automatically set to 6.
798
+ name_suffix: the suffix of the hostname. This field is optional.
787
799
  :param pulumi.Input[Sequence[pulumi.Input['EciScalingConfigurationContainerArgs']]] containers: The list of containers. See `containers` below for details.
788
800
  :param pulumi.Input[bool] cost_optimization: Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
789
801
  :param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
@@ -985,8 +997,12 @@ class _EciScalingConfigurationState:
985
997
  @pulumi.getter(name="containerGroupName")
986
998
  def container_group_name(self) -> Optional[pulumi.Input[str]]:
987
999
  """
988
- The name of the container group. which must contain 2-128 characters (
989
- English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
1000
+ The name series of the elastic container instances created from the scaling configuration. If you want to use an ordered instance name, specify the value for this parameter in the following format: name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix.
1001
+ name_prefix: the prefix of the hostname.
1002
+ (AUTO_INCREMENT): the sort method. This is a static field.
1003
+ begin_number: the start value of the sequential values. Valid values: 0 to 999999.
1004
+ bits: the number of digits in sequential values. Valid values: 1 to 6. If the number of digits in the specified begin_number value is greater than the value of the bits field, the bits field is automatically set to 6.
1005
+ name_suffix: the suffix of the hostname. This field is optional.
990
1006
  """
991
1007
  return pulumi.get(self, "container_group_name")
992
1008
 
@@ -1566,8 +1582,12 @@ class EciScalingConfiguration(pulumi.CustomResource):
1566
1582
  :param pulumi.Input[int] active_deadline_seconds: The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
1567
1583
  :param pulumi.Input[bool] auto_create_eip: Whether create eip automatically.
1568
1584
  :param pulumi.Input[bool] auto_match_image_cache: Whether to automatically match the image cache.
1569
- :param pulumi.Input[str] container_group_name: The name of the container group. which must contain 2-128 characters (
1570
- English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
1585
+ :param pulumi.Input[str] container_group_name: The name series of the elastic container instances created from the scaling configuration. If you want to use an ordered instance name, specify the value for this parameter in the following format: name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix.
1586
+ name_prefix: the prefix of the hostname.
1587
+ (AUTO_INCREMENT): the sort method. This is a static field.
1588
+ begin_number: the start value of the sequential values. Valid values: 0 to 999999.
1589
+ bits: the number of digits in sequential values. Valid values: 1 to 6. If the number of digits in the specified begin_number value is greater than the value of the bits field, the bits field is automatically set to 6.
1590
+ name_suffix: the suffix of the hostname. This field is optional.
1571
1591
  :param pulumi.Input[Sequence[pulumi.Input[Union['EciScalingConfigurationContainerArgs', 'EciScalingConfigurationContainerArgsDict']]]] containers: The list of containers. See `containers` below for details.
1572
1592
  :param pulumi.Input[bool] cost_optimization: Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
1573
1593
  :param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
@@ -1869,8 +1889,12 @@ class EciScalingConfiguration(pulumi.CustomResource):
1869
1889
  :param pulumi.Input[int] active_deadline_seconds: The duration in seconds relative to the startTime that the job may be active before the system tries to terminate it.
1870
1890
  :param pulumi.Input[bool] auto_create_eip: Whether create eip automatically.
1871
1891
  :param pulumi.Input[bool] auto_match_image_cache: Whether to automatically match the image cache.
1872
- :param pulumi.Input[str] container_group_name: The name of the container group. which must contain 2-128 characters (
1873
- English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
1892
+ :param pulumi.Input[str] container_group_name: The name series of the elastic container instances created from the scaling configuration. If you want to use an ordered instance name, specify the value for this parameter in the following format: name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix.
1893
+ name_prefix: the prefix of the hostname.
1894
+ (AUTO_INCREMENT): the sort method. This is a static field.
1895
+ begin_number: the start value of the sequential values. Valid values: 0 to 999999.
1896
+ bits: the number of digits in sequential values. Valid values: 1 to 6. If the number of digits in the specified begin_number value is greater than the value of the bits field, the bits field is automatically set to 6.
1897
+ name_suffix: the suffix of the hostname. This field is optional.
1874
1898
  :param pulumi.Input[Sequence[pulumi.Input[Union['EciScalingConfigurationContainerArgs', 'EciScalingConfigurationContainerArgsDict']]]] containers: The list of containers. See `containers` below for details.
1875
1899
  :param pulumi.Input[bool] cost_optimization: Indicates whether the Cost Optimization feature is enabled. Valid values: true,false.
1876
1900
  :param pulumi.Input[float] cpu: The amount of CPU resources allocated to the container group.
@@ -2015,8 +2039,12 @@ class EciScalingConfiguration(pulumi.CustomResource):
2015
2039
  @pulumi.getter(name="containerGroupName")
2016
2040
  def container_group_name(self) -> pulumi.Output[Optional[str]]:
2017
2041
  """
2018
- The name of the container group. which must contain 2-128 characters (
2019
- English), starting with numbers, English lowercase letters , and can contain number, and hypens `-`.
2042
+ The name series of the elastic container instances created from the scaling configuration. If you want to use an ordered instance name, specify the value for this parameter in the following format: name_prefix(AUTO_INCREMENT)[begin_number,bits]name_suffix.
2043
+ name_prefix: the prefix of the hostname.
2044
+ (AUTO_INCREMENT): the sort method. This is a static field.
2045
+ begin_number: the start value of the sequential values. Valid values: 0 to 999999.
2046
+ bits: the number of digits in sequential values. Valid values: 1 to 6. If the number of digits in the specified begin_number value is greater than the value of the bits field, the bits field is automatically set to 6.
2047
+ name_suffix: the suffix of the hostname. This field is optional.
2020
2048
  """
2021
2049
  return pulumi.get(self, "container_group_name")
2022
2050
 
@@ -35,6 +35,7 @@ __all__ = [
35
35
  'ScalingConfigurationDataDisk',
36
36
  'ScalingConfigurationInstancePatternInfo',
37
37
  'ScalingConfigurationInstanceTypeOverride',
38
+ 'ScalingConfigurationNetworkInterface',
38
39
  'ScalingConfigurationSpotPriceLimit',
39
40
  'ScalingGroupAlbServerGroup',
40
41
  'ScalingGroupLaunchTemplateOverride',
@@ -2051,6 +2052,84 @@ class ScalingConfigurationInstanceTypeOverride(dict):
2051
2052
  return pulumi.get(self, "weighted_capacity")
2052
2053
 
2053
2054
 
2055
+ @pulumi.output_type
2056
+ class ScalingConfigurationNetworkInterface(dict):
2057
+ @staticmethod
2058
+ def __key_warning(key: str):
2059
+ suggest = None
2060
+ if key == "instanceType":
2061
+ suggest = "instance_type"
2062
+ elif key == "ipv6AddressCount":
2063
+ suggest = "ipv6_address_count"
2064
+ elif key == "networkInterfaceTrafficMode":
2065
+ suggest = "network_interface_traffic_mode"
2066
+ elif key == "securityGroupIds":
2067
+ suggest = "security_group_ids"
2068
+
2069
+ if suggest:
2070
+ pulumi.log.warn(f"Key '{key}' not found in ScalingConfigurationNetworkInterface. Access the value via the '{suggest}' property getter instead.")
2071
+
2072
+ def __getitem__(self, key: str) -> Any:
2073
+ ScalingConfigurationNetworkInterface.__key_warning(key)
2074
+ return super().__getitem__(key)
2075
+
2076
+ def get(self, key: str, default = None) -> Any:
2077
+ ScalingConfigurationNetworkInterface.__key_warning(key)
2078
+ return super().get(key, default)
2079
+
2080
+ def __init__(__self__, *,
2081
+ instance_type: Optional[str] = None,
2082
+ ipv6_address_count: Optional[int] = None,
2083
+ network_interface_traffic_mode: Optional[str] = None,
2084
+ security_group_ids: Optional[Sequence[str]] = None):
2085
+ """
2086
+ :param str instance_type: The ENI type. If you specify NetworkInterfaces.N, specify at least one primary ENI. You cannot specify SecurityGroupId or SecurityGroupIds.N. Valid values: Primary, Secondary.
2087
+ :param int ipv6_address_count: The number of randomly generated IPv6 addresses that you want to assign to primary ENI N.
2088
+ :param str network_interface_traffic_mode: The communication mode of the ENI. Valid values: Standard, HighPerformance.
2089
+ :param Sequence[str] security_group_ids: The ID of security group N to which ENI N belongs.
2090
+ """
2091
+ if instance_type is not None:
2092
+ pulumi.set(__self__, "instance_type", instance_type)
2093
+ if ipv6_address_count is not None:
2094
+ pulumi.set(__self__, "ipv6_address_count", ipv6_address_count)
2095
+ if network_interface_traffic_mode is not None:
2096
+ pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
2097
+ if security_group_ids is not None:
2098
+ pulumi.set(__self__, "security_group_ids", security_group_ids)
2099
+
2100
+ @property
2101
+ @pulumi.getter(name="instanceType")
2102
+ def instance_type(self) -> Optional[str]:
2103
+ """
2104
+ The ENI type. If you specify NetworkInterfaces.N, specify at least one primary ENI. You cannot specify SecurityGroupId or SecurityGroupIds.N. Valid values: Primary, Secondary.
2105
+ """
2106
+ return pulumi.get(self, "instance_type")
2107
+
2108
+ @property
2109
+ @pulumi.getter(name="ipv6AddressCount")
2110
+ def ipv6_address_count(self) -> Optional[int]:
2111
+ """
2112
+ The number of randomly generated IPv6 addresses that you want to assign to primary ENI N.
2113
+ """
2114
+ return pulumi.get(self, "ipv6_address_count")
2115
+
2116
+ @property
2117
+ @pulumi.getter(name="networkInterfaceTrafficMode")
2118
+ def network_interface_traffic_mode(self) -> Optional[str]:
2119
+ """
2120
+ The communication mode of the ENI. Valid values: Standard, HighPerformance.
2121
+ """
2122
+ return pulumi.get(self, "network_interface_traffic_mode")
2123
+
2124
+ @property
2125
+ @pulumi.getter(name="securityGroupIds")
2126
+ def security_group_ids(self) -> Optional[Sequence[str]]:
2127
+ """
2128
+ The ID of security group N to which ENI N belongs.
2129
+ """
2130
+ return pulumi.get(self, "security_group_ids")
2131
+
2132
+
2054
2133
  @pulumi.output_type
2055
2134
  class ScalingConfigurationSpotPriceLimit(dict):
2056
2135
  @staticmethod
@@ -47,6 +47,7 @@ class ScalingConfigurationArgs:
47
47
  key_name: Optional[pulumi.Input[str]] = None,
48
48
  kms_encrypted_password: Optional[pulumi.Input[str]] = None,
49
49
  kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
50
+ network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]]] = None,
50
51
  override: Optional[pulumi.Input[bool]] = None,
51
52
  password: Optional[pulumi.Input[str]] = None,
52
53
  password_inherit: Optional[pulumi.Input[bool]] = None,
@@ -100,6 +101,7 @@ class ScalingConfigurationArgs:
100
101
  :param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
101
102
  :param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
102
103
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a db account with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
104
+ :param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]] network_interfaces: Specify NetworkInterfaces.N to configure primary and secondary ENIs. In this case, specify at least one primary ENI. If you set NetworkInterfaces.N.InstanceType to Primary, a primary ENI is configured. If you set NetworkInterfaces.N.InstanceType to Secondary or leave the parameter empty, a secondary ENI is configured. See `network_interfaces` below for details.
103
105
  :param pulumi.Input[bool] override: Indicates whether to overwrite the existing data. Default to false.
104
106
  :param pulumi.Input[str] password: The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).
105
107
  :param pulumi.Input[bool] password_inherit: Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kms_encrypted_password` will be ignored. You must ensure that the selected image has a password configured.
@@ -199,6 +201,8 @@ class ScalingConfigurationArgs:
199
201
  pulumi.set(__self__, "kms_encrypted_password", kms_encrypted_password)
200
202
  if kms_encryption_context is not None:
201
203
  pulumi.set(__self__, "kms_encryption_context", kms_encryption_context)
204
+ if network_interfaces is not None:
205
+ pulumi.set(__self__, "network_interfaces", network_interfaces)
202
206
  if override is not None:
203
207
  pulumi.set(__self__, "override", override)
204
208
  if password is not None:
@@ -564,6 +568,18 @@ class ScalingConfigurationArgs:
564
568
  def kms_encryption_context(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
565
569
  pulumi.set(self, "kms_encryption_context", value)
566
570
 
571
+ @property
572
+ @pulumi.getter(name="networkInterfaces")
573
+ def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]]]:
574
+ """
575
+ Specify NetworkInterfaces.N to configure primary and secondary ENIs. In this case, specify at least one primary ENI. If you set NetworkInterfaces.N.InstanceType to Primary, a primary ENI is configured. If you set NetworkInterfaces.N.InstanceType to Secondary or leave the parameter empty, a secondary ENI is configured. See `network_interfaces` below for details.
576
+ """
577
+ return pulumi.get(self, "network_interfaces")
578
+
579
+ @network_interfaces.setter
580
+ def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]]]):
581
+ pulumi.set(self, "network_interfaces", value)
582
+
567
583
  @property
568
584
  @pulumi.getter
569
585
  def override(self) -> Optional[pulumi.Input[bool]]:
@@ -909,6 +925,7 @@ class _ScalingConfigurationState:
909
925
  key_name: Optional[pulumi.Input[str]] = None,
910
926
  kms_encrypted_password: Optional[pulumi.Input[str]] = None,
911
927
  kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
928
+ network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]]] = None,
912
929
  override: Optional[pulumi.Input[bool]] = None,
913
930
  password: Optional[pulumi.Input[str]] = None,
914
931
  password_inherit: Optional[pulumi.Input[bool]] = None,
@@ -962,6 +979,7 @@ class _ScalingConfigurationState:
962
979
  :param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
963
980
  :param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
964
981
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a db account with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
982
+ :param pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]] network_interfaces: Specify NetworkInterfaces.N to configure primary and secondary ENIs. In this case, specify at least one primary ENI. If you set NetworkInterfaces.N.InstanceType to Primary, a primary ENI is configured. If you set NetworkInterfaces.N.InstanceType to Secondary or leave the parameter empty, a secondary ENI is configured. See `network_interfaces` below for details.
965
983
  :param pulumi.Input[bool] override: Indicates whether to overwrite the existing data. Default to false.
966
984
  :param pulumi.Input[str] password: The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).
967
985
  :param pulumi.Input[bool] password_inherit: Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kms_encrypted_password` will be ignored. You must ensure that the selected image has a password configured.
@@ -1061,6 +1079,8 @@ class _ScalingConfigurationState:
1061
1079
  pulumi.set(__self__, "kms_encrypted_password", kms_encrypted_password)
1062
1080
  if kms_encryption_context is not None:
1063
1081
  pulumi.set(__self__, "kms_encryption_context", kms_encryption_context)
1082
+ if network_interfaces is not None:
1083
+ pulumi.set(__self__, "network_interfaces", network_interfaces)
1064
1084
  if override is not None:
1065
1085
  pulumi.set(__self__, "override", override)
1066
1086
  if password is not None:
@@ -1416,6 +1436,18 @@ class _ScalingConfigurationState:
1416
1436
  def kms_encryption_context(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
1417
1437
  pulumi.set(self, "kms_encryption_context", value)
1418
1438
 
1439
+ @property
1440
+ @pulumi.getter(name="networkInterfaces")
1441
+ def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]]]:
1442
+ """
1443
+ Specify NetworkInterfaces.N to configure primary and secondary ENIs. In this case, specify at least one primary ENI. If you set NetworkInterfaces.N.InstanceType to Primary, a primary ENI is configured. If you set NetworkInterfaces.N.InstanceType to Secondary or leave the parameter empty, a secondary ENI is configured. See `network_interfaces` below for details.
1444
+ """
1445
+ return pulumi.get(self, "network_interfaces")
1446
+
1447
+ @network_interfaces.setter
1448
+ def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingConfigurationNetworkInterfaceArgs']]]]):
1449
+ pulumi.set(self, "network_interfaces", value)
1450
+
1419
1451
  @property
1420
1452
  @pulumi.getter
1421
1453
  def override(self) -> Optional[pulumi.Input[bool]]:
@@ -1775,6 +1807,7 @@ class ScalingConfiguration(pulumi.CustomResource):
1775
1807
  key_name: Optional[pulumi.Input[str]] = None,
1776
1808
  kms_encrypted_password: Optional[pulumi.Input[str]] = None,
1777
1809
  kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1810
+ network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationNetworkInterfaceArgs', 'ScalingConfigurationNetworkInterfaceArgsDict']]]]] = None,
1778
1811
  override: Optional[pulumi.Input[bool]] = None,
1779
1812
  password: Optional[pulumi.Input[str]] = None,
1780
1813
  password_inherit: Optional[pulumi.Input[bool]] = None,
@@ -1910,6 +1943,7 @@ class ScalingConfiguration(pulumi.CustomResource):
1910
1943
  :param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
1911
1944
  :param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
1912
1945
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a db account with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
1946
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationNetworkInterfaceArgs', 'ScalingConfigurationNetworkInterfaceArgsDict']]]] network_interfaces: Specify NetworkInterfaces.N to configure primary and secondary ENIs. In this case, specify at least one primary ENI. If you set NetworkInterfaces.N.InstanceType to Primary, a primary ENI is configured. If you set NetworkInterfaces.N.InstanceType to Secondary or leave the parameter empty, a secondary ENI is configured. See `network_interfaces` below for details.
1913
1947
  :param pulumi.Input[bool] override: Indicates whether to overwrite the existing data. Default to false.
1914
1948
  :param pulumi.Input[str] password: The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).
1915
1949
  :param pulumi.Input[bool] password_inherit: Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kms_encrypted_password` will be ignored. You must ensure that the selected image has a password configured.
@@ -2080,6 +2114,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2080
2114
  key_name: Optional[pulumi.Input[str]] = None,
2081
2115
  kms_encrypted_password: Optional[pulumi.Input[str]] = None,
2082
2116
  kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2117
+ network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationNetworkInterfaceArgs', 'ScalingConfigurationNetworkInterfaceArgsDict']]]]] = None,
2083
2118
  override: Optional[pulumi.Input[bool]] = None,
2084
2119
  password: Optional[pulumi.Input[str]] = None,
2085
2120
  password_inherit: Optional[pulumi.Input[bool]] = None,
@@ -2140,6 +2175,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2140
2175
  __props__.__dict__["key_name"] = key_name
2141
2176
  __props__.__dict__["kms_encrypted_password"] = kms_encrypted_password
2142
2177
  __props__.__dict__["kms_encryption_context"] = kms_encryption_context
2178
+ __props__.__dict__["network_interfaces"] = network_interfaces
2143
2179
  __props__.__dict__["override"] = override
2144
2180
  __props__.__dict__["password"] = password
2145
2181
  __props__.__dict__["password_inherit"] = password_inherit
@@ -2203,6 +2239,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2203
2239
  key_name: Optional[pulumi.Input[str]] = None,
2204
2240
  kms_encrypted_password: Optional[pulumi.Input[str]] = None,
2205
2241
  kms_encryption_context: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2242
+ network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationNetworkInterfaceArgs', 'ScalingConfigurationNetworkInterfaceArgsDict']]]]] = None,
2206
2243
  override: Optional[pulumi.Input[bool]] = None,
2207
2244
  password: Optional[pulumi.Input[str]] = None,
2208
2245
  password_inherit: Optional[pulumi.Input[bool]] = None,
@@ -2261,6 +2298,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2261
2298
  :param pulumi.Input[str] key_name: The name of key pair that can login ECS instance successfully without password. If it is specified, the password would be invalid.
2262
2299
  :param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a db account. If the `password` is filled in, this field will be ignored.
2263
2300
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating a db account with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
2301
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ScalingConfigurationNetworkInterfaceArgs', 'ScalingConfigurationNetworkInterfaceArgsDict']]]] network_interfaces: Specify NetworkInterfaces.N to configure primary and secondary ENIs. In this case, specify at least one primary ENI. If you set NetworkInterfaces.N.InstanceType to Primary, a primary ENI is configured. If you set NetworkInterfaces.N.InstanceType to Secondary or leave the parameter empty, a secondary ENI is configured. See `network_interfaces` below for details.
2264
2302
  :param pulumi.Input[bool] override: Indicates whether to overwrite the existing data. Default to false.
2265
2303
  :param pulumi.Input[str] password: The password of the ECS instance. The password must be 8 to 30 characters in length. It must contains at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `() ~!@#$%^&*-_+=\\|{}[]:;'<>,.?/`, The password of Windows-based instances cannot start with a forward slash (/).
2266
2304
  :param pulumi.Input[bool] password_inherit: Specifies whether to use the password that is predefined in the image. If the PasswordInherit parameter is set to true, the `password` and `kms_encrypted_password` will be ignored. You must ensure that the selected image has a password configured.
@@ -2333,6 +2371,7 @@ class ScalingConfiguration(pulumi.CustomResource):
2333
2371
  __props__.__dict__["key_name"] = key_name
2334
2372
  __props__.__dict__["kms_encrypted_password"] = kms_encrypted_password
2335
2373
  __props__.__dict__["kms_encryption_context"] = kms_encryption_context
2374
+ __props__.__dict__["network_interfaces"] = network_interfaces
2336
2375
  __props__.__dict__["override"] = override
2337
2376
  __props__.__dict__["password"] = password
2338
2377
  __props__.__dict__["password_inherit"] = password_inherit
@@ -2563,6 +2602,14 @@ class ScalingConfiguration(pulumi.CustomResource):
2563
2602
  """
2564
2603
  return pulumi.get(self, "kms_encryption_context")
2565
2604
 
2605
+ @property
2606
+ @pulumi.getter(name="networkInterfaces")
2607
+ def network_interfaces(self) -> pulumi.Output[Optional[Sequence['outputs.ScalingConfigurationNetworkInterface']]]:
2608
+ """
2609
+ Specify NetworkInterfaces.N to configure primary and secondary ENIs. In this case, specify at least one primary ENI. If you set NetworkInterfaces.N.InstanceType to Primary, a primary ENI is configured. If you set NetworkInterfaces.N.InstanceType to Secondary or leave the parameter empty, a secondary ENI is configured. See `network_interfaces` below for details.
2610
+ """
2611
+ return pulumi.get(self, "network_interfaces")
2612
+
2566
2613
  @property
2567
2614
  @pulumi.getter
2568
2615
  def override(self) -> pulumi.Output[Optional[bool]]: