pulumi-alicloud 3.84.0a1756507491__py3-none-any.whl → 3.85.0a1757389637__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 (283) hide show
  1. pulumi_alicloud/__init__.py +172 -0
  2. pulumi_alicloud/_inputs.py +635 -0
  3. pulumi_alicloud/ackone/membership_attachment.py +122 -0
  4. pulumi_alicloud/actiontrail/__init__.py +1 -0
  5. pulumi_alicloud/actiontrail/advanced_query_template.py +311 -0
  6. pulumi_alicloud/actiontrail/trail.py +303 -149
  7. pulumi_alicloud/actiontrail/trail_deprecated.py +131 -23
  8. pulumi_alicloud/alb/a_script.py +170 -0
  9. pulumi_alicloud/alb/get_rules.py +206 -0
  10. pulumi_alicloud/alb/listener.py +240 -0
  11. pulumi_alicloud/alb/listener_acl_attachment.py +180 -0
  12. pulumi_alicloud/alb/listener_additional_certificate_attachment.py +314 -0
  13. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +136 -0
  14. pulumi_alicloud/alb/load_balancer_common_bandwidth_package_attachment.py +122 -0
  15. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +124 -0
  16. pulumi_alicloud/alb/rule.py +202 -0
  17. pulumi_alicloud/alikafka/sasl_user.py +2 -2
  18. pulumi_alicloud/amqp/get_instances.py +49 -20
  19. pulumi_alicloud/amqp/outputs.py +20 -20
  20. pulumi_alicloud/amqp/virtual_host.py +46 -20
  21. pulumi_alicloud/apig/environment.py +86 -0
  22. pulumi_alicloud/arms/__init__.py +6 -0
  23. pulumi_alicloud/arms/addon_release.py +174 -0
  24. pulumi_alicloud/arms/env_feature.py +158 -0
  25. pulumi_alicloud/arms/env_pod_monitor.py +206 -0
  26. pulumi_alicloud/arms/env_service_monitor.py +204 -0
  27. pulumi_alicloud/arms/environment.py +150 -0
  28. pulumi_alicloud/arms/get_addon_releases.py +354 -0
  29. pulumi_alicloud/arms/get_env_custom_jobs.py +268 -0
  30. pulumi_alicloud/arms/get_env_features.py +342 -0
  31. pulumi_alicloud/arms/get_env_pod_monitors.py +390 -0
  32. pulumi_alicloud/arms/get_env_service_monitors.py +388 -0
  33. pulumi_alicloud/arms/get_environments.py +282 -0
  34. pulumi_alicloud/arms/outputs.py +620 -0
  35. pulumi_alicloud/arms/prometheus_monitoring.py +190 -0
  36. pulumi_alicloud/cen/transit_router_multicast_domain_member.py +118 -0
  37. pulumi_alicloud/cen/transit_router_multicast_domain_source.py +160 -0
  38. pulumi_alicloud/cfg/aggregate_delivery.py +100 -0
  39. pulumi_alicloud/cfg/delivery_channel.py +54 -0
  40. pulumi_alicloud/cloudauth/face_config.py +48 -0
  41. pulumi_alicloud/cloudfirewall/nat_firewall_control_policy.py +236 -0
  42. pulumi_alicloud/cloudmonitor/__init__.py +1 -0
  43. pulumi_alicloud/cloudmonitor/get_service_metric_alarm_rules.py +333 -0
  44. pulumi_alicloud/cloudmonitor/outputs.py +696 -0
  45. pulumi_alicloud/cloudsso/__init__.py +1 -0
  46. pulumi_alicloud/cloudsso/access_configuration.py +12 -12
  47. pulumi_alicloud/cloudsso/access_configuration_provisioning.py +84 -0
  48. pulumi_alicloud/cloudsso/access_management.py +90 -0
  49. pulumi_alicloud/cloudsso/delegate_account.py +218 -0
  50. pulumi_alicloud/cloudsso/group.py +60 -0
  51. pulumi_alicloud/cloudsso/user.py +66 -0
  52. pulumi_alicloud/cloudsso/user_attachment.py +82 -0
  53. pulumi_alicloud/cloudstoragegateway/express_sync.py +154 -0
  54. pulumi_alicloud/cloudstoragegateway/express_sync_share_attachment.py +160 -0
  55. pulumi_alicloud/cloudstoragegateway/gateway.py +0 -13
  56. pulumi_alicloud/cloudstoragegateway/gateway_block_volume.py +132 -0
  57. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +92 -0
  58. pulumi_alicloud/cloudstoragegateway/gateway_file_share.py +130 -0
  59. pulumi_alicloud/cloudstoragegateway/gateway_logging.py +120 -0
  60. pulumi_alicloud/cloudstoragegateway/gateway_smb_user.py +92 -0
  61. pulumi_alicloud/cms/alarm.py +4 -4
  62. pulumi_alicloud/cms/get_site_monitors.py +20 -20
  63. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +24 -24
  64. pulumi_alicloud/cms/hybrid_monitor_sls_task.py +164 -0
  65. pulumi_alicloud/cms/site_monitor.py +20 -20
  66. pulumi_alicloud/cms/sls_group.py +80 -0
  67. pulumi_alicloud/compute/nest_service_instance.py +10 -10
  68. pulumi_alicloud/cs/_inputs.py +565 -0
  69. pulumi_alicloud/cs/autoscaling_config.py +260 -35
  70. pulumi_alicloud/cs/get_cluster_credential.py +30 -0
  71. pulumi_alicloud/cs/get_kubernetes_addon_metadata.py +78 -0
  72. pulumi_alicloud/cs/get_kubernetes_addons.py +72 -0
  73. pulumi_alicloud/cs/get_kubernetes_node_pools.py +124 -0
  74. pulumi_alicloud/cs/kubernetes.py +296 -0
  75. pulumi_alicloud/cs/kubernetes_addon.py +108 -0
  76. pulumi_alicloud/cs/kubernetes_permission.py +162 -0
  77. pulumi_alicloud/cs/managed_kubernetes.py +583 -14
  78. pulumi_alicloud/cs/node_pool.py +423 -0
  79. pulumi_alicloud/cs/outputs.py +374 -0
  80. pulumi_alicloud/dataworks/data_source_shared_rule.py +116 -0
  81. pulumi_alicloud/dataworks/dw_resource_group.py +82 -0
  82. pulumi_alicloud/dataworks/network.py +100 -0
  83. pulumi_alicloud/ddos/bgp_ip.py +57 -48
  84. pulumi_alicloud/ddos/ddos_bgp_instance.py +246 -106
  85. pulumi_alicloud/ddos/domain_resource.py +6 -6
  86. pulumi_alicloud/directmail/mail_address.py +62 -0
  87. pulumi_alicloud/directmail/receivers.py +40 -0
  88. pulumi_alicloud/dms/__init__.py +1 -0
  89. pulumi_alicloud/dms/enterprise_workspace.py +354 -0
  90. pulumi_alicloud/dns/access_strategy.py +152 -0
  91. pulumi_alicloud/dns/address_pool.py +4 -4
  92. pulumi_alicloud/dns/ddos_bgp_instance.py +246 -106
  93. pulumi_alicloud/dts/job_monitor_rule.py +228 -0
  94. pulumi_alicloud/dts/migration_job.py +238 -0
  95. pulumi_alicloud/dts/synchronization_job.py +266 -14
  96. pulumi_alicloud/ebs/disk_replica_pair.py +112 -0
  97. pulumi_alicloud/ecs/ecs_network_interface_permission.py +84 -0
  98. pulumi_alicloud/ecs/image_import.py +2 -2
  99. pulumi_alicloud/ecs/ram_role_attachment.py +28 -28
  100. pulumi_alicloud/edas/k8s_application.py +124 -0
  101. pulumi_alicloud/edas/k8s_cluster.py +104 -0
  102. pulumi_alicloud/edas/k8s_slb_attachment.py +152 -0
  103. pulumi_alicloud/eflo/__init__.py +2 -0
  104. pulumi_alicloud/eflo/_inputs.py +94 -0
  105. pulumi_alicloud/eflo/er.py +487 -0
  106. pulumi_alicloud/eflo/node.py +54 -7
  107. pulumi_alicloud/eflo/node_group_attachment.py +604 -0
  108. pulumi_alicloud/eflo/outputs.py +75 -0
  109. pulumi_alicloud/emr/cluster.py +64 -64
  110. pulumi_alicloud/emr/get_clusters.py +16 -16
  111. pulumi_alicloud/emrv2/cluster.py +16 -16
  112. pulumi_alicloud/emrv2/get_cluster_instances.py +16 -16
  113. pulumi_alicloud/esa/__init__.py +7 -0
  114. pulumi_alicloud/esa/kv_account.py +145 -0
  115. pulumi_alicloud/esa/origin_ca_certificate.py +441 -0
  116. pulumi_alicloud/esa/origin_client_certificate.py +564 -0
  117. pulumi_alicloud/esa/origin_protection.py +290 -0
  118. pulumi_alicloud/esa/routine_related_record.py +226 -0
  119. pulumi_alicloud/esa/site_origin_client_certificate.py +515 -0
  120. pulumi_alicloud/esa/url_observation.py +352 -0
  121. pulumi_alicloud/eventbridge/rule.py +102 -0
  122. pulumi_alicloud/fc/_inputs.py +77 -3
  123. pulumi_alicloud/fc/custom_domain.py +14 -14
  124. pulumi_alicloud/fc/function.py +14 -14
  125. pulumi_alicloud/fc/function_async_invoke_config.py +48 -48
  126. pulumi_alicloud/fc/get_service.py +2 -2
  127. pulumi_alicloud/fc/outputs.py +63 -2
  128. pulumi_alicloud/fc/trigger.py +100 -100
  129. pulumi_alicloud/fc/v3_async_invoke_config.py +154 -0
  130. pulumi_alicloud/fc/v3_function.py +189 -3
  131. pulumi_alicloud/fc/v3_function_version.py +30 -2
  132. pulumi_alicloud/fnf/execution.py +14 -14
  133. pulumi_alicloud/fnf/flow.py +14 -14
  134. pulumi_alicloud/ga/additional_certificate.py +236 -0
  135. pulumi_alicloud/gpdb/hadoop_data_source.py +16 -16
  136. pulumi_alicloud/gpdb/streaming_job.py +4 -4
  137. pulumi_alicloud/gwlb/listener.py +172 -0
  138. pulumi_alicloud/gwlb/load_balancer.py +96 -0
  139. pulumi_alicloud/gwlb/server_group.py +160 -0
  140. pulumi_alicloud/hbr/ecs_backup_plan.py +4 -4
  141. pulumi_alicloud/hbr/ots_backup_plan.py +28 -28
  142. pulumi_alicloud/hbr/restore_job.py +4 -4
  143. pulumi_alicloud/hologram/instance.py +35 -0
  144. pulumi_alicloud/imm/project.py +14 -14
  145. pulumi_alicloud/kms/get_aliases.py +6 -6
  146. pulumi_alicloud/kms/get_instances.py +178 -0
  147. pulumi_alicloud/kms/instance.py +470 -16
  148. pulumi_alicloud/kms/policy.py +96 -0
  149. pulumi_alicloud/log/dashboard.py +40 -40
  150. pulumi_alicloud/log/ingestion.py +38 -38
  151. pulumi_alicloud/log/log_tail_attachment.py +20 -20
  152. pulumi_alicloud/log/log_tail_config.py +20 -20
  153. pulumi_alicloud/log/oss_export.py +6 -0
  154. pulumi_alicloud/log/project.py +20 -20
  155. pulumi_alicloud/log/resource.py +22 -22
  156. pulumi_alicloud/log/resource_record.py +40 -40
  157. pulumi_alicloud/maxcompute/get_service.py +2 -2
  158. pulumi_alicloud/message/__init__.py +1 -0
  159. pulumi_alicloud/message/_inputs.py +141 -0
  160. pulumi_alicloud/message/outputs.py +120 -0
  161. pulumi_alicloud/message/service_event_rule.py +490 -0
  162. pulumi_alicloud/message/service_subscription.py +48 -1
  163. pulumi_alicloud/mongodb/__init__.py +1 -0
  164. pulumi_alicloud/mongodb/global_security_ip_group.py +304 -0
  165. pulumi_alicloud/mongodb/instance.py +47 -0
  166. pulumi_alicloud/mongodb/sharding_instance.py +385 -0
  167. pulumi_alicloud/msc_sub_webhook.py +44 -0
  168. pulumi_alicloud/mse/cluster.py +47 -0
  169. pulumi_alicloud/mse/gateway.py +62 -0
  170. pulumi_alicloud/nas/access_group.py +46 -18
  171. pulumi_alicloud/nas/access_rule.py +28 -0
  172. pulumi_alicloud/nas/data_flow.py +114 -0
  173. pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +328 -0
  174. pulumi_alicloud/nlb/server_group.py +28 -21
  175. pulumi_alicloud/oos/execution.py +30 -30
  176. pulumi_alicloud/oos/get_parameters.py +10 -10
  177. pulumi_alicloud/oos/get_secret_parameters.py +10 -10
  178. pulumi_alicloud/oos/template.py +28 -28
  179. pulumi_alicloud/oss/bucket.py +634 -0
  180. pulumi_alicloud/oss/bucket_replication.py +56 -56
  181. pulumi_alicloud/outputs.py +489 -0
  182. pulumi_alicloud/pai/flow_pipeline.py +70 -70
  183. pulumi_alicloud/pai/workspace_datasetversion.py +108 -0
  184. pulumi_alicloud/pai/workspace_run.py +62 -0
  185. pulumi_alicloud/polardb/cluster.py +7 -7
  186. pulumi_alicloud/privatelink/vpc_endpoint.py +21 -7
  187. pulumi_alicloud/privatelink/vpc_endpoint_service.py +11 -11
  188. pulumi_alicloud/pulumi-plugin.json +1 -1
  189. pulumi_alicloud/pvtz/endpoint.py +96 -0
  190. pulumi_alicloud/pvtz/rule.py +122 -0
  191. pulumi_alicloud/pvtz/rule_attachment.py +150 -0
  192. pulumi_alicloud/ram/get_policies.py +18 -18
  193. pulumi_alicloud/ram/get_policy_document.py +2 -2
  194. pulumi_alicloud/ram/get_role_policy_attachments.py +34 -34
  195. pulumi_alicloud/ram/get_users.py +32 -32
  196. pulumi_alicloud/ram/group_membership.py +74 -0
  197. pulumi_alicloud/ram/group_policy_attachment.py +18 -18
  198. pulumi_alicloud/ram/policy.py +18 -18
  199. pulumi_alicloud/ram/role.py +16 -16
  200. pulumi_alicloud/ram/role_attachment.py +14 -14
  201. pulumi_alicloud/ram/role_policy_attachment.py +34 -34
  202. pulumi_alicloud/ram/user_policy_attachment.py +18 -18
  203. pulumi_alicloud/rds/get_instance_classes.py +6 -4
  204. pulumi_alicloud/rds/outputs.py +4 -0
  205. pulumi_alicloud/rds/rds_clone_db_instance.py +8 -1
  206. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  207. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +24 -24
  208. pulumi_alicloud/resourcemanager/control_policy.py +18 -18
  209. pulumi_alicloud/resourcemanager/control_policy_attachment.py +18 -18
  210. pulumi_alicloud/resourcemanager/delegated_administrator.py +22 -50
  211. pulumi_alicloud/resourcemanager/folder.py +106 -29
  212. pulumi_alicloud/resourcemanager/get_accounts.py +35 -18
  213. pulumi_alicloud/resourcemanager/get_shared_resources.py +64 -0
  214. pulumi_alicloud/resourcemanager/message_contact.py +572 -0
  215. pulumi_alicloud/resourcemanager/outputs.py +31 -20
  216. pulumi_alicloud/resourcemanager/policy.py +16 -16
  217. pulumi_alicloud/resourcemanager/policy_attachment.py +82 -0
  218. pulumi_alicloud/resourcemanager/policy_version.py +32 -32
  219. pulumi_alicloud/resourcemanager/resource_directory.py +137 -46
  220. pulumi_alicloud/resourcemanager/role.py +14 -14
  221. pulumi_alicloud/resourcemanager/shared_resource.py +81 -45
  222. pulumi_alicloud/resourcemanager/shared_target.py +60 -24
  223. pulumi_alicloud/rocketmq/qos_policy.py +70 -0
  224. pulumi_alicloud/ros/_inputs.py +70 -18
  225. pulumi_alicloud/ros/outputs.py +59 -12
  226. pulumi_alicloud/ros/stack.py +14 -14
  227. pulumi_alicloud/ros/stack_group.py +342 -223
  228. pulumi_alicloud/ros/template.py +2 -2
  229. pulumi_alicloud/sag/qos_policy.py +70 -0
  230. pulumi_alicloud/sddp/data_limit.py +148 -0
  231. pulumi_alicloud/sddp/rule.py +10 -10
  232. pulumi_alicloud/servicecatalog/principal_portfolio_association.py +16 -16
  233. pulumi_alicloud/servicecatalog/product_portfolio_association.py +54 -0
  234. pulumi_alicloud/sls/__init__.py +5 -0
  235. pulumi_alicloud/sls/_inputs.py +128 -0
  236. pulumi_alicloud/sls/collection_policy.py +276 -0
  237. pulumi_alicloud/sls/get_etls.py +294 -0
  238. pulumi_alicloud/sls/get_logtail_configs.py +395 -0
  239. pulumi_alicloud/sls/get_machine_groups.py +229 -0
  240. pulumi_alicloud/sls/logtail_config.py +692 -0
  241. pulumi_alicloud/sls/machine_group.py +502 -0
  242. pulumi_alicloud/sls/oss_export_sink.py +134 -0
  243. pulumi_alicloud/sls/outputs.py +449 -0
  244. pulumi_alicloud/sslcertificatesservice/__init__.py +9 -0
  245. pulumi_alicloud/sslcertificatesservice/pca_certificate.py +646 -0
  246. pulumi_alicloud/star_rocks_instance.py +1425 -0
  247. pulumi_alicloud/tag/policy.py +2 -2
  248. pulumi_alicloud/tag/policy_attachment.py +2 -2
  249. pulumi_alicloud/threatdetection/__init__.py +1 -0
  250. pulumi_alicloud/threatdetection/_inputs.py +183 -0
  251. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +50 -1
  252. pulumi_alicloud/threatdetection/attack_path_sensitive_asset_config.py +218 -0
  253. pulumi_alicloud/threatdetection/image_event_operation.py +191 -90
  254. pulumi_alicloud/threatdetection/oss_scan_config.py +257 -65
  255. pulumi_alicloud/threatdetection/outputs.py +147 -0
  256. pulumi_alicloud/vod/editing_project.py +8 -8
  257. pulumi_alicloud/vpc/_inputs.py +87 -54
  258. pulumi_alicloud/vpc/common_bandwith_package.py +28 -0
  259. pulumi_alicloud/vpc/dhcp_options_set.py +97 -58
  260. pulumi_alicloud/vpc/flow_log.py +117 -25
  261. pulumi_alicloud/vpc/gateway_endpoint.py +12 -12
  262. pulumi_alicloud/vpc/gateway_endpoint_route_table_attachment.py +12 -12
  263. pulumi_alicloud/vpc/ha_vip_attachment.py +41 -60
  264. pulumi_alicloud/vpc/ha_vipv2.py +100 -88
  265. pulumi_alicloud/vpc/ipam_ipam_pool.py +54 -0
  266. pulumi_alicloud/vpc/network_acl.py +34 -23
  267. pulumi_alicloud/vpc/outputs.py +58 -36
  268. pulumi_alicloud/vpc/route_entry.py +6 -2
  269. pulumi_alicloud/vpc/vbr_ha.py +100 -0
  270. pulumi_alicloud/vpc/vpc_network_acl_attachment.py +48 -0
  271. pulumi_alicloud/vpn/get_gateways.py +98 -0
  272. pulumi_alicloud/vpn/ssl_vpn_client_cert.py +82 -0
  273. pulumi_alicloud/vpn/ssl_vpn_server.py +76 -0
  274. pulumi_alicloud/wafv3/__init__.py +1 -0
  275. pulumi_alicloud/wafv3/_inputs.py +1318 -182
  276. pulumi_alicloud/wafv3/defense_rule.py +806 -0
  277. pulumi_alicloud/wafv3/defense_template.py +87 -124
  278. pulumi_alicloud/wafv3/domain.py +136 -35
  279. pulumi_alicloud/wafv3/outputs.py +925 -123
  280. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/METADATA +1 -1
  281. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/RECORD +283 -251
  282. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/WHEEL +0 -0
  283. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,646 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['PcaCertificateArgs', 'PcaCertificate']
18
+
19
+ @pulumi.input_type
20
+ class PcaCertificateArgs:
21
+ def __init__(__self__, *,
22
+ common_name: pulumi.Input[_builtins.str],
23
+ locality: pulumi.Input[_builtins.str],
24
+ organization: pulumi.Input[_builtins.str],
25
+ organization_unit: pulumi.Input[_builtins.str],
26
+ state: pulumi.Input[_builtins.str],
27
+ years: pulumi.Input[_builtins.int],
28
+ algorithm: Optional[pulumi.Input[_builtins.str]] = None,
29
+ country_code: Optional[pulumi.Input[_builtins.str]] = None):
30
+ """
31
+ The set of arguments for constructing a PcaCertificate resource.
32
+ :param pulumi.Input[_builtins.str] common_name: The common name or abbreviation of the organization. Support the use of Chinese, English characters.
33
+ :param pulumi.Input[_builtins.str] locality: Name of the city where the organization is located. Support the use of Chinese, English characters.
34
+ :param pulumi.Input[_builtins.str] organization: The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. Support the use of Chinese, English characters.
35
+ :param pulumi.Input[_builtins.str] organization_unit: The name of the department or branch under the organization. Support the use of Chinese, English characters.
36
+ :param pulumi.Input[_builtins.str] state: The name of the province, municipality, or autonomous region in which the organization is located. Support the use of Chinese, English characters.
37
+ Name of the province or state where the organization is located. Support the use of Chinese, English characters.
38
+ :param pulumi.Input[_builtins.int] years: The validity period of the root CA certificate, in years.
39
+ > **NOTE:** It is recommended to set to `5` to `10` years.
40
+ :param pulumi.Input[_builtins.str] algorithm: The key algorithm type of the root CA certificate. The key algorithm is expressed using the '_< key length>' format. Value:
41
+ - `RSA_1024`: The corresponding signature algorithm is Sha256WithRSA.
42
+ - `RSA_2048`: The corresponding signature algorithm is Sha256WithRSA.
43
+ - `RSA_4096`: The corresponding signature algorithm is Sha256WithRSA.
44
+ - `ECC_256`: The signature algorithm is Sha256WithECDSA.
45
+ - `ECC_384`: The corresponding signature algorithm is Sha256WithECDSA.
46
+ - `ECC_512`: The signature algorithm is Sha256WithECDSA.
47
+ - `SM2_256`: The corresponding signature algorithm is SM3WithSM2.
48
+ The encryption algorithm of the root CA certificate must be the same as the **certificate algorithm** of the private Root CA you purchased. Example: If the **certificate algorithm** selected when you purchase a private Root CA is `RSA`, the key algorithm of the root CA certificate must be **RSA\\_1024**, **RSA\\_2048**, or **RSA\\_4096**.
49
+ :param pulumi.Input[_builtins.str] country_code: The code of the country or region in which the organization is located, using a two-digit capital abbreviation. For example, `CN` represents China and `US` represents the United States.
50
+ """
51
+ pulumi.set(__self__, "common_name", common_name)
52
+ pulumi.set(__self__, "locality", locality)
53
+ pulumi.set(__self__, "organization", organization)
54
+ pulumi.set(__self__, "organization_unit", organization_unit)
55
+ pulumi.set(__self__, "state", state)
56
+ pulumi.set(__self__, "years", years)
57
+ if algorithm is not None:
58
+ pulumi.set(__self__, "algorithm", algorithm)
59
+ if country_code is not None:
60
+ pulumi.set(__self__, "country_code", country_code)
61
+
62
+ @_builtins.property
63
+ @pulumi.getter(name="commonName")
64
+ def common_name(self) -> pulumi.Input[_builtins.str]:
65
+ """
66
+ The common name or abbreviation of the organization. Support the use of Chinese, English characters.
67
+ """
68
+ return pulumi.get(self, "common_name")
69
+
70
+ @common_name.setter
71
+ def common_name(self, value: pulumi.Input[_builtins.str]):
72
+ pulumi.set(self, "common_name", value)
73
+
74
+ @_builtins.property
75
+ @pulumi.getter
76
+ def locality(self) -> pulumi.Input[_builtins.str]:
77
+ """
78
+ Name of the city where the organization is located. Support the use of Chinese, English characters.
79
+ """
80
+ return pulumi.get(self, "locality")
81
+
82
+ @locality.setter
83
+ def locality(self, value: pulumi.Input[_builtins.str]):
84
+ pulumi.set(self, "locality", value)
85
+
86
+ @_builtins.property
87
+ @pulumi.getter
88
+ def organization(self) -> pulumi.Input[_builtins.str]:
89
+ """
90
+ The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. Support the use of Chinese, English characters.
91
+ """
92
+ return pulumi.get(self, "organization")
93
+
94
+ @organization.setter
95
+ def organization(self, value: pulumi.Input[_builtins.str]):
96
+ pulumi.set(self, "organization", value)
97
+
98
+ @_builtins.property
99
+ @pulumi.getter(name="organizationUnit")
100
+ def organization_unit(self) -> pulumi.Input[_builtins.str]:
101
+ """
102
+ The name of the department or branch under the organization. Support the use of Chinese, English characters.
103
+ """
104
+ return pulumi.get(self, "organization_unit")
105
+
106
+ @organization_unit.setter
107
+ def organization_unit(self, value: pulumi.Input[_builtins.str]):
108
+ pulumi.set(self, "organization_unit", value)
109
+
110
+ @_builtins.property
111
+ @pulumi.getter
112
+ def state(self) -> pulumi.Input[_builtins.str]:
113
+ """
114
+ The name of the province, municipality, or autonomous region in which the organization is located. Support the use of Chinese, English characters.
115
+ Name of the province or state where the organization is located. Support the use of Chinese, English characters.
116
+ """
117
+ return pulumi.get(self, "state")
118
+
119
+ @state.setter
120
+ def state(self, value: pulumi.Input[_builtins.str]):
121
+ pulumi.set(self, "state", value)
122
+
123
+ @_builtins.property
124
+ @pulumi.getter
125
+ def years(self) -> pulumi.Input[_builtins.int]:
126
+ """
127
+ The validity period of the root CA certificate, in years.
128
+ > **NOTE:** It is recommended to set to `5` to `10` years.
129
+ """
130
+ return pulumi.get(self, "years")
131
+
132
+ @years.setter
133
+ def years(self, value: pulumi.Input[_builtins.int]):
134
+ pulumi.set(self, "years", value)
135
+
136
+ @_builtins.property
137
+ @pulumi.getter
138
+ def algorithm(self) -> Optional[pulumi.Input[_builtins.str]]:
139
+ """
140
+ The key algorithm type of the root CA certificate. The key algorithm is expressed using the '_< key length>' format. Value:
141
+ - `RSA_1024`: The corresponding signature algorithm is Sha256WithRSA.
142
+ - `RSA_2048`: The corresponding signature algorithm is Sha256WithRSA.
143
+ - `RSA_4096`: The corresponding signature algorithm is Sha256WithRSA.
144
+ - `ECC_256`: The signature algorithm is Sha256WithECDSA.
145
+ - `ECC_384`: The corresponding signature algorithm is Sha256WithECDSA.
146
+ - `ECC_512`: The signature algorithm is Sha256WithECDSA.
147
+ - `SM2_256`: The corresponding signature algorithm is SM3WithSM2.
148
+ The encryption algorithm of the root CA certificate must be the same as the **certificate algorithm** of the private Root CA you purchased. Example: If the **certificate algorithm** selected when you purchase a private Root CA is `RSA`, the key algorithm of the root CA certificate must be **RSA\\_1024**, **RSA\\_2048**, or **RSA\\_4096**.
149
+ """
150
+ return pulumi.get(self, "algorithm")
151
+
152
+ @algorithm.setter
153
+ def algorithm(self, value: Optional[pulumi.Input[_builtins.str]]):
154
+ pulumi.set(self, "algorithm", value)
155
+
156
+ @_builtins.property
157
+ @pulumi.getter(name="countryCode")
158
+ def country_code(self) -> Optional[pulumi.Input[_builtins.str]]:
159
+ """
160
+ The code of the country or region in which the organization is located, using a two-digit capital abbreviation. For example, `CN` represents China and `US` represents the United States.
161
+ """
162
+ return pulumi.get(self, "country_code")
163
+
164
+ @country_code.setter
165
+ def country_code(self, value: Optional[pulumi.Input[_builtins.str]]):
166
+ pulumi.set(self, "country_code", value)
167
+
168
+
169
+ @pulumi.input_type
170
+ class _PcaCertificateState:
171
+ def __init__(__self__, *,
172
+ algorithm: Optional[pulumi.Input[_builtins.str]] = None,
173
+ common_name: Optional[pulumi.Input[_builtins.str]] = None,
174
+ country_code: Optional[pulumi.Input[_builtins.str]] = None,
175
+ locality: Optional[pulumi.Input[_builtins.str]] = None,
176
+ organization: Optional[pulumi.Input[_builtins.str]] = None,
177
+ organization_unit: Optional[pulumi.Input[_builtins.str]] = None,
178
+ state: Optional[pulumi.Input[_builtins.str]] = None,
179
+ status: Optional[pulumi.Input[_builtins.str]] = None,
180
+ years: Optional[pulumi.Input[_builtins.int]] = None):
181
+ """
182
+ Input properties used for looking up and filtering PcaCertificate resources.
183
+ :param pulumi.Input[_builtins.str] algorithm: The key algorithm type of the root CA certificate. The key algorithm is expressed using the '_< key length>' format. Value:
184
+ - `RSA_1024`: The corresponding signature algorithm is Sha256WithRSA.
185
+ - `RSA_2048`: The corresponding signature algorithm is Sha256WithRSA.
186
+ - `RSA_4096`: The corresponding signature algorithm is Sha256WithRSA.
187
+ - `ECC_256`: The signature algorithm is Sha256WithECDSA.
188
+ - `ECC_384`: The corresponding signature algorithm is Sha256WithECDSA.
189
+ - `ECC_512`: The signature algorithm is Sha256WithECDSA.
190
+ - `SM2_256`: The corresponding signature algorithm is SM3WithSM2.
191
+ The encryption algorithm of the root CA certificate must be the same as the **certificate algorithm** of the private Root CA you purchased. Example: If the **certificate algorithm** selected when you purchase a private Root CA is `RSA`, the key algorithm of the root CA certificate must be **RSA\\_1024**, **RSA\\_2048**, or **RSA\\_4096**.
192
+ :param pulumi.Input[_builtins.str] common_name: The common name or abbreviation of the organization. Support the use of Chinese, English characters.
193
+ :param pulumi.Input[_builtins.str] country_code: The code of the country or region in which the organization is located, using a two-digit capital abbreviation. For example, `CN` represents China and `US` represents the United States.
194
+ :param pulumi.Input[_builtins.str] locality: Name of the city where the organization is located. Support the use of Chinese, English characters.
195
+ :param pulumi.Input[_builtins.str] organization: The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. Support the use of Chinese, English characters.
196
+ :param pulumi.Input[_builtins.str] organization_unit: The name of the department or branch under the organization. Support the use of Chinese, English characters.
197
+ :param pulumi.Input[_builtins.str] state: The name of the province, municipality, or autonomous region in which the organization is located. Support the use of Chinese, English characters.
198
+ Name of the province or state where the organization is located. Support the use of Chinese, English characters.
199
+ :param pulumi.Input[_builtins.str] status: The status of the CA certificate.
200
+ :param pulumi.Input[_builtins.int] years: The validity period of the root CA certificate, in years.
201
+ > **NOTE:** It is recommended to set to `5` to `10` years.
202
+ """
203
+ if algorithm is not None:
204
+ pulumi.set(__self__, "algorithm", algorithm)
205
+ if common_name is not None:
206
+ pulumi.set(__self__, "common_name", common_name)
207
+ if country_code is not None:
208
+ pulumi.set(__self__, "country_code", country_code)
209
+ if locality is not None:
210
+ pulumi.set(__self__, "locality", locality)
211
+ if organization is not None:
212
+ pulumi.set(__self__, "organization", organization)
213
+ if organization_unit is not None:
214
+ pulumi.set(__self__, "organization_unit", organization_unit)
215
+ if state is not None:
216
+ pulumi.set(__self__, "state", state)
217
+ if status is not None:
218
+ pulumi.set(__self__, "status", status)
219
+ if years is not None:
220
+ pulumi.set(__self__, "years", years)
221
+
222
+ @_builtins.property
223
+ @pulumi.getter
224
+ def algorithm(self) -> Optional[pulumi.Input[_builtins.str]]:
225
+ """
226
+ The key algorithm type of the root CA certificate. The key algorithm is expressed using the '_< key length>' format. Value:
227
+ - `RSA_1024`: The corresponding signature algorithm is Sha256WithRSA.
228
+ - `RSA_2048`: The corresponding signature algorithm is Sha256WithRSA.
229
+ - `RSA_4096`: The corresponding signature algorithm is Sha256WithRSA.
230
+ - `ECC_256`: The signature algorithm is Sha256WithECDSA.
231
+ - `ECC_384`: The corresponding signature algorithm is Sha256WithECDSA.
232
+ - `ECC_512`: The signature algorithm is Sha256WithECDSA.
233
+ - `SM2_256`: The corresponding signature algorithm is SM3WithSM2.
234
+ The encryption algorithm of the root CA certificate must be the same as the **certificate algorithm** of the private Root CA you purchased. Example: If the **certificate algorithm** selected when you purchase a private Root CA is `RSA`, the key algorithm of the root CA certificate must be **RSA\\_1024**, **RSA\\_2048**, or **RSA\\_4096**.
235
+ """
236
+ return pulumi.get(self, "algorithm")
237
+
238
+ @algorithm.setter
239
+ def algorithm(self, value: Optional[pulumi.Input[_builtins.str]]):
240
+ pulumi.set(self, "algorithm", value)
241
+
242
+ @_builtins.property
243
+ @pulumi.getter(name="commonName")
244
+ def common_name(self) -> Optional[pulumi.Input[_builtins.str]]:
245
+ """
246
+ The common name or abbreviation of the organization. Support the use of Chinese, English characters.
247
+ """
248
+ return pulumi.get(self, "common_name")
249
+
250
+ @common_name.setter
251
+ def common_name(self, value: Optional[pulumi.Input[_builtins.str]]):
252
+ pulumi.set(self, "common_name", value)
253
+
254
+ @_builtins.property
255
+ @pulumi.getter(name="countryCode")
256
+ def country_code(self) -> Optional[pulumi.Input[_builtins.str]]:
257
+ """
258
+ The code of the country or region in which the organization is located, using a two-digit capital abbreviation. For example, `CN` represents China and `US` represents the United States.
259
+ """
260
+ return pulumi.get(self, "country_code")
261
+
262
+ @country_code.setter
263
+ def country_code(self, value: Optional[pulumi.Input[_builtins.str]]):
264
+ pulumi.set(self, "country_code", value)
265
+
266
+ @_builtins.property
267
+ @pulumi.getter
268
+ def locality(self) -> Optional[pulumi.Input[_builtins.str]]:
269
+ """
270
+ Name of the city where the organization is located. Support the use of Chinese, English characters.
271
+ """
272
+ return pulumi.get(self, "locality")
273
+
274
+ @locality.setter
275
+ def locality(self, value: Optional[pulumi.Input[_builtins.str]]):
276
+ pulumi.set(self, "locality", value)
277
+
278
+ @_builtins.property
279
+ @pulumi.getter
280
+ def organization(self) -> Optional[pulumi.Input[_builtins.str]]:
281
+ """
282
+ The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. Support the use of Chinese, English characters.
283
+ """
284
+ return pulumi.get(self, "organization")
285
+
286
+ @organization.setter
287
+ def organization(self, value: Optional[pulumi.Input[_builtins.str]]):
288
+ pulumi.set(self, "organization", value)
289
+
290
+ @_builtins.property
291
+ @pulumi.getter(name="organizationUnit")
292
+ def organization_unit(self) -> Optional[pulumi.Input[_builtins.str]]:
293
+ """
294
+ The name of the department or branch under the organization. Support the use of Chinese, English characters.
295
+ """
296
+ return pulumi.get(self, "organization_unit")
297
+
298
+ @organization_unit.setter
299
+ def organization_unit(self, value: Optional[pulumi.Input[_builtins.str]]):
300
+ pulumi.set(self, "organization_unit", value)
301
+
302
+ @_builtins.property
303
+ @pulumi.getter
304
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
305
+ """
306
+ The name of the province, municipality, or autonomous region in which the organization is located. Support the use of Chinese, English characters.
307
+ Name of the province or state where the organization is located. Support the use of Chinese, English characters.
308
+ """
309
+ return pulumi.get(self, "state")
310
+
311
+ @state.setter
312
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
313
+ pulumi.set(self, "state", value)
314
+
315
+ @_builtins.property
316
+ @pulumi.getter
317
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
318
+ """
319
+ The status of the CA certificate.
320
+ """
321
+ return pulumi.get(self, "status")
322
+
323
+ @status.setter
324
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
325
+ pulumi.set(self, "status", value)
326
+
327
+ @_builtins.property
328
+ @pulumi.getter
329
+ def years(self) -> Optional[pulumi.Input[_builtins.int]]:
330
+ """
331
+ The validity period of the root CA certificate, in years.
332
+ > **NOTE:** It is recommended to set to `5` to `10` years.
333
+ """
334
+ return pulumi.get(self, "years")
335
+
336
+ @years.setter
337
+ def years(self, value: Optional[pulumi.Input[_builtins.int]]):
338
+ pulumi.set(self, "years", value)
339
+
340
+
341
+ @pulumi.type_token("alicloud:sslcertificatesservice/pcaCertificate:PcaCertificate")
342
+ class PcaCertificate(pulumi.CustomResource):
343
+ @overload
344
+ def __init__(__self__,
345
+ resource_name: str,
346
+ opts: Optional[pulumi.ResourceOptions] = None,
347
+ algorithm: Optional[pulumi.Input[_builtins.str]] = None,
348
+ common_name: Optional[pulumi.Input[_builtins.str]] = None,
349
+ country_code: Optional[pulumi.Input[_builtins.str]] = None,
350
+ locality: Optional[pulumi.Input[_builtins.str]] = None,
351
+ organization: Optional[pulumi.Input[_builtins.str]] = None,
352
+ organization_unit: Optional[pulumi.Input[_builtins.str]] = None,
353
+ state: Optional[pulumi.Input[_builtins.str]] = None,
354
+ years: Optional[pulumi.Input[_builtins.int]] = None,
355
+ __props__=None):
356
+ """
357
+ Provides a SSL Certificates Pca Certificate resource.
358
+
359
+ For information about SSL Certificates Pca Certificate and how to use it, see [What is Pca Certificate](https://next.api.alibabacloud.com/document/cas/2020-06-30/CreateRootCACertificate).
360
+
361
+ > **NOTE:** Available since v1.257.0.
362
+
363
+ ## Example Usage
364
+
365
+ Basic Usage
366
+
367
+ ```python
368
+ import pulumi
369
+ import pulumi_alicloud as alicloud
370
+
371
+ default = alicloud.sslcertificatesservice.PcaCertificate("default",
372
+ organization="a",
373
+ years=1,
374
+ locality="a",
375
+ organization_unit="a",
376
+ state="a",
377
+ country_code="cn",
378
+ common_name="cbc.certqa.cn",
379
+ algorithm="RSA_2048")
380
+ ```
381
+
382
+ ## Import
383
+
384
+ SSL Certificates Pca Certificate can be imported using the id, e.g.
385
+
386
+ ```sh
387
+ $ pulumi import alicloud:sslcertificatesservice/pcaCertificate:PcaCertificate example <id>
388
+ ```
389
+
390
+ :param str resource_name: The name of the resource.
391
+ :param pulumi.ResourceOptions opts: Options for the resource.
392
+ :param pulumi.Input[_builtins.str] algorithm: The key algorithm type of the root CA certificate. The key algorithm is expressed using the '_< key length>' format. Value:
393
+ - `RSA_1024`: The corresponding signature algorithm is Sha256WithRSA.
394
+ - `RSA_2048`: The corresponding signature algorithm is Sha256WithRSA.
395
+ - `RSA_4096`: The corresponding signature algorithm is Sha256WithRSA.
396
+ - `ECC_256`: The signature algorithm is Sha256WithECDSA.
397
+ - `ECC_384`: The corresponding signature algorithm is Sha256WithECDSA.
398
+ - `ECC_512`: The signature algorithm is Sha256WithECDSA.
399
+ - `SM2_256`: The corresponding signature algorithm is SM3WithSM2.
400
+ The encryption algorithm of the root CA certificate must be the same as the **certificate algorithm** of the private Root CA you purchased. Example: If the **certificate algorithm** selected when you purchase a private Root CA is `RSA`, the key algorithm of the root CA certificate must be **RSA\\_1024**, **RSA\\_2048**, or **RSA\\_4096**.
401
+ :param pulumi.Input[_builtins.str] common_name: The common name or abbreviation of the organization. Support the use of Chinese, English characters.
402
+ :param pulumi.Input[_builtins.str] country_code: The code of the country or region in which the organization is located, using a two-digit capital abbreviation. For example, `CN` represents China and `US` represents the United States.
403
+ :param pulumi.Input[_builtins.str] locality: Name of the city where the organization is located. Support the use of Chinese, English characters.
404
+ :param pulumi.Input[_builtins.str] organization: The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. Support the use of Chinese, English characters.
405
+ :param pulumi.Input[_builtins.str] organization_unit: The name of the department or branch under the organization. Support the use of Chinese, English characters.
406
+ :param pulumi.Input[_builtins.str] state: The name of the province, municipality, or autonomous region in which the organization is located. Support the use of Chinese, English characters.
407
+ Name of the province or state where the organization is located. Support the use of Chinese, English characters.
408
+ :param pulumi.Input[_builtins.int] years: The validity period of the root CA certificate, in years.
409
+ > **NOTE:** It is recommended to set to `5` to `10` years.
410
+ """
411
+ ...
412
+ @overload
413
+ def __init__(__self__,
414
+ resource_name: str,
415
+ args: PcaCertificateArgs,
416
+ opts: Optional[pulumi.ResourceOptions] = None):
417
+ """
418
+ Provides a SSL Certificates Pca Certificate resource.
419
+
420
+ For information about SSL Certificates Pca Certificate and how to use it, see [What is Pca Certificate](https://next.api.alibabacloud.com/document/cas/2020-06-30/CreateRootCACertificate).
421
+
422
+ > **NOTE:** Available since v1.257.0.
423
+
424
+ ## Example Usage
425
+
426
+ Basic Usage
427
+
428
+ ```python
429
+ import pulumi
430
+ import pulumi_alicloud as alicloud
431
+
432
+ default = alicloud.sslcertificatesservice.PcaCertificate("default",
433
+ organization="a",
434
+ years=1,
435
+ locality="a",
436
+ organization_unit="a",
437
+ state="a",
438
+ country_code="cn",
439
+ common_name="cbc.certqa.cn",
440
+ algorithm="RSA_2048")
441
+ ```
442
+
443
+ ## Import
444
+
445
+ SSL Certificates Pca Certificate can be imported using the id, e.g.
446
+
447
+ ```sh
448
+ $ pulumi import alicloud:sslcertificatesservice/pcaCertificate:PcaCertificate example <id>
449
+ ```
450
+
451
+ :param str resource_name: The name of the resource.
452
+ :param PcaCertificateArgs args: The arguments to use to populate this resource's properties.
453
+ :param pulumi.ResourceOptions opts: Options for the resource.
454
+ """
455
+ ...
456
+ def __init__(__self__, resource_name: str, *args, **kwargs):
457
+ resource_args, opts = _utilities.get_resource_args_opts(PcaCertificateArgs, pulumi.ResourceOptions, *args, **kwargs)
458
+ if resource_args is not None:
459
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
460
+ else:
461
+ __self__._internal_init(resource_name, *args, **kwargs)
462
+
463
+ def _internal_init(__self__,
464
+ resource_name: str,
465
+ opts: Optional[pulumi.ResourceOptions] = None,
466
+ algorithm: Optional[pulumi.Input[_builtins.str]] = None,
467
+ common_name: Optional[pulumi.Input[_builtins.str]] = None,
468
+ country_code: Optional[pulumi.Input[_builtins.str]] = None,
469
+ locality: Optional[pulumi.Input[_builtins.str]] = None,
470
+ organization: Optional[pulumi.Input[_builtins.str]] = None,
471
+ organization_unit: Optional[pulumi.Input[_builtins.str]] = None,
472
+ state: Optional[pulumi.Input[_builtins.str]] = None,
473
+ years: Optional[pulumi.Input[_builtins.int]] = None,
474
+ __props__=None):
475
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
476
+ if not isinstance(opts, pulumi.ResourceOptions):
477
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
478
+ if opts.id is None:
479
+ if __props__ is not None:
480
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
481
+ __props__ = PcaCertificateArgs.__new__(PcaCertificateArgs)
482
+
483
+ __props__.__dict__["algorithm"] = algorithm
484
+ if common_name is None and not opts.urn:
485
+ raise TypeError("Missing required property 'common_name'")
486
+ __props__.__dict__["common_name"] = common_name
487
+ __props__.__dict__["country_code"] = country_code
488
+ if locality is None and not opts.urn:
489
+ raise TypeError("Missing required property 'locality'")
490
+ __props__.__dict__["locality"] = locality
491
+ if organization is None and not opts.urn:
492
+ raise TypeError("Missing required property 'organization'")
493
+ __props__.__dict__["organization"] = organization
494
+ if organization_unit is None and not opts.urn:
495
+ raise TypeError("Missing required property 'organization_unit'")
496
+ __props__.__dict__["organization_unit"] = organization_unit
497
+ if state is None and not opts.urn:
498
+ raise TypeError("Missing required property 'state'")
499
+ __props__.__dict__["state"] = state
500
+ if years is None and not opts.urn:
501
+ raise TypeError("Missing required property 'years'")
502
+ __props__.__dict__["years"] = years
503
+ __props__.__dict__["status"] = None
504
+ super(PcaCertificate, __self__).__init__(
505
+ 'alicloud:sslcertificatesservice/pcaCertificate:PcaCertificate',
506
+ resource_name,
507
+ __props__,
508
+ opts)
509
+
510
+ @staticmethod
511
+ def get(resource_name: str,
512
+ id: pulumi.Input[str],
513
+ opts: Optional[pulumi.ResourceOptions] = None,
514
+ algorithm: Optional[pulumi.Input[_builtins.str]] = None,
515
+ common_name: Optional[pulumi.Input[_builtins.str]] = None,
516
+ country_code: Optional[pulumi.Input[_builtins.str]] = None,
517
+ locality: Optional[pulumi.Input[_builtins.str]] = None,
518
+ organization: Optional[pulumi.Input[_builtins.str]] = None,
519
+ organization_unit: Optional[pulumi.Input[_builtins.str]] = None,
520
+ state: Optional[pulumi.Input[_builtins.str]] = None,
521
+ status: Optional[pulumi.Input[_builtins.str]] = None,
522
+ years: Optional[pulumi.Input[_builtins.int]] = None) -> 'PcaCertificate':
523
+ """
524
+ Get an existing PcaCertificate resource's state with the given name, id, and optional extra
525
+ properties used to qualify the lookup.
526
+
527
+ :param str resource_name: The unique name of the resulting resource.
528
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
529
+ :param pulumi.ResourceOptions opts: Options for the resource.
530
+ :param pulumi.Input[_builtins.str] algorithm: The key algorithm type of the root CA certificate. The key algorithm is expressed using the '_< key length>' format. Value:
531
+ - `RSA_1024`: The corresponding signature algorithm is Sha256WithRSA.
532
+ - `RSA_2048`: The corresponding signature algorithm is Sha256WithRSA.
533
+ - `RSA_4096`: The corresponding signature algorithm is Sha256WithRSA.
534
+ - `ECC_256`: The signature algorithm is Sha256WithECDSA.
535
+ - `ECC_384`: The corresponding signature algorithm is Sha256WithECDSA.
536
+ - `ECC_512`: The signature algorithm is Sha256WithECDSA.
537
+ - `SM2_256`: The corresponding signature algorithm is SM3WithSM2.
538
+ The encryption algorithm of the root CA certificate must be the same as the **certificate algorithm** of the private Root CA you purchased. Example: If the **certificate algorithm** selected when you purchase a private Root CA is `RSA`, the key algorithm of the root CA certificate must be **RSA\\_1024**, **RSA\\_2048**, or **RSA\\_4096**.
539
+ :param pulumi.Input[_builtins.str] common_name: The common name or abbreviation of the organization. Support the use of Chinese, English characters.
540
+ :param pulumi.Input[_builtins.str] country_code: The code of the country or region in which the organization is located, using a two-digit capital abbreviation. For example, `CN` represents China and `US` represents the United States.
541
+ :param pulumi.Input[_builtins.str] locality: Name of the city where the organization is located. Support the use of Chinese, English characters.
542
+ :param pulumi.Input[_builtins.str] organization: The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. Support the use of Chinese, English characters.
543
+ :param pulumi.Input[_builtins.str] organization_unit: The name of the department or branch under the organization. Support the use of Chinese, English characters.
544
+ :param pulumi.Input[_builtins.str] state: The name of the province, municipality, or autonomous region in which the organization is located. Support the use of Chinese, English characters.
545
+ Name of the province or state where the organization is located. Support the use of Chinese, English characters.
546
+ :param pulumi.Input[_builtins.str] status: The status of the CA certificate.
547
+ :param pulumi.Input[_builtins.int] years: The validity period of the root CA certificate, in years.
548
+ > **NOTE:** It is recommended to set to `5` to `10` years.
549
+ """
550
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
551
+
552
+ __props__ = _PcaCertificateState.__new__(_PcaCertificateState)
553
+
554
+ __props__.__dict__["algorithm"] = algorithm
555
+ __props__.__dict__["common_name"] = common_name
556
+ __props__.__dict__["country_code"] = country_code
557
+ __props__.__dict__["locality"] = locality
558
+ __props__.__dict__["organization"] = organization
559
+ __props__.__dict__["organization_unit"] = organization_unit
560
+ __props__.__dict__["state"] = state
561
+ __props__.__dict__["status"] = status
562
+ __props__.__dict__["years"] = years
563
+ return PcaCertificate(resource_name, opts=opts, __props__=__props__)
564
+
565
+ @_builtins.property
566
+ @pulumi.getter
567
+ def algorithm(self) -> pulumi.Output[_builtins.str]:
568
+ """
569
+ The key algorithm type of the root CA certificate. The key algorithm is expressed using the '_< key length>' format. Value:
570
+ - `RSA_1024`: The corresponding signature algorithm is Sha256WithRSA.
571
+ - `RSA_2048`: The corresponding signature algorithm is Sha256WithRSA.
572
+ - `RSA_4096`: The corresponding signature algorithm is Sha256WithRSA.
573
+ - `ECC_256`: The signature algorithm is Sha256WithECDSA.
574
+ - `ECC_384`: The corresponding signature algorithm is Sha256WithECDSA.
575
+ - `ECC_512`: The signature algorithm is Sha256WithECDSA.
576
+ - `SM2_256`: The corresponding signature algorithm is SM3WithSM2.
577
+ The encryption algorithm of the root CA certificate must be the same as the **certificate algorithm** of the private Root CA you purchased. Example: If the **certificate algorithm** selected when you purchase a private Root CA is `RSA`, the key algorithm of the root CA certificate must be **RSA\\_1024**, **RSA\\_2048**, or **RSA\\_4096**.
578
+ """
579
+ return pulumi.get(self, "algorithm")
580
+
581
+ @_builtins.property
582
+ @pulumi.getter(name="commonName")
583
+ def common_name(self) -> pulumi.Output[_builtins.str]:
584
+ """
585
+ The common name or abbreviation of the organization. Support the use of Chinese, English characters.
586
+ """
587
+ return pulumi.get(self, "common_name")
588
+
589
+ @_builtins.property
590
+ @pulumi.getter(name="countryCode")
591
+ def country_code(self) -> pulumi.Output[Optional[_builtins.str]]:
592
+ """
593
+ The code of the country or region in which the organization is located, using a two-digit capital abbreviation. For example, `CN` represents China and `US` represents the United States.
594
+ """
595
+ return pulumi.get(self, "country_code")
596
+
597
+ @_builtins.property
598
+ @pulumi.getter
599
+ def locality(self) -> pulumi.Output[_builtins.str]:
600
+ """
601
+ Name of the city where the organization is located. Support the use of Chinese, English characters.
602
+ """
603
+ return pulumi.get(self, "locality")
604
+
605
+ @_builtins.property
606
+ @pulumi.getter
607
+ def organization(self) -> pulumi.Output[_builtins.str]:
608
+ """
609
+ The name of the organization (corresponding to your enterprise or company) associated with the root CA certificate. Support the use of Chinese, English characters.
610
+ """
611
+ return pulumi.get(self, "organization")
612
+
613
+ @_builtins.property
614
+ @pulumi.getter(name="organizationUnit")
615
+ def organization_unit(self) -> pulumi.Output[_builtins.str]:
616
+ """
617
+ The name of the department or branch under the organization. Support the use of Chinese, English characters.
618
+ """
619
+ return pulumi.get(self, "organization_unit")
620
+
621
+ @_builtins.property
622
+ @pulumi.getter
623
+ def state(self) -> pulumi.Output[_builtins.str]:
624
+ """
625
+ The name of the province, municipality, or autonomous region in which the organization is located. Support the use of Chinese, English characters.
626
+ Name of the province or state where the organization is located. Support the use of Chinese, English characters.
627
+ """
628
+ return pulumi.get(self, "state")
629
+
630
+ @_builtins.property
631
+ @pulumi.getter
632
+ def status(self) -> pulumi.Output[_builtins.str]:
633
+ """
634
+ The status of the CA certificate.
635
+ """
636
+ return pulumi.get(self, "status")
637
+
638
+ @_builtins.property
639
+ @pulumi.getter
640
+ def years(self) -> pulumi.Output[_builtins.int]:
641
+ """
642
+ The validity period of the root CA certificate, in years.
643
+ > **NOTE:** It is recommended to set to `5` to `10` years.
644
+ """
645
+ return pulumi.get(self, "years")
646
+