pulumi-alicloud 3.74.0a1737989015__py3-none-any.whl → 3.75.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +230 -0
- pulumi_alicloud/_inputs.py +33 -0
- pulumi_alicloud/_utilities.py +8 -4
- pulumi_alicloud/ackone/__init__.py +1 -0
- pulumi_alicloud/ackone/cluster.py +73 -8
- pulumi_alicloud/ackone/membership_attachment.py +223 -0
- pulumi_alicloud/alb/_inputs.py +217 -17
- pulumi_alicloud/alb/load_balancer.py +7 -35
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +69 -22
- pulumi_alicloud/alb/outputs.py +150 -12
- pulumi_alicloud/alb/server_group.py +197 -42
- pulumi_alicloud/aligreen/audit_callback.py +2 -2
- pulumi_alicloud/aligreen/biz_type.py +2 -2
- pulumi_alicloud/aligreen/callback.py +2 -2
- pulumi_alicloud/aligreen/image_lib.py +2 -2
- pulumi_alicloud/aligreen/keyword_lib.py +2 -2
- pulumi_alicloud/aligreen/oss_stock_task.py +77 -14
- pulumi_alicloud/apigateway/instance.py +51 -4
- pulumi_alicloud/cfg/aggregate_compliance_pack.py +6 -4
- pulumi_alicloud/cfg/aggregate_config_rule.py +6 -4
- pulumi_alicloud/cfg/aggregator.py +6 -4
- pulumi_alicloud/cloudcontrol/get_prices.py +2 -2
- pulumi_alicloud/cloudcontrol/get_products.py +2 -2
- pulumi_alicloud/cloudcontrol/get_resource_types.py +2 -2
- pulumi_alicloud/cloudcontrol/resource.py +2 -2
- pulumi_alicloud/cloudfirewall/__init__.py +2 -0
- pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +315 -0
- pulumi_alicloud/cloudfirewall/get_vpc_cen_tr_firewalls.py +569 -0
- pulumi_alicloud/cloudfirewall/outputs.py +362 -0
- pulumi_alicloud/cloudphone/__init__.py +12 -0
- pulumi_alicloud/cloudphone/_inputs.py +175 -0
- pulumi_alicloud/cloudphone/image.py +323 -0
- pulumi_alicloud/cloudphone/key_pair.py +294 -0
- pulumi_alicloud/cloudphone/outputs.py +138 -0
- pulumi_alicloud/cloudphone/policy.py +522 -0
- pulumi_alicloud/cloudphoneinstance/__init__.py +9 -0
- pulumi_alicloud/cloudphoneinstance/cloud_phone_instance.py +209 -0
- pulumi_alicloud/cloudphoneinstance/group.py +961 -0
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/config/outputs.py +20 -0
- pulumi_alicloud/cs/_inputs.py +9 -9
- pulumi_alicloud/cs/get_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_managed_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +5 -4
- pulumi_alicloud/cs/managed_kubernetes.py +47 -35
- pulumi_alicloud/cs/node_pool.py +49 -21
- pulumi_alicloud/cs/outputs.py +6 -6
- pulumi_alicloud/ddos/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/dfs/vsc_mount_point.py +28 -28
- pulumi_alicloud/dns/ddos_bgp_instance.py +0 -4
- pulumi_alicloud/ebs/replica_group_drill.py +2 -2
- pulumi_alicloud/ebs/replica_pair_drill.py +2 -2
- pulumi_alicloud/ecs/ecs_deployment_set.py +89 -67
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +1 -1
- pulumi_alicloud/ecs/instance.py +43 -30
- pulumi_alicloud/eds/command.py +10 -2
- pulumi_alicloud/emrv2/__init__.py +1 -0
- pulumi_alicloud/emrv2/_inputs.py +47 -7
- pulumi_alicloud/emrv2/get_cluster_instances.py +537 -0
- pulumi_alicloud/emrv2/outputs.py +195 -5
- pulumi_alicloud/ens/instance_security_group_attachment.py +8 -4
- pulumi_alicloud/ens/nat_gateway.py +6 -6
- pulumi_alicloud/ens/vswitch.py +36 -36
- pulumi_alicloud/esa/__init__.py +19 -0
- pulumi_alicloud/esa/_inputs.py +431 -0
- pulumi_alicloud/esa/cache_rule.py +1405 -0
- pulumi_alicloud/esa/certificate.py +724 -0
- pulumi_alicloud/esa/client_ca_certificate.py +388 -0
- pulumi_alicloud/esa/client_certificate.py +452 -0
- pulumi_alicloud/esa/compression_rule.py +582 -0
- pulumi_alicloud/esa/get_sites.py +421 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +2 -2
- pulumi_alicloud/esa/http_response_header_modification_rule.py +560 -0
- pulumi_alicloud/esa/https_application_configuration.py +925 -0
- pulumi_alicloud/esa/https_basic_configuration.py +1027 -0
- pulumi_alicloud/esa/image_transform.py +484 -0
- pulumi_alicloud/esa/kv_namespace.py +276 -0
- pulumi_alicloud/esa/list.py +2 -2
- pulumi_alicloud/esa/network_optimization.py +750 -0
- pulumi_alicloud/esa/origin_pool.py +485 -0
- pulumi_alicloud/esa/origin_rule.py +768 -0
- pulumi_alicloud/esa/outputs.py +425 -0
- pulumi_alicloud/esa/page.py +2 -2
- pulumi_alicloud/esa/rate_plan_instance.py +2 -2
- pulumi_alicloud/esa/record.py +2 -2
- pulumi_alicloud/esa/redirect_rule.py +734 -0
- pulumi_alicloud/esa/rewrite_url_rule.py +702 -0
- pulumi_alicloud/esa/site.py +307 -2
- pulumi_alicloud/esa/waiting_room.py +1257 -0
- pulumi_alicloud/esa/waiting_room_event.py +1392 -0
- pulumi_alicloud/esa/waiting_room_rule.py +504 -0
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/expressconnect/ec_failover_test_job.py +0 -2
- pulumi_alicloud/expressconnect/vbr_pconn_association.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +31 -9
- pulumi_alicloud/ga/outputs.py +10 -4
- pulumi_alicloud/gpdb/db_resource_group.py +6 -6
- pulumi_alicloud/gpdb/external_data_service.py +6 -6
- pulumi_alicloud/gpdb/streaming_data_service.py +2 -2
- pulumi_alicloud/hbr/policy.py +67 -6
- pulumi_alicloud/hbr/vault.py +210 -9
- pulumi_alicloud/kms/get_keys.py +10 -0
- pulumi_alicloud/message/__init__.py +3 -0
- pulumi_alicloud/message/_inputs.py +149 -0
- pulumi_alicloud/message/outputs.py +112 -0
- pulumi_alicloud/message/service_endpoint.py +218 -0
- pulumi_alicloud/message/service_endpoint_acl.py +306 -0
- pulumi_alicloud/message/service_queue.py +49 -0
- pulumi_alicloud/message/service_subscription.py +91 -14
- pulumi_alicloud/mse/nacos_config.py +4 -0
- pulumi_alicloud/nlb/_inputs.py +114 -24
- pulumi_alicloud/nlb/listener.py +87 -20
- pulumi_alicloud/nlb/outputs.py +93 -16
- pulumi_alicloud/nlb/server_group.py +55 -20
- pulumi_alicloud/ots/_inputs.py +3 -3
- pulumi_alicloud/ots/outputs.py +2 -2
- pulumi_alicloud/pai/workspace_code_source.py +2 -2
- pulumi_alicloud/pai/workspace_dataset.py +2 -2
- pulumi_alicloud/pai/workspace_datasetversion.py +2 -4
- pulumi_alicloud/pai/workspace_experiment.py +2 -2
- pulumi_alicloud/pai/workspace_run.py +2 -2
- pulumi_alicloud/pai/workspace_workspace.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +21 -1
- pulumi_alicloud/privatelink/outputs.py +11 -0
- pulumi_alicloud/privatelink/vpc_endpoint.py +1 -1
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/access_key.py +20 -4
- pulumi_alicloud/ram/user.py +10 -2
- pulumi_alicloud/rds/instance.py +7 -0
- pulumi_alicloud/simpleapplicationserver/get_server_plans.py +7 -7
- pulumi_alicloud/simpleapplicationserver/outputs.py +3 -3
- pulumi_alicloud/tag/__init__.py +1 -0
- pulumi_alicloud/tag/associated_rule.py +306 -0
- pulumi_alicloud/tag/policy.py +27 -36
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +107 -44
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/flow_log.py +184 -49
- pulumi_alicloud/vpc/forward_entry.py +8 -4
- pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +38 -2
- pulumi_alicloud/vpc/get_forward_entries.py +2 -2
- pulumi_alicloud/vpc/get_ipsec_servers.py +14 -2
- pulumi_alicloud/vpc/get_nat_gateways.py +48 -2
- pulumi_alicloud/vpc/get_prefix_lists.py +11 -2
- pulumi_alicloud/vpc/get_snat_entries.py +5 -2
- pulumi_alicloud/vpc/get_traffic_mirror_filters.py +14 -2
- pulumi_alicloud/vpc/ipam_ipam.py +2 -9
- pulumi_alicloud/vpc/ipam_ipam_pool.py +2 -30
- pulumi_alicloud/vpc/ipam_ipam_pool_allocation.py +6 -16
- pulumi_alicloud/vpc/ipam_ipam_pool_cidr.py +2 -2
- pulumi_alicloud/vpc/ipam_ipam_resource_discovery.py +489 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +2 -9
- pulumi_alicloud/vpc/nat_gateway.py +8 -0
- pulumi_alicloud/vpc/outputs.py +12 -2
- pulumi_alicloud/vpc/router_interface_connection.py +4 -4
- pulumi_alicloud/vpc/traffic_mirror_filter.py +2 -2
- pulumi_alicloud/vpn/get_gateway_vco_routes.py +11 -2
- pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +11 -2
- pulumi_alicloud/vpn/get_gateways.py +21 -1
- pulumi_alicloud/vpn/outputs.py +23 -12
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/RECORD +165 -128
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.74.0a1737989015.dist-info → pulumi_alicloud-3.75.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
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__ = ['CertificateArgs', 'Certificate']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class CertificateArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
created_type: pulumi.Input[str],
|
|
23
|
+
site_id: pulumi.Input[int],
|
|
24
|
+
cas_id: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
cert_id: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
cert_name: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
certificate: Optional[pulumi.Input[str]] = None,
|
|
28
|
+
domains: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
|
30
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
type: Optional[pulumi.Input[str]] = None):
|
|
32
|
+
"""
|
|
33
|
+
The set of arguments for constructing a Certificate resource.
|
|
34
|
+
:param pulumi.Input[str] created_type: The certificate ID on Certificate Management Service. Valid values:
|
|
35
|
+
- free: a free certificate.
|
|
36
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
37
|
+
- upload: a custom certificate that you upload.
|
|
38
|
+
:param pulumi.Input[int] site_id: Site ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) interface.
|
|
39
|
+
:param pulumi.Input[str] cas_id: The certificate ID on Certificate Management Service.
|
|
40
|
+
:param pulumi.Input[str] cert_id: The certificate ID on ESA.
|
|
41
|
+
:param pulumi.Input[str] cert_name: The certificate name.
|
|
42
|
+
:param pulumi.Input[str] certificate: The certificate content.
|
|
43
|
+
:param pulumi.Input[str] domains: The Subject Alternative Name (SAN) of the certificate.
|
|
44
|
+
:param pulumi.Input[str] private_key: The certificate content.
|
|
45
|
+
:param pulumi.Input[str] region: The private key of the certificate.
|
|
46
|
+
:param pulumi.Input[str] type: The certificate type. Valid values:
|
|
47
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
48
|
+
- upload: a custom certificate that you upload.
|
|
49
|
+
"""
|
|
50
|
+
pulumi.set(__self__, "created_type", created_type)
|
|
51
|
+
pulumi.set(__self__, "site_id", site_id)
|
|
52
|
+
if cas_id is not None:
|
|
53
|
+
pulumi.set(__self__, "cas_id", cas_id)
|
|
54
|
+
if cert_id is not None:
|
|
55
|
+
pulumi.set(__self__, "cert_id", cert_id)
|
|
56
|
+
if cert_name is not None:
|
|
57
|
+
pulumi.set(__self__, "cert_name", cert_name)
|
|
58
|
+
if certificate is not None:
|
|
59
|
+
pulumi.set(__self__, "certificate", certificate)
|
|
60
|
+
if domains is not None:
|
|
61
|
+
pulumi.set(__self__, "domains", domains)
|
|
62
|
+
if private_key is not None:
|
|
63
|
+
pulumi.set(__self__, "private_key", private_key)
|
|
64
|
+
if region is not None:
|
|
65
|
+
pulumi.set(__self__, "region", region)
|
|
66
|
+
if type is not None:
|
|
67
|
+
pulumi.set(__self__, "type", type)
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
@pulumi.getter(name="createdType")
|
|
71
|
+
def created_type(self) -> pulumi.Input[str]:
|
|
72
|
+
"""
|
|
73
|
+
The certificate ID on Certificate Management Service. Valid values:
|
|
74
|
+
- free: a free certificate.
|
|
75
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
76
|
+
- upload: a custom certificate that you upload.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "created_type")
|
|
79
|
+
|
|
80
|
+
@created_type.setter
|
|
81
|
+
def created_type(self, value: pulumi.Input[str]):
|
|
82
|
+
pulumi.set(self, "created_type", value)
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
@pulumi.getter(name="siteId")
|
|
86
|
+
def site_id(self) -> pulumi.Input[int]:
|
|
87
|
+
"""
|
|
88
|
+
Site ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) interface.
|
|
89
|
+
"""
|
|
90
|
+
return pulumi.get(self, "site_id")
|
|
91
|
+
|
|
92
|
+
@site_id.setter
|
|
93
|
+
def site_id(self, value: pulumi.Input[int]):
|
|
94
|
+
pulumi.set(self, "site_id", value)
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter(name="casId")
|
|
98
|
+
def cas_id(self) -> Optional[pulumi.Input[str]]:
|
|
99
|
+
"""
|
|
100
|
+
The certificate ID on Certificate Management Service.
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "cas_id")
|
|
103
|
+
|
|
104
|
+
@cas_id.setter
|
|
105
|
+
def cas_id(self, value: Optional[pulumi.Input[str]]):
|
|
106
|
+
pulumi.set(self, "cas_id", value)
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
@pulumi.getter(name="certId")
|
|
110
|
+
def cert_id(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
+
"""
|
|
112
|
+
The certificate ID on ESA.
|
|
113
|
+
"""
|
|
114
|
+
return pulumi.get(self, "cert_id")
|
|
115
|
+
|
|
116
|
+
@cert_id.setter
|
|
117
|
+
def cert_id(self, value: Optional[pulumi.Input[str]]):
|
|
118
|
+
pulumi.set(self, "cert_id", value)
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
@pulumi.getter(name="certName")
|
|
122
|
+
def cert_name(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
"""
|
|
124
|
+
The certificate name.
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "cert_name")
|
|
127
|
+
|
|
128
|
+
@cert_name.setter
|
|
129
|
+
def cert_name(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
+
pulumi.set(self, "cert_name", value)
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def certificate(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
"""
|
|
136
|
+
The certificate content.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "certificate")
|
|
139
|
+
|
|
140
|
+
@certificate.setter
|
|
141
|
+
def certificate(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
pulumi.set(self, "certificate", value)
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter
|
|
146
|
+
def domains(self) -> Optional[pulumi.Input[str]]:
|
|
147
|
+
"""
|
|
148
|
+
The Subject Alternative Name (SAN) of the certificate.
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "domains")
|
|
151
|
+
|
|
152
|
+
@domains.setter
|
|
153
|
+
def domains(self, value: Optional[pulumi.Input[str]]):
|
|
154
|
+
pulumi.set(self, "domains", value)
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
@pulumi.getter(name="privateKey")
|
|
158
|
+
def private_key(self) -> Optional[pulumi.Input[str]]:
|
|
159
|
+
"""
|
|
160
|
+
The certificate content.
|
|
161
|
+
"""
|
|
162
|
+
return pulumi.get(self, "private_key")
|
|
163
|
+
|
|
164
|
+
@private_key.setter
|
|
165
|
+
def private_key(self, value: Optional[pulumi.Input[str]]):
|
|
166
|
+
pulumi.set(self, "private_key", value)
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
@pulumi.getter
|
|
170
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
171
|
+
"""
|
|
172
|
+
The private key of the certificate.
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "region")
|
|
175
|
+
|
|
176
|
+
@region.setter
|
|
177
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
178
|
+
pulumi.set(self, "region", value)
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
@pulumi.getter
|
|
182
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
183
|
+
"""
|
|
184
|
+
The certificate type. Valid values:
|
|
185
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
186
|
+
- upload: a custom certificate that you upload.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "type")
|
|
189
|
+
|
|
190
|
+
@type.setter
|
|
191
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
192
|
+
pulumi.set(self, "type", value)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
@pulumi.input_type
|
|
196
|
+
class _CertificateState:
|
|
197
|
+
def __init__(__self__, *,
|
|
198
|
+
cas_id: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
cert_id: Optional[pulumi.Input[str]] = None,
|
|
200
|
+
cert_name: Optional[pulumi.Input[str]] = None,
|
|
201
|
+
certificate: Optional[pulumi.Input[str]] = None,
|
|
202
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
203
|
+
created_type: Optional[pulumi.Input[str]] = None,
|
|
204
|
+
domains: Optional[pulumi.Input[str]] = None,
|
|
205
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
|
206
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
207
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
208
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
209
|
+
type: Optional[pulumi.Input[str]] = None):
|
|
210
|
+
"""
|
|
211
|
+
Input properties used for looking up and filtering Certificate resources.
|
|
212
|
+
:param pulumi.Input[str] cas_id: The certificate ID on Certificate Management Service.
|
|
213
|
+
:param pulumi.Input[str] cert_id: The certificate ID on ESA.
|
|
214
|
+
:param pulumi.Input[str] cert_name: The certificate name.
|
|
215
|
+
:param pulumi.Input[str] certificate: The certificate content.
|
|
216
|
+
:param pulumi.Input[str] create_time: Creation time.
|
|
217
|
+
:param pulumi.Input[str] created_type: The certificate ID on Certificate Management Service. Valid values:
|
|
218
|
+
- free: a free certificate.
|
|
219
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
220
|
+
- upload: a custom certificate that you upload.
|
|
221
|
+
:param pulumi.Input[str] domains: The Subject Alternative Name (SAN) of the certificate.
|
|
222
|
+
:param pulumi.Input[str] private_key: The certificate content.
|
|
223
|
+
:param pulumi.Input[str] region: The private key of the certificate.
|
|
224
|
+
:param pulumi.Input[int] site_id: Site ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) interface.
|
|
225
|
+
:param pulumi.Input[str] status: Certificate status.(within 30 days).- issued.- applying.- application failed.- canceled.
|
|
226
|
+
:param pulumi.Input[str] type: The certificate type. Valid values:
|
|
227
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
228
|
+
- upload: a custom certificate that you upload.
|
|
229
|
+
"""
|
|
230
|
+
if cas_id is not None:
|
|
231
|
+
pulumi.set(__self__, "cas_id", cas_id)
|
|
232
|
+
if cert_id is not None:
|
|
233
|
+
pulumi.set(__self__, "cert_id", cert_id)
|
|
234
|
+
if cert_name is not None:
|
|
235
|
+
pulumi.set(__self__, "cert_name", cert_name)
|
|
236
|
+
if certificate is not None:
|
|
237
|
+
pulumi.set(__self__, "certificate", certificate)
|
|
238
|
+
if create_time is not None:
|
|
239
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
240
|
+
if created_type is not None:
|
|
241
|
+
pulumi.set(__self__, "created_type", created_type)
|
|
242
|
+
if domains is not None:
|
|
243
|
+
pulumi.set(__self__, "domains", domains)
|
|
244
|
+
if private_key is not None:
|
|
245
|
+
pulumi.set(__self__, "private_key", private_key)
|
|
246
|
+
if region is not None:
|
|
247
|
+
pulumi.set(__self__, "region", region)
|
|
248
|
+
if site_id is not None:
|
|
249
|
+
pulumi.set(__self__, "site_id", site_id)
|
|
250
|
+
if status is not None:
|
|
251
|
+
pulumi.set(__self__, "status", status)
|
|
252
|
+
if type is not None:
|
|
253
|
+
pulumi.set(__self__, "type", type)
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
@pulumi.getter(name="casId")
|
|
257
|
+
def cas_id(self) -> Optional[pulumi.Input[str]]:
|
|
258
|
+
"""
|
|
259
|
+
The certificate ID on Certificate Management Service.
|
|
260
|
+
"""
|
|
261
|
+
return pulumi.get(self, "cas_id")
|
|
262
|
+
|
|
263
|
+
@cas_id.setter
|
|
264
|
+
def cas_id(self, value: Optional[pulumi.Input[str]]):
|
|
265
|
+
pulumi.set(self, "cas_id", value)
|
|
266
|
+
|
|
267
|
+
@property
|
|
268
|
+
@pulumi.getter(name="certId")
|
|
269
|
+
def cert_id(self) -> Optional[pulumi.Input[str]]:
|
|
270
|
+
"""
|
|
271
|
+
The certificate ID on ESA.
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "cert_id")
|
|
274
|
+
|
|
275
|
+
@cert_id.setter
|
|
276
|
+
def cert_id(self, value: Optional[pulumi.Input[str]]):
|
|
277
|
+
pulumi.set(self, "cert_id", value)
|
|
278
|
+
|
|
279
|
+
@property
|
|
280
|
+
@pulumi.getter(name="certName")
|
|
281
|
+
def cert_name(self) -> Optional[pulumi.Input[str]]:
|
|
282
|
+
"""
|
|
283
|
+
The certificate name.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "cert_name")
|
|
286
|
+
|
|
287
|
+
@cert_name.setter
|
|
288
|
+
def cert_name(self, value: Optional[pulumi.Input[str]]):
|
|
289
|
+
pulumi.set(self, "cert_name", value)
|
|
290
|
+
|
|
291
|
+
@property
|
|
292
|
+
@pulumi.getter
|
|
293
|
+
def certificate(self) -> Optional[pulumi.Input[str]]:
|
|
294
|
+
"""
|
|
295
|
+
The certificate content.
|
|
296
|
+
"""
|
|
297
|
+
return pulumi.get(self, "certificate")
|
|
298
|
+
|
|
299
|
+
@certificate.setter
|
|
300
|
+
def certificate(self, value: Optional[pulumi.Input[str]]):
|
|
301
|
+
pulumi.set(self, "certificate", value)
|
|
302
|
+
|
|
303
|
+
@property
|
|
304
|
+
@pulumi.getter(name="createTime")
|
|
305
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
306
|
+
"""
|
|
307
|
+
Creation time.
|
|
308
|
+
"""
|
|
309
|
+
return pulumi.get(self, "create_time")
|
|
310
|
+
|
|
311
|
+
@create_time.setter
|
|
312
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
313
|
+
pulumi.set(self, "create_time", value)
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
@pulumi.getter(name="createdType")
|
|
317
|
+
def created_type(self) -> Optional[pulumi.Input[str]]:
|
|
318
|
+
"""
|
|
319
|
+
The certificate ID on Certificate Management Service. Valid values:
|
|
320
|
+
- free: a free certificate.
|
|
321
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
322
|
+
- upload: a custom certificate that you upload.
|
|
323
|
+
"""
|
|
324
|
+
return pulumi.get(self, "created_type")
|
|
325
|
+
|
|
326
|
+
@created_type.setter
|
|
327
|
+
def created_type(self, value: Optional[pulumi.Input[str]]):
|
|
328
|
+
pulumi.set(self, "created_type", value)
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
@pulumi.getter
|
|
332
|
+
def domains(self) -> Optional[pulumi.Input[str]]:
|
|
333
|
+
"""
|
|
334
|
+
The Subject Alternative Name (SAN) of the certificate.
|
|
335
|
+
"""
|
|
336
|
+
return pulumi.get(self, "domains")
|
|
337
|
+
|
|
338
|
+
@domains.setter
|
|
339
|
+
def domains(self, value: Optional[pulumi.Input[str]]):
|
|
340
|
+
pulumi.set(self, "domains", value)
|
|
341
|
+
|
|
342
|
+
@property
|
|
343
|
+
@pulumi.getter(name="privateKey")
|
|
344
|
+
def private_key(self) -> Optional[pulumi.Input[str]]:
|
|
345
|
+
"""
|
|
346
|
+
The certificate content.
|
|
347
|
+
"""
|
|
348
|
+
return pulumi.get(self, "private_key")
|
|
349
|
+
|
|
350
|
+
@private_key.setter
|
|
351
|
+
def private_key(self, value: Optional[pulumi.Input[str]]):
|
|
352
|
+
pulumi.set(self, "private_key", value)
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
@pulumi.getter
|
|
356
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
|
357
|
+
"""
|
|
358
|
+
The private key of the certificate.
|
|
359
|
+
"""
|
|
360
|
+
return pulumi.get(self, "region")
|
|
361
|
+
|
|
362
|
+
@region.setter
|
|
363
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
|
364
|
+
pulumi.set(self, "region", value)
|
|
365
|
+
|
|
366
|
+
@property
|
|
367
|
+
@pulumi.getter(name="siteId")
|
|
368
|
+
def site_id(self) -> Optional[pulumi.Input[int]]:
|
|
369
|
+
"""
|
|
370
|
+
Site ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) interface.
|
|
371
|
+
"""
|
|
372
|
+
return pulumi.get(self, "site_id")
|
|
373
|
+
|
|
374
|
+
@site_id.setter
|
|
375
|
+
def site_id(self, value: Optional[pulumi.Input[int]]):
|
|
376
|
+
pulumi.set(self, "site_id", value)
|
|
377
|
+
|
|
378
|
+
@property
|
|
379
|
+
@pulumi.getter
|
|
380
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
381
|
+
"""
|
|
382
|
+
Certificate status.(within 30 days).- issued.- applying.- application failed.- canceled.
|
|
383
|
+
"""
|
|
384
|
+
return pulumi.get(self, "status")
|
|
385
|
+
|
|
386
|
+
@status.setter
|
|
387
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
388
|
+
pulumi.set(self, "status", value)
|
|
389
|
+
|
|
390
|
+
@property
|
|
391
|
+
@pulumi.getter
|
|
392
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
393
|
+
"""
|
|
394
|
+
The certificate type. Valid values:
|
|
395
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
396
|
+
- upload: a custom certificate that you upload.
|
|
397
|
+
"""
|
|
398
|
+
return pulumi.get(self, "type")
|
|
399
|
+
|
|
400
|
+
@type.setter
|
|
401
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
402
|
+
pulumi.set(self, "type", value)
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
class Certificate(pulumi.CustomResource):
|
|
406
|
+
@overload
|
|
407
|
+
def __init__(__self__,
|
|
408
|
+
resource_name: str,
|
|
409
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
410
|
+
cas_id: Optional[pulumi.Input[str]] = None,
|
|
411
|
+
cert_id: Optional[pulumi.Input[str]] = None,
|
|
412
|
+
cert_name: Optional[pulumi.Input[str]] = None,
|
|
413
|
+
certificate: Optional[pulumi.Input[str]] = None,
|
|
414
|
+
created_type: Optional[pulumi.Input[str]] = None,
|
|
415
|
+
domains: Optional[pulumi.Input[str]] = None,
|
|
416
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
|
417
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
418
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
419
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
420
|
+
__props__=None):
|
|
421
|
+
"""
|
|
422
|
+
Provides a ESA Certificate resource.
|
|
423
|
+
|
|
424
|
+
For information about ESA Certificate and how to use it, see [What is Certificate](https://next.api.alibabacloud.com/document/ESA/2024-09-10/SetCertificate).
|
|
425
|
+
|
|
426
|
+
> **NOTE:** Available since v1.244.0.
|
|
427
|
+
|
|
428
|
+
## Example Usage
|
|
429
|
+
|
|
430
|
+
Basic Usage
|
|
431
|
+
|
|
432
|
+
```python
|
|
433
|
+
import pulumi
|
|
434
|
+
import pulumi_alicloud as alicloud
|
|
435
|
+
|
|
436
|
+
default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan",
|
|
437
|
+
site_name="gositecdn.cn")
|
|
438
|
+
default_certificate = alicloud.esa.Certificate("default",
|
|
439
|
+
created_type="free",
|
|
440
|
+
domains="101.gositecdn.cn",
|
|
441
|
+
site_id=default.sites[0].id,
|
|
442
|
+
type="lets_encrypt")
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
## Import
|
|
446
|
+
|
|
447
|
+
ESA Certificate can be imported using the id, e.g.
|
|
448
|
+
|
|
449
|
+
```sh
|
|
450
|
+
$ pulumi import alicloud:esa/certificate:Certificate example <site_id>:<cert_id>
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
:param str resource_name: The name of the resource.
|
|
454
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
455
|
+
:param pulumi.Input[str] cas_id: The certificate ID on Certificate Management Service.
|
|
456
|
+
:param pulumi.Input[str] cert_id: The certificate ID on ESA.
|
|
457
|
+
:param pulumi.Input[str] cert_name: The certificate name.
|
|
458
|
+
:param pulumi.Input[str] certificate: The certificate content.
|
|
459
|
+
:param pulumi.Input[str] created_type: The certificate ID on Certificate Management Service. Valid values:
|
|
460
|
+
- free: a free certificate.
|
|
461
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
462
|
+
- upload: a custom certificate that you upload.
|
|
463
|
+
:param pulumi.Input[str] domains: The Subject Alternative Name (SAN) of the certificate.
|
|
464
|
+
:param pulumi.Input[str] private_key: The certificate content.
|
|
465
|
+
:param pulumi.Input[str] region: The private key of the certificate.
|
|
466
|
+
:param pulumi.Input[int] site_id: Site ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) interface.
|
|
467
|
+
:param pulumi.Input[str] type: The certificate type. Valid values:
|
|
468
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
469
|
+
- upload: a custom certificate that you upload.
|
|
470
|
+
"""
|
|
471
|
+
...
|
|
472
|
+
@overload
|
|
473
|
+
def __init__(__self__,
|
|
474
|
+
resource_name: str,
|
|
475
|
+
args: CertificateArgs,
|
|
476
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
477
|
+
"""
|
|
478
|
+
Provides a ESA Certificate resource.
|
|
479
|
+
|
|
480
|
+
For information about ESA Certificate and how to use it, see [What is Certificate](https://next.api.alibabacloud.com/document/ESA/2024-09-10/SetCertificate).
|
|
481
|
+
|
|
482
|
+
> **NOTE:** Available since v1.244.0.
|
|
483
|
+
|
|
484
|
+
## Example Usage
|
|
485
|
+
|
|
486
|
+
Basic Usage
|
|
487
|
+
|
|
488
|
+
```python
|
|
489
|
+
import pulumi
|
|
490
|
+
import pulumi_alicloud as alicloud
|
|
491
|
+
|
|
492
|
+
default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan",
|
|
493
|
+
site_name="gositecdn.cn")
|
|
494
|
+
default_certificate = alicloud.esa.Certificate("default",
|
|
495
|
+
created_type="free",
|
|
496
|
+
domains="101.gositecdn.cn",
|
|
497
|
+
site_id=default.sites[0].id,
|
|
498
|
+
type="lets_encrypt")
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
## Import
|
|
502
|
+
|
|
503
|
+
ESA Certificate can be imported using the id, e.g.
|
|
504
|
+
|
|
505
|
+
```sh
|
|
506
|
+
$ pulumi import alicloud:esa/certificate:Certificate example <site_id>:<cert_id>
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
:param str resource_name: The name of the resource.
|
|
510
|
+
:param CertificateArgs args: The arguments to use to populate this resource's properties.
|
|
511
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
512
|
+
"""
|
|
513
|
+
...
|
|
514
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
515
|
+
resource_args, opts = _utilities.get_resource_args_opts(CertificateArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
516
|
+
if resource_args is not None:
|
|
517
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
518
|
+
else:
|
|
519
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
520
|
+
|
|
521
|
+
def _internal_init(__self__,
|
|
522
|
+
resource_name: str,
|
|
523
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
524
|
+
cas_id: Optional[pulumi.Input[str]] = None,
|
|
525
|
+
cert_id: Optional[pulumi.Input[str]] = None,
|
|
526
|
+
cert_name: Optional[pulumi.Input[str]] = None,
|
|
527
|
+
certificate: Optional[pulumi.Input[str]] = None,
|
|
528
|
+
created_type: Optional[pulumi.Input[str]] = None,
|
|
529
|
+
domains: Optional[pulumi.Input[str]] = None,
|
|
530
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
|
531
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
532
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
533
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
534
|
+
__props__=None):
|
|
535
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
536
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
537
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
538
|
+
if opts.id is None:
|
|
539
|
+
if __props__ is not None:
|
|
540
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
541
|
+
__props__ = CertificateArgs.__new__(CertificateArgs)
|
|
542
|
+
|
|
543
|
+
__props__.__dict__["cas_id"] = cas_id
|
|
544
|
+
__props__.__dict__["cert_id"] = cert_id
|
|
545
|
+
__props__.__dict__["cert_name"] = cert_name
|
|
546
|
+
__props__.__dict__["certificate"] = certificate
|
|
547
|
+
if created_type is None and not opts.urn:
|
|
548
|
+
raise TypeError("Missing required property 'created_type'")
|
|
549
|
+
__props__.__dict__["created_type"] = created_type
|
|
550
|
+
__props__.__dict__["domains"] = domains
|
|
551
|
+
__props__.__dict__["private_key"] = private_key
|
|
552
|
+
__props__.__dict__["region"] = region
|
|
553
|
+
if site_id is None and not opts.urn:
|
|
554
|
+
raise TypeError("Missing required property 'site_id'")
|
|
555
|
+
__props__.__dict__["site_id"] = site_id
|
|
556
|
+
__props__.__dict__["type"] = type
|
|
557
|
+
__props__.__dict__["create_time"] = None
|
|
558
|
+
__props__.__dict__["status"] = None
|
|
559
|
+
super(Certificate, __self__).__init__(
|
|
560
|
+
'alicloud:esa/certificate:Certificate',
|
|
561
|
+
resource_name,
|
|
562
|
+
__props__,
|
|
563
|
+
opts)
|
|
564
|
+
|
|
565
|
+
@staticmethod
|
|
566
|
+
def get(resource_name: str,
|
|
567
|
+
id: pulumi.Input[str],
|
|
568
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
569
|
+
cas_id: Optional[pulumi.Input[str]] = None,
|
|
570
|
+
cert_id: Optional[pulumi.Input[str]] = None,
|
|
571
|
+
cert_name: Optional[pulumi.Input[str]] = None,
|
|
572
|
+
certificate: Optional[pulumi.Input[str]] = None,
|
|
573
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
574
|
+
created_type: Optional[pulumi.Input[str]] = None,
|
|
575
|
+
domains: Optional[pulumi.Input[str]] = None,
|
|
576
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
|
577
|
+
region: Optional[pulumi.Input[str]] = None,
|
|
578
|
+
site_id: Optional[pulumi.Input[int]] = None,
|
|
579
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
580
|
+
type: Optional[pulumi.Input[str]] = None) -> 'Certificate':
|
|
581
|
+
"""
|
|
582
|
+
Get an existing Certificate resource's state with the given name, id, and optional extra
|
|
583
|
+
properties used to qualify the lookup.
|
|
584
|
+
|
|
585
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
586
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
587
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
588
|
+
:param pulumi.Input[str] cas_id: The certificate ID on Certificate Management Service.
|
|
589
|
+
:param pulumi.Input[str] cert_id: The certificate ID on ESA.
|
|
590
|
+
:param pulumi.Input[str] cert_name: The certificate name.
|
|
591
|
+
:param pulumi.Input[str] certificate: The certificate content.
|
|
592
|
+
:param pulumi.Input[str] create_time: Creation time.
|
|
593
|
+
:param pulumi.Input[str] created_type: The certificate ID on Certificate Management Service. Valid values:
|
|
594
|
+
- free: a free certificate.
|
|
595
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
596
|
+
- upload: a custom certificate that you upload.
|
|
597
|
+
:param pulumi.Input[str] domains: The Subject Alternative Name (SAN) of the certificate.
|
|
598
|
+
:param pulumi.Input[str] private_key: The certificate content.
|
|
599
|
+
:param pulumi.Input[str] region: The private key of the certificate.
|
|
600
|
+
:param pulumi.Input[int] site_id: Site ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) interface.
|
|
601
|
+
:param pulumi.Input[str] status: Certificate status.(within 30 days).- issued.- applying.- application failed.- canceled.
|
|
602
|
+
:param pulumi.Input[str] type: The certificate type. Valid values:
|
|
603
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
604
|
+
- upload: a custom certificate that you upload.
|
|
605
|
+
"""
|
|
606
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
607
|
+
|
|
608
|
+
__props__ = _CertificateState.__new__(_CertificateState)
|
|
609
|
+
|
|
610
|
+
__props__.__dict__["cas_id"] = cas_id
|
|
611
|
+
__props__.__dict__["cert_id"] = cert_id
|
|
612
|
+
__props__.__dict__["cert_name"] = cert_name
|
|
613
|
+
__props__.__dict__["certificate"] = certificate
|
|
614
|
+
__props__.__dict__["create_time"] = create_time
|
|
615
|
+
__props__.__dict__["created_type"] = created_type
|
|
616
|
+
__props__.__dict__["domains"] = domains
|
|
617
|
+
__props__.__dict__["private_key"] = private_key
|
|
618
|
+
__props__.__dict__["region"] = region
|
|
619
|
+
__props__.__dict__["site_id"] = site_id
|
|
620
|
+
__props__.__dict__["status"] = status
|
|
621
|
+
__props__.__dict__["type"] = type
|
|
622
|
+
return Certificate(resource_name, opts=opts, __props__=__props__)
|
|
623
|
+
|
|
624
|
+
@property
|
|
625
|
+
@pulumi.getter(name="casId")
|
|
626
|
+
def cas_id(self) -> pulumi.Output[Optional[str]]:
|
|
627
|
+
"""
|
|
628
|
+
The certificate ID on Certificate Management Service.
|
|
629
|
+
"""
|
|
630
|
+
return pulumi.get(self, "cas_id")
|
|
631
|
+
|
|
632
|
+
@property
|
|
633
|
+
@pulumi.getter(name="certId")
|
|
634
|
+
def cert_id(self) -> pulumi.Output[str]:
|
|
635
|
+
"""
|
|
636
|
+
The certificate ID on ESA.
|
|
637
|
+
"""
|
|
638
|
+
return pulumi.get(self, "cert_id")
|
|
639
|
+
|
|
640
|
+
@property
|
|
641
|
+
@pulumi.getter(name="certName")
|
|
642
|
+
def cert_name(self) -> pulumi.Output[str]:
|
|
643
|
+
"""
|
|
644
|
+
The certificate name.
|
|
645
|
+
"""
|
|
646
|
+
return pulumi.get(self, "cert_name")
|
|
647
|
+
|
|
648
|
+
@property
|
|
649
|
+
@pulumi.getter
|
|
650
|
+
def certificate(self) -> pulumi.Output[str]:
|
|
651
|
+
"""
|
|
652
|
+
The certificate content.
|
|
653
|
+
"""
|
|
654
|
+
return pulumi.get(self, "certificate")
|
|
655
|
+
|
|
656
|
+
@property
|
|
657
|
+
@pulumi.getter(name="createTime")
|
|
658
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
659
|
+
"""
|
|
660
|
+
Creation time.
|
|
661
|
+
"""
|
|
662
|
+
return pulumi.get(self, "create_time")
|
|
663
|
+
|
|
664
|
+
@property
|
|
665
|
+
@pulumi.getter(name="createdType")
|
|
666
|
+
def created_type(self) -> pulumi.Output[str]:
|
|
667
|
+
"""
|
|
668
|
+
The certificate ID on Certificate Management Service. Valid values:
|
|
669
|
+
- free: a free certificate.
|
|
670
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
671
|
+
- upload: a custom certificate that you upload.
|
|
672
|
+
"""
|
|
673
|
+
return pulumi.get(self, "created_type")
|
|
674
|
+
|
|
675
|
+
@property
|
|
676
|
+
@pulumi.getter
|
|
677
|
+
def domains(self) -> pulumi.Output[Optional[str]]:
|
|
678
|
+
"""
|
|
679
|
+
The Subject Alternative Name (SAN) of the certificate.
|
|
680
|
+
"""
|
|
681
|
+
return pulumi.get(self, "domains")
|
|
682
|
+
|
|
683
|
+
@property
|
|
684
|
+
@pulumi.getter(name="privateKey")
|
|
685
|
+
def private_key(self) -> pulumi.Output[Optional[str]]:
|
|
686
|
+
"""
|
|
687
|
+
The certificate content.
|
|
688
|
+
"""
|
|
689
|
+
return pulumi.get(self, "private_key")
|
|
690
|
+
|
|
691
|
+
@property
|
|
692
|
+
@pulumi.getter
|
|
693
|
+
def region(self) -> pulumi.Output[str]:
|
|
694
|
+
"""
|
|
695
|
+
The private key of the certificate.
|
|
696
|
+
"""
|
|
697
|
+
return pulumi.get(self, "region")
|
|
698
|
+
|
|
699
|
+
@property
|
|
700
|
+
@pulumi.getter(name="siteId")
|
|
701
|
+
def site_id(self) -> pulumi.Output[int]:
|
|
702
|
+
"""
|
|
703
|
+
Site ID, which can be obtained by calling the [ListSites](https://www.alibabacloud.com/help/en/doc-detail/2850189.html) interface.
|
|
704
|
+
"""
|
|
705
|
+
return pulumi.get(self, "site_id")
|
|
706
|
+
|
|
707
|
+
@property
|
|
708
|
+
@pulumi.getter
|
|
709
|
+
def status(self) -> pulumi.Output[str]:
|
|
710
|
+
"""
|
|
711
|
+
Certificate status.(within 30 days).- issued.- applying.- application failed.- canceled.
|
|
712
|
+
"""
|
|
713
|
+
return pulumi.get(self, "status")
|
|
714
|
+
|
|
715
|
+
@property
|
|
716
|
+
@pulumi.getter
|
|
717
|
+
def type(self) -> pulumi.Output[str]:
|
|
718
|
+
"""
|
|
719
|
+
The certificate type. Valid values:
|
|
720
|
+
- cas: a certificate purchased by using Certificate Management Service.
|
|
721
|
+
- upload: a custom certificate that you upload.
|
|
722
|
+
"""
|
|
723
|
+
return pulumi.get(self, "type")
|
|
724
|
+
|