pulumi-alicloud 3.86.0a1758340042__py3-none-any.whl → 3.86.1__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/apig/_inputs.py +80 -6
- pulumi_alicloud/apig/gateway.py +111 -3
- pulumi_alicloud/apig/outputs.py +67 -4
- pulumi_alicloud/cas/certificate.py +248 -35
- pulumi_alicloud/cas/service_certificate.py +454 -168
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/hbr/policy_binding.py +7 -0
- pulumi_alicloud/kvstore/account.py +4 -4
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_service.py +12 -8
- pulumi_alicloud/resourcemanager/control_policy.py +169 -31
- pulumi_alicloud/vpc/bgp_network.py +83 -36
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.86.1.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.86.1.dist-info}/RECORD +16 -16
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.86.1.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.86.1.dist-info}/top_level.txt +0 -0
|
@@ -19,62 +19,77 @@ __all__ = ['ServiceCertificateArgs', 'ServiceCertificate']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class ServiceCertificateArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
cert: pulumi.Input[_builtins.str],
|
|
23
|
-
key: pulumi.Input[_builtins.str],
|
|
22
|
+
cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
23
|
certificate_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
encrypt_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
encrypt_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
27
|
lang: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
-
name: Optional[pulumi.Input[_builtins.str]] = None
|
|
28
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
sign_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
sign_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
27
33
|
"""
|
|
28
34
|
The set of arguments for constructing a ServiceCertificate resource.
|
|
29
|
-
:param pulumi.Input[_builtins.str] cert:
|
|
30
|
-
:param pulumi.Input[_builtins.str]
|
|
31
|
-
:param pulumi.Input[_builtins.str]
|
|
32
|
-
|
|
33
|
-
:param pulumi.Input[_builtins.str]
|
|
34
|
-
:param pulumi.Input[_builtins.str]
|
|
35
|
-
|
|
36
|
-
pulumi.
|
|
37
|
-
pulumi.
|
|
35
|
+
:param pulumi.Input[_builtins.str] cert: The content of a non-SM certificate in PEM format.
|
|
36
|
+
:param pulumi.Input[_builtins.str] certificate_name: A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificate_name` can be modified.
|
|
37
|
+
:param pulumi.Input[_builtins.str] encrypt_cert: The content of an SM encryption certificate in PEM format.
|
|
38
|
+
:param pulumi.Input[_builtins.str] encrypt_private_key: The private key of an SM encryption certificate in PEM format.
|
|
39
|
+
:param pulumi.Input[_builtins.str] key: The private key of a non-SM certificate in PEM format.
|
|
40
|
+
:param pulumi.Input[_builtins.str] lang: Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
|
|
41
|
+
:param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificate_name` instead.
|
|
42
|
+
:param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
|
|
43
|
+
:param pulumi.Input[_builtins.str] sign_cert: The content of an SM signing certificate in PEM format.
|
|
44
|
+
:param pulumi.Input[_builtins.str] sign_private_key: The private key of an SM signing certificate in PEM format.
|
|
45
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tag of the resource.
|
|
46
|
+
"""
|
|
47
|
+
if cert is not None:
|
|
48
|
+
pulumi.set(__self__, "cert", cert)
|
|
38
49
|
if certificate_name is not None:
|
|
39
50
|
pulumi.set(__self__, "certificate_name", certificate_name)
|
|
51
|
+
if encrypt_cert is not None:
|
|
52
|
+
pulumi.set(__self__, "encrypt_cert", encrypt_cert)
|
|
53
|
+
if encrypt_private_key is not None:
|
|
54
|
+
pulumi.set(__self__, "encrypt_private_key", encrypt_private_key)
|
|
55
|
+
if key is not None:
|
|
56
|
+
pulumi.set(__self__, "key", key)
|
|
57
|
+
if lang is not None:
|
|
58
|
+
warnings.warn("""Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.""", DeprecationWarning)
|
|
59
|
+
pulumi.log.warn("""lang is deprecated: Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.""")
|
|
40
60
|
if lang is not None:
|
|
41
61
|
pulumi.set(__self__, "lang", lang)
|
|
42
62
|
if name is not None:
|
|
43
|
-
warnings.warn("""
|
|
44
|
-
pulumi.log.warn("""name is deprecated:
|
|
63
|
+
warnings.warn("""Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.""", DeprecationWarning)
|
|
64
|
+
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
45
65
|
if name is not None:
|
|
46
66
|
pulumi.set(__self__, "name", name)
|
|
67
|
+
if resource_group_id is not None:
|
|
68
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
69
|
+
if sign_cert is not None:
|
|
70
|
+
pulumi.set(__self__, "sign_cert", sign_cert)
|
|
71
|
+
if sign_private_key is not None:
|
|
72
|
+
pulumi.set(__self__, "sign_private_key", sign_private_key)
|
|
73
|
+
if tags is not None:
|
|
74
|
+
pulumi.set(__self__, "tags", tags)
|
|
47
75
|
|
|
48
76
|
@_builtins.property
|
|
49
77
|
@pulumi.getter
|
|
50
|
-
def cert(self) -> pulumi.Input[_builtins.str]:
|
|
78
|
+
def cert(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
51
79
|
"""
|
|
52
|
-
|
|
80
|
+
The content of a non-SM certificate in PEM format.
|
|
53
81
|
"""
|
|
54
82
|
return pulumi.get(self, "cert")
|
|
55
83
|
|
|
56
84
|
@cert.setter
|
|
57
|
-
def cert(self, value: pulumi.Input[_builtins.str]):
|
|
85
|
+
def cert(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
58
86
|
pulumi.set(self, "cert", value)
|
|
59
87
|
|
|
60
|
-
@_builtins.property
|
|
61
|
-
@pulumi.getter
|
|
62
|
-
def key(self) -> pulumi.Input[_builtins.str]:
|
|
63
|
-
"""
|
|
64
|
-
Key of the Certificate in which the Certificate will add.
|
|
65
|
-
"""
|
|
66
|
-
return pulumi.get(self, "key")
|
|
67
|
-
|
|
68
|
-
@key.setter
|
|
69
|
-
def key(self, value: pulumi.Input[_builtins.str]):
|
|
70
|
-
pulumi.set(self, "key", value)
|
|
71
|
-
|
|
72
88
|
@_builtins.property
|
|
73
89
|
@pulumi.getter(name="certificateName")
|
|
74
90
|
def certificate_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
75
91
|
"""
|
|
76
|
-
|
|
77
|
-
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
92
|
+
A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificate_name` can be modified.
|
|
78
93
|
"""
|
|
79
94
|
return pulumi.get(self, "certificate_name")
|
|
80
95
|
|
|
@@ -82,11 +97,48 @@ class ServiceCertificateArgs:
|
|
|
82
97
|
def certificate_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
98
|
pulumi.set(self, "certificate_name", value)
|
|
84
99
|
|
|
100
|
+
@_builtins.property
|
|
101
|
+
@pulumi.getter(name="encryptCert")
|
|
102
|
+
def encrypt_cert(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
103
|
+
"""
|
|
104
|
+
The content of an SM encryption certificate in PEM format.
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "encrypt_cert")
|
|
107
|
+
|
|
108
|
+
@encrypt_cert.setter
|
|
109
|
+
def encrypt_cert(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
110
|
+
pulumi.set(self, "encrypt_cert", value)
|
|
111
|
+
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter(name="encryptPrivateKey")
|
|
114
|
+
def encrypt_private_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
115
|
+
"""
|
|
116
|
+
The private key of an SM encryption certificate in PEM format.
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "encrypt_private_key")
|
|
119
|
+
|
|
120
|
+
@encrypt_private_key.setter
|
|
121
|
+
def encrypt_private_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
122
|
+
pulumi.set(self, "encrypt_private_key", value)
|
|
123
|
+
|
|
85
124
|
@_builtins.property
|
|
86
125
|
@pulumi.getter
|
|
126
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
127
|
+
"""
|
|
128
|
+
The private key of a non-SM certificate in PEM format.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "key")
|
|
131
|
+
|
|
132
|
+
@key.setter
|
|
133
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
134
|
+
pulumi.set(self, "key", value)
|
|
135
|
+
|
|
136
|
+
@_builtins.property
|
|
137
|
+
@pulumi.getter
|
|
138
|
+
@_utilities.deprecated("""Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.""")
|
|
87
139
|
def lang(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
88
140
|
"""
|
|
89
|
-
|
|
141
|
+
Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
|
|
90
142
|
"""
|
|
91
143
|
return pulumi.get(self, "lang")
|
|
92
144
|
|
|
@@ -96,10 +148,10 @@ class ServiceCertificateArgs:
|
|
|
96
148
|
|
|
97
149
|
@_builtins.property
|
|
98
150
|
@pulumi.getter
|
|
99
|
-
@_utilities.deprecated("""
|
|
151
|
+
@_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
100
152
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
101
153
|
"""
|
|
102
|
-
|
|
154
|
+
Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificate_name` instead.
|
|
103
155
|
"""
|
|
104
156
|
return pulumi.get(self, "name")
|
|
105
157
|
|
|
@@ -107,43 +159,117 @@ class ServiceCertificateArgs:
|
|
|
107
159
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
108
160
|
pulumi.set(self, "name", value)
|
|
109
161
|
|
|
162
|
+
@_builtins.property
|
|
163
|
+
@pulumi.getter(name="resourceGroupId")
|
|
164
|
+
def resource_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
165
|
+
"""
|
|
166
|
+
The ID of the resource group.
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "resource_group_id")
|
|
169
|
+
|
|
170
|
+
@resource_group_id.setter
|
|
171
|
+
def resource_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
172
|
+
pulumi.set(self, "resource_group_id", value)
|
|
173
|
+
|
|
174
|
+
@_builtins.property
|
|
175
|
+
@pulumi.getter(name="signCert")
|
|
176
|
+
def sign_cert(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
177
|
+
"""
|
|
178
|
+
The content of an SM signing certificate in PEM format.
|
|
179
|
+
"""
|
|
180
|
+
return pulumi.get(self, "sign_cert")
|
|
181
|
+
|
|
182
|
+
@sign_cert.setter
|
|
183
|
+
def sign_cert(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
184
|
+
pulumi.set(self, "sign_cert", value)
|
|
185
|
+
|
|
186
|
+
@_builtins.property
|
|
187
|
+
@pulumi.getter(name="signPrivateKey")
|
|
188
|
+
def sign_private_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
189
|
+
"""
|
|
190
|
+
The private key of an SM signing certificate in PEM format.
|
|
191
|
+
"""
|
|
192
|
+
return pulumi.get(self, "sign_private_key")
|
|
193
|
+
|
|
194
|
+
@sign_private_key.setter
|
|
195
|
+
def sign_private_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
196
|
+
pulumi.set(self, "sign_private_key", value)
|
|
197
|
+
|
|
198
|
+
@_builtins.property
|
|
199
|
+
@pulumi.getter
|
|
200
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
201
|
+
"""
|
|
202
|
+
The tag of the resource.
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "tags")
|
|
205
|
+
|
|
206
|
+
@tags.setter
|
|
207
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
208
|
+
pulumi.set(self, "tags", value)
|
|
209
|
+
|
|
110
210
|
|
|
111
211
|
@pulumi.input_type
|
|
112
212
|
class _ServiceCertificateState:
|
|
113
213
|
def __init__(__self__, *,
|
|
114
214
|
cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
115
215
|
certificate_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
216
|
+
encrypt_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
217
|
+
encrypt_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
218
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
219
|
lang: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
-
name: Optional[pulumi.Input[_builtins.str]] = None
|
|
220
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
221
|
+
resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
222
|
+
sign_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
223
|
+
sign_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
224
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
119
225
|
"""
|
|
120
226
|
Input properties used for looking up and filtering ServiceCertificate resources.
|
|
121
|
-
:param pulumi.Input[_builtins.str] cert:
|
|
122
|
-
:param pulumi.Input[_builtins.str] certificate_name:
|
|
123
|
-
|
|
124
|
-
:param pulumi.Input[_builtins.str]
|
|
125
|
-
:param pulumi.Input[_builtins.str]
|
|
126
|
-
:param pulumi.Input[_builtins.str]
|
|
227
|
+
:param pulumi.Input[_builtins.str] cert: The content of a non-SM certificate in PEM format.
|
|
228
|
+
:param pulumi.Input[_builtins.str] certificate_name: A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificate_name` can be modified.
|
|
229
|
+
:param pulumi.Input[_builtins.str] encrypt_cert: The content of an SM encryption certificate in PEM format.
|
|
230
|
+
:param pulumi.Input[_builtins.str] encrypt_private_key: The private key of an SM encryption certificate in PEM format.
|
|
231
|
+
:param pulumi.Input[_builtins.str] key: The private key of a non-SM certificate in PEM format.
|
|
232
|
+
:param pulumi.Input[_builtins.str] lang: Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
|
|
233
|
+
:param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificate_name` instead.
|
|
234
|
+
:param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
|
|
235
|
+
:param pulumi.Input[_builtins.str] sign_cert: The content of an SM signing certificate in PEM format.
|
|
236
|
+
:param pulumi.Input[_builtins.str] sign_private_key: The private key of an SM signing certificate in PEM format.
|
|
237
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tag of the resource.
|
|
127
238
|
"""
|
|
128
239
|
if cert is not None:
|
|
129
240
|
pulumi.set(__self__, "cert", cert)
|
|
130
241
|
if certificate_name is not None:
|
|
131
242
|
pulumi.set(__self__, "certificate_name", certificate_name)
|
|
243
|
+
if encrypt_cert is not None:
|
|
244
|
+
pulumi.set(__self__, "encrypt_cert", encrypt_cert)
|
|
245
|
+
if encrypt_private_key is not None:
|
|
246
|
+
pulumi.set(__self__, "encrypt_private_key", encrypt_private_key)
|
|
132
247
|
if key is not None:
|
|
133
248
|
pulumi.set(__self__, "key", key)
|
|
249
|
+
if lang is not None:
|
|
250
|
+
warnings.warn("""Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.""", DeprecationWarning)
|
|
251
|
+
pulumi.log.warn("""lang is deprecated: Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.""")
|
|
134
252
|
if lang is not None:
|
|
135
253
|
pulumi.set(__self__, "lang", lang)
|
|
136
254
|
if name is not None:
|
|
137
|
-
warnings.warn("""
|
|
138
|
-
pulumi.log.warn("""name is deprecated:
|
|
255
|
+
warnings.warn("""Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.""", DeprecationWarning)
|
|
256
|
+
pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
139
257
|
if name is not None:
|
|
140
258
|
pulumi.set(__self__, "name", name)
|
|
259
|
+
if resource_group_id is not None:
|
|
260
|
+
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
261
|
+
if sign_cert is not None:
|
|
262
|
+
pulumi.set(__self__, "sign_cert", sign_cert)
|
|
263
|
+
if sign_private_key is not None:
|
|
264
|
+
pulumi.set(__self__, "sign_private_key", sign_private_key)
|
|
265
|
+
if tags is not None:
|
|
266
|
+
pulumi.set(__self__, "tags", tags)
|
|
141
267
|
|
|
142
268
|
@_builtins.property
|
|
143
269
|
@pulumi.getter
|
|
144
270
|
def cert(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
145
271
|
"""
|
|
146
|
-
|
|
272
|
+
The content of a non-SM certificate in PEM format.
|
|
147
273
|
"""
|
|
148
274
|
return pulumi.get(self, "cert")
|
|
149
275
|
|
|
@@ -155,8 +281,7 @@ class _ServiceCertificateState:
|
|
|
155
281
|
@pulumi.getter(name="certificateName")
|
|
156
282
|
def certificate_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
283
|
"""
|
|
158
|
-
|
|
159
|
-
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
284
|
+
A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificate_name` can be modified.
|
|
160
285
|
"""
|
|
161
286
|
return pulumi.get(self, "certificate_name")
|
|
162
287
|
|
|
@@ -164,11 +289,35 @@ class _ServiceCertificateState:
|
|
|
164
289
|
def certificate_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
165
290
|
pulumi.set(self, "certificate_name", value)
|
|
166
291
|
|
|
292
|
+
@_builtins.property
|
|
293
|
+
@pulumi.getter(name="encryptCert")
|
|
294
|
+
def encrypt_cert(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
295
|
+
"""
|
|
296
|
+
The content of an SM encryption certificate in PEM format.
|
|
297
|
+
"""
|
|
298
|
+
return pulumi.get(self, "encrypt_cert")
|
|
299
|
+
|
|
300
|
+
@encrypt_cert.setter
|
|
301
|
+
def encrypt_cert(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
302
|
+
pulumi.set(self, "encrypt_cert", value)
|
|
303
|
+
|
|
304
|
+
@_builtins.property
|
|
305
|
+
@pulumi.getter(name="encryptPrivateKey")
|
|
306
|
+
def encrypt_private_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
307
|
+
"""
|
|
308
|
+
The private key of an SM encryption certificate in PEM format.
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "encrypt_private_key")
|
|
311
|
+
|
|
312
|
+
@encrypt_private_key.setter
|
|
313
|
+
def encrypt_private_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
314
|
+
pulumi.set(self, "encrypt_private_key", value)
|
|
315
|
+
|
|
167
316
|
@_builtins.property
|
|
168
317
|
@pulumi.getter
|
|
169
318
|
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
170
319
|
"""
|
|
171
|
-
|
|
320
|
+
The private key of a non-SM certificate in PEM format.
|
|
172
321
|
"""
|
|
173
322
|
return pulumi.get(self, "key")
|
|
174
323
|
|
|
@@ -178,9 +327,10 @@ class _ServiceCertificateState:
|
|
|
178
327
|
|
|
179
328
|
@_builtins.property
|
|
180
329
|
@pulumi.getter
|
|
330
|
+
@_utilities.deprecated("""Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.""")
|
|
181
331
|
def lang(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
182
332
|
"""
|
|
183
|
-
|
|
333
|
+
Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
|
|
184
334
|
"""
|
|
185
335
|
return pulumi.get(self, "lang")
|
|
186
336
|
|
|
@@ -190,10 +340,10 @@ class _ServiceCertificateState:
|
|
|
190
340
|
|
|
191
341
|
@_builtins.property
|
|
192
342
|
@pulumi.getter
|
|
193
|
-
@_utilities.deprecated("""
|
|
343
|
+
@_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
194
344
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
195
345
|
"""
|
|
196
|
-
|
|
346
|
+
Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificate_name` instead.
|
|
197
347
|
"""
|
|
198
348
|
return pulumi.get(self, "name")
|
|
199
349
|
|
|
@@ -201,6 +351,54 @@ class _ServiceCertificateState:
|
|
|
201
351
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
202
352
|
pulumi.set(self, "name", value)
|
|
203
353
|
|
|
354
|
+
@_builtins.property
|
|
355
|
+
@pulumi.getter(name="resourceGroupId")
|
|
356
|
+
def resource_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
357
|
+
"""
|
|
358
|
+
The ID of the resource group.
|
|
359
|
+
"""
|
|
360
|
+
return pulumi.get(self, "resource_group_id")
|
|
361
|
+
|
|
362
|
+
@resource_group_id.setter
|
|
363
|
+
def resource_group_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
364
|
+
pulumi.set(self, "resource_group_id", value)
|
|
365
|
+
|
|
366
|
+
@_builtins.property
|
|
367
|
+
@pulumi.getter(name="signCert")
|
|
368
|
+
def sign_cert(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
369
|
+
"""
|
|
370
|
+
The content of an SM signing certificate in PEM format.
|
|
371
|
+
"""
|
|
372
|
+
return pulumi.get(self, "sign_cert")
|
|
373
|
+
|
|
374
|
+
@sign_cert.setter
|
|
375
|
+
def sign_cert(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
376
|
+
pulumi.set(self, "sign_cert", value)
|
|
377
|
+
|
|
378
|
+
@_builtins.property
|
|
379
|
+
@pulumi.getter(name="signPrivateKey")
|
|
380
|
+
def sign_private_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
381
|
+
"""
|
|
382
|
+
The private key of an SM signing certificate in PEM format.
|
|
383
|
+
"""
|
|
384
|
+
return pulumi.get(self, "sign_private_key")
|
|
385
|
+
|
|
386
|
+
@sign_private_key.setter
|
|
387
|
+
def sign_private_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
388
|
+
pulumi.set(self, "sign_private_key", value)
|
|
389
|
+
|
|
390
|
+
@_builtins.property
|
|
391
|
+
@pulumi.getter
|
|
392
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
393
|
+
"""
|
|
394
|
+
The tag of the resource.
|
|
395
|
+
"""
|
|
396
|
+
return pulumi.get(self, "tags")
|
|
397
|
+
|
|
398
|
+
@tags.setter
|
|
399
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
400
|
+
pulumi.set(self, "tags", value)
|
|
401
|
+
|
|
204
402
|
|
|
205
403
|
@pulumi.type_token("alicloud:cas/serviceCertificate:ServiceCertificate")
|
|
206
404
|
class ServiceCertificate(pulumi.CustomResource):
|
|
@@ -210,9 +408,15 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
210
408
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
211
409
|
cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
212
410
|
certificate_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
411
|
+
encrypt_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
412
|
+
encrypt_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
213
413
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
214
414
|
lang: Optional[pulumi.Input[_builtins.str]] = None,
|
|
215
415
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
416
|
+
resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
417
|
+
sign_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
418
|
+
sign_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
419
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
216
420
|
__props__=None):
|
|
217
421
|
"""
|
|
218
422
|
Provides a SSL Certificates Certificate resource.
|
|
@@ -236,54 +440,55 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
236
440
|
default_service_certificate = alicloud.cas.ServiceCertificate("default",
|
|
237
441
|
certificate_name=f"terraform-example-{default['result']}",
|
|
238
442
|
cert=\"\"\"-----BEGIN CERTIFICATE-----
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
443
|
+
MIID1jCCAr6gAwIBAgIQQ7/8/QOOTbywxdgSX9aMqDANBgkqhkiG9w0BAQsFADBe
|
|
444
|
+
MQswCQYDVQQGEwJDTjEOMAwGA1UEChMFTXlTU0wxKzApBgNVBAsTIk15U1NMIFRl
|
|
445
|
+
c3QgUlNBIC0gRm9yIHRlc3QgdXNlIG9ubHkxEjAQBgNVBAMTCU15U1NMLmNvbTAe
|
|
446
|
+
Fw0yNTA5MjIwNTU3NDVaFw0zMDA5MjEwNTU3NDVaMCAxCzAJBgNVBAYTAkNOMREw
|
|
447
|
+
DwYDVQQDEwgxNjg4LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
|
|
448
|
+
AMEl04gKBqJxV+8KideZb7S4mPysehPzr/cXu4i1RXT7UFtNVZuqc4IdIzOja2SU
|
|
449
|
+
6uNn8mY6Pfc5FNybg98bYx0ADbub55TUaw2Pz1CFEbiMvLpzMkp4EZadvmJWZk8t
|
|
450
|
+
dNb+ClKqdXUWhxApS3Lz+wjCNYQnlODk4KmxmM8/U/CyQS7lgWS/1G72UFB09Skg
|
|
451
|
+
sfvWdoHLrFfIlbVkp9XVELCtOkjj8Nn/rPOhc31NbstrwV4Whl6jngGAkaEtImJ7
|
|
452
|
+
//sL+sPPsutefCgfZPrC+Zwru2En1BuIo5KW02NYLdjXbABH8xjkUobqRoro7eY3
|
|
453
|
+
VySBr7adD6QmNv5hWohOuykCAwEAAaOBzTCByjAOBgNVHQ8BAf8EBAMCBaAwHQYD
|
|
454
|
+
VR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFCiBJgXRNBo/
|
|
455
|
+
wXMPu5PPFRw/A79/MGMGCCsGAQUFBwEBBFcwVTAhBggrBgEFBQcwAYYVaHR0cDov
|
|
456
|
+
L29jc3AubXlzc2wuY29tMDAGCCsGAQUFBzAChiRodHRwOi8vY2EubXlzc2wuY29t
|
|
457
|
+
L215c3NsdGVzdHJzYS5jcnQwEwYDVR0RBAwwCoIIMTY4OC5jb20wDQYJKoZIhvcN
|
|
458
|
+
AQELBQADggEBAHa0ATVeHtPPw1+a6kajlW6OQUjhiJg+Sk9fVA1eJ2Hzl1yDDw3K
|
|
459
|
+
yAyl1gkxGI6BwWdX/C8IE6PuPYcG2CmJGoFoEAAIbAE76AKABvHoA8I6wyDruxFz
|
|
460
|
+
06bNM8104TxAHTxe2zaHgBQnYIRk07uA8gxjZKFp1//eYbxj8HiP0Q9zXqYjF79G
|
|
461
|
+
Le4PDw7Q6U22CP+cT9Sz5ZEoJCzmUtx3uQWhLzNxvyISrXeSqAFJzjtL0KKSR1cr
|
|
462
|
+
8he6FoeU37oKdmrnweLeBe+no3OMChETa2JN4VAzXj/nPpQcyB7nXDfLUHe01+BB
|
|
463
|
+
ZBXKFLD2H38e97mFl/7mgNP5Nc1sycI5Sp4=
|
|
258
464
|
-----END CERTIFICATE-----
|
|
259
465
|
\"\"\",
|
|
260
466
|
key=\"\"\"-----BEGIN PRIVATE KEY-----
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
+
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
/
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
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GFZ+C3cTKXJBPONWGF8NgiXaHSKjPEoFuHLdKBpgZMAax/L
|
|
480
|
+
aZBQRw6g12nz3XUCK0DE0wGgPkoDxc65s4NEWS+ua43LZ4TUOzWwwWECgYEA/XB1
|
|
481
|
+
ARNHyARy+P3iTeebh3t7qJoNoptLWHMlKjSjIZ1VZ4+9ilKsi5ZKVkPaLIjo8MGv
|
|
482
|
+
Ank3vzSrFSYhId0XfmSqoWySWc0eBkc6NERvopxuIV1WwRKf/18lLhxiEjHIcgds
|
|
483
|
+
G2KmfeiXdCKSgGlWvJmLITY4gJpOYMjpEDxipskCgYAdxnljmGbNmfvPZRcyKzkM
|
|
484
|
+
jAiF2wd7p0gp1lbLo9+1ELgt2ax7F7Ko3riVZUU7BLSwt/nL6o+iks02XW7qdIkz
|
|
485
|
+
3dzpGjKRXIfwrrVhmKBGclzny5mav8V5nO7DiXX+qkrvl3X3R/FCCtN77ivZOo2Y
|
|
486
|
+
2gXKXr6N55wNdnY1eyI4wQKBgQDXjZo2O+vFVuNimqyrjd1eMcxO7hfCwUooBGcL
|
|
487
|
+
qpFEucg1uK+Awig24LCBBly9nARjIJh1Bhw/58/KwQ9U+fJNcdkeSnV/I1HyDQqY
|
|
488
|
+
AczhBSM2BWkP9YNXc9jvivxudSECuwVblV/9nqGSCQWJag53gjAvIyqTVqpq7vYq
|
|
489
|
+
9PEC4QKBgGY2pj0ZNqGkq16jD3iS+DDBpX+TPnoHzu5GZCM/1GLZ6xXbpNWtZQt4
|
|
490
|
+
/m+6koRWeGvNAULnp8RSnhBzm+ZglpbwYcvsqRNDqIPGhJ2JruVA/bY3S0ebkRlD
|
|
491
|
+
xDn0dJVMvNyRR83ZpjTQhxoq5l56TN5xk1vdJ9nZdwJMmXiz2TrA
|
|
287
492
|
-----END PRIVATE KEY-----
|
|
288
493
|
\"\"\")
|
|
289
494
|
```
|
|
@@ -298,18 +503,23 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
298
503
|
|
|
299
504
|
:param str resource_name: The name of the resource.
|
|
300
505
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
301
|
-
:param pulumi.Input[_builtins.str] cert:
|
|
302
|
-
:param pulumi.Input[_builtins.str] certificate_name:
|
|
303
|
-
|
|
304
|
-
:param pulumi.Input[_builtins.str]
|
|
305
|
-
:param pulumi.Input[_builtins.str]
|
|
306
|
-
:param pulumi.Input[_builtins.str]
|
|
506
|
+
:param pulumi.Input[_builtins.str] cert: The content of a non-SM certificate in PEM format.
|
|
507
|
+
:param pulumi.Input[_builtins.str] certificate_name: A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificate_name` can be modified.
|
|
508
|
+
:param pulumi.Input[_builtins.str] encrypt_cert: The content of an SM encryption certificate in PEM format.
|
|
509
|
+
:param pulumi.Input[_builtins.str] encrypt_private_key: The private key of an SM encryption certificate in PEM format.
|
|
510
|
+
:param pulumi.Input[_builtins.str] key: The private key of a non-SM certificate in PEM format.
|
|
511
|
+
:param pulumi.Input[_builtins.str] lang: Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
|
|
512
|
+
:param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificate_name` instead.
|
|
513
|
+
:param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
|
|
514
|
+
:param pulumi.Input[_builtins.str] sign_cert: The content of an SM signing certificate in PEM format.
|
|
515
|
+
:param pulumi.Input[_builtins.str] sign_private_key: The private key of an SM signing certificate in PEM format.
|
|
516
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tag of the resource.
|
|
307
517
|
"""
|
|
308
518
|
...
|
|
309
519
|
@overload
|
|
310
520
|
def __init__(__self__,
|
|
311
521
|
resource_name: str,
|
|
312
|
-
args: ServiceCertificateArgs,
|
|
522
|
+
args: Optional[ServiceCertificateArgs] = None,
|
|
313
523
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
314
524
|
"""
|
|
315
525
|
Provides a SSL Certificates Certificate resource.
|
|
@@ -333,54 +543,55 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
333
543
|
default_service_certificate = alicloud.cas.ServiceCertificate("default",
|
|
334
544
|
certificate_name=f"terraform-example-{default['result']}",
|
|
335
545
|
cert=\"\"\"-----BEGIN CERTIFICATE-----
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
546
|
+
MIID1jCCAr6gAwIBAgIQQ7/8/QOOTbywxdgSX9aMqDANBgkqhkiG9w0BAQsFADBe
|
|
547
|
+
MQswCQYDVQQGEwJDTjEOMAwGA1UEChMFTXlTU0wxKzApBgNVBAsTIk15U1NMIFRl
|
|
548
|
+
c3QgUlNBIC0gRm9yIHRlc3QgdXNlIG9ubHkxEjAQBgNVBAMTCU15U1NMLmNvbTAe
|
|
549
|
+
Fw0yNTA5MjIwNTU3NDVaFw0zMDA5MjEwNTU3NDVaMCAxCzAJBgNVBAYTAkNOMREw
|
|
550
|
+
DwYDVQQDEwgxNjg4LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
|
|
551
|
+
AMEl04gKBqJxV+8KideZb7S4mPysehPzr/cXu4i1RXT7UFtNVZuqc4IdIzOja2SU
|
|
552
|
+
6uNn8mY6Pfc5FNybg98bYx0ADbub55TUaw2Pz1CFEbiMvLpzMkp4EZadvmJWZk8t
|
|
553
|
+
dNb+ClKqdXUWhxApS3Lz+wjCNYQnlODk4KmxmM8/U/CyQS7lgWS/1G72UFB09Skg
|
|
554
|
+
sfvWdoHLrFfIlbVkp9XVELCtOkjj8Nn/rPOhc31NbstrwV4Whl6jngGAkaEtImJ7
|
|
555
|
+
//sL+sPPsutefCgfZPrC+Zwru2En1BuIo5KW02NYLdjXbABH8xjkUobqRoro7eY3
|
|
556
|
+
VySBr7adD6QmNv5hWohOuykCAwEAAaOBzTCByjAOBgNVHQ8BAf8EBAMCBaAwHQYD
|
|
557
|
+
VR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFCiBJgXRNBo/
|
|
558
|
+
wXMPu5PPFRw/A79/MGMGCCsGAQUFBwEBBFcwVTAhBggrBgEFBQcwAYYVaHR0cDov
|
|
559
|
+
L29jc3AubXlzc2wuY29tMDAGCCsGAQUFBzAChiRodHRwOi8vY2EubXlzc2wuY29t
|
|
560
|
+
L215c3NsdGVzdHJzYS5jcnQwEwYDVR0RBAwwCoIIMTY4OC5jb20wDQYJKoZIhvcN
|
|
561
|
+
AQELBQADggEBAHa0ATVeHtPPw1+a6kajlW6OQUjhiJg+Sk9fVA1eJ2Hzl1yDDw3K
|
|
562
|
+
yAyl1gkxGI6BwWdX/C8IE6PuPYcG2CmJGoFoEAAIbAE76AKABvHoA8I6wyDruxFz
|
|
563
|
+
06bNM8104TxAHTxe2zaHgBQnYIRk07uA8gxjZKFp1//eYbxj8HiP0Q9zXqYjF79G
|
|
564
|
+
Le4PDw7Q6U22CP+cT9Sz5ZEoJCzmUtx3uQWhLzNxvyISrXeSqAFJzjtL0KKSR1cr
|
|
565
|
+
8he6FoeU37oKdmrnweLeBe+no3OMChETa2JN4VAzXj/nPpQcyB7nXDfLUHe01+BB
|
|
566
|
+
ZBXKFLD2H38e97mFl/7mgNP5Nc1sycI5Sp4=
|
|
355
567
|
-----END CERTIFICATE-----
|
|
356
568
|
\"\"\",
|
|
357
569
|
key=\"\"\"-----BEGIN PRIVATE KEY-----
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
+
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
/
|
|
366
|
-
|
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9 +621,15 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
410
621
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
411
622
|
cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
412
623
|
certificate_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
624
|
+
encrypt_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
625
|
+
encrypt_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
413
626
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
414
627
|
lang: Optional[pulumi.Input[_builtins.str]] = None,
|
|
415
628
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
629
|
+
resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
630
|
+
sign_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
631
|
+
sign_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
632
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
416
633
|
__props__=None):
|
|
417
634
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
418
635
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -422,15 +639,19 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
422
639
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
423
640
|
__props__ = ServiceCertificateArgs.__new__(ServiceCertificateArgs)
|
|
424
641
|
|
|
425
|
-
if cert is None and not opts.urn:
|
|
426
|
-
raise TypeError("Missing required property 'cert'")
|
|
427
642
|
__props__.__dict__["cert"] = cert
|
|
428
643
|
__props__.__dict__["certificate_name"] = certificate_name
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
__props__.__dict__["key"] = key
|
|
644
|
+
__props__.__dict__["encrypt_cert"] = encrypt_cert
|
|
645
|
+
__props__.__dict__["encrypt_private_key"] = None if encrypt_private_key is None else pulumi.Output.secret(encrypt_private_key)
|
|
646
|
+
__props__.__dict__["key"] = None if key is None else pulumi.Output.secret(key)
|
|
432
647
|
__props__.__dict__["lang"] = lang
|
|
433
648
|
__props__.__dict__["name"] = name
|
|
649
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
650
|
+
__props__.__dict__["sign_cert"] = sign_cert
|
|
651
|
+
__props__.__dict__["sign_private_key"] = None if sign_private_key is None else pulumi.Output.secret(sign_private_key)
|
|
652
|
+
__props__.__dict__["tags"] = tags
|
|
653
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["encryptPrivateKey", "key", "signPrivateKey"])
|
|
654
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
434
655
|
super(ServiceCertificate, __self__).__init__(
|
|
435
656
|
'alicloud:cas/serviceCertificate:ServiceCertificate',
|
|
436
657
|
resource_name,
|
|
@@ -443,9 +664,15 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
443
664
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
444
665
|
cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
445
666
|
certificate_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
667
|
+
encrypt_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
668
|
+
encrypt_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
446
669
|
key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
447
670
|
lang: Optional[pulumi.Input[_builtins.str]] = None,
|
|
448
|
-
name: Optional[pulumi.Input[_builtins.str]] = None
|
|
671
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
672
|
+
resource_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
673
|
+
sign_cert: Optional[pulumi.Input[_builtins.str]] = None,
|
|
674
|
+
sign_private_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
675
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'ServiceCertificate':
|
|
449
676
|
"""
|
|
450
677
|
Get an existing ServiceCertificate resource's state with the given name, id, and optional extra
|
|
451
678
|
properties used to qualify the lookup.
|
|
@@ -453,12 +680,17 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
453
680
|
:param str resource_name: The unique name of the resulting resource.
|
|
454
681
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
455
682
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
456
|
-
:param pulumi.Input[_builtins.str] cert:
|
|
457
|
-
:param pulumi.Input[_builtins.str] certificate_name:
|
|
458
|
-
|
|
459
|
-
:param pulumi.Input[_builtins.str]
|
|
460
|
-
:param pulumi.Input[_builtins.str]
|
|
461
|
-
:param pulumi.Input[_builtins.str]
|
|
683
|
+
:param pulumi.Input[_builtins.str] cert: The content of a non-SM certificate in PEM format.
|
|
684
|
+
:param pulumi.Input[_builtins.str] certificate_name: A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificate_name` can be modified.
|
|
685
|
+
:param pulumi.Input[_builtins.str] encrypt_cert: The content of an SM encryption certificate in PEM format.
|
|
686
|
+
:param pulumi.Input[_builtins.str] encrypt_private_key: The private key of an SM encryption certificate in PEM format.
|
|
687
|
+
:param pulumi.Input[_builtins.str] key: The private key of a non-SM certificate in PEM format.
|
|
688
|
+
:param pulumi.Input[_builtins.str] lang: Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
|
|
689
|
+
:param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificate_name` instead.
|
|
690
|
+
:param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
|
|
691
|
+
:param pulumi.Input[_builtins.str] sign_cert: The content of an SM signing certificate in PEM format.
|
|
692
|
+
:param pulumi.Input[_builtins.str] sign_private_key: The private key of an SM signing certificate in PEM format.
|
|
693
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tag of the resource.
|
|
462
694
|
"""
|
|
463
695
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
464
696
|
|
|
@@ -466,16 +698,22 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
466
698
|
|
|
467
699
|
__props__.__dict__["cert"] = cert
|
|
468
700
|
__props__.__dict__["certificate_name"] = certificate_name
|
|
701
|
+
__props__.__dict__["encrypt_cert"] = encrypt_cert
|
|
702
|
+
__props__.__dict__["encrypt_private_key"] = encrypt_private_key
|
|
469
703
|
__props__.__dict__["key"] = key
|
|
470
704
|
__props__.__dict__["lang"] = lang
|
|
471
705
|
__props__.__dict__["name"] = name
|
|
706
|
+
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
707
|
+
__props__.__dict__["sign_cert"] = sign_cert
|
|
708
|
+
__props__.__dict__["sign_private_key"] = sign_private_key
|
|
709
|
+
__props__.__dict__["tags"] = tags
|
|
472
710
|
return ServiceCertificate(resource_name, opts=opts, __props__=__props__)
|
|
473
711
|
|
|
474
712
|
@_builtins.property
|
|
475
713
|
@pulumi.getter
|
|
476
|
-
def cert(self) -> pulumi.Output[_builtins.str]:
|
|
714
|
+
def cert(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
477
715
|
"""
|
|
478
|
-
|
|
716
|
+
The content of a non-SM certificate in PEM format.
|
|
479
717
|
"""
|
|
480
718
|
return pulumi.get(self, "cert")
|
|
481
719
|
|
|
@@ -483,33 +721,81 @@ class ServiceCertificate(pulumi.CustomResource):
|
|
|
483
721
|
@pulumi.getter(name="certificateName")
|
|
484
722
|
def certificate_name(self) -> pulumi.Output[_builtins.str]:
|
|
485
723
|
"""
|
|
486
|
-
|
|
487
|
-
**NOTE:** One of `certificate_name` and `name` must be specified.
|
|
724
|
+
A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificate_name` can be modified.
|
|
488
725
|
"""
|
|
489
726
|
return pulumi.get(self, "certificate_name")
|
|
490
727
|
|
|
728
|
+
@_builtins.property
|
|
729
|
+
@pulumi.getter(name="encryptCert")
|
|
730
|
+
def encrypt_cert(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
731
|
+
"""
|
|
732
|
+
The content of an SM encryption certificate in PEM format.
|
|
733
|
+
"""
|
|
734
|
+
return pulumi.get(self, "encrypt_cert")
|
|
735
|
+
|
|
736
|
+
@_builtins.property
|
|
737
|
+
@pulumi.getter(name="encryptPrivateKey")
|
|
738
|
+
def encrypt_private_key(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
739
|
+
"""
|
|
740
|
+
The private key of an SM encryption certificate in PEM format.
|
|
741
|
+
"""
|
|
742
|
+
return pulumi.get(self, "encrypt_private_key")
|
|
743
|
+
|
|
491
744
|
@_builtins.property
|
|
492
745
|
@pulumi.getter
|
|
493
|
-
def key(self) -> pulumi.Output[_builtins.str]:
|
|
746
|
+
def key(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
494
747
|
"""
|
|
495
|
-
|
|
748
|
+
The private key of a non-SM certificate in PEM format.
|
|
496
749
|
"""
|
|
497
750
|
return pulumi.get(self, "key")
|
|
498
751
|
|
|
499
752
|
@_builtins.property
|
|
500
753
|
@pulumi.getter
|
|
754
|
+
@_utilities.deprecated("""Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.""")
|
|
501
755
|
def lang(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
502
756
|
"""
|
|
503
|
-
|
|
757
|
+
Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
|
|
504
758
|
"""
|
|
505
759
|
return pulumi.get(self, "lang")
|
|
506
760
|
|
|
507
761
|
@_builtins.property
|
|
508
762
|
@pulumi.getter
|
|
509
|
-
@_utilities.deprecated("""
|
|
763
|
+
@_utilities.deprecated("""Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.""")
|
|
510
764
|
def name(self) -> pulumi.Output[_builtins.str]:
|
|
511
765
|
"""
|
|
512
|
-
|
|
766
|
+
Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificate_name` instead.
|
|
513
767
|
"""
|
|
514
768
|
return pulumi.get(self, "name")
|
|
515
769
|
|
|
770
|
+
@_builtins.property
|
|
771
|
+
@pulumi.getter(name="resourceGroupId")
|
|
772
|
+
def resource_group_id(self) -> pulumi.Output[_builtins.str]:
|
|
773
|
+
"""
|
|
774
|
+
The ID of the resource group.
|
|
775
|
+
"""
|
|
776
|
+
return pulumi.get(self, "resource_group_id")
|
|
777
|
+
|
|
778
|
+
@_builtins.property
|
|
779
|
+
@pulumi.getter(name="signCert")
|
|
780
|
+
def sign_cert(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
781
|
+
"""
|
|
782
|
+
The content of an SM signing certificate in PEM format.
|
|
783
|
+
"""
|
|
784
|
+
return pulumi.get(self, "sign_cert")
|
|
785
|
+
|
|
786
|
+
@_builtins.property
|
|
787
|
+
@pulumi.getter(name="signPrivateKey")
|
|
788
|
+
def sign_private_key(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
789
|
+
"""
|
|
790
|
+
The private key of an SM signing certificate in PEM format.
|
|
791
|
+
"""
|
|
792
|
+
return pulumi.get(self, "sign_private_key")
|
|
793
|
+
|
|
794
|
+
@_builtins.property
|
|
795
|
+
@pulumi.getter
|
|
796
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
797
|
+
"""
|
|
798
|
+
The tag of the resource.
|
|
799
|
+
"""
|
|
800
|
+
return pulumi.get(self, "tags")
|
|
801
|
+
|