pulumi-alicloud 3.73.0a1736949061__py3-none-any.whl → 3.74.0__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 (56) hide show
  1. pulumi_alicloud/__init__.py +80 -0
  2. pulumi_alicloud/alb/__init__.py +1 -0
  3. pulumi_alicloud/alb/_inputs.py +907 -244
  4. pulumi_alicloud/alb/get_server_groups.py +55 -25
  5. pulumi_alicloud/alb/listener.py +269 -174
  6. pulumi_alicloud/alb/load_balancer.py +239 -118
  7. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
  8. pulumi_alicloud/alb/outputs.py +716 -218
  9. pulumi_alicloud/alb/server_group.py +532 -122
  10. pulumi_alicloud/cen/_inputs.py +34 -0
  11. pulumi_alicloud/cen/outputs.py +37 -0
  12. pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
  13. pulumi_alicloud/cs/_inputs.py +349 -1
  14. pulumi_alicloud/cs/kubernetes.py +15 -15
  15. pulumi_alicloud/cs/node_pool.py +77 -2
  16. pulumi_alicloud/cs/outputs.py +265 -1
  17. pulumi_alicloud/dfs/file_system.py +62 -23
  18. pulumi_alicloud/dfs/mount_point.py +48 -22
  19. pulumi_alicloud/esa/__init__.py +3 -0
  20. pulumi_alicloud/esa/_inputs.py +81 -0
  21. pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
  22. pulumi_alicloud/esa/list.py +361 -0
  23. pulumi_alicloud/esa/outputs.py +48 -0
  24. pulumi_alicloud/esa/page.py +376 -0
  25. pulumi_alicloud/esa/rate_plan_instance.py +63 -7
  26. pulumi_alicloud/ess/get_scaling_groups.py +64 -10
  27. pulumi_alicloud/ess/get_scaling_rules.py +74 -10
  28. pulumi_alicloud/ess/outputs.py +357 -17
  29. pulumi_alicloud/eventbridge/get_service.py +2 -6
  30. pulumi_alicloud/fc/_inputs.py +75 -75
  31. pulumi_alicloud/fc/outputs.py +50 -50
  32. pulumi_alicloud/fc/v3_function.py +53 -6
  33. pulumi_alicloud/kms/__init__.py +1 -0
  34. pulumi_alicloud/kms/get_instances.py +160 -0
  35. pulumi_alicloud/kms/instance.py +0 -60
  36. pulumi_alicloud/kms/outputs.py +19 -0
  37. pulumi_alicloud/maxcompute/__init__.py +5 -0
  38. pulumi_alicloud/maxcompute/_inputs.py +615 -42
  39. pulumi_alicloud/maxcompute/outputs.py +486 -28
  40. pulumi_alicloud/maxcompute/project.py +63 -31
  41. pulumi_alicloud/maxcompute/quota_plan.py +412 -0
  42. pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
  43. pulumi_alicloud/maxcompute/role.py +423 -0
  44. pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
  45. pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
  46. pulumi_alicloud/pulumi-plugin.json +1 -1
  47. pulumi_alicloud/rds/instance.py +68 -0
  48. pulumi_alicloud/vpc/__init__.py +1 -0
  49. pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
  50. pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
  51. pulumi_alicloud/vpc/ipam_service.py +144 -0
  52. pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
  53. {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/METADATA +1 -1
  54. {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/RECORD +56 -45
  55. {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/WHEEL +0 -0
  56. {pulumi_alicloud-3.73.0a1736949061.dist-info → pulumi_alicloud-3.74.0.dist-info}/top_level.txt +0 -0
@@ -22,6 +22,14 @@ __all__ = [
22
22
  'ProjectPropertiesTableLifecycle',
23
23
  'ProjectSecurityProperties',
24
24
  'ProjectSecurityPropertiesProjectProtection',
25
+ 'QuotaPlanQuota',
26
+ 'QuotaPlanQuotaParameter',
27
+ 'QuotaPlanQuotaSubQuotaInfoList',
28
+ 'QuotaPlanQuotaSubQuotaInfoListParameter',
29
+ 'QuotaScheduleScheduleList',
30
+ 'QuotaScheduleScheduleListCondition',
31
+ 'TunnelQuotaTimerQuotaTimer',
32
+ 'TunnelQuotaTimerQuotaTimerTunnelQuotaParameter',
25
33
  'GetProjectsProjectResult',
26
34
  'GetProjectsProjectIpWhiteListResult',
27
35
  'GetProjectsProjectPropertiesResult',
@@ -56,8 +64,12 @@ class ProjectIpWhiteList(dict):
56
64
  ip_list: Optional[str] = None,
57
65
  vpc_ip_list: Optional[str] = None):
58
66
  """
59
- :param str ip_list: Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
60
- :param str vpc_ip_list: Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
67
+ :param str ip_list: Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.
68
+
69
+ > **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
70
+ :param str vpc_ip_list: Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.
71
+
72
+ > **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
61
73
  """
62
74
  if ip_list is not None:
63
75
  pulumi.set(__self__, "ip_list", ip_list)
@@ -68,7 +80,9 @@ class ProjectIpWhiteList(dict):
68
80
  @pulumi.getter(name="ipList")
69
81
  def ip_list(self) -> Optional[str]:
70
82
  """
71
- Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.> **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
83
+ Set the IP address whitelist in the classic network. Only devices in the whitelist are allowed to access the project.
84
+
85
+ > **NOTE:** If you only configure a classic network IP address whitelist, access to the classic network is restricted and all access to the VPC is prohibited.
72
86
  """
73
87
  return pulumi.get(self, "ip_list")
74
88
 
@@ -76,7 +90,9 @@ class ProjectIpWhiteList(dict):
76
90
  @pulumi.getter(name="vpcIpList")
77
91
  def vpc_ip_list(self) -> Optional[str]:
78
92
  """
79
- Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.> **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
93
+ Set the IP address whitelist in the VPC network to allow only devices in the whitelist to access the project space.
94
+
95
+ > **NOTE:** If you only configure a VPC network IP address whitelist, access to the VPC network is restricted and access to the classic network is prohibited.
80
96
  """
81
97
  return pulumi.get(self, "vpc_ip_list")
82
98
 
@@ -120,15 +136,27 @@ class ProjectProperties(dict):
120
136
  timezone: Optional[str] = None,
121
137
  type_system: Optional[str] = None):
122
138
  """
123
- :param bool allow_full_scan: Whether to allow full table scan. Default: false.
124
- :param bool enable_decimal2: Whether to turn on Decimal2.0.
139
+ :param bool allow_full_scan: Whether to allow full table scan. Default: false
140
+ :param bool enable_decimal2: Whether to turn on Decimal2.0
125
141
  :param 'ProjectPropertiesEncryptionArgs' encryption: Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
126
- > **NOTE :**: To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project. To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list. You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
127
- :param int retention_days: Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
128
- :param str sql_metering_max: Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .
129
- :param 'ProjectPropertiesTableLifecycleArgs' table_lifecycle: Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,. See `table_lifecycle` below.
130
- :param str timezone: Project time zone, example value: Asia/Shanghai.
131
- :param str type_system: Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
142
+ > **NOTE :**:
143
+ To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
144
+
145
+ To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.
146
+
147
+ You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
148
+ :param int retention_days: Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.
149
+ The effective policy after adjusting the backup cycle is:
150
+ Extend the backup cycle: The new backup cycle takes effect on the same day.
151
+ Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
152
+ :param str sql_metering_max: Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-controll).
153
+ Unit: scan volume (GB)* complexity.
154
+ :param 'ProjectPropertiesTableLifecycleArgs' table_lifecycle: Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property, See `table_lifecycle` below.
155
+ :param str timezone: Project time zone, example value: Asia/Shanghai
156
+ :param str type_system: Data type version. Value:(1/2/hive)
157
+ 1: The original MaxCompute type system.
158
+ 2: New type system introduced by MaxCompute 2.0.
159
+ hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
132
160
  """
133
161
  if allow_full_scan is not None:
134
162
  pulumi.set(__self__, "allow_full_scan", allow_full_scan)
@@ -151,7 +179,7 @@ class ProjectProperties(dict):
151
179
  @pulumi.getter(name="allowFullScan")
152
180
  def allow_full_scan(self) -> Optional[bool]:
153
181
  """
154
- Whether to allow full table scan. Default: false.
182
+ Whether to allow full table scan. Default: false
155
183
  """
156
184
  return pulumi.get(self, "allow_full_scan")
157
185
 
@@ -159,7 +187,7 @@ class ProjectProperties(dict):
159
187
  @pulumi.getter(name="enableDecimal2")
160
188
  def enable_decimal2(self) -> Optional[bool]:
161
189
  """
162
- Whether to turn on Decimal2.0.
190
+ Whether to turn on Decimal2.0
163
191
  """
164
192
  return pulumi.get(self, "enable_decimal2")
165
193
 
@@ -168,7 +196,12 @@ class ProjectProperties(dict):
168
196
  def encryption(self) -> Optional['outputs.ProjectPropertiesEncryption']:
169
197
  """
170
198
  Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
171
- > **NOTE :**: To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project. To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list. You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
199
+ > **NOTE :**:
200
+ To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
201
+
202
+ To configure the permissions and IP whitelist parameters of the MaxCompute project, you must have the management permissions (Admin) of the corresponding project, including Super_Administrator, Admin, or custom management permissions. For more information, see the project management permissions list.
203
+
204
+ You can turn on storage encryption only for projects that have not turned on storage encryption. For projects that have turned on storage encryption, you cannot turn off storage encryption or change the encryption algorithm. See `encryption` below.
172
205
  """
173
206
  return pulumi.get(self, "encryption")
174
207
 
@@ -176,7 +209,10 @@ class ProjectProperties(dict):
176
209
  @pulumi.getter(name="retentionDays")
177
210
  def retention_days(self) -> Optional[int]:
178
211
  """
179
- Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off. The effective policy after adjusting the backup cycle is: Extend the backup cycle: The new backup cycle takes effect on the same day. Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
212
+ Set the number of days to retain backup data. During this time, you can restore the current version to any backup version. The value range of days is [0,30], and the default value is 1. 0 means backup is turned off.
213
+ The effective policy after adjusting the backup cycle is:
214
+ Extend the backup cycle: The new backup cycle takes effect on the same day.
215
+ Shorten the backup cycle: The system will automatically delete backup data that has exceeded the retention cycle.
180
216
  """
181
217
  return pulumi.get(self, "retention_days")
182
218
 
@@ -184,7 +220,8 @@ class ProjectProperties(dict):
184
220
  @pulumi.getter(name="sqlMeteringMax")
185
221
  def sql_metering_max(self) -> Optional[str]:
186
222
  """
187
- Set the maximum threshold of single SQL consumption, that is, set the ODPS. SQL. metering.value.max attribute. For details, see [Consumption Monitoring Alarm](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-control). Unit: scan volume (GB)* complexity. .
223
+ Set the maximum threshold for single SQL Consumption, that is, set the ODPS. SQL. metering.value.max attribute. For more information, see [Consumption control](https://www.alibabacloud.com/help/en/maxcompute/product-overview/consumption-controll).
224
+ Unit: scan volume (GB)* complexity.
188
225
  """
189
226
  return pulumi.get(self, "sql_metering_max")
190
227
 
@@ -192,7 +229,7 @@ class ProjectProperties(dict):
192
229
  @pulumi.getter(name="tableLifecycle")
193
230
  def table_lifecycle(self) -> Optional['outputs.ProjectPropertiesTableLifecycle']:
194
231
  """
195
- Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property,. See `table_lifecycle` below.
232
+ Set whether the lifecycle of the table in the project needs to be configured, that is, set the ODPS. table.lifecycle property, See `table_lifecycle` below.
196
233
  """
197
234
  return pulumi.get(self, "table_lifecycle")
198
235
 
@@ -200,7 +237,7 @@ class ProjectProperties(dict):
200
237
  @pulumi.getter
201
238
  def timezone(self) -> Optional[str]:
202
239
  """
203
- Project time zone, example value: Asia/Shanghai.
240
+ Project time zone, example value: Asia/Shanghai
204
241
  """
205
242
  return pulumi.get(self, "timezone")
206
243
 
@@ -208,7 +245,10 @@ class ProjectProperties(dict):
208
245
  @pulumi.getter(name="typeSystem")
209
246
  def type_system(self) -> Optional[str]:
210
247
  """
211
- Data type version. Value:(1/2/hive) 1: The original MaxCompute type system. 2: New type system introduced by MaxCompute 2.0. hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
248
+ Data type version. Value:(1/2/hive)
249
+ 1: The original MaxCompute type system.
250
+ 2: New type system introduced by MaxCompute 2.0.
251
+ hive: the type system of the Hive compatibility mode introduced by MaxCompute 2.0.
212
252
  """
213
253
  return pulumi.get(self, "type_system")
214
254
 
@@ -221,7 +261,9 @@ class ProjectPropertiesEncryption(dict):
221
261
  key: Optional[str] = None):
222
262
  """
223
263
  :param str algorithm: The encryption algorithm supported by the key, including AES256, AESCTR, and RC4.
224
- :param bool enable: Only enable function is supported. Value: (true).
264
+ :param bool enable: Only enable function is supported. Value: (true)
265
+
266
+ > **NOTE:** cannot be turned off after the function is turned on
225
267
  :param str key: The encryption algorithm Key, the Key type used by the project, including the Default Key (MaxCompute Default Key) and the self-contained Key (BYOK). The MaxCompute Default Key is the Default Key created inside MaxCompute.
226
268
  """
227
269
  if algorithm is not None:
@@ -243,7 +285,9 @@ class ProjectPropertiesEncryption(dict):
243
285
  @pulumi.getter
244
286
  def enable(self) -> Optional[bool]:
245
287
  """
246
- Only enable function is supported. Value: (true).
288
+ Only enable function is supported. Value: (true)
289
+
290
+ > **NOTE:** cannot be turned off after the function is turned on
247
291
  """
248
292
  return pulumi.get(self, "enable")
249
293
 
@@ -331,7 +375,7 @@ class ProjectSecurityProperties(dict):
331
375
  :param bool label_security: Set whether to use the [Label permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/label-based-access-control), that is, set the LabelSecurity attribute, which is not used by default.
332
376
  :param bool object_creator_has_access_permission: Sets whether to allow the creator of the object to have access to the object, I .e. sets the attribute. The default is the allowed state.
333
377
  :param bool object_creator_has_grant_permission: The ObjectCreatorHasGrantPermission attribute is set to allow the object creator to have the authorization permission on the object. The default is the allowed state.
334
- :param 'ProjectSecurityPropertiesProjectProtectionArgs' project_protection: Project protection. See `project_protection` below.
378
+ :param 'ProjectSecurityPropertiesProjectProtectionArgs' project_protection: Project protection See `project_protection` below.
335
379
  :param bool using_acl: Set whether to use the [ACL permission control function](https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-permissions), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
336
380
  :param bool using_policy: Set whether to use the Policy permission control function (https://www.alibabacloud.com/help/en/maxcompute/user-guide/policy-based-access-control-1), that is, set the CheckPermissionUsingACL attribute, which is in use by default.
337
381
  """
@@ -386,7 +430,7 @@ class ProjectSecurityProperties(dict):
386
430
  @pulumi.getter(name="projectProtection")
387
431
  def project_protection(self) -> Optional['outputs.ProjectSecurityPropertiesProjectProtection']:
388
432
  """
389
- Project protection. See `project_protection` below.
433
+ Project protection See `project_protection` below.
390
434
  """
391
435
  return pulumi.get(self, "project_protection")
392
436
 
@@ -430,8 +474,8 @@ class ProjectSecurityPropertiesProjectProtection(dict):
430
474
  exception_policy: Optional[str] = None,
431
475
  protected: Optional[bool] = None):
432
476
  """
433
- :param str exception_policy: Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
434
- :param bool protected: Whether enabled, value:(true/false).
477
+ :param str exception_policy: Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
478
+ :param bool protected: Whether enabled, value:(true/false)
435
479
  """
436
480
  if exception_policy is not None:
437
481
  pulumi.set(__self__, "exception_policy", exception_policy)
@@ -442,7 +486,7 @@ class ProjectSecurityPropertiesProjectProtection(dict):
442
486
  @pulumi.getter(name="exceptionPolicy")
443
487
  def exception_policy(self) -> Optional[str]:
444
488
  """
445
- Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection).
489
+ Set [Exceptions or Trusted Items](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/project-data-protection)
446
490
  """
447
491
  return pulumi.get(self, "exception_policy")
448
492
 
@@ -450,11 +494,425 @@ class ProjectSecurityPropertiesProjectProtection(dict):
450
494
  @pulumi.getter
451
495
  def protected(self) -> Optional[bool]:
452
496
  """
453
- Whether enabled, value:(true/false).
497
+ Whether enabled, value:(true/false)
454
498
  """
455
499
  return pulumi.get(self, "protected")
456
500
 
457
501
 
502
+ @pulumi.output_type
503
+ class QuotaPlanQuota(dict):
504
+ @staticmethod
505
+ def __key_warning(key: str):
506
+ suggest = None
507
+ if key == "subQuotaInfoLists":
508
+ suggest = "sub_quota_info_lists"
509
+
510
+ if suggest:
511
+ pulumi.log.warn(f"Key '{key}' not found in QuotaPlanQuota. Access the value via the '{suggest}' property getter instead.")
512
+
513
+ def __getitem__(self, key: str) -> Any:
514
+ QuotaPlanQuota.__key_warning(key)
515
+ return super().__getitem__(key)
516
+
517
+ def get(self, key: str, default = None) -> Any:
518
+ QuotaPlanQuota.__key_warning(key)
519
+ return super().get(key, default)
520
+
521
+ def __init__(__self__, *,
522
+ parameter: Optional['outputs.QuotaPlanQuotaParameter'] = None,
523
+ sub_quota_info_lists: Optional[Sequence['outputs.QuotaPlanQuotaSubQuotaInfoList']] = None):
524
+ """
525
+ :param 'QuotaPlanQuotaParameterArgs' parameter: Level 2 Quota CU configuration See `parameter` below.
526
+ :param Sequence['QuotaPlanQuotaSubQuotaInfoListArgs'] sub_quota_info_lists: Secondary Quota list
527
+
528
+ > **NOTE:** need to list all secondary Quota
529
+ See `sub_quota_info_list` below.
530
+ """
531
+ if parameter is not None:
532
+ pulumi.set(__self__, "parameter", parameter)
533
+ if sub_quota_info_lists is not None:
534
+ pulumi.set(__self__, "sub_quota_info_lists", sub_quota_info_lists)
535
+
536
+ @property
537
+ @pulumi.getter
538
+ def parameter(self) -> Optional['outputs.QuotaPlanQuotaParameter']:
539
+ """
540
+ Level 2 Quota CU configuration See `parameter` below.
541
+ """
542
+ return pulumi.get(self, "parameter")
543
+
544
+ @property
545
+ @pulumi.getter(name="subQuotaInfoLists")
546
+ def sub_quota_info_lists(self) -> Optional[Sequence['outputs.QuotaPlanQuotaSubQuotaInfoList']]:
547
+ """
548
+ Secondary Quota list
549
+
550
+ > **NOTE:** need to list all secondary Quota
551
+ See `sub_quota_info_list` below.
552
+ """
553
+ return pulumi.get(self, "sub_quota_info_lists")
554
+
555
+
556
+ @pulumi.output_type
557
+ class QuotaPlanQuotaParameter(dict):
558
+ @staticmethod
559
+ def __key_warning(key: str):
560
+ suggest = None
561
+ if key == "elasticReservedCu":
562
+ suggest = "elastic_reserved_cu"
563
+ elif key == "maxCu":
564
+ suggest = "max_cu"
565
+ elif key == "minCu":
566
+ suggest = "min_cu"
567
+
568
+ if suggest:
569
+ pulumi.log.warn(f"Key '{key}' not found in QuotaPlanQuotaParameter. Access the value via the '{suggest}' property getter instead.")
570
+
571
+ def __getitem__(self, key: str) -> Any:
572
+ QuotaPlanQuotaParameter.__key_warning(key)
573
+ return super().__getitem__(key)
574
+
575
+ def get(self, key: str, default = None) -> Any:
576
+ QuotaPlanQuotaParameter.__key_warning(key)
577
+ return super().get(key, default)
578
+
579
+ def __init__(__self__, *,
580
+ elastic_reserved_cu: int,
581
+ max_cu: Optional[int] = None,
582
+ min_cu: Optional[int] = None):
583
+ """
584
+ :param int elastic_reserved_cu: The value of elastic Reserved CUs.
585
+
586
+ > **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
587
+ :param int max_cu: The value of maxCU in Reserved CUs.
588
+ :param int min_cu: The value of minCU in Reserved CUs.
589
+ """
590
+ pulumi.set(__self__, "elastic_reserved_cu", elastic_reserved_cu)
591
+ if max_cu is not None:
592
+ pulumi.set(__self__, "max_cu", max_cu)
593
+ if min_cu is not None:
594
+ pulumi.set(__self__, "min_cu", min_cu)
595
+
596
+ @property
597
+ @pulumi.getter(name="elasticReservedCu")
598
+ def elastic_reserved_cu(self) -> int:
599
+ """
600
+ The value of elastic Reserved CUs.
601
+
602
+ > **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
603
+ """
604
+ return pulumi.get(self, "elastic_reserved_cu")
605
+
606
+ @property
607
+ @pulumi.getter(name="maxCu")
608
+ def max_cu(self) -> Optional[int]:
609
+ """
610
+ The value of maxCU in Reserved CUs.
611
+ """
612
+ return pulumi.get(self, "max_cu")
613
+
614
+ @property
615
+ @pulumi.getter(name="minCu")
616
+ def min_cu(self) -> Optional[int]:
617
+ """
618
+ The value of minCU in Reserved CUs.
619
+ """
620
+ return pulumi.get(self, "min_cu")
621
+
622
+
623
+ @pulumi.output_type
624
+ class QuotaPlanQuotaSubQuotaInfoList(dict):
625
+ @staticmethod
626
+ def __key_warning(key: str):
627
+ suggest = None
628
+ if key == "nickName":
629
+ suggest = "nick_name"
630
+
631
+ if suggest:
632
+ pulumi.log.warn(f"Key '{key}' not found in QuotaPlanQuotaSubQuotaInfoList. Access the value via the '{suggest}' property getter instead.")
633
+
634
+ def __getitem__(self, key: str) -> Any:
635
+ QuotaPlanQuotaSubQuotaInfoList.__key_warning(key)
636
+ return super().__getitem__(key)
637
+
638
+ def get(self, key: str, default = None) -> Any:
639
+ QuotaPlanQuotaSubQuotaInfoList.__key_warning(key)
640
+ return super().get(key, default)
641
+
642
+ def __init__(__self__, *,
643
+ nick_name: str,
644
+ parameter: Optional['outputs.QuotaPlanQuotaSubQuotaInfoListParameter'] = None):
645
+ """
646
+ :param str nick_name: The nickname of the level-2 quota.
647
+ :param 'QuotaPlanQuotaSubQuotaInfoListParameterArgs' parameter: The parameters of level-1 quota.
648
+ """
649
+ pulumi.set(__self__, "nick_name", nick_name)
650
+ if parameter is not None:
651
+ pulumi.set(__self__, "parameter", parameter)
652
+
653
+ @property
654
+ @pulumi.getter(name="nickName")
655
+ def nick_name(self) -> str:
656
+ """
657
+ The nickname of the level-2 quota.
658
+ """
659
+ return pulumi.get(self, "nick_name")
660
+
661
+ @property
662
+ @pulumi.getter
663
+ def parameter(self) -> Optional['outputs.QuotaPlanQuotaSubQuotaInfoListParameter']:
664
+ """
665
+ The parameters of level-1 quota.
666
+ """
667
+ return pulumi.get(self, "parameter")
668
+
669
+
670
+ @pulumi.output_type
671
+ class QuotaPlanQuotaSubQuotaInfoListParameter(dict):
672
+ @staticmethod
673
+ def __key_warning(key: str):
674
+ suggest = None
675
+ if key == "elasticReservedCu":
676
+ suggest = "elastic_reserved_cu"
677
+ elif key == "maxCu":
678
+ suggest = "max_cu"
679
+ elif key == "minCu":
680
+ suggest = "min_cu"
681
+
682
+ if suggest:
683
+ pulumi.log.warn(f"Key '{key}' not found in QuotaPlanQuotaSubQuotaInfoListParameter. Access the value via the '{suggest}' property getter instead.")
684
+
685
+ def __getitem__(self, key: str) -> Any:
686
+ QuotaPlanQuotaSubQuotaInfoListParameter.__key_warning(key)
687
+ return super().__getitem__(key)
688
+
689
+ def get(self, key: str, default = None) -> Any:
690
+ QuotaPlanQuotaSubQuotaInfoListParameter.__key_warning(key)
691
+ return super().get(key, default)
692
+
693
+ def __init__(__self__, *,
694
+ elastic_reserved_cu: int,
695
+ max_cu: int,
696
+ min_cu: int):
697
+ """
698
+ :param int elastic_reserved_cu: The value of elastic Reserved CUs.
699
+
700
+ > **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
701
+ :param int max_cu: The value of maxCU in Reserved CUs.
702
+ :param int min_cu: The value of minCU in Reserved CUs.
703
+ """
704
+ pulumi.set(__self__, "elastic_reserved_cu", elastic_reserved_cu)
705
+ pulumi.set(__self__, "max_cu", max_cu)
706
+ pulumi.set(__self__, "min_cu", min_cu)
707
+
708
+ @property
709
+ @pulumi.getter(name="elasticReservedCu")
710
+ def elastic_reserved_cu(self) -> int:
711
+ """
712
+ The value of elastic Reserved CUs.
713
+
714
+ > **NOTE:** The total number of elastically reserved CUs in all the level-2 quotas is equal to the number of elastically reserved CUs in the level-1 quota..
715
+ """
716
+ return pulumi.get(self, "elastic_reserved_cu")
717
+
718
+ @property
719
+ @pulumi.getter(name="maxCu")
720
+ def max_cu(self) -> int:
721
+ """
722
+ The value of maxCU in Reserved CUs.
723
+ """
724
+ return pulumi.get(self, "max_cu")
725
+
726
+ @property
727
+ @pulumi.getter(name="minCu")
728
+ def min_cu(self) -> int:
729
+ """
730
+ The value of minCU in Reserved CUs.
731
+ """
732
+ return pulumi.get(self, "min_cu")
733
+
734
+
735
+ @pulumi.output_type
736
+ class QuotaScheduleScheduleList(dict):
737
+ def __init__(__self__, *,
738
+ plan: str,
739
+ type: str,
740
+ condition: Optional['outputs.QuotaScheduleScheduleListCondition'] = None):
741
+ """
742
+ :param str plan: The name of the quota plan.
743
+ :param str type: The type of the quota plan. Valid values: daily
744
+
745
+ > **NOTE:** Currently, only daily is supported.
746
+ :param 'QuotaScheduleScheduleListConditionArgs' condition: The value of effective condition. See `condition` below.
747
+ """
748
+ pulumi.set(__self__, "plan", plan)
749
+ pulumi.set(__self__, "type", type)
750
+ if condition is not None:
751
+ pulumi.set(__self__, "condition", condition)
752
+
753
+ @property
754
+ @pulumi.getter
755
+ def plan(self) -> str:
756
+ """
757
+ The name of the quota plan.
758
+ """
759
+ return pulumi.get(self, "plan")
760
+
761
+ @property
762
+ @pulumi.getter
763
+ def type(self) -> str:
764
+ """
765
+ The type of the quota plan. Valid values: daily
766
+
767
+ > **NOTE:** Currently, only daily is supported.
768
+ """
769
+ return pulumi.get(self, "type")
770
+
771
+ @property
772
+ @pulumi.getter
773
+ def condition(self) -> Optional['outputs.QuotaScheduleScheduleListCondition']:
774
+ """
775
+ The value of effective condition. See `condition` below.
776
+ """
777
+ return pulumi.get(self, "condition")
778
+
779
+
780
+ @pulumi.output_type
781
+ class QuotaScheduleScheduleListCondition(dict):
782
+ def __init__(__self__, *,
783
+ at: str):
784
+ """
785
+ :param str at: Effective time. The format is HH:mm, sample value: 00:00
786
+
787
+ > **NOTE:** The configuration must start from the effective time of 00:00. The input time must be either a whole hour or a half hour, and the minimum interval between each schedule is 30 minutes.
788
+ """
789
+ pulumi.set(__self__, "at", at)
790
+
791
+ @property
792
+ @pulumi.getter
793
+ def at(self) -> str:
794
+ """
795
+ Effective time. The format is HH:mm, sample value: 00:00
796
+
797
+ > **NOTE:** The configuration must start from the effective time of 00:00. The input time must be either a whole hour or a half hour, and the minimum interval between each schedule is 30 minutes.
798
+ """
799
+ return pulumi.get(self, "at")
800
+
801
+
802
+ @pulumi.output_type
803
+ class TunnelQuotaTimerQuotaTimer(dict):
804
+ @staticmethod
805
+ def __key_warning(key: str):
806
+ suggest = None
807
+ if key == "beginTime":
808
+ suggest = "begin_time"
809
+ elif key == "endTime":
810
+ suggest = "end_time"
811
+ elif key == "tunnelQuotaParameter":
812
+ suggest = "tunnel_quota_parameter"
813
+
814
+ if suggest:
815
+ pulumi.log.warn(f"Key '{key}' not found in TunnelQuotaTimerQuotaTimer. Access the value via the '{suggest}' property getter instead.")
816
+
817
+ def __getitem__(self, key: str) -> Any:
818
+ TunnelQuotaTimerQuotaTimer.__key_warning(key)
819
+ return super().__getitem__(key)
820
+
821
+ def get(self, key: str, default = None) -> Any:
822
+ TunnelQuotaTimerQuotaTimer.__key_warning(key)
823
+ return super().get(key, default)
824
+
825
+ def __init__(__self__, *,
826
+ begin_time: str,
827
+ end_time: str,
828
+ tunnel_quota_parameter: Optional['outputs.TunnelQuotaTimerQuotaTimerTunnelQuotaParameter'] = None):
829
+ """
830
+ :param str begin_time: The time-sharing configuration start time. Reference value: 00:00
831
+ :param str end_time: The end time of the timesharing configuration. Reference value: 24:00
832
+ :param 'TunnelQuotaTimerQuotaTimerTunnelQuotaParameterArgs' tunnel_quota_parameter: Time-sharing configuration parameters. See `tunnel_quota_parameter` below.
833
+ """
834
+ pulumi.set(__self__, "begin_time", begin_time)
835
+ pulumi.set(__self__, "end_time", end_time)
836
+ if tunnel_quota_parameter is not None:
837
+ pulumi.set(__self__, "tunnel_quota_parameter", tunnel_quota_parameter)
838
+
839
+ @property
840
+ @pulumi.getter(name="beginTime")
841
+ def begin_time(self) -> str:
842
+ """
843
+ The time-sharing configuration start time. Reference value: 00:00
844
+ """
845
+ return pulumi.get(self, "begin_time")
846
+
847
+ @property
848
+ @pulumi.getter(name="endTime")
849
+ def end_time(self) -> str:
850
+ """
851
+ The end time of the timesharing configuration. Reference value: 24:00
852
+ """
853
+ return pulumi.get(self, "end_time")
854
+
855
+ @property
856
+ @pulumi.getter(name="tunnelQuotaParameter")
857
+ def tunnel_quota_parameter(self) -> Optional['outputs.TunnelQuotaTimerQuotaTimerTunnelQuotaParameter']:
858
+ """
859
+ Time-sharing configuration parameters. See `tunnel_quota_parameter` below.
860
+ """
861
+ return pulumi.get(self, "tunnel_quota_parameter")
862
+
863
+
864
+ @pulumi.output_type
865
+ class TunnelQuotaTimerQuotaTimerTunnelQuotaParameter(dict):
866
+ @staticmethod
867
+ def __key_warning(key: str):
868
+ suggest = None
869
+ if key == "elasticReservedSlotNum":
870
+ suggest = "elastic_reserved_slot_num"
871
+ elif key == "slotNum":
872
+ suggest = "slot_num"
873
+
874
+ if suggest:
875
+ pulumi.log.warn(f"Key '{key}' not found in TunnelQuotaTimerQuotaTimerTunnelQuotaParameter. Access the value via the '{suggest}' property getter instead.")
876
+
877
+ def __getitem__(self, key: str) -> Any:
878
+ TunnelQuotaTimerQuotaTimerTunnelQuotaParameter.__key_warning(key)
879
+ return super().__getitem__(key)
880
+
881
+ def get(self, key: str, default = None) -> Any:
882
+ TunnelQuotaTimerQuotaTimerTunnelQuotaParameter.__key_warning(key)
883
+ return super().get(key, default)
884
+
885
+ def __init__(__self__, *,
886
+ elastic_reserved_slot_num: int,
887
+ slot_num: int):
888
+ """
889
+ :param int elastic_reserved_slot_num: The number of elastic reserved concurrency (Slot).
890
+ :param int slot_num: The number of reserved concurrency (Slot).
891
+
892
+ > **NOTE:** The reserved concurrency (Slot) cannot be modified. The number of concurrency slots must be the same as that of the purchased tunnel quota.
893
+ """
894
+ pulumi.set(__self__, "elastic_reserved_slot_num", elastic_reserved_slot_num)
895
+ pulumi.set(__self__, "slot_num", slot_num)
896
+
897
+ @property
898
+ @pulumi.getter(name="elasticReservedSlotNum")
899
+ def elastic_reserved_slot_num(self) -> int:
900
+ """
901
+ The number of elastic reserved concurrency (Slot).
902
+ """
903
+ return pulumi.get(self, "elastic_reserved_slot_num")
904
+
905
+ @property
906
+ @pulumi.getter(name="slotNum")
907
+ def slot_num(self) -> int:
908
+ """
909
+ The number of reserved concurrency (Slot).
910
+
911
+ > **NOTE:** The reserved concurrency (Slot) cannot be modified. The number of concurrency slots must be the same as that of the purchased tunnel quota.
912
+ """
913
+ return pulumi.get(self, "slot_num")
914
+
915
+
458
916
  @pulumi.output_type
459
917
  class GetProjectsProjectResult(dict):
460
918
  def __init__(__self__, *,