pulumi-alicloud 3.60.0a1721884766__py3-none-any.whl → 3.60.0a1721952598__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. pulumi_alicloud/_utilities.py +2 -0
  2. pulumi_alicloud/cen/get_transit_router_service.py +2 -2
  3. pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
  4. pulumi_alicloud/cs/node_pool.py +7 -7
  5. pulumi_alicloud/dcdn/_inputs.py +23 -27
  6. pulumi_alicloud/dcdn/domain.py +366 -217
  7. pulumi_alicloud/dcdn/outputs.py +18 -22
  8. pulumi_alicloud/directmail/get_domains.py +31 -24
  9. pulumi_alicloud/directmail/outputs.py +131 -32
  10. pulumi_alicloud/eci/_inputs.py +8 -0
  11. pulumi_alicloud/eci/outputs.py +8 -0
  12. pulumi_alicloud/ecs/_inputs.py +40 -8
  13. pulumi_alicloud/ecs/ecs_disk.py +7 -0
  14. pulumi_alicloud/ecs/instance.py +304 -102
  15. pulumi_alicloud/ecs/outputs.py +37 -9
  16. pulumi_alicloud/maxcompute/_inputs.py +44 -42
  17. pulumi_alicloud/maxcompute/outputs.py +44 -42
  18. pulumi_alicloud/maxcompute/project.py +230 -66
  19. pulumi_alicloud/polardb/cluster.py +28 -28
  20. pulumi_alicloud/pulumi-plugin.json +1 -1
  21. pulumi_alicloud/rdc/organization.py +2 -2
  22. pulumi_alicloud/slb/_inputs.py +8 -8
  23. pulumi_alicloud/slb/outputs.py +8 -8
  24. pulumi_alicloud/slb/server_group.py +140 -84
  25. pulumi_alicloud/vpc/_inputs.py +18 -12
  26. pulumi_alicloud/vpc/network.py +332 -134
  27. pulumi_alicloud/vpc/outputs.py +18 -12
  28. pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
  29. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/METADATA +1 -1
  30. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/RECORD +32 -32
  31. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/WHEEL +0 -0
  32. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/top_level.txt +0 -0
@@ -17,14 +17,17 @@ __all__ = ['DomainArgs', 'Domain']
17
17
  class DomainArgs:
18
18
  def __init__(__self__, *,
19
19
  domain_name: pulumi.Input[str],
20
- sources: pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]],
20
+ cert_id: Optional[pulumi.Input[str]] = None,
21
21
  cert_name: Optional[pulumi.Input[str]] = None,
22
+ cert_region: Optional[pulumi.Input[str]] = None,
22
23
  cert_type: Optional[pulumi.Input[str]] = None,
23
24
  check_url: Optional[pulumi.Input[str]] = None,
24
- force_set: Optional[pulumi.Input[str]] = None,
25
+ env: Optional[pulumi.Input[str]] = None,
26
+ function_type: Optional[pulumi.Input[str]] = None,
25
27
  resource_group_id: Optional[pulumi.Input[str]] = None,
28
+ scene: Optional[pulumi.Input[str]] = None,
26
29
  scope: Optional[pulumi.Input[str]] = None,
27
- security_token: Optional[pulumi.Input[str]] = None,
30
+ sources: Optional[pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]]] = None,
28
31
  ssl_pri: Optional[pulumi.Input[str]] = None,
29
32
  ssl_protocol: Optional[pulumi.Input[str]] = None,
30
33
  ssl_pub: Optional[pulumi.Input[str]] = None,
@@ -33,41 +36,48 @@ class DomainArgs:
33
36
  top_level_domain: Optional[pulumi.Input[str]] = None):
34
37
  """
35
38
  The set of arguments for constructing a Domain resource.
36
- :param pulumi.Input[str] domain_name: The name of the accelerated domain.
37
- :param pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]] sources: The origin information. See `sources` below.
38
- :param pulumi.Input[str] cert_name: Indicates the name of the certificate if the HTTPS protocol is enabled.
39
- :param pulumi.Input[str] cert_type: The type of the certificate. Valid values:
40
- `free`: a free certificate.
41
- `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
42
- `upload`: a user uploaded certificate.
43
- :param pulumi.Input[str] check_url: The URL that is used to test the accessibility of the origin.
44
- :param pulumi.Input[str] force_set: Specifies whether to check the certificate name for duplicates. If you set the value to 1, the system does not perform the check and overwrites the information of the existing certificate with the same name.
45
- :param pulumi.Input[str] resource_group_id: The ID of the resource group.
46
- :param pulumi.Input[str] scope: The acceleration region.
47
- :param pulumi.Input[str] security_token: The top-level domain name.
48
- :param pulumi.Input[str] ssl_pri: The private key. Specify this parameter only if you enable the SSL certificate.
49
- :param pulumi.Input[str] ssl_protocol: Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
50
- :param pulumi.Input[str] ssl_pub: Indicates the public key of the certificate if the HTTPS protocol is enabled.
51
- :param pulumi.Input[str] status: The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
52
- :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
53
- :param pulumi.Input[str] top_level_domain: The top-level domain name.
39
+ :param pulumi.Input[str] domain_name: The accelerated domain name. You can specify multiple domain names and separate them with commas (,). You can specify up to 500 domain names in each request. The query results of multiple domain names are aggregated. If you do not specify this parameter, data of all accelerated domain names under your account is queried.
40
+ :param pulumi.Input[str] cert_id: The certificate ID. This parameter is required and valid only when `CertType` is set to `cas`. If you specify this parameter, an existing certificate is used.
41
+ :param pulumi.Input[str] cert_name: The name of the new certificate. You can specify only one certificate name. This parameter is optional and valid only when `CertType` is set to `upload`.
42
+ :param pulumi.Input[str] cert_region: The region of the SSL certificate. This parameter takes effect only when `CertType` is set to `cas`. Default value: **cn-hangzhou**. Valid values: **cn-hangzhou** and **ap-southeast-1**.
43
+ :param pulumi.Input[str] cert_type: The certificate type.
44
+ :param pulumi.Input[str] check_url: The URL that is used for health checks.
45
+ :param pulumi.Input[str] env: Specifies whether the certificate is issued in canary releases. If you set this parameter to `staging`, the certificate is issued in canary releases. If you do not specify this parameter or set this parameter to other values, the certificate is officially issued.
46
+ :param pulumi.Input[str] function_type: Computing service type. Valid values:
47
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. If you do not specify a value for this parameter, the system automatically assigns the ID of the default resource group.
48
+ :param pulumi.Input[str] scene: The Acceleration scen. Supported:
49
+ :param pulumi.Input[str] scope: The region where the acceleration service is deployed. Valid values:
50
+ :param pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]] sources: Source See `sources` below.
51
+ :param pulumi.Input[str] ssl_pri: The private key. Specify the private key only if you want to enable the SSL certificate.
52
+ :param pulumi.Input[str] ssl_protocol: Specifies whether to enable the SSL certificate. Valid values:
53
+ :param pulumi.Input[str] ssl_pub: The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
54
+ :param pulumi.Input[str] status: The status of the domain name. Valid values:
55
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
56
+ :param pulumi.Input[str] top_level_domain: The top-level domain.
54
57
  """
55
58
  pulumi.set(__self__, "domain_name", domain_name)
56
- pulumi.set(__self__, "sources", sources)
59
+ if cert_id is not None:
60
+ pulumi.set(__self__, "cert_id", cert_id)
57
61
  if cert_name is not None:
58
62
  pulumi.set(__self__, "cert_name", cert_name)
63
+ if cert_region is not None:
64
+ pulumi.set(__self__, "cert_region", cert_region)
59
65
  if cert_type is not None:
60
66
  pulumi.set(__self__, "cert_type", cert_type)
61
67
  if check_url is not None:
62
68
  pulumi.set(__self__, "check_url", check_url)
63
- if force_set is not None:
64
- pulumi.set(__self__, "force_set", force_set)
69
+ if env is not None:
70
+ pulumi.set(__self__, "env", env)
71
+ if function_type is not None:
72
+ pulumi.set(__self__, "function_type", function_type)
65
73
  if resource_group_id is not None:
66
74
  pulumi.set(__self__, "resource_group_id", resource_group_id)
75
+ if scene is not None:
76
+ pulumi.set(__self__, "scene", scene)
67
77
  if scope is not None:
68
78
  pulumi.set(__self__, "scope", scope)
69
- if security_token is not None:
70
- pulumi.set(__self__, "security_token", security_token)
79
+ if sources is not None:
80
+ pulumi.set(__self__, "sources", sources)
71
81
  if ssl_pri is not None:
72
82
  pulumi.set(__self__, "ssl_pri", ssl_pri)
73
83
  if ssl_protocol is not None:
@@ -85,7 +95,7 @@ class DomainArgs:
85
95
  @pulumi.getter(name="domainName")
86
96
  def domain_name(self) -> pulumi.Input[str]:
87
97
  """
88
- The name of the accelerated domain.
98
+ The accelerated domain name. You can specify multiple domain names and separate them with commas (,). You can specify up to 500 domain names in each request. The query results of multiple domain names are aggregated. If you do not specify this parameter, data of all accelerated domain names under your account is queried.
89
99
  """
90
100
  return pulumi.get(self, "domain_name")
91
101
 
@@ -94,22 +104,22 @@ class DomainArgs:
94
104
  pulumi.set(self, "domain_name", value)
95
105
 
96
106
  @property
97
- @pulumi.getter
98
- def sources(self) -> pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]]:
107
+ @pulumi.getter(name="certId")
108
+ def cert_id(self) -> Optional[pulumi.Input[str]]:
99
109
  """
100
- The origin information. See `sources` below.
110
+ The certificate ID. This parameter is required and valid only when `CertType` is set to `cas`. If you specify this parameter, an existing certificate is used.
101
111
  """
102
- return pulumi.get(self, "sources")
112
+ return pulumi.get(self, "cert_id")
103
113
 
104
- @sources.setter
105
- def sources(self, value: pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]]):
106
- pulumi.set(self, "sources", value)
114
+ @cert_id.setter
115
+ def cert_id(self, value: Optional[pulumi.Input[str]]):
116
+ pulumi.set(self, "cert_id", value)
107
117
 
108
118
  @property
109
119
  @pulumi.getter(name="certName")
110
120
  def cert_name(self) -> Optional[pulumi.Input[str]]:
111
121
  """
112
- Indicates the name of the certificate if the HTTPS protocol is enabled.
122
+ The name of the new certificate. You can specify only one certificate name. This parameter is optional and valid only when `CertType` is set to `upload`.
113
123
  """
114
124
  return pulumi.get(self, "cert_name")
115
125
 
@@ -117,14 +127,23 @@ class DomainArgs:
117
127
  def cert_name(self, value: Optional[pulumi.Input[str]]):
118
128
  pulumi.set(self, "cert_name", value)
119
129
 
130
+ @property
131
+ @pulumi.getter(name="certRegion")
132
+ def cert_region(self) -> Optional[pulumi.Input[str]]:
133
+ """
134
+ The region of the SSL certificate. This parameter takes effect only when `CertType` is set to `cas`. Default value: **cn-hangzhou**. Valid values: **cn-hangzhou** and **ap-southeast-1**.
135
+ """
136
+ return pulumi.get(self, "cert_region")
137
+
138
+ @cert_region.setter
139
+ def cert_region(self, value: Optional[pulumi.Input[str]]):
140
+ pulumi.set(self, "cert_region", value)
141
+
120
142
  @property
121
143
  @pulumi.getter(name="certType")
122
144
  def cert_type(self) -> Optional[pulumi.Input[str]]:
123
145
  """
124
- The type of the certificate. Valid values:
125
- `free`: a free certificate.
126
- `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
127
- `upload`: a user uploaded certificate.
146
+ The certificate type.
128
147
  """
129
148
  return pulumi.get(self, "cert_type")
130
149
 
@@ -136,7 +155,7 @@ class DomainArgs:
136
155
  @pulumi.getter(name="checkUrl")
137
156
  def check_url(self) -> Optional[pulumi.Input[str]]:
138
157
  """
139
- The URL that is used to test the accessibility of the origin.
158
+ The URL that is used for health checks.
140
159
  """
141
160
  return pulumi.get(self, "check_url")
142
161
 
@@ -145,22 +164,34 @@ class DomainArgs:
145
164
  pulumi.set(self, "check_url", value)
146
165
 
147
166
  @property
148
- @pulumi.getter(name="forceSet")
149
- def force_set(self) -> Optional[pulumi.Input[str]]:
167
+ @pulumi.getter
168
+ def env(self) -> Optional[pulumi.Input[str]]:
169
+ """
170
+ Specifies whether the certificate is issued in canary releases. If you set this parameter to `staging`, the certificate is issued in canary releases. If you do not specify this parameter or set this parameter to other values, the certificate is officially issued.
171
+ """
172
+ return pulumi.get(self, "env")
173
+
174
+ @env.setter
175
+ def env(self, value: Optional[pulumi.Input[str]]):
176
+ pulumi.set(self, "env", value)
177
+
178
+ @property
179
+ @pulumi.getter(name="functionType")
180
+ def function_type(self) -> Optional[pulumi.Input[str]]:
150
181
  """
151
- Specifies whether to check the certificate name for duplicates. If you set the value to 1, the system does not perform the check and overwrites the information of the existing certificate with the same name.
182
+ Computing service type. Valid values:
152
183
  """
153
- return pulumi.get(self, "force_set")
184
+ return pulumi.get(self, "function_type")
154
185
 
155
- @force_set.setter
156
- def force_set(self, value: Optional[pulumi.Input[str]]):
157
- pulumi.set(self, "force_set", value)
186
+ @function_type.setter
187
+ def function_type(self, value: Optional[pulumi.Input[str]]):
188
+ pulumi.set(self, "function_type", value)
158
189
 
159
190
  @property
160
191
  @pulumi.getter(name="resourceGroupId")
161
192
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
162
193
  """
163
- The ID of the resource group.
194
+ The ID of the resource group. If you do not specify a value for this parameter, the system automatically assigns the ID of the default resource group.
164
195
  """
165
196
  return pulumi.get(self, "resource_group_id")
166
197
 
@@ -168,11 +199,23 @@ class DomainArgs:
168
199
  def resource_group_id(self, value: Optional[pulumi.Input[str]]):
169
200
  pulumi.set(self, "resource_group_id", value)
170
201
 
202
+ @property
203
+ @pulumi.getter
204
+ def scene(self) -> Optional[pulumi.Input[str]]:
205
+ """
206
+ The Acceleration scen. Supported:
207
+ """
208
+ return pulumi.get(self, "scene")
209
+
210
+ @scene.setter
211
+ def scene(self, value: Optional[pulumi.Input[str]]):
212
+ pulumi.set(self, "scene", value)
213
+
171
214
  @property
172
215
  @pulumi.getter
173
216
  def scope(self) -> Optional[pulumi.Input[str]]:
174
217
  """
175
- The acceleration region.
218
+ The region where the acceleration service is deployed. Valid values:
176
219
  """
177
220
  return pulumi.get(self, "scope")
178
221
 
@@ -181,22 +224,22 @@ class DomainArgs:
181
224
  pulumi.set(self, "scope", value)
182
225
 
183
226
  @property
184
- @pulumi.getter(name="securityToken")
185
- def security_token(self) -> Optional[pulumi.Input[str]]:
227
+ @pulumi.getter
228
+ def sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]]]:
186
229
  """
187
- The top-level domain name.
230
+ Source See `sources` below.
188
231
  """
189
- return pulumi.get(self, "security_token")
232
+ return pulumi.get(self, "sources")
190
233
 
191
- @security_token.setter
192
- def security_token(self, value: Optional[pulumi.Input[str]]):
193
- pulumi.set(self, "security_token", value)
234
+ @sources.setter
235
+ def sources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]]]):
236
+ pulumi.set(self, "sources", value)
194
237
 
195
238
  @property
196
239
  @pulumi.getter(name="sslPri")
197
240
  def ssl_pri(self) -> Optional[pulumi.Input[str]]:
198
241
  """
199
- The private key. Specify this parameter only if you enable the SSL certificate.
242
+ The private key. Specify the private key only if you want to enable the SSL certificate.
200
243
  """
201
244
  return pulumi.get(self, "ssl_pri")
202
245
 
@@ -208,7 +251,7 @@ class DomainArgs:
208
251
  @pulumi.getter(name="sslProtocol")
209
252
  def ssl_protocol(self) -> Optional[pulumi.Input[str]]:
210
253
  """
211
- Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
254
+ Specifies whether to enable the SSL certificate. Valid values:
212
255
  """
213
256
  return pulumi.get(self, "ssl_protocol")
214
257
 
@@ -220,7 +263,7 @@ class DomainArgs:
220
263
  @pulumi.getter(name="sslPub")
221
264
  def ssl_pub(self) -> Optional[pulumi.Input[str]]:
222
265
  """
223
- Indicates the public key of the certificate if the HTTPS protocol is enabled.
266
+ The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
224
267
  """
225
268
  return pulumi.get(self, "ssl_pub")
226
269
 
@@ -232,7 +275,7 @@ class DomainArgs:
232
275
  @pulumi.getter
233
276
  def status(self) -> Optional[pulumi.Input[str]]:
234
277
  """
235
- The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
278
+ The status of the domain name. Valid values:
236
279
  """
237
280
  return pulumi.get(self, "status")
238
281
 
@@ -244,7 +287,7 @@ class DomainArgs:
244
287
  @pulumi.getter
245
288
  def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
246
289
  """
247
- A mapping of tags to assign to the resource.
290
+ The tag of the resource
248
291
  """
249
292
  return pulumi.get(self, "tags")
250
293
 
@@ -256,7 +299,7 @@ class DomainArgs:
256
299
  @pulumi.getter(name="topLevelDomain")
257
300
  def top_level_domain(self) -> Optional[pulumi.Input[str]]:
258
301
  """
259
- The top-level domain name.
302
+ The top-level domain.
260
303
  """
261
304
  return pulumi.get(self, "top_level_domain")
262
305
 
@@ -268,15 +311,19 @@ class DomainArgs:
268
311
  @pulumi.input_type
269
312
  class _DomainState:
270
313
  def __init__(__self__, *,
314
+ cert_id: Optional[pulumi.Input[str]] = None,
271
315
  cert_name: Optional[pulumi.Input[str]] = None,
316
+ cert_region: Optional[pulumi.Input[str]] = None,
272
317
  cert_type: Optional[pulumi.Input[str]] = None,
273
318
  check_url: Optional[pulumi.Input[str]] = None,
274
319
  cname: Optional[pulumi.Input[str]] = None,
320
+ create_time: Optional[pulumi.Input[str]] = None,
275
321
  domain_name: Optional[pulumi.Input[str]] = None,
276
- force_set: Optional[pulumi.Input[str]] = None,
322
+ env: Optional[pulumi.Input[str]] = None,
323
+ function_type: Optional[pulumi.Input[str]] = None,
277
324
  resource_group_id: Optional[pulumi.Input[str]] = None,
325
+ scene: Optional[pulumi.Input[str]] = None,
278
326
  scope: Optional[pulumi.Input[str]] = None,
279
- security_token: Optional[pulumi.Input[str]] = None,
280
327
  sources: Optional[pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]]] = None,
281
328
  ssl_pri: Optional[pulumi.Input[str]] = None,
282
329
  ssl_protocol: Optional[pulumi.Input[str]] = None,
@@ -286,44 +333,53 @@ class _DomainState:
286
333
  top_level_domain: Optional[pulumi.Input[str]] = None):
287
334
  """
288
335
  Input properties used for looking up and filtering Domain resources.
289
- :param pulumi.Input[str] cert_name: Indicates the name of the certificate if the HTTPS protocol is enabled.
290
- :param pulumi.Input[str] cert_type: The type of the certificate. Valid values:
291
- `free`: a free certificate.
292
- `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
293
- `upload`: a user uploaded certificate.
294
- :param pulumi.Input[str] check_url: The URL that is used to test the accessibility of the origin.
295
- :param pulumi.Input[str] cname: (Available in 1.198.0+)- The canonical name (CNAME) of the accelerated domain.
296
- :param pulumi.Input[str] domain_name: The name of the accelerated domain.
297
- :param pulumi.Input[str] force_set: Specifies whether to check the certificate name for duplicates. If you set the value to 1, the system does not perform the check and overwrites the information of the existing certificate with the same name.
298
- :param pulumi.Input[str] resource_group_id: The ID of the resource group.
299
- :param pulumi.Input[str] scope: The acceleration region.
300
- :param pulumi.Input[str] security_token: The top-level domain name.
301
- :param pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]] sources: The origin information. See `sources` below.
302
- :param pulumi.Input[str] ssl_pri: The private key. Specify this parameter only if you enable the SSL certificate.
303
- :param pulumi.Input[str] ssl_protocol: Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
304
- :param pulumi.Input[str] ssl_pub: Indicates the public key of the certificate if the HTTPS protocol is enabled.
305
- :param pulumi.Input[str] status: The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
306
- :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
307
- :param pulumi.Input[str] top_level_domain: The top-level domain name.
308
- """
336
+ :param pulumi.Input[str] cert_id: The certificate ID. This parameter is required and valid only when `CertType` is set to `cas`. If you specify this parameter, an existing certificate is used.
337
+ :param pulumi.Input[str] cert_name: The name of the new certificate. You can specify only one certificate name. This parameter is optional and valid only when `CertType` is set to `upload`.
338
+ :param pulumi.Input[str] cert_region: The region of the SSL certificate. This parameter takes effect only when `CertType` is set to `cas`. Default value: **cn-hangzhou**. Valid values: **cn-hangzhou** and **ap-southeast-1**.
339
+ :param pulumi.Input[str] cert_type: The certificate type.
340
+ :param pulumi.Input[str] check_url: The URL that is used for health checks.
341
+ :param pulumi.Input[str] cname: The CNAME domain name corresponding to the accelerated domain name.
342
+ :param pulumi.Input[str] create_time: The time when the accelerated domain name was created.
343
+ :param pulumi.Input[str] domain_name: The accelerated domain name. You can specify multiple domain names and separate them with commas (,). You can specify up to 500 domain names in each request. The query results of multiple domain names are aggregated. If you do not specify this parameter, data of all accelerated domain names under your account is queried.
344
+ :param pulumi.Input[str] env: Specifies whether the certificate is issued in canary releases. If you set this parameter to `staging`, the certificate is issued in canary releases. If you do not specify this parameter or set this parameter to other values, the certificate is officially issued.
345
+ :param pulumi.Input[str] function_type: Computing service type. Valid values:
346
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. If you do not specify a value for this parameter, the system automatically assigns the ID of the default resource group.
347
+ :param pulumi.Input[str] scene: The Acceleration scen. Supported:
348
+ :param pulumi.Input[str] scope: The region where the acceleration service is deployed. Valid values:
349
+ :param pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]] sources: Source See `sources` below.
350
+ :param pulumi.Input[str] ssl_pri: The private key. Specify the private key only if you want to enable the SSL certificate.
351
+ :param pulumi.Input[str] ssl_protocol: Specifies whether to enable the SSL certificate. Valid values:
352
+ :param pulumi.Input[str] ssl_pub: The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
353
+ :param pulumi.Input[str] status: The status of the domain name. Valid values:
354
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
355
+ :param pulumi.Input[str] top_level_domain: The top-level domain.
356
+ """
357
+ if cert_id is not None:
358
+ pulumi.set(__self__, "cert_id", cert_id)
309
359
  if cert_name is not None:
310
360
  pulumi.set(__self__, "cert_name", cert_name)
361
+ if cert_region is not None:
362
+ pulumi.set(__self__, "cert_region", cert_region)
311
363
  if cert_type is not None:
312
364
  pulumi.set(__self__, "cert_type", cert_type)
313
365
  if check_url is not None:
314
366
  pulumi.set(__self__, "check_url", check_url)
315
367
  if cname is not None:
316
368
  pulumi.set(__self__, "cname", cname)
369
+ if create_time is not None:
370
+ pulumi.set(__self__, "create_time", create_time)
317
371
  if domain_name is not None:
318
372
  pulumi.set(__self__, "domain_name", domain_name)
319
- if force_set is not None:
320
- pulumi.set(__self__, "force_set", force_set)
373
+ if env is not None:
374
+ pulumi.set(__self__, "env", env)
375
+ if function_type is not None:
376
+ pulumi.set(__self__, "function_type", function_type)
321
377
  if resource_group_id is not None:
322
378
  pulumi.set(__self__, "resource_group_id", resource_group_id)
379
+ if scene is not None:
380
+ pulumi.set(__self__, "scene", scene)
323
381
  if scope is not None:
324
382
  pulumi.set(__self__, "scope", scope)
325
- if security_token is not None:
326
- pulumi.set(__self__, "security_token", security_token)
327
383
  if sources is not None:
328
384
  pulumi.set(__self__, "sources", sources)
329
385
  if ssl_pri is not None:
@@ -339,11 +395,23 @@ class _DomainState:
339
395
  if top_level_domain is not None:
340
396
  pulumi.set(__self__, "top_level_domain", top_level_domain)
341
397
 
398
+ @property
399
+ @pulumi.getter(name="certId")
400
+ def cert_id(self) -> Optional[pulumi.Input[str]]:
401
+ """
402
+ The certificate ID. This parameter is required and valid only when `CertType` is set to `cas`. If you specify this parameter, an existing certificate is used.
403
+ """
404
+ return pulumi.get(self, "cert_id")
405
+
406
+ @cert_id.setter
407
+ def cert_id(self, value: Optional[pulumi.Input[str]]):
408
+ pulumi.set(self, "cert_id", value)
409
+
342
410
  @property
343
411
  @pulumi.getter(name="certName")
344
412
  def cert_name(self) -> Optional[pulumi.Input[str]]:
345
413
  """
346
- Indicates the name of the certificate if the HTTPS protocol is enabled.
414
+ The name of the new certificate. You can specify only one certificate name. This parameter is optional and valid only when `CertType` is set to `upload`.
347
415
  """
348
416
  return pulumi.get(self, "cert_name")
349
417
 
@@ -351,14 +419,23 @@ class _DomainState:
351
419
  def cert_name(self, value: Optional[pulumi.Input[str]]):
352
420
  pulumi.set(self, "cert_name", value)
353
421
 
422
+ @property
423
+ @pulumi.getter(name="certRegion")
424
+ def cert_region(self) -> Optional[pulumi.Input[str]]:
425
+ """
426
+ The region of the SSL certificate. This parameter takes effect only when `CertType` is set to `cas`. Default value: **cn-hangzhou**. Valid values: **cn-hangzhou** and **ap-southeast-1**.
427
+ """
428
+ return pulumi.get(self, "cert_region")
429
+
430
+ @cert_region.setter
431
+ def cert_region(self, value: Optional[pulumi.Input[str]]):
432
+ pulumi.set(self, "cert_region", value)
433
+
354
434
  @property
355
435
  @pulumi.getter(name="certType")
356
436
  def cert_type(self) -> Optional[pulumi.Input[str]]:
357
437
  """
358
- The type of the certificate. Valid values:
359
- `free`: a free certificate.
360
- `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
361
- `upload`: a user uploaded certificate.
438
+ The certificate type.
362
439
  """
363
440
  return pulumi.get(self, "cert_type")
364
441
 
@@ -370,7 +447,7 @@ class _DomainState:
370
447
  @pulumi.getter(name="checkUrl")
371
448
  def check_url(self) -> Optional[pulumi.Input[str]]:
372
449
  """
373
- The URL that is used to test the accessibility of the origin.
450
+ The URL that is used for health checks.
374
451
  """
375
452
  return pulumi.get(self, "check_url")
376
453
 
@@ -382,7 +459,7 @@ class _DomainState:
382
459
  @pulumi.getter
383
460
  def cname(self) -> Optional[pulumi.Input[str]]:
384
461
  """
385
- (Available in 1.198.0+)- The canonical name (CNAME) of the accelerated domain.
462
+ The CNAME domain name corresponding to the accelerated domain name.
386
463
  """
387
464
  return pulumi.get(self, "cname")
388
465
 
@@ -390,11 +467,23 @@ class _DomainState:
390
467
  def cname(self, value: Optional[pulumi.Input[str]]):
391
468
  pulumi.set(self, "cname", value)
392
469
 
470
+ @property
471
+ @pulumi.getter(name="createTime")
472
+ def create_time(self) -> Optional[pulumi.Input[str]]:
473
+ """
474
+ The time when the accelerated domain name was created.
475
+ """
476
+ return pulumi.get(self, "create_time")
477
+
478
+ @create_time.setter
479
+ def create_time(self, value: Optional[pulumi.Input[str]]):
480
+ pulumi.set(self, "create_time", value)
481
+
393
482
  @property
394
483
  @pulumi.getter(name="domainName")
395
484
  def domain_name(self) -> Optional[pulumi.Input[str]]:
396
485
  """
397
- The name of the accelerated domain.
486
+ The accelerated domain name. You can specify multiple domain names and separate them with commas (,). You can specify up to 500 domain names in each request. The query results of multiple domain names are aggregated. If you do not specify this parameter, data of all accelerated domain names under your account is queried.
398
487
  """
399
488
  return pulumi.get(self, "domain_name")
400
489
 
@@ -403,22 +492,34 @@ class _DomainState:
403
492
  pulumi.set(self, "domain_name", value)
404
493
 
405
494
  @property
406
- @pulumi.getter(name="forceSet")
407
- def force_set(self) -> Optional[pulumi.Input[str]]:
495
+ @pulumi.getter
496
+ def env(self) -> Optional[pulumi.Input[str]]:
408
497
  """
409
- Specifies whether to check the certificate name for duplicates. If you set the value to 1, the system does not perform the check and overwrites the information of the existing certificate with the same name.
498
+ Specifies whether the certificate is issued in canary releases. If you set this parameter to `staging`, the certificate is issued in canary releases. If you do not specify this parameter or set this parameter to other values, the certificate is officially issued.
410
499
  """
411
- return pulumi.get(self, "force_set")
500
+ return pulumi.get(self, "env")
412
501
 
413
- @force_set.setter
414
- def force_set(self, value: Optional[pulumi.Input[str]]):
415
- pulumi.set(self, "force_set", value)
502
+ @env.setter
503
+ def env(self, value: Optional[pulumi.Input[str]]):
504
+ pulumi.set(self, "env", value)
505
+
506
+ @property
507
+ @pulumi.getter(name="functionType")
508
+ def function_type(self) -> Optional[pulumi.Input[str]]:
509
+ """
510
+ Computing service type. Valid values:
511
+ """
512
+ return pulumi.get(self, "function_type")
513
+
514
+ @function_type.setter
515
+ def function_type(self, value: Optional[pulumi.Input[str]]):
516
+ pulumi.set(self, "function_type", value)
416
517
 
417
518
  @property
418
519
  @pulumi.getter(name="resourceGroupId")
419
520
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
420
521
  """
421
- The ID of the resource group.
522
+ The ID of the resource group. If you do not specify a value for this parameter, the system automatically assigns the ID of the default resource group.
422
523
  """
423
524
  return pulumi.get(self, "resource_group_id")
424
525
 
@@ -428,33 +529,33 @@ class _DomainState:
428
529
 
429
530
  @property
430
531
  @pulumi.getter
431
- def scope(self) -> Optional[pulumi.Input[str]]:
532
+ def scene(self) -> Optional[pulumi.Input[str]]:
432
533
  """
433
- The acceleration region.
534
+ The Acceleration scen. Supported:
434
535
  """
435
- return pulumi.get(self, "scope")
536
+ return pulumi.get(self, "scene")
436
537
 
437
- @scope.setter
438
- def scope(self, value: Optional[pulumi.Input[str]]):
439
- pulumi.set(self, "scope", value)
538
+ @scene.setter
539
+ def scene(self, value: Optional[pulumi.Input[str]]):
540
+ pulumi.set(self, "scene", value)
440
541
 
441
542
  @property
442
- @pulumi.getter(name="securityToken")
443
- def security_token(self) -> Optional[pulumi.Input[str]]:
543
+ @pulumi.getter
544
+ def scope(self) -> Optional[pulumi.Input[str]]:
444
545
  """
445
- The top-level domain name.
546
+ The region where the acceleration service is deployed. Valid values:
446
547
  """
447
- return pulumi.get(self, "security_token")
548
+ return pulumi.get(self, "scope")
448
549
 
449
- @security_token.setter
450
- def security_token(self, value: Optional[pulumi.Input[str]]):
451
- pulumi.set(self, "security_token", value)
550
+ @scope.setter
551
+ def scope(self, value: Optional[pulumi.Input[str]]):
552
+ pulumi.set(self, "scope", value)
452
553
 
453
554
  @property
454
555
  @pulumi.getter
455
556
  def sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DomainSourceArgs']]]]:
456
557
  """
457
- The origin information. See `sources` below.
558
+ Source See `sources` below.
458
559
  """
459
560
  return pulumi.get(self, "sources")
460
561
 
@@ -466,7 +567,7 @@ class _DomainState:
466
567
  @pulumi.getter(name="sslPri")
467
568
  def ssl_pri(self) -> Optional[pulumi.Input[str]]:
468
569
  """
469
- The private key. Specify this parameter only if you enable the SSL certificate.
570
+ The private key. Specify the private key only if you want to enable the SSL certificate.
470
571
  """
471
572
  return pulumi.get(self, "ssl_pri")
472
573
 
@@ -478,7 +579,7 @@ class _DomainState:
478
579
  @pulumi.getter(name="sslProtocol")
479
580
  def ssl_protocol(self) -> Optional[pulumi.Input[str]]:
480
581
  """
481
- Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
582
+ Specifies whether to enable the SSL certificate. Valid values:
482
583
  """
483
584
  return pulumi.get(self, "ssl_protocol")
484
585
 
@@ -490,7 +591,7 @@ class _DomainState:
490
591
  @pulumi.getter(name="sslPub")
491
592
  def ssl_pub(self) -> Optional[pulumi.Input[str]]:
492
593
  """
493
- Indicates the public key of the certificate if the HTTPS protocol is enabled.
594
+ The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
494
595
  """
495
596
  return pulumi.get(self, "ssl_pub")
496
597
 
@@ -502,7 +603,7 @@ class _DomainState:
502
603
  @pulumi.getter
503
604
  def status(self) -> Optional[pulumi.Input[str]]:
504
605
  """
505
- The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
606
+ The status of the domain name. Valid values:
506
607
  """
507
608
  return pulumi.get(self, "status")
508
609
 
@@ -514,7 +615,7 @@ class _DomainState:
514
615
  @pulumi.getter
515
616
  def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
516
617
  """
517
- A mapping of tags to assign to the resource.
618
+ The tag of the resource
518
619
  """
519
620
  return pulumi.get(self, "tags")
520
621
 
@@ -526,7 +627,7 @@ class _DomainState:
526
627
  @pulumi.getter(name="topLevelDomain")
527
628
  def top_level_domain(self) -> Optional[pulumi.Input[str]]:
528
629
  """
529
- The top-level domain name.
630
+ The top-level domain.
530
631
  """
531
632
  return pulumi.get(self, "top_level_domain")
532
633
 
@@ -540,14 +641,17 @@ class Domain(pulumi.CustomResource):
540
641
  def __init__(__self__,
541
642
  resource_name: str,
542
643
  opts: Optional[pulumi.ResourceOptions] = None,
644
+ cert_id: Optional[pulumi.Input[str]] = None,
543
645
  cert_name: Optional[pulumi.Input[str]] = None,
646
+ cert_region: Optional[pulumi.Input[str]] = None,
544
647
  cert_type: Optional[pulumi.Input[str]] = None,
545
648
  check_url: Optional[pulumi.Input[str]] = None,
546
649
  domain_name: Optional[pulumi.Input[str]] = None,
547
- force_set: Optional[pulumi.Input[str]] = None,
650
+ env: Optional[pulumi.Input[str]] = None,
651
+ function_type: Optional[pulumi.Input[str]] = None,
548
652
  resource_group_id: Optional[pulumi.Input[str]] = None,
653
+ scene: Optional[pulumi.Input[str]] = None,
549
654
  scope: Optional[pulumi.Input[str]] = None,
550
- security_token: Optional[pulumi.Input[str]] = None,
551
655
  sources: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainSourceArgs']]]]] = None,
552
656
  ssl_pri: Optional[pulumi.Input[str]] = None,
553
657
  ssl_protocol: Optional[pulumi.Input[str]] = None,
@@ -557,15 +661,15 @@ class Domain(pulumi.CustomResource):
557
661
  top_level_domain: Optional[pulumi.Input[str]] = None,
558
662
  __props__=None):
559
663
  """
560
- You can use DCDN to improve the overall performance of your website and accelerate content delivery to improve user experience. For information about Alicloud DCDN Domain and how to use it, see [What is Resource Alicloud DCDN Domain](https://www.alibabacloud.com/help/en/doc-detail/130628.htm).
664
+ Provides a DCDN Domain resource.
561
665
 
562
- > **NOTE:** Available since v1.94.0.
666
+ Full station accelerated domain name.
563
667
 
564
- > **NOTE:** You must activate the Dynamic Route for CDN (DCDN) service before you create an accelerated domain.
668
+ For information about DCDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/doc-detail/130628.htm).
565
669
 
566
- > **NOTE:** Make sure that you have obtained an Internet content provider (ICP) filling for the accelerated domain.
670
+ > **NOTE:** Available since v1.94.0.
567
671
 
568
- > **NOTE:** If the origin content is not saved on Alibaba Cloud, the content must be reviewed by Alibaba Cloud. The review will be completed by the next working day after you submit the application.
672
+ > **NOTE:** Field `force_set`, `security_token` has been removed from provider version 1.227.1.
569
673
 
570
674
  ## Example Usage
571
675
 
@@ -597,7 +701,7 @@ class Domain(pulumi.CustomResource):
597
701
 
598
702
  ## Import
599
703
 
600
- DCDN Domain can be imported using the id or DCDN Domain name, e.g.
704
+ DCDN Domain can be imported using the id, e.g.
601
705
 
602
706
  ```sh
603
707
  $ pulumi import alicloud:dcdn/domain:Domain example <id>
@@ -605,24 +709,24 @@ class Domain(pulumi.CustomResource):
605
709
 
606
710
  :param str resource_name: The name of the resource.
607
711
  :param pulumi.ResourceOptions opts: Options for the resource.
608
- :param pulumi.Input[str] cert_name: Indicates the name of the certificate if the HTTPS protocol is enabled.
609
- :param pulumi.Input[str] cert_type: The type of the certificate. Valid values:
610
- `free`: a free certificate.
611
- `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
612
- `upload`: a user uploaded certificate.
613
- :param pulumi.Input[str] check_url: The URL that is used to test the accessibility of the origin.
614
- :param pulumi.Input[str] domain_name: The name of the accelerated domain.
615
- :param pulumi.Input[str] force_set: Specifies whether to check the certificate name for duplicates. If you set the value to 1, the system does not perform the check and overwrites the information of the existing certificate with the same name.
616
- :param pulumi.Input[str] resource_group_id: The ID of the resource group.
617
- :param pulumi.Input[str] scope: The acceleration region.
618
- :param pulumi.Input[str] security_token: The top-level domain name.
619
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainSourceArgs']]]] sources: The origin information. See `sources` below.
620
- :param pulumi.Input[str] ssl_pri: The private key. Specify this parameter only if you enable the SSL certificate.
621
- :param pulumi.Input[str] ssl_protocol: Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
622
- :param pulumi.Input[str] ssl_pub: Indicates the public key of the certificate if the HTTPS protocol is enabled.
623
- :param pulumi.Input[str] status: The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
624
- :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
625
- :param pulumi.Input[str] top_level_domain: The top-level domain name.
712
+ :param pulumi.Input[str] cert_id: The certificate ID. This parameter is required and valid only when `CertType` is set to `cas`. If you specify this parameter, an existing certificate is used.
713
+ :param pulumi.Input[str] cert_name: The name of the new certificate. You can specify only one certificate name. This parameter is optional and valid only when `CertType` is set to `upload`.
714
+ :param pulumi.Input[str] cert_region: The region of the SSL certificate. This parameter takes effect only when `CertType` is set to `cas`. Default value: **cn-hangzhou**. Valid values: **cn-hangzhou** and **ap-southeast-1**.
715
+ :param pulumi.Input[str] cert_type: The certificate type.
716
+ :param pulumi.Input[str] check_url: The URL that is used for health checks.
717
+ :param pulumi.Input[str] domain_name: The accelerated domain name. You can specify multiple domain names and separate them with commas (,). You can specify up to 500 domain names in each request. The query results of multiple domain names are aggregated. If you do not specify this parameter, data of all accelerated domain names under your account is queried.
718
+ :param pulumi.Input[str] env: Specifies whether the certificate is issued in canary releases. If you set this parameter to `staging`, the certificate is issued in canary releases. If you do not specify this parameter or set this parameter to other values, the certificate is officially issued.
719
+ :param pulumi.Input[str] function_type: Computing service type. Valid values:
720
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. If you do not specify a value for this parameter, the system automatically assigns the ID of the default resource group.
721
+ :param pulumi.Input[str] scene: The Acceleration scen. Supported:
722
+ :param pulumi.Input[str] scope: The region where the acceleration service is deployed. Valid values:
723
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainSourceArgs']]]] sources: Source See `sources` below.
724
+ :param pulumi.Input[str] ssl_pri: The private key. Specify the private key only if you want to enable the SSL certificate.
725
+ :param pulumi.Input[str] ssl_protocol: Specifies whether to enable the SSL certificate. Valid values:
726
+ :param pulumi.Input[str] ssl_pub: The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
727
+ :param pulumi.Input[str] status: The status of the domain name. Valid values:
728
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
729
+ :param pulumi.Input[str] top_level_domain: The top-level domain.
626
730
  """
627
731
  ...
628
732
  @overload
@@ -631,15 +735,15 @@ class Domain(pulumi.CustomResource):
631
735
  args: DomainArgs,
632
736
  opts: Optional[pulumi.ResourceOptions] = None):
633
737
  """
634
- You can use DCDN to improve the overall performance of your website and accelerate content delivery to improve user experience. For information about Alicloud DCDN Domain and how to use it, see [What is Resource Alicloud DCDN Domain](https://www.alibabacloud.com/help/en/doc-detail/130628.htm).
738
+ Provides a DCDN Domain resource.
635
739
 
636
- > **NOTE:** Available since v1.94.0.
740
+ Full station accelerated domain name.
637
741
 
638
- > **NOTE:** You must activate the Dynamic Route for CDN (DCDN) service before you create an accelerated domain.
742
+ For information about DCDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/doc-detail/130628.htm).
639
743
 
640
- > **NOTE:** Make sure that you have obtained an Internet content provider (ICP) filling for the accelerated domain.
744
+ > **NOTE:** Available since v1.94.0.
641
745
 
642
- > **NOTE:** If the origin content is not saved on Alibaba Cloud, the content must be reviewed by Alibaba Cloud. The review will be completed by the next working day after you submit the application.
746
+ > **NOTE:** Field `force_set`, `security_token` has been removed from provider version 1.227.1.
643
747
 
644
748
  ## Example Usage
645
749
 
@@ -671,7 +775,7 @@ class Domain(pulumi.CustomResource):
671
775
 
672
776
  ## Import
673
777
 
674
- DCDN Domain can be imported using the id or DCDN Domain name, e.g.
778
+ DCDN Domain can be imported using the id, e.g.
675
779
 
676
780
  ```sh
677
781
  $ pulumi import alicloud:dcdn/domain:Domain example <id>
@@ -692,14 +796,17 @@ class Domain(pulumi.CustomResource):
692
796
  def _internal_init(__self__,
693
797
  resource_name: str,
694
798
  opts: Optional[pulumi.ResourceOptions] = None,
799
+ cert_id: Optional[pulumi.Input[str]] = None,
695
800
  cert_name: Optional[pulumi.Input[str]] = None,
801
+ cert_region: Optional[pulumi.Input[str]] = None,
696
802
  cert_type: Optional[pulumi.Input[str]] = None,
697
803
  check_url: Optional[pulumi.Input[str]] = None,
698
804
  domain_name: Optional[pulumi.Input[str]] = None,
699
- force_set: Optional[pulumi.Input[str]] = None,
805
+ env: Optional[pulumi.Input[str]] = None,
806
+ function_type: Optional[pulumi.Input[str]] = None,
700
807
  resource_group_id: Optional[pulumi.Input[str]] = None,
808
+ scene: Optional[pulumi.Input[str]] = None,
701
809
  scope: Optional[pulumi.Input[str]] = None,
702
- security_token: Optional[pulumi.Input[str]] = None,
703
810
  sources: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainSourceArgs']]]]] = None,
704
811
  ssl_pri: Optional[pulumi.Input[str]] = None,
705
812
  ssl_protocol: Optional[pulumi.Input[str]] = None,
@@ -716,26 +823,30 @@ class Domain(pulumi.CustomResource):
716
823
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
717
824
  __props__ = DomainArgs.__new__(DomainArgs)
718
825
 
826
+ __props__.__dict__["cert_id"] = cert_id
719
827
  __props__.__dict__["cert_name"] = cert_name
828
+ __props__.__dict__["cert_region"] = cert_region
720
829
  __props__.__dict__["cert_type"] = cert_type
721
830
  __props__.__dict__["check_url"] = check_url
722
831
  if domain_name is None and not opts.urn:
723
832
  raise TypeError("Missing required property 'domain_name'")
724
833
  __props__.__dict__["domain_name"] = domain_name
725
- __props__.__dict__["force_set"] = force_set
834
+ __props__.__dict__["env"] = env
835
+ __props__.__dict__["function_type"] = function_type
726
836
  __props__.__dict__["resource_group_id"] = resource_group_id
837
+ __props__.__dict__["scene"] = scene
727
838
  __props__.__dict__["scope"] = scope
728
- __props__.__dict__["security_token"] = security_token
729
- if sources is None and not opts.urn:
730
- raise TypeError("Missing required property 'sources'")
731
839
  __props__.__dict__["sources"] = sources
732
- __props__.__dict__["ssl_pri"] = ssl_pri
840
+ __props__.__dict__["ssl_pri"] = None if ssl_pri is None else pulumi.Output.secret(ssl_pri)
733
841
  __props__.__dict__["ssl_protocol"] = ssl_protocol
734
842
  __props__.__dict__["ssl_pub"] = ssl_pub
735
843
  __props__.__dict__["status"] = status
736
844
  __props__.__dict__["tags"] = tags
737
845
  __props__.__dict__["top_level_domain"] = top_level_domain
738
846
  __props__.__dict__["cname"] = None
847
+ __props__.__dict__["create_time"] = None
848
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["sslPri"])
849
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
739
850
  super(Domain, __self__).__init__(
740
851
  'alicloud:dcdn/domain:Domain',
741
852
  resource_name,
@@ -746,15 +857,19 @@ class Domain(pulumi.CustomResource):
746
857
  def get(resource_name: str,
747
858
  id: pulumi.Input[str],
748
859
  opts: Optional[pulumi.ResourceOptions] = None,
860
+ cert_id: Optional[pulumi.Input[str]] = None,
749
861
  cert_name: Optional[pulumi.Input[str]] = None,
862
+ cert_region: Optional[pulumi.Input[str]] = None,
750
863
  cert_type: Optional[pulumi.Input[str]] = None,
751
864
  check_url: Optional[pulumi.Input[str]] = None,
752
865
  cname: Optional[pulumi.Input[str]] = None,
866
+ create_time: Optional[pulumi.Input[str]] = None,
753
867
  domain_name: Optional[pulumi.Input[str]] = None,
754
- force_set: Optional[pulumi.Input[str]] = None,
868
+ env: Optional[pulumi.Input[str]] = None,
869
+ function_type: Optional[pulumi.Input[str]] = None,
755
870
  resource_group_id: Optional[pulumi.Input[str]] = None,
871
+ scene: Optional[pulumi.Input[str]] = None,
756
872
  scope: Optional[pulumi.Input[str]] = None,
757
- security_token: Optional[pulumi.Input[str]] = None,
758
873
  sources: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainSourceArgs']]]]] = None,
759
874
  ssl_pri: Optional[pulumi.Input[str]] = None,
760
875
  ssl_protocol: Optional[pulumi.Input[str]] = None,
@@ -769,39 +884,44 @@ class Domain(pulumi.CustomResource):
769
884
  :param str resource_name: The unique name of the resulting resource.
770
885
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
771
886
  :param pulumi.ResourceOptions opts: Options for the resource.
772
- :param pulumi.Input[str] cert_name: Indicates the name of the certificate if the HTTPS protocol is enabled.
773
- :param pulumi.Input[str] cert_type: The type of the certificate. Valid values:
774
- `free`: a free certificate.
775
- `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
776
- `upload`: a user uploaded certificate.
777
- :param pulumi.Input[str] check_url: The URL that is used to test the accessibility of the origin.
778
- :param pulumi.Input[str] cname: (Available in 1.198.0+)- The canonical name (CNAME) of the accelerated domain.
779
- :param pulumi.Input[str] domain_name: The name of the accelerated domain.
780
- :param pulumi.Input[str] force_set: Specifies whether to check the certificate name for duplicates. If you set the value to 1, the system does not perform the check and overwrites the information of the existing certificate with the same name.
781
- :param pulumi.Input[str] resource_group_id: The ID of the resource group.
782
- :param pulumi.Input[str] scope: The acceleration region.
783
- :param pulumi.Input[str] security_token: The top-level domain name.
784
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainSourceArgs']]]] sources: The origin information. See `sources` below.
785
- :param pulumi.Input[str] ssl_pri: The private key. Specify this parameter only if you enable the SSL certificate.
786
- :param pulumi.Input[str] ssl_protocol: Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
787
- :param pulumi.Input[str] ssl_pub: Indicates the public key of the certificate if the HTTPS protocol is enabled.
788
- :param pulumi.Input[str] status: The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
789
- :param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
790
- :param pulumi.Input[str] top_level_domain: The top-level domain name.
887
+ :param pulumi.Input[str] cert_id: The certificate ID. This parameter is required and valid only when `CertType` is set to `cas`. If you specify this parameter, an existing certificate is used.
888
+ :param pulumi.Input[str] cert_name: The name of the new certificate. You can specify only one certificate name. This parameter is optional and valid only when `CertType` is set to `upload`.
889
+ :param pulumi.Input[str] cert_region: The region of the SSL certificate. This parameter takes effect only when `CertType` is set to `cas`. Default value: **cn-hangzhou**. Valid values: **cn-hangzhou** and **ap-southeast-1**.
890
+ :param pulumi.Input[str] cert_type: The certificate type.
891
+ :param pulumi.Input[str] check_url: The URL that is used for health checks.
892
+ :param pulumi.Input[str] cname: The CNAME domain name corresponding to the accelerated domain name.
893
+ :param pulumi.Input[str] create_time: The time when the accelerated domain name was created.
894
+ :param pulumi.Input[str] domain_name: The accelerated domain name. You can specify multiple domain names and separate them with commas (,). You can specify up to 500 domain names in each request. The query results of multiple domain names are aggregated. If you do not specify this parameter, data of all accelerated domain names under your account is queried.
895
+ :param pulumi.Input[str] env: Specifies whether the certificate is issued in canary releases. If you set this parameter to `staging`, the certificate is issued in canary releases. If you do not specify this parameter or set this parameter to other values, the certificate is officially issued.
896
+ :param pulumi.Input[str] function_type: Computing service type. Valid values:
897
+ :param pulumi.Input[str] resource_group_id: The ID of the resource group. If you do not specify a value for this parameter, the system automatically assigns the ID of the default resource group.
898
+ :param pulumi.Input[str] scene: The Acceleration scen. Supported:
899
+ :param pulumi.Input[str] scope: The region where the acceleration service is deployed. Valid values:
900
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DomainSourceArgs']]]] sources: Source See `sources` below.
901
+ :param pulumi.Input[str] ssl_pri: The private key. Specify the private key only if you want to enable the SSL certificate.
902
+ :param pulumi.Input[str] ssl_protocol: Specifies whether to enable the SSL certificate. Valid values:
903
+ :param pulumi.Input[str] ssl_pub: The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
904
+ :param pulumi.Input[str] status: The status of the domain name. Valid values:
905
+ :param pulumi.Input[Mapping[str, Any]] tags: The tag of the resource
906
+ :param pulumi.Input[str] top_level_domain: The top-level domain.
791
907
  """
792
908
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
793
909
 
794
910
  __props__ = _DomainState.__new__(_DomainState)
795
911
 
912
+ __props__.__dict__["cert_id"] = cert_id
796
913
  __props__.__dict__["cert_name"] = cert_name
914
+ __props__.__dict__["cert_region"] = cert_region
797
915
  __props__.__dict__["cert_type"] = cert_type
798
916
  __props__.__dict__["check_url"] = check_url
799
917
  __props__.__dict__["cname"] = cname
918
+ __props__.__dict__["create_time"] = create_time
800
919
  __props__.__dict__["domain_name"] = domain_name
801
- __props__.__dict__["force_set"] = force_set
920
+ __props__.__dict__["env"] = env
921
+ __props__.__dict__["function_type"] = function_type
802
922
  __props__.__dict__["resource_group_id"] = resource_group_id
923
+ __props__.__dict__["scene"] = scene
803
924
  __props__.__dict__["scope"] = scope
804
- __props__.__dict__["security_token"] = security_token
805
925
  __props__.__dict__["sources"] = sources
806
926
  __props__.__dict__["ssl_pri"] = ssl_pri
807
927
  __props__.__dict__["ssl_protocol"] = ssl_protocol
@@ -811,22 +931,35 @@ class Domain(pulumi.CustomResource):
811
931
  __props__.__dict__["top_level_domain"] = top_level_domain
812
932
  return Domain(resource_name, opts=opts, __props__=__props__)
813
933
 
934
+ @property
935
+ @pulumi.getter(name="certId")
936
+ def cert_id(self) -> pulumi.Output[str]:
937
+ """
938
+ The certificate ID. This parameter is required and valid only when `CertType` is set to `cas`. If you specify this parameter, an existing certificate is used.
939
+ """
940
+ return pulumi.get(self, "cert_id")
941
+
814
942
  @property
815
943
  @pulumi.getter(name="certName")
816
944
  def cert_name(self) -> pulumi.Output[str]:
817
945
  """
818
- Indicates the name of the certificate if the HTTPS protocol is enabled.
946
+ The name of the new certificate. You can specify only one certificate name. This parameter is optional and valid only when `CertType` is set to `upload`.
819
947
  """
820
948
  return pulumi.get(self, "cert_name")
821
949
 
950
+ @property
951
+ @pulumi.getter(name="certRegion")
952
+ def cert_region(self) -> pulumi.Output[str]:
953
+ """
954
+ The region of the SSL certificate. This parameter takes effect only when `CertType` is set to `cas`. Default value: **cn-hangzhou**. Valid values: **cn-hangzhou** and **ap-southeast-1**.
955
+ """
956
+ return pulumi.get(self, "cert_region")
957
+
822
958
  @property
823
959
  @pulumi.getter(name="certType")
824
- def cert_type(self) -> pulumi.Output[Optional[str]]:
960
+ def cert_type(self) -> pulumi.Output[str]:
825
961
  """
826
- The type of the certificate. Valid values:
827
- `free`: a free certificate.
828
- `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
829
- `upload`: a user uploaded certificate.
962
+ The certificate type.
830
963
  """
831
964
  return pulumi.get(self, "cert_type")
832
965
 
@@ -834,7 +967,7 @@ class Domain(pulumi.CustomResource):
834
967
  @pulumi.getter(name="checkUrl")
835
968
  def check_url(self) -> pulumi.Output[Optional[str]]:
836
969
  """
837
- The URL that is used to test the accessibility of the origin.
970
+ The URL that is used for health checks.
838
971
  """
839
972
  return pulumi.get(self, "check_url")
840
973
 
@@ -842,55 +975,71 @@ class Domain(pulumi.CustomResource):
842
975
  @pulumi.getter
843
976
  def cname(self) -> pulumi.Output[str]:
844
977
  """
845
- (Available in 1.198.0+)- The canonical name (CNAME) of the accelerated domain.
978
+ The CNAME domain name corresponding to the accelerated domain name.
846
979
  """
847
980
  return pulumi.get(self, "cname")
848
981
 
982
+ @property
983
+ @pulumi.getter(name="createTime")
984
+ def create_time(self) -> pulumi.Output[str]:
985
+ """
986
+ The time when the accelerated domain name was created.
987
+ """
988
+ return pulumi.get(self, "create_time")
989
+
849
990
  @property
850
991
  @pulumi.getter(name="domainName")
851
992
  def domain_name(self) -> pulumi.Output[str]:
852
993
  """
853
- The name of the accelerated domain.
994
+ The accelerated domain name. You can specify multiple domain names and separate them with commas (,). You can specify up to 500 domain names in each request. The query results of multiple domain names are aggregated. If you do not specify this parameter, data of all accelerated domain names under your account is queried.
854
995
  """
855
996
  return pulumi.get(self, "domain_name")
856
997
 
857
998
  @property
858
- @pulumi.getter(name="forceSet")
859
- def force_set(self) -> pulumi.Output[Optional[str]]:
999
+ @pulumi.getter
1000
+ def env(self) -> pulumi.Output[Optional[str]]:
1001
+ """
1002
+ Specifies whether the certificate is issued in canary releases. If you set this parameter to `staging`, the certificate is issued in canary releases. If you do not specify this parameter or set this parameter to other values, the certificate is officially issued.
1003
+ """
1004
+ return pulumi.get(self, "env")
1005
+
1006
+ @property
1007
+ @pulumi.getter(name="functionType")
1008
+ def function_type(self) -> pulumi.Output[Optional[str]]:
860
1009
  """
861
- Specifies whether to check the certificate name for duplicates. If you set the value to 1, the system does not perform the check and overwrites the information of the existing certificate with the same name.
1010
+ Computing service type. Valid values:
862
1011
  """
863
- return pulumi.get(self, "force_set")
1012
+ return pulumi.get(self, "function_type")
864
1013
 
865
1014
  @property
866
1015
  @pulumi.getter(name="resourceGroupId")
867
1016
  def resource_group_id(self) -> pulumi.Output[str]:
868
1017
  """
869
- The ID of the resource group.
1018
+ The ID of the resource group. If you do not specify a value for this parameter, the system automatically assigns the ID of the default resource group.
870
1019
  """
871
1020
  return pulumi.get(self, "resource_group_id")
872
1021
 
873
1022
  @property
874
1023
  @pulumi.getter
875
- def scope(self) -> pulumi.Output[Optional[str]]:
1024
+ def scene(self) -> pulumi.Output[Optional[str]]:
876
1025
  """
877
- The acceleration region.
1026
+ The Acceleration scen. Supported:
878
1027
  """
879
- return pulumi.get(self, "scope")
1028
+ return pulumi.get(self, "scene")
880
1029
 
881
1030
  @property
882
- @pulumi.getter(name="securityToken")
883
- def security_token(self) -> pulumi.Output[Optional[str]]:
1031
+ @pulumi.getter
1032
+ def scope(self) -> pulumi.Output[Optional[str]]:
884
1033
  """
885
- The top-level domain name.
1034
+ The region where the acceleration service is deployed. Valid values:
886
1035
  """
887
- return pulumi.get(self, "security_token")
1036
+ return pulumi.get(self, "scope")
888
1037
 
889
1038
  @property
890
1039
  @pulumi.getter
891
- def sources(self) -> pulumi.Output[Sequence['outputs.DomainSource']]:
1040
+ def sources(self) -> pulumi.Output[Optional[Sequence['outputs.DomainSource']]]:
892
1041
  """
893
- The origin information. See `sources` below.
1042
+ Source See `sources` below.
894
1043
  """
895
1044
  return pulumi.get(self, "sources")
896
1045
 
@@ -898,7 +1047,7 @@ class Domain(pulumi.CustomResource):
898
1047
  @pulumi.getter(name="sslPri")
899
1048
  def ssl_pri(self) -> pulumi.Output[Optional[str]]:
900
1049
  """
901
- The private key. Specify this parameter only if you enable the SSL certificate.
1050
+ The private key. Specify the private key only if you want to enable the SSL certificate.
902
1051
  """
903
1052
  return pulumi.get(self, "ssl_pri")
904
1053
 
@@ -906,23 +1055,23 @@ class Domain(pulumi.CustomResource):
906
1055
  @pulumi.getter(name="sslProtocol")
907
1056
  def ssl_protocol(self) -> pulumi.Output[Optional[str]]:
908
1057
  """
909
- Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
1058
+ Specifies whether to enable the SSL certificate. Valid values:
910
1059
  """
911
1060
  return pulumi.get(self, "ssl_protocol")
912
1061
 
913
1062
  @property
914
1063
  @pulumi.getter(name="sslPub")
915
- def ssl_pub(self) -> pulumi.Output[Optional[str]]:
1064
+ def ssl_pub(self) -> pulumi.Output[str]:
916
1065
  """
917
- Indicates the public key of the certificate if the HTTPS protocol is enabled.
1066
+ The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
918
1067
  """
919
1068
  return pulumi.get(self, "ssl_pub")
920
1069
 
921
1070
  @property
922
1071
  @pulumi.getter
923
- def status(self) -> pulumi.Output[Optional[str]]:
1072
+ def status(self) -> pulumi.Output[str]:
924
1073
  """
925
- The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
1074
+ The status of the domain name. Valid values:
926
1075
  """
927
1076
  return pulumi.get(self, "status")
928
1077
 
@@ -930,7 +1079,7 @@ class Domain(pulumi.CustomResource):
930
1079
  @pulumi.getter
931
1080
  def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
932
1081
  """
933
- A mapping of tags to assign to the resource.
1082
+ The tag of the resource
934
1083
  """
935
1084
  return pulumi.get(self, "tags")
936
1085
 
@@ -938,7 +1087,7 @@ class Domain(pulumi.CustomResource):
938
1087
  @pulumi.getter(name="topLevelDomain")
939
1088
  def top_level_domain(self) -> pulumi.Output[Optional[str]]:
940
1089
  """
941
- The top-level domain name.
1090
+ The top-level domain.
942
1091
  """
943
1092
  return pulumi.get(self, "top_level_domain")
944
1093