pulumi-alicloud 3.73.0a1736850863__py3-none-any.whl → 3.74.0a1737090935__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 (78) hide show
  1. pulumi_alicloud/__init__.py +59 -0
  2. pulumi_alicloud/alb/__init__.py +1 -0
  3. pulumi_alicloud/alb/_inputs.py +6 -6
  4. pulumi_alicloud/alb/a_script.py +116 -98
  5. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +303 -0
  6. pulumi_alicloud/alb/outputs.py +4 -4
  7. pulumi_alicloud/alikafka/instance.py +188 -70
  8. pulumi_alicloud/amqp/instance.py +77 -28
  9. pulumi_alicloud/bastionhost/_inputs.py +40 -38
  10. pulumi_alicloud/bastionhost/get_instances.py +6 -22
  11. pulumi_alicloud/bastionhost/outputs.py +60 -49
  12. pulumi_alicloud/cen/instance_grant.py +4 -0
  13. pulumi_alicloud/cloudcontrol/__init__.py +12 -0
  14. pulumi_alicloud/cloudcontrol/get_prices.py +199 -0
  15. pulumi_alicloud/cloudcontrol/get_products.py +187 -0
  16. pulumi_alicloud/cloudcontrol/get_resource_types.py +178 -0
  17. pulumi_alicloud/cloudcontrol/outputs.py +688 -0
  18. pulumi_alicloud/cloudcontrol/resource.py +407 -0
  19. pulumi_alicloud/cms/_inputs.py +21 -15
  20. pulumi_alicloud/cms/alarm.py +7 -7
  21. pulumi_alicloud/cms/outputs.py +14 -10
  22. pulumi_alicloud/cs/get_edge_kubernetes_clusters.py +4 -2
  23. pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +2 -0
  24. pulumi_alicloud/cs/kubernetes.py +14 -14
  25. pulumi_alicloud/cs/managed_kubernetes.py +137 -47
  26. pulumi_alicloud/dataworks/__init__.py +4 -0
  27. pulumi_alicloud/dataworks/_inputs.py +1534 -0
  28. pulumi_alicloud/dataworks/di_alarm_rule.py +708 -0
  29. pulumi_alicloud/dataworks/di_job.py +1005 -0
  30. pulumi_alicloud/dataworks/dw_resource_group.py +703 -0
  31. pulumi_alicloud/dataworks/network.py +331 -0
  32. pulumi_alicloud/dataworks/outputs.py +1247 -0
  33. pulumi_alicloud/dcdn/waf_rule.py +14 -14
  34. pulumi_alicloud/dns/get_alidns_domains.py +7 -2
  35. pulumi_alicloud/dns/outputs.py +8 -0
  36. pulumi_alicloud/ecs/ecs_launch_template.py +122 -0
  37. pulumi_alicloud/ecs/ecs_network_interface.py +14 -14
  38. pulumi_alicloud/ecs/ecs_session_manager_status.py +18 -18
  39. pulumi_alicloud/ecs/instance.py +7 -7
  40. pulumi_alicloud/ecs/launch_template.py +88 -0
  41. pulumi_alicloud/fc/custom_domain.py +2 -2
  42. pulumi_alicloud/fc/function.py +32 -4
  43. pulumi_alicloud/fc/v2_function.py +20 -0
  44. pulumi_alicloud/hbr/__init__.py +1 -0
  45. pulumi_alicloud/hbr/cross_account.py +338 -0
  46. pulumi_alicloud/ims/oidc_provider.py +28 -0
  47. pulumi_alicloud/log/resource_record.py +42 -26
  48. pulumi_alicloud/message/service_queue.py +106 -59
  49. pulumi_alicloud/message/service_topic.py +182 -37
  50. pulumi_alicloud/mongodb/account.py +138 -163
  51. pulumi_alicloud/oos/secret_parameter.py +84 -9
  52. pulumi_alicloud/oss/bucket.py +1 -1
  53. pulumi_alicloud/oss/bucket_policy.py +2 -4
  54. pulumi_alicloud/oss/bucket_referer.py +2 -4
  55. pulumi_alicloud/oss/get_buckets.py +16 -2
  56. pulumi_alicloud/oss/outputs.py +18 -17
  57. pulumi_alicloud/pulumi-plugin.json +1 -1
  58. pulumi_alicloud/sae/application.py +84 -7
  59. pulumi_alicloud/sls/collection_policy.py +2 -2
  60. pulumi_alicloud/vpc/__init__.py +5 -0
  61. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +295 -0
  62. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +196 -0
  63. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +353 -0
  64. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +333 -0
  65. pulumi_alicloud/vpc/get_ipam_ipams.py +291 -0
  66. pulumi_alicloud/vpc/get_networks.py +3 -0
  67. pulumi_alicloud/vpc/nat_gateway.py +145 -7
  68. pulumi_alicloud/vpc/outputs.py +777 -0
  69. pulumi_alicloud/vpc/snat_entry.py +107 -48
  70. pulumi_alicloud/vpn/_inputs.py +96 -72
  71. pulumi_alicloud/vpn/connection.py +24 -28
  72. pulumi_alicloud/vpn/outputs.py +64 -48
  73. pulumi_alicloud/yundun/_inputs.py +26 -24
  74. pulumi_alicloud/yundun/outputs.py +37 -22
  75. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/METADATA +1 -1
  76. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/RECORD +78 -61
  77. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/WHEEL +0 -0
  78. {pulumi_alicloud-3.73.0a1736850863.dist-info → pulumi_alicloud-3.74.0a1737090935.dist-info}/top_level.txt +0 -0
@@ -40,18 +40,25 @@ class InstanceArgs:
40
40
  tracing_storage_time: Optional[pulumi.Input[int]] = None):
41
41
  """
42
42
  The set of arguments for constructing a Instance resource.
43
- :param pulumi.Input[str] payment_type: The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
43
+ :param pulumi.Input[str] payment_type: The Payment type. Valid value:
44
+ - Subscription: Pre-paid.
45
+ - PayAsYouGo: Post-paid, and for serverless Edition.
44
46
  :param pulumi.Input[bool] auto_renew: Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
45
47
  :param pulumi.Input[str] instance_name: The instance name.
46
- :param pulumi.Input[str] instance_type: Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
48
+ :param pulumi.Input[str] instance_type: Instance type. Valid values:
49
+ - professional: professional Edition
50
+ - enterprise: enterprise Edition
51
+ - vip: Platinum Edition.
52
+ - serverless: Serverless Edition.
53
+ > **NOTE:** There should not set the `instance_type` parameter when creating a serverless instance. Only need to set `payment_type = "PayAsYouGo"` and `serverless_charge_type = "onDemand"`.
47
54
  :param pulumi.Input[int] max_connections: The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
48
55
  :param pulumi.Input[str] max_eip_tps: Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
49
56
  :param pulumi.Input[str] max_tps: Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
50
57
  :param pulumi.Input[str] modify_type: This parameter must be provided while you change the instance specification. Type of instance lifting and lowering:
51
58
  - Upgrade: Upgrade
52
59
  - Downgrade: Downgrading.
53
- :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
54
- :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month. Year: Year.
60
+ :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
61
+ :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month, Year.
55
62
  :param pulumi.Input[str] queue_capacity: Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
56
63
  :param pulumi.Input[int] renewal_duration: The number of automatic renewal cycles.
57
64
  :param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
@@ -104,7 +111,9 @@ class InstanceArgs:
104
111
  @pulumi.getter(name="paymentType")
105
112
  def payment_type(self) -> pulumi.Input[str]:
106
113
  """
107
- The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
114
+ The Payment type. Valid value:
115
+ - Subscription: Pre-paid.
116
+ - PayAsYouGo: Post-paid, and for serverless Edition.
108
117
  """
109
118
  return pulumi.get(self, "payment_type")
110
119
 
@@ -140,7 +149,12 @@ class InstanceArgs:
140
149
  @pulumi.getter(name="instanceType")
141
150
  def instance_type(self) -> Optional[pulumi.Input[str]]:
142
151
  """
143
- Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
152
+ Instance type. Valid values:
153
+ - professional: professional Edition
154
+ - enterprise: enterprise Edition
155
+ - vip: Platinum Edition.
156
+ - serverless: Serverless Edition.
157
+ > **NOTE:** There should not set the `instance_type` parameter when creating a serverless instance. Only need to set `payment_type = "PayAsYouGo"` and `serverless_charge_type = "onDemand"`.
144
158
  """
145
159
  return pulumi.get(self, "instance_type")
146
160
 
@@ -202,7 +216,7 @@ class InstanceArgs:
202
216
  @pulumi.getter
203
217
  def period(self) -> Optional[pulumi.Input[int]]:
204
218
  """
205
- Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
219
+ Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
206
220
  """
207
221
  return pulumi.get(self, "period")
208
222
 
@@ -214,7 +228,7 @@ class InstanceArgs:
214
228
  @pulumi.getter(name="periodCycle")
215
229
  def period_cycle(self) -> Optional[pulumi.Input[str]]:
216
230
  """
217
- Prepaid cycle units. Value: Month. Year: Year.
231
+ Prepaid cycle units. Value: Month, Year.
218
232
  """
219
233
  return pulumi.get(self, "period_cycle")
220
234
 
@@ -360,16 +374,23 @@ class _InstanceState:
360
374
  :param pulumi.Input[bool] auto_renew: Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
361
375
  :param pulumi.Input[int] create_time: OrderCreateTime.
362
376
  :param pulumi.Input[str] instance_name: The instance name.
363
- :param pulumi.Input[str] instance_type: Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
377
+ :param pulumi.Input[str] instance_type: Instance type. Valid values:
378
+ - professional: professional Edition
379
+ - enterprise: enterprise Edition
380
+ - vip: Platinum Edition.
381
+ - serverless: Serverless Edition.
382
+ > **NOTE:** There should not set the `instance_type` parameter when creating a serverless instance. Only need to set `payment_type = "PayAsYouGo"` and `serverless_charge_type = "onDemand"`.
364
383
  :param pulumi.Input[int] max_connections: The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
365
384
  :param pulumi.Input[str] max_eip_tps: Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
366
385
  :param pulumi.Input[str] max_tps: Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
367
386
  :param pulumi.Input[str] modify_type: This parameter must be provided while you change the instance specification. Type of instance lifting and lowering:
368
387
  - Upgrade: Upgrade
369
388
  - Downgrade: Downgrading.
370
- :param pulumi.Input[str] payment_type: The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
371
- :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
372
- :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month. Year: Year.
389
+ :param pulumi.Input[str] payment_type: The Payment type. Valid value:
390
+ - Subscription: Pre-paid.
391
+ - PayAsYouGo: Post-paid, and for serverless Edition.
392
+ :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
393
+ :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month, Year.
373
394
  :param pulumi.Input[str] queue_capacity: Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
374
395
  :param pulumi.Input[int] renewal_duration: The number of automatic renewal cycles.
375
396
  :param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
@@ -464,7 +485,12 @@ class _InstanceState:
464
485
  @pulumi.getter(name="instanceType")
465
486
  def instance_type(self) -> Optional[pulumi.Input[str]]:
466
487
  """
467
- Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
488
+ Instance type. Valid values:
489
+ - professional: professional Edition
490
+ - enterprise: enterprise Edition
491
+ - vip: Platinum Edition.
492
+ - serverless: Serverless Edition.
493
+ > **NOTE:** There should not set the `instance_type` parameter when creating a serverless instance. Only need to set `payment_type = "PayAsYouGo"` and `serverless_charge_type = "onDemand"`.
468
494
  """
469
495
  return pulumi.get(self, "instance_type")
470
496
 
@@ -526,7 +552,9 @@ class _InstanceState:
526
552
  @pulumi.getter(name="paymentType")
527
553
  def payment_type(self) -> Optional[pulumi.Input[str]]:
528
554
  """
529
- The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
555
+ The Payment type. Valid value:
556
+ - Subscription: Pre-paid.
557
+ - PayAsYouGo: Post-paid, and for serverless Edition.
530
558
  """
531
559
  return pulumi.get(self, "payment_type")
532
560
 
@@ -538,7 +566,7 @@ class _InstanceState:
538
566
  @pulumi.getter
539
567
  def period(self) -> Optional[pulumi.Input[int]]:
540
568
  """
541
- Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
569
+ Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
542
570
  """
543
571
  return pulumi.get(self, "period")
544
572
 
@@ -550,7 +578,7 @@ class _InstanceState:
550
578
  @pulumi.getter(name="periodCycle")
551
579
  def period_cycle(self) -> Optional[pulumi.Input[str]]:
552
580
  """
553
- Prepaid cycle units. Value: Month. Year: Year.
581
+ Prepaid cycle units. Value: Month, Year.
554
582
  """
555
583
  return pulumi.get(self, "period_cycle")
556
584
 
@@ -717,16 +745,23 @@ class Instance(pulumi.CustomResource):
717
745
  :param pulumi.ResourceOptions opts: Options for the resource.
718
746
  :param pulumi.Input[bool] auto_renew: Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
719
747
  :param pulumi.Input[str] instance_name: The instance name.
720
- :param pulumi.Input[str] instance_type: Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
748
+ :param pulumi.Input[str] instance_type: Instance type. Valid values:
749
+ - professional: professional Edition
750
+ - enterprise: enterprise Edition
751
+ - vip: Platinum Edition.
752
+ - serverless: Serverless Edition.
753
+ > **NOTE:** There should not set the `instance_type` parameter when creating a serverless instance. Only need to set `payment_type = "PayAsYouGo"` and `serverless_charge_type = "onDemand"`.
721
754
  :param pulumi.Input[int] max_connections: The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
722
755
  :param pulumi.Input[str] max_eip_tps: Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
723
756
  :param pulumi.Input[str] max_tps: Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
724
757
  :param pulumi.Input[str] modify_type: This parameter must be provided while you change the instance specification. Type of instance lifting and lowering:
725
758
  - Upgrade: Upgrade
726
759
  - Downgrade: Downgrading.
727
- :param pulumi.Input[str] payment_type: The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
728
- :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
729
- :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month. Year: Year.
760
+ :param pulumi.Input[str] payment_type: The Payment type. Valid value:
761
+ - Subscription: Pre-paid.
762
+ - PayAsYouGo: Post-paid, and for serverless Edition.
763
+ :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
764
+ :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month, Year.
730
765
  :param pulumi.Input[str] queue_capacity: Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
731
766
  :param pulumi.Input[int] renewal_duration: The number of automatic renewal cycles.
732
767
  :param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
@@ -859,16 +894,23 @@ class Instance(pulumi.CustomResource):
859
894
  :param pulumi.Input[bool] auto_renew: Renewal method. Automatic renewal: true; Manual renewal: false. When RenewalStatus has a value, the value of RenewalStatus shall prevail.
860
895
  :param pulumi.Input[int] create_time: OrderCreateTime.
861
896
  :param pulumi.Input[str] instance_name: The instance name.
862
- :param pulumi.Input[str] instance_type: Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
897
+ :param pulumi.Input[str] instance_type: Instance type. Valid values:
898
+ - professional: professional Edition
899
+ - enterprise: enterprise Edition
900
+ - vip: Platinum Edition.
901
+ - serverless: Serverless Edition.
902
+ > **NOTE:** There should not set the `instance_type` parameter when creating a serverless instance. Only need to set `payment_type = "PayAsYouGo"` and `serverless_charge_type = "onDemand"`.
863
903
  :param pulumi.Input[int] max_connections: The maximum number of connections, according to the value given on the purchase page of the cloud message queue RabbitMQ version console.
864
904
  :param pulumi.Input[str] max_eip_tps: Peak TPS traffic of the public network, which must be a multiple of 128, unit: times per second.
865
905
  :param pulumi.Input[str] max_tps: Configure the private network TPS traffic peak, please set the value according to the cloud message queue RabbitMQ version of the console purchase page given.
866
906
  :param pulumi.Input[str] modify_type: This parameter must be provided while you change the instance specification. Type of instance lifting and lowering:
867
907
  - Upgrade: Upgrade
868
908
  - Downgrade: Downgrading.
869
- :param pulumi.Input[str] payment_type: The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
870
- :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
871
- :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month. Year: Year.
909
+ :param pulumi.Input[str] payment_type: The Payment type. Valid value:
910
+ - Subscription: Pre-paid.
911
+ - PayAsYouGo: Post-paid, and for serverless Edition.
912
+ :param pulumi.Input[int] period: Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
913
+ :param pulumi.Input[str] period_cycle: Prepaid cycle units. Value: Month, Year.
872
914
  :param pulumi.Input[str] queue_capacity: Configure the maximum number of queues. The value range is as follows: Professional version:[50,1000], minimum modification step size is 5 Enterprise Edition:[200,6000], minimum modification step size is 100 Platinum version:[10000,80000], minimum modification step size is 100.
873
915
  :param pulumi.Input[int] renewal_duration: The number of automatic renewal cycles.
874
916
  :param pulumi.Input[str] renewal_duration_unit: Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years.
@@ -935,7 +977,12 @@ class Instance(pulumi.CustomResource):
935
977
  @pulumi.getter(name="instanceType")
936
978
  def instance_type(self) -> pulumi.Output[str]:
937
979
  """
938
- Instance type. Valid values are as follows: professional: professional Edition enterprise: enterprise Edition vip: Platinum Edition.
980
+ Instance type. Valid values:
981
+ - professional: professional Edition
982
+ - enterprise: enterprise Edition
983
+ - vip: Platinum Edition.
984
+ - serverless: Serverless Edition.
985
+ > **NOTE:** There should not set the `instance_type` parameter when creating a serverless instance. Only need to set `payment_type = "PayAsYouGo"` and `serverless_charge_type = "onDemand"`.
939
986
  """
940
987
  return pulumi.get(self, "instance_type")
941
988
 
@@ -977,7 +1024,9 @@ class Instance(pulumi.CustomResource):
977
1024
  @pulumi.getter(name="paymentType")
978
1025
  def payment_type(self) -> pulumi.Output[str]:
979
1026
  """
980
- The Payment type. Valid value: Subscription: prepaid. PayAsYouGo: Post-paid.
1027
+ The Payment type. Valid value:
1028
+ - Subscription: Pre-paid.
1029
+ - PayAsYouGo: Post-paid, and for serverless Edition.
981
1030
  """
982
1031
  return pulumi.get(self, "payment_type")
983
1032
 
@@ -985,7 +1034,7 @@ class Instance(pulumi.CustomResource):
985
1034
  @pulumi.getter
986
1035
  def period(self) -> pulumi.Output[Optional[int]]:
987
1036
  """
988
- Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
1037
+ Prepayment cycle, unit: periodCycle. This parameter is valid when PaymentType is set to Subscription.
989
1038
  """
990
1039
  return pulumi.get(self, "period")
991
1040
 
@@ -993,7 +1042,7 @@ class Instance(pulumi.CustomResource):
993
1042
  @pulumi.getter(name="periodCycle")
994
1043
  def period_cycle(self) -> pulumi.Output[Optional[str]]:
995
1044
  """
996
- Prepaid cycle units. Value: Month. Year: Year.
1045
+ Prepaid cycle units. Value: Month, Year.
997
1046
  """
998
1047
  return pulumi.get(self, "period_cycle")
999
1048
 
@@ -41,10 +41,6 @@ if not MYPY:
41
41
  """
42
42
  Specifies whether to support SSL.
43
43
  """
44
- password: pulumi.Input[str]
45
- """
46
- The password of the account that is used for the AD server.
47
- """
48
44
  port: pulumi.Input[int]
49
45
  """
50
46
  The port that is used to access the AD server.
@@ -69,6 +65,10 @@ if not MYPY:
69
65
  """
70
66
  The field that is used to indicate the name of a user on the AD server.
71
67
  """
68
+ password: NotRequired[pulumi.Input[str]]
69
+ """
70
+ The password of the account that is used for the AD server.
71
+ """
72
72
  standby_server: NotRequired[pulumi.Input[str]]
73
73
  """
74
74
  The address of the secondary AD server.
@@ -83,33 +83,32 @@ class InstanceAdAuthServerArgs:
83
83
  base_dn: pulumi.Input[str],
84
84
  domain: pulumi.Input[str],
85
85
  is_ssl: pulumi.Input[bool],
86
- password: pulumi.Input[str],
87
86
  port: pulumi.Input[int],
88
87
  server: pulumi.Input[str],
89
88
  email_mapping: Optional[pulumi.Input[str]] = None,
90
89
  filter: Optional[pulumi.Input[str]] = None,
91
90
  mobile_mapping: Optional[pulumi.Input[str]] = None,
92
91
  name_mapping: Optional[pulumi.Input[str]] = None,
92
+ password: Optional[pulumi.Input[str]] = None,
93
93
  standby_server: Optional[pulumi.Input[str]] = None):
94
94
  """
95
95
  :param pulumi.Input[str] account: The username of the account that is used for the AD server.
96
96
  :param pulumi.Input[str] base_dn: The Base distinguished name (DN).
97
97
  :param pulumi.Input[str] domain: The domain on the AD server.
98
98
  :param pulumi.Input[bool] is_ssl: Specifies whether to support SSL.
99
- :param pulumi.Input[str] password: The password of the account that is used for the AD server.
100
99
  :param pulumi.Input[int] port: The port that is used to access the AD server.
101
100
  :param pulumi.Input[str] server: The address of the AD server.
102
101
  :param pulumi.Input[str] email_mapping: The field that is used to indicate the email address of a user on the AD server.
103
102
  :param pulumi.Input[str] filter: The condition that is used to filter users.
104
103
  :param pulumi.Input[str] mobile_mapping: The field that is used to indicate the mobile phone number of a user on the AD server.
105
104
  :param pulumi.Input[str] name_mapping: The field that is used to indicate the name of a user on the AD server.
105
+ :param pulumi.Input[str] password: The password of the account that is used for the AD server.
106
106
  :param pulumi.Input[str] standby_server: The address of the secondary AD server.
107
107
  """
108
108
  pulumi.set(__self__, "account", account)
109
109
  pulumi.set(__self__, "base_dn", base_dn)
110
110
  pulumi.set(__self__, "domain", domain)
111
111
  pulumi.set(__self__, "is_ssl", is_ssl)
112
- pulumi.set(__self__, "password", password)
113
112
  pulumi.set(__self__, "port", port)
114
113
  pulumi.set(__self__, "server", server)
115
114
  if email_mapping is not None:
@@ -120,6 +119,8 @@ class InstanceAdAuthServerArgs:
120
119
  pulumi.set(__self__, "mobile_mapping", mobile_mapping)
121
120
  if name_mapping is not None:
122
121
  pulumi.set(__self__, "name_mapping", name_mapping)
122
+ if password is not None:
123
+ pulumi.set(__self__, "password", password)
123
124
  if standby_server is not None:
124
125
  pulumi.set(__self__, "standby_server", standby_server)
125
126
 
@@ -171,18 +172,6 @@ class InstanceAdAuthServerArgs:
171
172
  def is_ssl(self, value: pulumi.Input[bool]):
172
173
  pulumi.set(self, "is_ssl", value)
173
174
 
174
- @property
175
- @pulumi.getter
176
- def password(self) -> pulumi.Input[str]:
177
- """
178
- The password of the account that is used for the AD server.
179
- """
180
- return pulumi.get(self, "password")
181
-
182
- @password.setter
183
- def password(self, value: pulumi.Input[str]):
184
- pulumi.set(self, "password", value)
185
-
186
175
  @property
187
176
  @pulumi.getter
188
177
  def port(self) -> pulumi.Input[int]:
@@ -255,6 +244,18 @@ class InstanceAdAuthServerArgs:
255
244
  def name_mapping(self, value: Optional[pulumi.Input[str]]):
256
245
  pulumi.set(self, "name_mapping", value)
257
246
 
247
+ @property
248
+ @pulumi.getter
249
+ def password(self) -> Optional[pulumi.Input[str]]:
250
+ """
251
+ The password of the account that is used for the AD server.
252
+ """
253
+ return pulumi.get(self, "password")
254
+
255
+ @password.setter
256
+ def password(self, value: Optional[pulumi.Input[str]]):
257
+ pulumi.set(self, "password", value)
258
+
258
259
  @property
259
260
  @pulumi.getter(name="standbyServer")
260
261
  def standby_server(self) -> Optional[pulumi.Input[str]]:
@@ -278,10 +279,6 @@ if not MYPY:
278
279
  """
279
280
  The Base distinguished name (DN).
280
281
  """
281
- password: pulumi.Input[str]
282
- """
283
- The password of the account that is used for the LDAP server.
284
- """
285
282
  port: pulumi.Input[int]
286
283
  """
287
284
  The port that is used to access the LDAP server.
@@ -314,6 +311,10 @@ if not MYPY:
314
311
  """
315
312
  The field that is used to indicate the name of a user on the LDAP server.
316
313
  """
314
+ password: NotRequired[pulumi.Input[str]]
315
+ """
316
+ The password of the account that is used for the LDAP server.
317
+ """
317
318
  standby_server: NotRequired[pulumi.Input[str]]
318
319
  """
319
320
  The address of the secondary LDAP server.
@@ -326,7 +327,6 @@ class InstanceLdapAuthServerArgs:
326
327
  def __init__(__self__, *,
327
328
  account: pulumi.Input[str],
328
329
  base_dn: pulumi.Input[str],
329
- password: pulumi.Input[str],
330
330
  port: pulumi.Input[int],
331
331
  server: pulumi.Input[str],
332
332
  email_mapping: Optional[pulumi.Input[str]] = None,
@@ -335,11 +335,11 @@ class InstanceLdapAuthServerArgs:
335
335
  login_name_mapping: Optional[pulumi.Input[str]] = None,
336
336
  mobile_mapping: Optional[pulumi.Input[str]] = None,
337
337
  name_mapping: Optional[pulumi.Input[str]] = None,
338
+ password: Optional[pulumi.Input[str]] = None,
338
339
  standby_server: Optional[pulumi.Input[str]] = None):
339
340
  """
340
341
  :param pulumi.Input[str] account: The username of the account that is used for the LDAP server.
341
342
  :param pulumi.Input[str] base_dn: The Base distinguished name (DN).
342
- :param pulumi.Input[str] password: The password of the account that is used for the LDAP server.
343
343
  :param pulumi.Input[int] port: The port that is used to access the LDAP server.
344
344
  :param pulumi.Input[str] server: The address of the LDAP server.
345
345
  :param pulumi.Input[str] email_mapping: The field that is used to indicate the email address of a user on the LDAP server.
@@ -348,11 +348,11 @@ class InstanceLdapAuthServerArgs:
348
348
  :param pulumi.Input[str] login_name_mapping: The field that is used to indicate the logon name of a user on the LDAP server.
349
349
  :param pulumi.Input[str] mobile_mapping: The field that is used to indicate the mobile phone number of a user on the LDAP server.
350
350
  :param pulumi.Input[str] name_mapping: The field that is used to indicate the name of a user on the LDAP server.
351
+ :param pulumi.Input[str] password: The password of the account that is used for the LDAP server.
351
352
  :param pulumi.Input[str] standby_server: The address of the secondary LDAP server.
352
353
  """
353
354
  pulumi.set(__self__, "account", account)
354
355
  pulumi.set(__self__, "base_dn", base_dn)
355
- pulumi.set(__self__, "password", password)
356
356
  pulumi.set(__self__, "port", port)
357
357
  pulumi.set(__self__, "server", server)
358
358
  if email_mapping is not None:
@@ -367,6 +367,8 @@ class InstanceLdapAuthServerArgs:
367
367
  pulumi.set(__self__, "mobile_mapping", mobile_mapping)
368
368
  if name_mapping is not None:
369
369
  pulumi.set(__self__, "name_mapping", name_mapping)
370
+ if password is not None:
371
+ pulumi.set(__self__, "password", password)
370
372
  if standby_server is not None:
371
373
  pulumi.set(__self__, "standby_server", standby_server)
372
374
 
@@ -394,18 +396,6 @@ class InstanceLdapAuthServerArgs:
394
396
  def base_dn(self, value: pulumi.Input[str]):
395
397
  pulumi.set(self, "base_dn", value)
396
398
 
397
- @property
398
- @pulumi.getter
399
- def password(self) -> pulumi.Input[str]:
400
- """
401
- The password of the account that is used for the LDAP server.
402
- """
403
- return pulumi.get(self, "password")
404
-
405
- @password.setter
406
- def password(self, value: pulumi.Input[str]):
407
- pulumi.set(self, "password", value)
408
-
409
399
  @property
410
400
  @pulumi.getter
411
401
  def port(self) -> pulumi.Input[int]:
@@ -502,6 +492,18 @@ class InstanceLdapAuthServerArgs:
502
492
  def name_mapping(self, value: Optional[pulumi.Input[str]]):
503
493
  pulumi.set(self, "name_mapping", value)
504
494
 
495
+ @property
496
+ @pulumi.getter
497
+ def password(self) -> Optional[pulumi.Input[str]]:
498
+ """
499
+ The password of the account that is used for the LDAP server.
500
+ """
501
+ return pulumi.get(self, "password")
502
+
503
+ @password.setter
504
+ def password(self, value: Optional[pulumi.Input[str]]):
505
+ pulumi.set(self, "password", value)
506
+
505
507
  @property
506
508
  @pulumi.getter(name="standbyServer")
507
509
  def standby_server(self) -> Optional[pulumi.Input[str]]:
@@ -120,7 +120,7 @@ def get_instances(description_regex: Optional[str] = None,
120
120
 
121
121
  This data source provides a list of cloud Bastionhost instances in an Alibaba Cloud account according to the specified filters.
122
122
 
123
- > **NOTE:** Available in 1.63.0+ .
123
+ > **NOTE:** Available since v1.63.0.
124
124
 
125
125
  ## Example Usage
126
126
 
@@ -129,22 +129,14 @@ def get_instances(description_regex: Optional[str] = None,
129
129
  import pulumi_alicloud as alicloud
130
130
 
131
131
  instance = alicloud.bastionhost.get_instances(description_regex="^bastionhost")
132
- pulumi.export("instance", [__item["id"] for __item in instance_alicloud_bastionhost_instances])
132
+ pulumi.export("instance", [__item.id for __item in [instance]])
133
133
  ```
134
134
 
135
135
 
136
136
  :param str description_regex: A regex string to filter results by the instance description.
137
137
  :param Sequence[str] ids: Matched instance IDs to filter data source result.
138
138
  :param str output_file: File name to persist data source output.
139
- :param Mapping[str, str] tags: A map of tags assigned to the bastionhost instance. It must be in the format:
140
- ```python
141
- import pulumi
142
- import pulumi_alicloud as alicloud
143
-
144
- instance = alicloud.bastionhost.get_instances(tags={
145
- "tagKey1": "tagValue1",
146
- })
147
- ```
139
+ :param Mapping[str, str] tags: A map of tags assigned to the bastionhost instance.
148
140
  """
149
141
  __args__ = dict()
150
142
  __args__['descriptionRegex'] = description_regex
@@ -172,7 +164,7 @@ def get_instances_output(description_regex: Optional[pulumi.Input[Optional[str]]
172
164
 
173
165
  This data source provides a list of cloud Bastionhost instances in an Alibaba Cloud account according to the specified filters.
174
166
 
175
- > **NOTE:** Available in 1.63.0+ .
167
+ > **NOTE:** Available since v1.63.0.
176
168
 
177
169
  ## Example Usage
178
170
 
@@ -181,22 +173,14 @@ def get_instances_output(description_regex: Optional[pulumi.Input[Optional[str]]
181
173
  import pulumi_alicloud as alicloud
182
174
 
183
175
  instance = alicloud.bastionhost.get_instances(description_regex="^bastionhost")
184
- pulumi.export("instance", [__item["id"] for __item in instance_alicloud_bastionhost_instances])
176
+ pulumi.export("instance", [__item.id for __item in [instance]])
185
177
  ```
186
178
 
187
179
 
188
180
  :param str description_regex: A regex string to filter results by the instance description.
189
181
  :param Sequence[str] ids: Matched instance IDs to filter data source result.
190
182
  :param str output_file: File name to persist data source output.
191
- :param Mapping[str, str] tags: A map of tags assigned to the bastionhost instance. It must be in the format:
192
- ```python
193
- import pulumi
194
- import pulumi_alicloud as alicloud
195
-
196
- instance = alicloud.bastionhost.get_instances(tags={
197
- "tagKey1": "tagValue1",
198
- })
199
- ```
183
+ :param Mapping[str, str] tags: A map of tags assigned to the bastionhost instance.
200
184
  """
201
185
  __args__ = dict()
202
186
  __args__['descriptionRegex'] = description_regex