pulumi-alicloud 3.56.0a1715923185__py3-none-any.whl → 3.56.0a1716566612__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.
Files changed (260) hide show
  1. pulumi_alicloud/actiontrail/outputs.py +4 -0
  2. pulumi_alicloud/adb/db_cluster.py +14 -0
  3. pulumi_alicloud/adb/get_db_cluster_lake_versions.py +2 -2
  4. pulumi_alicloud/alb/_inputs.py +34 -0
  5. pulumi_alicloud/alb/get_acls.py +2 -2
  6. pulumi_alicloud/alb/get_security_policies.py +4 -4
  7. pulumi_alicloud/alb/outputs.py +188 -10
  8. pulumi_alicloud/alb/rule.py +14 -0
  9. pulumi_alicloud/alb/server_group.py +21 -0
  10. pulumi_alicloud/amqp/get_instances.py +2 -2
  11. pulumi_alicloud/apigateway/get_log_configs.py +2 -2
  12. pulumi_alicloud/apigateway/get_plugins.py +6 -6
  13. pulumi_alicloud/arms/outputs.py +20 -0
  14. pulumi_alicloud/bastionhost/get_users.py +4 -4
  15. pulumi_alicloud/bastionhost/host.py +28 -7
  16. pulumi_alicloud/bastionhost/instance.py +14 -0
  17. pulumi_alicloud/cddc/get_dedicated_host_accounts.py +2 -2
  18. pulumi_alicloud/cddc/get_dedicated_host_groups.py +2 -2
  19. pulumi_alicloud/cddc/outputs.py +0 -6
  20. pulumi_alicloud/cdn/get_real_time_log_deliveries.py +0 -2
  21. pulumi_alicloud/cen/get_traffic_marking_policies.py +2 -4
  22. pulumi_alicloud/cen/get_transit_router_route_table_associations.py +8 -0
  23. pulumi_alicloud/cen/outputs.py +6 -0
  24. pulumi_alicloud/cen/transit_router_peer_attachment.py +14 -0
  25. pulumi_alicloud/cen/transit_router_prefix_list_association.py +28 -0
  26. pulumi_alicloud/cfg/aggregator.py +14 -0
  27. pulumi_alicloud/clickhouse/outputs.py +34 -4
  28. pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +12 -4
  29. pulumi_alicloud/cloudfirewall/instance.py +28 -0
  30. pulumi_alicloud/cloudsso/get_access_assignments.py +4 -4
  31. pulumi_alicloud/cloudsso/get_groups.py +2 -2
  32. pulumi_alicloud/cloudsso/outputs.py +104 -2
  33. pulumi_alicloud/cloudstoragegateway/get_gateway_block_volumes.py +2 -2
  34. pulumi_alicloud/cloudstoragegateway/get_gateway_cache_disks.py +2 -2
  35. pulumi_alicloud/cms/_inputs.py +16 -0
  36. pulumi_alicloud/cms/get_event_rules.py +2 -2
  37. pulumi_alicloud/cms/get_group_metric_rules.py +4 -4
  38. pulumi_alicloud/cms/get_hybrid_monitor_fc_tasks.py +2 -2
  39. pulumi_alicloud/cms/get_monitor_groups.py +2 -4
  40. pulumi_alicloud/cms/outputs.py +216 -0
  41. pulumi_alicloud/cr/get_chart_namespaces.py +2 -2
  42. pulumi_alicloud/cr/get_chart_repositories.py +2 -2
  43. pulumi_alicloud/cr/get_endpoint_acl_policies.py +2 -2
  44. pulumi_alicloud/cr/get_endpoint_acl_service.py +2 -2
  45. pulumi_alicloud/cr/get_vpc_endpoint_linked_vpcs.py +4 -0
  46. pulumi_alicloud/cr/outputs.py +4 -0
  47. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -0
  48. pulumi_alicloud/cs/_inputs.py +244 -16
  49. pulumi_alicloud/cs/edge_kubernetes.py +29 -15
  50. pulumi_alicloud/cs/kubernetes.py +54 -7
  51. pulumi_alicloud/cs/managed_kubernetes.py +34 -0
  52. pulumi_alicloud/cs/node_pool.py +105 -0
  53. pulumi_alicloud/cs/outputs.py +266 -16
  54. pulumi_alicloud/databasefilesystem/get_snapshots.py +2 -2
  55. pulumi_alicloud/databasefilesystem/outputs.py +6 -0
  56. pulumi_alicloud/dbs/get_backup_plans.py +2 -2
  57. pulumi_alicloud/dcdn/get_ipa_domains.py +4 -4
  58. pulumi_alicloud/dcdn/outputs.py +10 -0
  59. pulumi_alicloud/ddos/domain_resource.py +21 -0
  60. pulumi_alicloud/ddos/get_ddos_bgp_ips.py +6 -2
  61. pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +2 -2
  62. pulumi_alicloud/dfs/outputs.py +10 -0
  63. pulumi_alicloud/directmail/get_mail_addresses.py +2 -2
  64. pulumi_alicloud/directmail/get_receivers.py +2 -2
  65. pulumi_alicloud/dns/_inputs.py +16 -0
  66. pulumi_alicloud/dns/get_access_strategies.py +6 -2
  67. pulumi_alicloud/dns/outputs.py +68 -2
  68. pulumi_alicloud/dns/record.py +4 -0
  69. pulumi_alicloud/dts/get_subscription_jobs.py +2 -4
  70. pulumi_alicloud/dts/get_synchronization_jobs.py +2 -2
  71. pulumi_alicloud/dts/instance.py +21 -0
  72. pulumi_alicloud/eais/get_instances.py +2 -2
  73. pulumi_alicloud/ebs/outputs.py +6 -0
  74. pulumi_alicloud/eci/get_container_groups.py +6 -8
  75. pulumi_alicloud/eci/get_virtual_nodes.py +6 -8
  76. pulumi_alicloud/eci/outputs.py +26 -26
  77. pulumi_alicloud/ecs/_inputs.py +63 -1
  78. pulumi_alicloud/ecs/disk.py +28 -7
  79. pulumi_alicloud/ecs/ecs_deployment_set.py +23 -9
  80. pulumi_alicloud/ecs/ecs_disk.py +28 -7
  81. pulumi_alicloud/ecs/ecs_instance_set.py +35 -0
  82. pulumi_alicloud/ecs/eip.py +68 -0
  83. pulumi_alicloud/ecs/eip_address.py +199 -7
  84. pulumi_alicloud/ecs/get_auto_snapshot_policies.py +2 -2
  85. pulumi_alicloud/ecs/get_commands.py +4 -4
  86. pulumi_alicloud/ecs/get_ecs_deployment_sets.py +2 -2
  87. pulumi_alicloud/ecs/get_ecs_image_components.py +10 -6
  88. pulumi_alicloud/ecs/get_ecs_key_pairs.py +2 -4
  89. pulumi_alicloud/ecs/get_ecs_launch_templates.py +0 -2
  90. pulumi_alicloud/ecs/get_ecs_network_interface_permissions.py +2 -2
  91. pulumi_alicloud/ecs/get_ecs_snapshots.py +16 -16
  92. pulumi_alicloud/ecs/get_ecs_storage_capacity_units.py +2 -2
  93. pulumi_alicloud/ecs/get_eip_addresses.py +12 -12
  94. pulumi_alicloud/ecs/get_images.py +20 -4
  95. pulumi_alicloud/ecs/instance.py +222 -126
  96. pulumi_alicloud/ecs/outputs.py +217 -93
  97. pulumi_alicloud/eds/ad_connector_office_site.py +21 -0
  98. pulumi_alicloud/eds/get_ad_connector_office_sites.py +20 -2
  99. pulumi_alicloud/eds/get_desktop_types.py +4 -4
  100. pulumi_alicloud/eds/get_desktops.py +2 -4
  101. pulumi_alicloud/eds/get_images.py +2 -2
  102. pulumi_alicloud/eds/get_ram_directories.py +2 -2
  103. pulumi_alicloud/eds/get_simple_office_sites.py +2 -2
  104. pulumi_alicloud/eds/get_users.py +2 -2
  105. pulumi_alicloud/eds/outputs.py +58 -4
  106. pulumi_alicloud/ehpc/cluster.py +70 -0
  107. pulumi_alicloud/ehpc/outputs.py +112 -2
  108. pulumi_alicloud/eipanycast/get_anycast_eip_addresses.py +6 -6
  109. pulumi_alicloud/emr/get_clusters.py +8 -8
  110. pulumi_alicloud/emr/outputs.py +18 -32
  111. pulumi_alicloud/emrv2/get_clusters.py +4 -4
  112. pulumi_alicloud/ess/_inputs.py +2 -2
  113. pulumi_alicloud/ess/outputs.py +2 -2
  114. pulumi_alicloud/ess/scaling_group.py +7 -7
  115. pulumi_alicloud/eventbridge/_inputs.py +4 -0
  116. pulumi_alicloud/eventbridge/get_rules.py +2 -2
  117. pulumi_alicloud/eventbridge/outputs.py +4 -0
  118. pulumi_alicloud/expressconnect/get_access_points.py +2 -2
  119. pulumi_alicloud/expressconnect/get_physical_connections.py +2 -2
  120. pulumi_alicloud/expressconnect/get_virtual_border_routers.py +2 -2
  121. pulumi_alicloud/fnf/get_executions.py +2 -2
  122. pulumi_alicloud/ga/_inputs.py +12 -0
  123. pulumi_alicloud/ga/accelerator.py +49 -0
  124. pulumi_alicloud/ga/bandwidth_package.py +21 -0
  125. pulumi_alicloud/ga/custom_routing_endpoint.py +21 -0
  126. pulumi_alicloud/ga/endpoint_group.py +28 -0
  127. pulumi_alicloud/ga/get_accelerators.py +4 -0
  128. pulumi_alicloud/ga/get_acls.py +2 -2
  129. pulumi_alicloud/ga/get_bandwidth_packages.py +4 -4
  130. pulumi_alicloud/ga/get_ip_sets.py +2 -2
  131. pulumi_alicloud/ga/get_listeners.py +2 -2
  132. pulumi_alicloud/ga/listener.py +28 -0
  133. pulumi_alicloud/ga/outputs.py +14 -2
  134. pulumi_alicloud/gpdb/get_db_instance_plans.py +2 -2
  135. pulumi_alicloud/gpdb/get_instances.py +2 -4
  136. pulumi_alicloud/graphdatabase/outputs.py +14 -0
  137. pulumi_alicloud/hbr/_inputs.py +2 -0
  138. pulumi_alicloud/hbr/ecs_backup_plan.py +7 -0
  139. pulumi_alicloud/hbr/get_backup_jobs.py +4 -4
  140. pulumi_alicloud/hbr/get_hana_backup_plans.py +2 -4
  141. pulumi_alicloud/hbr/get_hana_instances.py +12 -4
  142. pulumi_alicloud/hbr/get_restore_jobs.py +10 -10
  143. pulumi_alicloud/hbr/get_snapshots.py +14 -14
  144. pulumi_alicloud/hbr/get_vaults.py +4 -0
  145. pulumi_alicloud/hbr/hana_backup_plan.py +21 -0
  146. pulumi_alicloud/hbr/nas_backup_plan.py +7 -0
  147. pulumi_alicloud/hbr/oss_backup_plan.py +7 -0
  148. pulumi_alicloud/hbr/ots_backup_plan.py +7 -0
  149. pulumi_alicloud/hbr/outputs.py +68 -0
  150. pulumi_alicloud/hbr/server_backup_plan.py +7 -0
  151. pulumi_alicloud/hbr/vault.py +14 -0
  152. pulumi_alicloud/imp/get_app_templates.py +2 -2
  153. pulumi_alicloud/kms/instance.py +218 -128
  154. pulumi_alicloud/kms/key.py +133 -21
  155. pulumi_alicloud/kms/secret.py +28 -0
  156. pulumi_alicloud/kvstore/account.py +21 -7
  157. pulumi_alicloud/kvstore/get_accounts.py +2 -2
  158. pulumi_alicloud/kvstore/instance.py +14 -0
  159. pulumi_alicloud/lindorm/get_instances.py +2 -2
  160. pulumi_alicloud/log/_inputs.py +28 -6
  161. pulumi_alicloud/log/get_projects.py +2 -2
  162. pulumi_alicloud/log/outputs.py +28 -6
  163. pulumi_alicloud/message/service_queue.py +100 -82
  164. pulumi_alicloud/message/service_subscription.py +14 -0
  165. pulumi_alicloud/mongodb/get_accounts.py +4 -4
  166. pulumi_alicloud/mongodb/get_audit_policies.py +2 -2
  167. pulumi_alicloud/mongodb/instance.py +56 -0
  168. pulumi_alicloud/mongodb/outputs.py +14 -0
  169. pulumi_alicloud/mongodb/sharding_instance.py +21 -0
  170. pulumi_alicloud/mse/cluster.py +28 -0
  171. pulumi_alicloud/mse/outputs.py +34 -0
  172. pulumi_alicloud/nas/access_rule.py +38 -18
  173. pulumi_alicloud/nas/auto_snapshot_policy.py +111 -26
  174. pulumi_alicloud/nas/data_flow.py +14 -0
  175. pulumi_alicloud/nas/file_system.py +14 -0
  176. pulumi_alicloud/nas/get_data_flows.py +2 -2
  177. pulumi_alicloud/nas/get_file_systems.py +4 -0
  178. pulumi_alicloud/nas/get_filesets.py +2 -2
  179. pulumi_alicloud/nas/get_snapshots.py +2 -2
  180. pulumi_alicloud/nas/outputs.py +4 -0
  181. pulumi_alicloud/nlb/get_load_balancers.py +10 -12
  182. pulumi_alicloud/nlb/get_security_policies.py +2 -4
  183. pulumi_alicloud/nlb/get_server_groups.py +4 -6
  184. pulumi_alicloud/nlb/load_balancer.py +14 -0
  185. pulumi_alicloud/nlb/server_group.py +56 -7
  186. pulumi_alicloud/ocean/get_base_instances.py +4 -4
  187. pulumi_alicloud/oos/get_parameters.py +6 -6
  188. pulumi_alicloud/oos/get_patch_baselines.py +4 -4
  189. pulumi_alicloud/oos/get_secret_parameters.py +4 -4
  190. pulumi_alicloud/oos/parameter.py +28 -0
  191. pulumi_alicloud/oos/secret_parameter.py +28 -0
  192. pulumi_alicloud/ots/instance.py +91 -0
  193. pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +2 -2
  194. pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +6 -6
  195. pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +2 -2
  196. pulumi_alicloud/privatelink/get_vpc_endpoints.py +2 -2
  197. pulumi_alicloud/privatelink/vpc_endpoint.py +124 -41
  198. pulumi_alicloud/pulumi-plugin.json +1 -1
  199. pulumi_alicloud/pvtz/get_resolver_zones.py +2 -2
  200. pulumi_alicloud/quotas/_inputs.py +0 -10
  201. pulumi_alicloud/quotas/outputs.py +10 -10
  202. pulumi_alicloud/rds/get_accounts.py +2 -2
  203. pulumi_alicloud/rds/get_cross_region_backups.py +6 -2
  204. pulumi_alicloud/resourcemanager/get_control_policies.py +2 -2
  205. pulumi_alicloud/resourcemanager/get_control_policy_attachments.py +2 -2
  206. pulumi_alicloud/resourcemanager/get_delegated_administrators.py +2 -2
  207. pulumi_alicloud/resourcemanager/get_resource_shares.py +4 -4
  208. pulumi_alicloud/resourcemanager/shared_resource.py +35 -0
  209. pulumi_alicloud/ros/get_change_sets.py +2 -2
  210. pulumi_alicloud/ros/get_stack_groups.py +2 -2
  211. pulumi_alicloud/ros/get_stack_instances.py +12 -2
  212. pulumi_alicloud/ros/get_stacks.py +4 -4
  213. pulumi_alicloud/ros/get_templates.py +4 -4
  214. pulumi_alicloud/ros/outputs.py +68 -2
  215. pulumi_alicloud/ros/stack_instance.py +52 -4
  216. pulumi_alicloud/sae/get_config_maps.py +2 -2
  217. pulumi_alicloud/sae/get_ingresses.py +2 -2
  218. pulumi_alicloud/sae/outputs.py +274 -0
  219. pulumi_alicloud/scdn/get_domains.py +2 -2
  220. pulumi_alicloud/sddp/get_data_limits.py +4 -4
  221. pulumi_alicloud/sddp/get_rules.py +10 -10
  222. pulumi_alicloud/simpleapplicationserver/get_images.py +0 -8
  223. pulumi_alicloud/simpleapplicationserver/get_instances.py +4 -4
  224. pulumi_alicloud/simpleapplicationserver/get_server_disks.py +2 -2
  225. pulumi_alicloud/simpleapplicationserver/get_server_snapshots.py +2 -2
  226. pulumi_alicloud/simpleapplicationserver/snapshot.py +4 -4
  227. pulumi_alicloud/slb/get_tls_cipher_policies.py +2 -2
  228. pulumi_alicloud/tsdb/get_instances.py +2 -2
  229. pulumi_alicloud/videosurveillance/get_system_groups.py +2 -2
  230. pulumi_alicloud/vod/domain.py +14 -0
  231. pulumi_alicloud/vod/get_domains.py +4 -0
  232. pulumi_alicloud/vpc/get_bgp_groups.py +4 -4
  233. pulumi_alicloud/vpc/get_bgp_networks.py +4 -4
  234. pulumi_alicloud/vpc/get_bgp_peers.py +6 -6
  235. pulumi_alicloud/vpc/get_havips.py +2 -2
  236. pulumi_alicloud/vpc/get_ipv4_gateways.py +2 -2
  237. pulumi_alicloud/vpc/get_ipv6_addresses.py +6 -2
  238. pulumi_alicloud/vpc/get_ipv6_egress_rules.py +4 -4
  239. pulumi_alicloud/vpc/get_ipv6_gateways.py +2 -2
  240. pulumi_alicloud/vpc/get_nat_ip_cidrs.py +6 -6
  241. pulumi_alicloud/vpc/get_nat_ips.py +6 -6
  242. pulumi_alicloud/vpc/get_network_acls.py +4 -4
  243. pulumi_alicloud/vpc/get_peer_connections.py +2 -2
  244. pulumi_alicloud/vpc/get_public_ip_address_pools.py +6 -6
  245. pulumi_alicloud/vpc/get_traffic_mirror_filter_egress_rules.py +2 -2
  246. pulumi_alicloud/vpc/get_traffic_mirror_filter_ingress_rules.py +2 -2
  247. pulumi_alicloud/vpc/get_traffic_mirror_filters.py +2 -2
  248. pulumi_alicloud/vpc/get_traffic_mirror_sessions.py +6 -6
  249. pulumi_alicloud/vpc/get_vpc_flow_logs.py +6 -6
  250. pulumi_alicloud/vpc/ha_vip.py +8 -0
  251. pulumi_alicloud/vpc/nat_gateway.py +14 -0
  252. pulumi_alicloud/vpc/outputs.py +14 -14
  253. pulumi_alicloud/vpc/route_entry.py +70 -0
  254. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +2 -2
  255. pulumi_alicloud/vpn/get_gateway_zones.py +16 -0
  256. pulumi_alicloud/vpn/outputs.py +4 -4
  257. {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716566612.dist-info}/METADATA +1 -1
  258. {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716566612.dist-info}/RECORD +260 -260
  259. {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716566612.dist-info}/WHEEL +0 -0
  260. {pulumi_alicloud-3.56.0a1715923185.dist-info → pulumi_alicloud-3.56.0a1716566612.dist-info}/top_level.txt +0 -0
@@ -16,50 +16,56 @@ __all__ = ['InstanceArgs', 'Instance']
16
16
  @pulumi.input_type
17
17
  class InstanceArgs:
18
18
  def __init__(__self__, *,
19
- key_num: pulumi.Input[int],
20
- secret_num: pulumi.Input[int],
21
- spec: pulumi.Input[int],
22
19
  vpc_id: pulumi.Input[str],
23
- vpc_num: pulumi.Input[int],
24
20
  vswitch_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
25
21
  zone_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
26
22
  bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]]] = None,
23
+ force_delete_without_backup: Optional[pulumi.Input[str]] = None,
24
+ key_num: Optional[pulumi.Input[int]] = None,
27
25
  log: Optional[pulumi.Input[str]] = None,
28
26
  log_storage: Optional[pulumi.Input[int]] = None,
27
+ payment_type: Optional[pulumi.Input[str]] = None,
29
28
  period: Optional[pulumi.Input[int]] = None,
30
29
  product_version: Optional[pulumi.Input[str]] = None,
31
30
  renew_period: Optional[pulumi.Input[int]] = None,
32
- renew_status: Optional[pulumi.Input[str]] = None):
31
+ renew_status: Optional[pulumi.Input[str]] = None,
32
+ secret_num: Optional[pulumi.Input[int]] = None,
33
+ spec: Optional[pulumi.Input[int]] = None,
34
+ vpc_num: Optional[pulumi.Input[int]] = None):
33
35
  """
34
36
  The set of arguments for constructing a Instance resource.
35
- :param pulumi.Input[int] key_num: Maximum number of stored keys.
36
- :param pulumi.Input[int] secret_num: Maximum number of Secrets.
37
- :param pulumi.Input[int] spec: The computation performance level of the KMS instance.
38
37
  :param pulumi.Input[str] vpc_id: Instance VPC id.
39
- :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
40
38
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
41
39
  :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
42
40
  :param pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
43
- :param pulumi.Input[str] log: Instance Audit Log Switch.
44
- :param pulumi.Input[int] log_storage: Instance log capacity.
45
- :param pulumi.Input[int] period: Purchase cycle, in months.
41
+ :param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
42
+ :param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
43
+ :param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
44
+ :param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
45
+ :param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
46
+ :param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
46
47
  :param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
47
- :param pulumi.Input[int] renew_period: Automatic renewal period, in months.
48
- :param pulumi.Input[str] renew_status: Renewal options (manual renewal, automatic renewal, no renewal).
48
+ :param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
49
+ :param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
50
+ :param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
51
+ :param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
52
+ :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
49
53
  """
50
- pulumi.set(__self__, "key_num", key_num)
51
- pulumi.set(__self__, "secret_num", secret_num)
52
- pulumi.set(__self__, "spec", spec)
53
54
  pulumi.set(__self__, "vpc_id", vpc_id)
54
- pulumi.set(__self__, "vpc_num", vpc_num)
55
55
  pulumi.set(__self__, "vswitch_ids", vswitch_ids)
56
56
  pulumi.set(__self__, "zone_ids", zone_ids)
57
57
  if bind_vpcs is not None:
58
58
  pulumi.set(__self__, "bind_vpcs", bind_vpcs)
59
+ if force_delete_without_backup is not None:
60
+ pulumi.set(__self__, "force_delete_without_backup", force_delete_without_backup)
61
+ if key_num is not None:
62
+ pulumi.set(__self__, "key_num", key_num)
59
63
  if log is not None:
60
64
  pulumi.set(__self__, "log", log)
61
65
  if log_storage is not None:
62
66
  pulumi.set(__self__, "log_storage", log_storage)
67
+ if payment_type is not None:
68
+ pulumi.set(__self__, "payment_type", payment_type)
63
69
  if period is not None:
64
70
  pulumi.set(__self__, "period", period)
65
71
  if product_version is not None:
@@ -68,42 +74,12 @@ class InstanceArgs:
68
74
  pulumi.set(__self__, "renew_period", renew_period)
69
75
  if renew_status is not None:
70
76
  pulumi.set(__self__, "renew_status", renew_status)
71
-
72
- @property
73
- @pulumi.getter(name="keyNum")
74
- def key_num(self) -> pulumi.Input[int]:
75
- """
76
- Maximum number of stored keys.
77
- """
78
- return pulumi.get(self, "key_num")
79
-
80
- @key_num.setter
81
- def key_num(self, value: pulumi.Input[int]):
82
- pulumi.set(self, "key_num", value)
83
-
84
- @property
85
- @pulumi.getter(name="secretNum")
86
- def secret_num(self) -> pulumi.Input[int]:
87
- """
88
- Maximum number of Secrets.
89
- """
90
- return pulumi.get(self, "secret_num")
91
-
92
- @secret_num.setter
93
- def secret_num(self, value: pulumi.Input[int]):
94
- pulumi.set(self, "secret_num", value)
95
-
96
- @property
97
- @pulumi.getter
98
- def spec(self) -> pulumi.Input[int]:
99
- """
100
- The computation performance level of the KMS instance.
101
- """
102
- return pulumi.get(self, "spec")
103
-
104
- @spec.setter
105
- def spec(self, value: pulumi.Input[int]):
106
- pulumi.set(self, "spec", value)
77
+ if secret_num is not None:
78
+ pulumi.set(__self__, "secret_num", secret_num)
79
+ if spec is not None:
80
+ pulumi.set(__self__, "spec", spec)
81
+ if vpc_num is not None:
82
+ pulumi.set(__self__, "vpc_num", vpc_num)
107
83
 
108
84
  @property
109
85
  @pulumi.getter(name="vpcId")
@@ -117,18 +93,6 @@ class InstanceArgs:
117
93
  def vpc_id(self, value: pulumi.Input[str]):
118
94
  pulumi.set(self, "vpc_id", value)
119
95
 
120
- @property
121
- @pulumi.getter(name="vpcNum")
122
- def vpc_num(self) -> pulumi.Input[int]:
123
- """
124
- The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
125
- """
126
- return pulumi.get(self, "vpc_num")
127
-
128
- @vpc_num.setter
129
- def vpc_num(self, value: pulumi.Input[int]):
130
- pulumi.set(self, "vpc_num", value)
131
-
132
96
  @property
133
97
  @pulumi.getter(name="vswitchIds")
134
98
  def vswitch_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
@@ -165,11 +129,35 @@ class InstanceArgs:
165
129
  def bind_vpcs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]]]):
166
130
  pulumi.set(self, "bind_vpcs", value)
167
131
 
132
+ @property
133
+ @pulumi.getter(name="forceDeleteWithoutBackup")
134
+ def force_delete_without_backup(self) -> Optional[pulumi.Input[str]]:
135
+ """
136
+ Whether to force deletion even without backup.
137
+ """
138
+ return pulumi.get(self, "force_delete_without_backup")
139
+
140
+ @force_delete_without_backup.setter
141
+ def force_delete_without_backup(self, value: Optional[pulumi.Input[str]]):
142
+ pulumi.set(self, "force_delete_without_backup", value)
143
+
144
+ @property
145
+ @pulumi.getter(name="keyNum")
146
+ def key_num(self) -> Optional[pulumi.Input[int]]:
147
+ """
148
+ Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
149
+ """
150
+ return pulumi.get(self, "key_num")
151
+
152
+ @key_num.setter
153
+ def key_num(self, value: Optional[pulumi.Input[int]]):
154
+ pulumi.set(self, "key_num", value)
155
+
168
156
  @property
169
157
  @pulumi.getter
170
158
  def log(self) -> Optional[pulumi.Input[str]]:
171
159
  """
172
- Instance Audit Log Switch.
160
+ Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
173
161
  """
174
162
  return pulumi.get(self, "log")
175
163
 
@@ -181,7 +169,7 @@ class InstanceArgs:
181
169
  @pulumi.getter(name="logStorage")
182
170
  def log_storage(self) -> Optional[pulumi.Input[int]]:
183
171
  """
184
- Instance log capacity.
172
+ Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
185
173
  """
186
174
  return pulumi.get(self, "log_storage")
187
175
 
@@ -189,11 +177,23 @@ class InstanceArgs:
189
177
  def log_storage(self, value: Optional[pulumi.Input[int]]):
190
178
  pulumi.set(self, "log_storage", value)
191
179
 
180
+ @property
181
+ @pulumi.getter(name="paymentType")
182
+ def payment_type(self) -> Optional[pulumi.Input[str]]:
183
+ """
184
+ Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
185
+ """
186
+ return pulumi.get(self, "payment_type")
187
+
188
+ @payment_type.setter
189
+ def payment_type(self, value: Optional[pulumi.Input[str]]):
190
+ pulumi.set(self, "payment_type", value)
191
+
192
192
  @property
193
193
  @pulumi.getter
194
194
  def period(self) -> Optional[pulumi.Input[int]]:
195
195
  """
196
- Purchase cycle, in months.
196
+ Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
197
197
  """
198
198
  return pulumi.get(self, "period")
199
199
 
@@ -217,7 +217,7 @@ class InstanceArgs:
217
217
  @pulumi.getter(name="renewPeriod")
218
218
  def renew_period(self) -> Optional[pulumi.Input[int]]:
219
219
  """
220
- Automatic renewal period, in months.
220
+ Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
221
221
  """
222
222
  return pulumi.get(self, "renew_period")
223
223
 
@@ -229,7 +229,7 @@ class InstanceArgs:
229
229
  @pulumi.getter(name="renewStatus")
230
230
  def renew_status(self) -> Optional[pulumi.Input[str]]:
231
231
  """
232
- Renewal options (manual renewal, automatic renewal, no renewal).
232
+ Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
233
233
  """
234
234
  return pulumi.get(self, "renew_status")
235
235
 
@@ -237,6 +237,42 @@ class InstanceArgs:
237
237
  def renew_status(self, value: Optional[pulumi.Input[str]]):
238
238
  pulumi.set(self, "renew_status", value)
239
239
 
240
+ @property
241
+ @pulumi.getter(name="secretNum")
242
+ def secret_num(self) -> Optional[pulumi.Input[int]]:
243
+ """
244
+ Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
245
+ """
246
+ return pulumi.get(self, "secret_num")
247
+
248
+ @secret_num.setter
249
+ def secret_num(self, value: Optional[pulumi.Input[int]]):
250
+ pulumi.set(self, "secret_num", value)
251
+
252
+ @property
253
+ @pulumi.getter
254
+ def spec(self) -> Optional[pulumi.Input[int]]:
255
+ """
256
+ The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
257
+ """
258
+ return pulumi.get(self, "spec")
259
+
260
+ @spec.setter
261
+ def spec(self, value: Optional[pulumi.Input[int]]):
262
+ pulumi.set(self, "spec", value)
263
+
264
+ @property
265
+ @pulumi.getter(name="vpcNum")
266
+ def vpc_num(self) -> Optional[pulumi.Input[int]]:
267
+ """
268
+ The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
269
+ """
270
+ return pulumi.get(self, "vpc_num")
271
+
272
+ @vpc_num.setter
273
+ def vpc_num(self, value: Optional[pulumi.Input[int]]):
274
+ pulumi.set(self, "vpc_num", value)
275
+
240
276
 
241
277
  @pulumi.input_type
242
278
  class _InstanceState:
@@ -244,10 +280,12 @@ class _InstanceState:
244
280
  bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]]] = None,
245
281
  ca_certificate_chain_pem: Optional[pulumi.Input[str]] = None,
246
282
  create_time: Optional[pulumi.Input[str]] = None,
283
+ force_delete_without_backup: Optional[pulumi.Input[str]] = None,
247
284
  instance_name: Optional[pulumi.Input[str]] = None,
248
285
  key_num: Optional[pulumi.Input[int]] = None,
249
286
  log: Optional[pulumi.Input[str]] = None,
250
287
  log_storage: Optional[pulumi.Input[int]] = None,
288
+ payment_type: Optional[pulumi.Input[str]] = None,
251
289
  period: Optional[pulumi.Input[int]] = None,
252
290
  product_version: Optional[pulumi.Input[str]] = None,
253
291
  renew_period: Optional[pulumi.Input[int]] = None,
@@ -264,19 +302,21 @@ class _InstanceState:
264
302
  :param pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
265
303
  :param pulumi.Input[str] ca_certificate_chain_pem: KMS instance certificate chain in PEM format.
266
304
  :param pulumi.Input[str] create_time: The creation time of the resource.
305
+ :param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
267
306
  :param pulumi.Input[str] instance_name: The name of the resource.
268
- :param pulumi.Input[int] key_num: Maximum number of stored keys.
269
- :param pulumi.Input[str] log: Instance Audit Log Switch.
270
- :param pulumi.Input[int] log_storage: Instance log capacity.
271
- :param pulumi.Input[int] period: Purchase cycle, in months.
307
+ :param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
308
+ :param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
309
+ :param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
310
+ :param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
311
+ :param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
272
312
  :param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
273
- :param pulumi.Input[int] renew_period: Automatic renewal period, in months.
274
- :param pulumi.Input[str] renew_status: Renewal options (manual renewal, automatic renewal, no renewal).
275
- :param pulumi.Input[int] secret_num: Maximum number of Secrets.
276
- :param pulumi.Input[int] spec: The computation performance level of the KMS instance.
313
+ :param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
314
+ :param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
315
+ :param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
316
+ :param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
277
317
  :param pulumi.Input[str] status: Instance status.
278
318
  :param pulumi.Input[str] vpc_id: Instance VPC id.
279
- :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
319
+ :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
280
320
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
281
321
  :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
282
322
  """
@@ -286,6 +326,8 @@ class _InstanceState:
286
326
  pulumi.set(__self__, "ca_certificate_chain_pem", ca_certificate_chain_pem)
287
327
  if create_time is not None:
288
328
  pulumi.set(__self__, "create_time", create_time)
329
+ if force_delete_without_backup is not None:
330
+ pulumi.set(__self__, "force_delete_without_backup", force_delete_without_backup)
289
331
  if instance_name is not None:
290
332
  pulumi.set(__self__, "instance_name", instance_name)
291
333
  if key_num is not None:
@@ -294,6 +336,8 @@ class _InstanceState:
294
336
  pulumi.set(__self__, "log", log)
295
337
  if log_storage is not None:
296
338
  pulumi.set(__self__, "log_storage", log_storage)
339
+ if payment_type is not None:
340
+ pulumi.set(__self__, "payment_type", payment_type)
297
341
  if period is not None:
298
342
  pulumi.set(__self__, "period", period)
299
343
  if product_version is not None:
@@ -353,6 +397,18 @@ class _InstanceState:
353
397
  def create_time(self, value: Optional[pulumi.Input[str]]):
354
398
  pulumi.set(self, "create_time", value)
355
399
 
400
+ @property
401
+ @pulumi.getter(name="forceDeleteWithoutBackup")
402
+ def force_delete_without_backup(self) -> Optional[pulumi.Input[str]]:
403
+ """
404
+ Whether to force deletion even without backup.
405
+ """
406
+ return pulumi.get(self, "force_delete_without_backup")
407
+
408
+ @force_delete_without_backup.setter
409
+ def force_delete_without_backup(self, value: Optional[pulumi.Input[str]]):
410
+ pulumi.set(self, "force_delete_without_backup", value)
411
+
356
412
  @property
357
413
  @pulumi.getter(name="instanceName")
358
414
  def instance_name(self) -> Optional[pulumi.Input[str]]:
@@ -369,7 +425,7 @@ class _InstanceState:
369
425
  @pulumi.getter(name="keyNum")
370
426
  def key_num(self) -> Optional[pulumi.Input[int]]:
371
427
  """
372
- Maximum number of stored keys.
428
+ Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
373
429
  """
374
430
  return pulumi.get(self, "key_num")
375
431
 
@@ -381,7 +437,7 @@ class _InstanceState:
381
437
  @pulumi.getter
382
438
  def log(self) -> Optional[pulumi.Input[str]]:
383
439
  """
384
- Instance Audit Log Switch.
440
+ Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
385
441
  """
386
442
  return pulumi.get(self, "log")
387
443
 
@@ -393,7 +449,7 @@ class _InstanceState:
393
449
  @pulumi.getter(name="logStorage")
394
450
  def log_storage(self) -> Optional[pulumi.Input[int]]:
395
451
  """
396
- Instance log capacity.
452
+ Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
397
453
  """
398
454
  return pulumi.get(self, "log_storage")
399
455
 
@@ -401,11 +457,23 @@ class _InstanceState:
401
457
  def log_storage(self, value: Optional[pulumi.Input[int]]):
402
458
  pulumi.set(self, "log_storage", value)
403
459
 
460
+ @property
461
+ @pulumi.getter(name="paymentType")
462
+ def payment_type(self) -> Optional[pulumi.Input[str]]:
463
+ """
464
+ Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
465
+ """
466
+ return pulumi.get(self, "payment_type")
467
+
468
+ @payment_type.setter
469
+ def payment_type(self, value: Optional[pulumi.Input[str]]):
470
+ pulumi.set(self, "payment_type", value)
471
+
404
472
  @property
405
473
  @pulumi.getter
406
474
  def period(self) -> Optional[pulumi.Input[int]]:
407
475
  """
408
- Purchase cycle, in months.
476
+ Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
409
477
  """
410
478
  return pulumi.get(self, "period")
411
479
 
@@ -429,7 +497,7 @@ class _InstanceState:
429
497
  @pulumi.getter(name="renewPeriod")
430
498
  def renew_period(self) -> Optional[pulumi.Input[int]]:
431
499
  """
432
- Automatic renewal period, in months.
500
+ Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
433
501
  """
434
502
  return pulumi.get(self, "renew_period")
435
503
 
@@ -441,7 +509,7 @@ class _InstanceState:
441
509
  @pulumi.getter(name="renewStatus")
442
510
  def renew_status(self) -> Optional[pulumi.Input[str]]:
443
511
  """
444
- Renewal options (manual renewal, automatic renewal, no renewal).
512
+ Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
445
513
  """
446
514
  return pulumi.get(self, "renew_status")
447
515
 
@@ -453,7 +521,7 @@ class _InstanceState:
453
521
  @pulumi.getter(name="secretNum")
454
522
  def secret_num(self) -> Optional[pulumi.Input[int]]:
455
523
  """
456
- Maximum number of Secrets.
524
+ Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
457
525
  """
458
526
  return pulumi.get(self, "secret_num")
459
527
 
@@ -465,7 +533,7 @@ class _InstanceState:
465
533
  @pulumi.getter
466
534
  def spec(self) -> Optional[pulumi.Input[int]]:
467
535
  """
468
- The computation performance level of the KMS instance.
536
+ The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
469
537
  """
470
538
  return pulumi.get(self, "spec")
471
539
 
@@ -501,7 +569,7 @@ class _InstanceState:
501
569
  @pulumi.getter(name="vpcNum")
502
570
  def vpc_num(self) -> Optional[pulumi.Input[int]]:
503
571
  """
504
- The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
572
+ The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
505
573
  """
506
574
  return pulumi.get(self, "vpc_num")
507
575
 
@@ -540,9 +608,11 @@ class Instance(pulumi.CustomResource):
540
608
  resource_name: str,
541
609
  opts: Optional[pulumi.ResourceOptions] = None,
542
610
  bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]]] = None,
611
+ force_delete_without_backup: Optional[pulumi.Input[str]] = None,
543
612
  key_num: Optional[pulumi.Input[int]] = None,
544
613
  log: Optional[pulumi.Input[str]] = None,
545
614
  log_storage: Optional[pulumi.Input[int]] = None,
615
+ payment_type: Optional[pulumi.Input[str]] = None,
546
616
  period: Optional[pulumi.Input[int]] = None,
547
617
  product_version: Optional[pulumi.Input[str]] = None,
548
618
  renew_period: Optional[pulumi.Input[int]] = None,
@@ -602,17 +672,19 @@ class Instance(pulumi.CustomResource):
602
672
  :param str resource_name: The name of the resource.
603
673
  :param pulumi.ResourceOptions opts: Options for the resource.
604
674
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
605
- :param pulumi.Input[int] key_num: Maximum number of stored keys.
606
- :param pulumi.Input[str] log: Instance Audit Log Switch.
607
- :param pulumi.Input[int] log_storage: Instance log capacity.
608
- :param pulumi.Input[int] period: Purchase cycle, in months.
675
+ :param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
676
+ :param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
677
+ :param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
678
+ :param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
679
+ :param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
680
+ :param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
609
681
  :param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
610
- :param pulumi.Input[int] renew_period: Automatic renewal period, in months.
611
- :param pulumi.Input[str] renew_status: Renewal options (manual renewal, automatic renewal, no renewal).
612
- :param pulumi.Input[int] secret_num: Maximum number of Secrets.
613
- :param pulumi.Input[int] spec: The computation performance level of the KMS instance.
682
+ :param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
683
+ :param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
684
+ :param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
685
+ :param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
614
686
  :param pulumi.Input[str] vpc_id: Instance VPC id.
615
- :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
687
+ :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
616
688
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
617
689
  :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
618
690
  """
@@ -683,9 +755,11 @@ class Instance(pulumi.CustomResource):
683
755
  resource_name: str,
684
756
  opts: Optional[pulumi.ResourceOptions] = None,
685
757
  bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]]] = None,
758
+ force_delete_without_backup: Optional[pulumi.Input[str]] = None,
686
759
  key_num: Optional[pulumi.Input[int]] = None,
687
760
  log: Optional[pulumi.Input[str]] = None,
688
761
  log_storage: Optional[pulumi.Input[int]] = None,
762
+ payment_type: Optional[pulumi.Input[str]] = None,
689
763
  period: Optional[pulumi.Input[int]] = None,
690
764
  product_version: Optional[pulumi.Input[str]] = None,
691
765
  renew_period: Optional[pulumi.Input[int]] = None,
@@ -706,26 +780,20 @@ class Instance(pulumi.CustomResource):
706
780
  __props__ = InstanceArgs.__new__(InstanceArgs)
707
781
 
708
782
  __props__.__dict__["bind_vpcs"] = bind_vpcs
709
- if key_num is None and not opts.urn:
710
- raise TypeError("Missing required property 'key_num'")
783
+ __props__.__dict__["force_delete_without_backup"] = force_delete_without_backup
711
784
  __props__.__dict__["key_num"] = key_num
712
785
  __props__.__dict__["log"] = log
713
786
  __props__.__dict__["log_storage"] = log_storage
787
+ __props__.__dict__["payment_type"] = payment_type
714
788
  __props__.__dict__["period"] = period
715
789
  __props__.__dict__["product_version"] = product_version
716
790
  __props__.__dict__["renew_period"] = renew_period
717
791
  __props__.__dict__["renew_status"] = renew_status
718
- if secret_num is None and not opts.urn:
719
- raise TypeError("Missing required property 'secret_num'")
720
792
  __props__.__dict__["secret_num"] = secret_num
721
- if spec is None and not opts.urn:
722
- raise TypeError("Missing required property 'spec'")
723
793
  __props__.__dict__["spec"] = spec
724
794
  if vpc_id is None and not opts.urn:
725
795
  raise TypeError("Missing required property 'vpc_id'")
726
796
  __props__.__dict__["vpc_id"] = vpc_id
727
- if vpc_num is None and not opts.urn:
728
- raise TypeError("Missing required property 'vpc_num'")
729
797
  __props__.__dict__["vpc_num"] = vpc_num
730
798
  if vswitch_ids is None and not opts.urn:
731
799
  raise TypeError("Missing required property 'vswitch_ids'")
@@ -750,10 +818,12 @@ class Instance(pulumi.CustomResource):
750
818
  bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]]] = None,
751
819
  ca_certificate_chain_pem: Optional[pulumi.Input[str]] = None,
752
820
  create_time: Optional[pulumi.Input[str]] = None,
821
+ force_delete_without_backup: Optional[pulumi.Input[str]] = None,
753
822
  instance_name: Optional[pulumi.Input[str]] = None,
754
823
  key_num: Optional[pulumi.Input[int]] = None,
755
824
  log: Optional[pulumi.Input[str]] = None,
756
825
  log_storage: Optional[pulumi.Input[int]] = None,
826
+ payment_type: Optional[pulumi.Input[str]] = None,
757
827
  period: Optional[pulumi.Input[int]] = None,
758
828
  product_version: Optional[pulumi.Input[str]] = None,
759
829
  renew_period: Optional[pulumi.Input[int]] = None,
@@ -775,19 +845,21 @@ class Instance(pulumi.CustomResource):
775
845
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InstanceBindVpcArgs']]]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
776
846
  :param pulumi.Input[str] ca_certificate_chain_pem: KMS instance certificate chain in PEM format.
777
847
  :param pulumi.Input[str] create_time: The creation time of the resource.
848
+ :param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
778
849
  :param pulumi.Input[str] instance_name: The name of the resource.
779
- :param pulumi.Input[int] key_num: Maximum number of stored keys.
780
- :param pulumi.Input[str] log: Instance Audit Log Switch.
781
- :param pulumi.Input[int] log_storage: Instance log capacity.
782
- :param pulumi.Input[int] period: Purchase cycle, in months.
850
+ :param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
851
+ :param pulumi.Input[str] log: Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
852
+ :param pulumi.Input[int] log_storage: Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
853
+ :param pulumi.Input[str] payment_type: Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
854
+ :param pulumi.Input[int] period: Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
783
855
  :param pulumi.Input[str] product_version: KMS Instance commodity type (software/hardware).
784
- :param pulumi.Input[int] renew_period: Automatic renewal period, in months.
785
- :param pulumi.Input[str] renew_status: Renewal options (manual renewal, automatic renewal, no renewal).
786
- :param pulumi.Input[int] secret_num: Maximum number of Secrets.
787
- :param pulumi.Input[int] spec: The computation performance level of the KMS instance.
856
+ :param pulumi.Input[int] renew_period: Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
857
+ :param pulumi.Input[str] renew_status: Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
858
+ :param pulumi.Input[int] secret_num: Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
859
+ :param pulumi.Input[int] spec: The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
788
860
  :param pulumi.Input[str] status: Instance status.
789
861
  :param pulumi.Input[str] vpc_id: Instance VPC id.
790
- :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
862
+ :param pulumi.Input[int] vpc_num: The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
791
863
  :param pulumi.Input[Sequence[pulumi.Input[str]]] vswitch_ids: Instance bind vswitches.
792
864
  :param pulumi.Input[Sequence[pulumi.Input[str]]] zone_ids: zone id.
793
865
  """
@@ -798,10 +870,12 @@ class Instance(pulumi.CustomResource):
798
870
  __props__.__dict__["bind_vpcs"] = bind_vpcs
799
871
  __props__.__dict__["ca_certificate_chain_pem"] = ca_certificate_chain_pem
800
872
  __props__.__dict__["create_time"] = create_time
873
+ __props__.__dict__["force_delete_without_backup"] = force_delete_without_backup
801
874
  __props__.__dict__["instance_name"] = instance_name
802
875
  __props__.__dict__["key_num"] = key_num
803
876
  __props__.__dict__["log"] = log
804
877
  __props__.__dict__["log_storage"] = log_storage
878
+ __props__.__dict__["payment_type"] = payment_type
805
879
  __props__.__dict__["period"] = period
806
880
  __props__.__dict__["product_version"] = product_version
807
881
  __props__.__dict__["renew_period"] = renew_period
@@ -839,6 +913,14 @@ class Instance(pulumi.CustomResource):
839
913
  """
840
914
  return pulumi.get(self, "create_time")
841
915
 
916
+ @property
917
+ @pulumi.getter(name="forceDeleteWithoutBackup")
918
+ def force_delete_without_backup(self) -> pulumi.Output[Optional[str]]:
919
+ """
920
+ Whether to force deletion even without backup.
921
+ """
922
+ return pulumi.get(self, "force_delete_without_backup")
923
+
842
924
  @property
843
925
  @pulumi.getter(name="instanceName")
844
926
  def instance_name(self) -> pulumi.Output[str]:
@@ -849,9 +931,9 @@ class Instance(pulumi.CustomResource):
849
931
 
850
932
  @property
851
933
  @pulumi.getter(name="keyNum")
852
- def key_num(self) -> pulumi.Output[int]:
934
+ def key_num(self) -> pulumi.Output[Optional[int]]:
853
935
  """
854
- Maximum number of stored keys.
936
+ Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
855
937
  """
856
938
  return pulumi.get(self, "key_num")
857
939
 
@@ -859,7 +941,7 @@ class Instance(pulumi.CustomResource):
859
941
  @pulumi.getter
860
942
  def log(self) -> pulumi.Output[str]:
861
943
  """
862
- Instance Audit Log Switch.
944
+ Instance Audit Log Switch. The attribute is valid when the attribute `payment_type` is `Subscription`.
863
945
  """
864
946
  return pulumi.get(self, "log")
865
947
 
@@ -867,15 +949,23 @@ class Instance(pulumi.CustomResource):
867
949
  @pulumi.getter(name="logStorage")
868
950
  def log_storage(self) -> pulumi.Output[int]:
869
951
  """
870
- Instance log capacity.
952
+ Instance log capacity. The attribute is valid when the attribute `payment_type` is `Subscription`.
871
953
  """
872
954
  return pulumi.get(self, "log_storage")
873
955
 
956
+ @property
957
+ @pulumi.getter(name="paymentType")
958
+ def payment_type(self) -> pulumi.Output[str]:
959
+ """
960
+ Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
961
+ """
962
+ return pulumi.get(self, "payment_type")
963
+
874
964
  @property
875
965
  @pulumi.getter
876
966
  def period(self) -> pulumi.Output[Optional[int]]:
877
967
  """
878
- Purchase cycle, in months.
968
+ Purchase cycle, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
879
969
  """
880
970
  return pulumi.get(self, "period")
881
971
 
@@ -891,7 +981,7 @@ class Instance(pulumi.CustomResource):
891
981
  @pulumi.getter(name="renewPeriod")
892
982
  def renew_period(self) -> pulumi.Output[Optional[int]]:
893
983
  """
894
- Automatic renewal period, in months.
984
+ Automatic renewal period, in months. The attribute is valid when the attribute `payment_type` is `Subscription`.
895
985
  """
896
986
  return pulumi.get(self, "renew_period")
897
987
 
@@ -899,23 +989,23 @@ class Instance(pulumi.CustomResource):
899
989
  @pulumi.getter(name="renewStatus")
900
990
  def renew_status(self) -> pulumi.Output[Optional[str]]:
901
991
  """
902
- Renewal options (manual renewal, automatic renewal, no renewal).
992
+ Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `payment_type` is `Subscription`.
903
993
  """
904
994
  return pulumi.get(self, "renew_status")
905
995
 
906
996
  @property
907
997
  @pulumi.getter(name="secretNum")
908
- def secret_num(self) -> pulumi.Output[int]:
998
+ def secret_num(self) -> pulumi.Output[Optional[int]]:
909
999
  """
910
- Maximum number of Secrets.
1000
+ Maximum number of Secrets. The attribute is valid when the attribute `payment_type` is `Subscription`.
911
1001
  """
912
1002
  return pulumi.get(self, "secret_num")
913
1003
 
914
1004
  @property
915
1005
  @pulumi.getter
916
- def spec(self) -> pulumi.Output[int]:
1006
+ def spec(self) -> pulumi.Output[Optional[int]]:
917
1007
  """
918
- The computation performance level of the KMS instance.
1008
+ The computation performance level of the KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
919
1009
  """
920
1010
  return pulumi.get(self, "spec")
921
1011
 
@@ -937,9 +1027,9 @@ class Instance(pulumi.CustomResource):
937
1027
 
938
1028
  @property
939
1029
  @pulumi.getter(name="vpcNum")
940
- def vpc_num(self) -> pulumi.Output[int]:
1030
+ def vpc_num(self) -> pulumi.Output[Optional[int]]:
941
1031
  """
942
- The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
1032
+ The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `payment_type` is `Subscription`.
943
1033
  """
944
1034
  return pulumi.get(self, "vpc_num")
945
1035