@pulumi/alicloud 3.59.0 → 3.59.1

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.
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * For information about CEN and how to use it, see [What is CEN](https://www.alibabacloud.com/help/en/doc-detail/59870.htm).
6
6
  *
7
- * > **NOTE:** Available in v1.139.0+
7
+ * > **NOTE:** Available since v1.139.0+
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -48,7 +48,7 @@ export interface GetTransitRouterServiceResult {
48
48
  *
49
49
  * For information about CEN and how to use it, see [What is CEN](https://www.alibabacloud.com/help/en/doc-detail/59870.htm).
50
50
  *
51
- * > **NOTE:** Available in v1.139.0+
51
+ * > **NOTE:** Available since v1.139.0+
52
52
  *
53
53
  * ## Example Usage
54
54
  *
@@ -10,7 +10,7 @@ const utilities = require("../utilities");
10
10
  *
11
11
  * For information about CEN and how to use it, see [What is CEN](https://www.alibabacloud.com/help/en/doc-detail/59870.htm).
12
12
  *
13
- * > **NOTE:** Available in v1.139.0+
13
+ * > **NOTE:** Available since v1.139.0+
14
14
  *
15
15
  * ## Example Usage
16
16
  *
@@ -36,7 +36,7 @@ exports.getTransitRouterService = getTransitRouterService;
36
36
  *
37
37
  * For information about CEN and how to use it, see [What is CEN](https://www.alibabacloud.com/help/en/doc-detail/59870.htm).
38
38
  *
39
- * > **NOTE:** Available in v1.139.0+
39
+ * > **NOTE:** Available since v1.139.0+
40
40
  *
41
41
  * ## Example Usage
42
42
  *
@@ -1,10 +1,10 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Provides a Cloud Firewall Control Policy resource.
3
+ * Provides a Cloud Firewall Control Policy Order resource.
4
4
  *
5
5
  * For information about Cloud Firewall Control Policy Order and how to use it, see [What is Control Policy Order](https://www.alibabacloud.com/help/doc-detail/138867.htm).
6
6
  *
7
- * > **NOTE:** Available in v1.130.0+.
7
+ * > **NOTE:** Available since v1.130.0.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -14,20 +14,22 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as alicloud from "@pulumi/alicloud";
16
16
  *
17
- * const example1 = new alicloud.cloudfirewall.ControlPolicy("example1", {
17
+ * const config = new pulumi.Config();
18
+ * const name = config.get("name") || "terraform-example";
19
+ * const _default = new alicloud.cloudfirewall.ControlPolicy("default", {
20
+ * direction: "in",
18
21
  * applicationName: "ANY",
22
+ * description: name,
19
23
  * aclAction: "accept",
20
- * description: "example",
24
+ * source: "127.0.0.1/32",
25
+ * sourceType: "net",
26
+ * destination: "127.0.0.2/32",
21
27
  * destinationType: "net",
22
- * destination: "100.1.1.0/24",
23
- * direction: "out",
24
28
  * proto: "ANY",
25
- * source: "1.2.3.0/24",
26
- * sourceType: "net",
27
29
  * });
28
- * const example2 = new alicloud.cloudfirewall.ControlPolicyOrder("example2", {
29
- * aclUuid: example1.aclUuid,
30
- * direction: example1.direction,
30
+ * const defaultControlPolicyOrder = new alicloud.cloudfirewall.ControlPolicyOrder("default", {
31
+ * aclUuid: _default.aclUuid,
32
+ * direction: _default.direction,
31
33
  * order: 1,
32
34
  * });
33
35
  * ```
@@ -61,13 +63,14 @@ export declare class ControlPolicyOrder extends pulumi.CustomResource {
61
63
  */
62
64
  readonly aclUuid: pulumi.Output<string>;
63
65
  /**
64
- * Direction. Valid values: `in`, `out`.
66
+ * The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
65
67
  */
66
68
  readonly direction: pulumi.Output<string>;
67
69
  /**
68
- * The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
70
+ * The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
71
+ * > **NOTE:** From version 1.227.1, `order` must be set.
69
72
  */
70
- readonly order: pulumi.Output<number | undefined>;
73
+ readonly order: pulumi.Output<number>;
71
74
  /**
72
75
  * Create a ControlPolicyOrder resource with the given unique name, arguments, and options.
73
76
  *
@@ -86,11 +89,12 @@ export interface ControlPolicyOrderState {
86
89
  */
87
90
  aclUuid?: pulumi.Input<string>;
88
91
  /**
89
- * Direction. Valid values: `in`, `out`.
92
+ * The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
90
93
  */
91
94
  direction?: pulumi.Input<string>;
92
95
  /**
93
- * The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
96
+ * The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
97
+ * > **NOTE:** From version 1.227.1, `order` must be set.
94
98
  */
95
99
  order?: pulumi.Input<number>;
96
100
  }
@@ -103,11 +107,12 @@ export interface ControlPolicyOrderArgs {
103
107
  */
104
108
  aclUuid: pulumi.Input<string>;
105
109
  /**
106
- * Direction. Valid values: `in`, `out`.
110
+ * The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
107
111
  */
108
112
  direction: pulumi.Input<string>;
109
113
  /**
110
- * The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
114
+ * The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
115
+ * > **NOTE:** From version 1.227.1, `order` must be set.
111
116
  */
112
- order?: pulumi.Input<number>;
117
+ order: pulumi.Input<number>;
113
118
  }
@@ -6,11 +6,11 @@ exports.ControlPolicyOrder = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Provides a Cloud Firewall Control Policy resource.
9
+ * Provides a Cloud Firewall Control Policy Order resource.
10
10
  *
11
11
  * For information about Cloud Firewall Control Policy Order and how to use it, see [What is Control Policy Order](https://www.alibabacloud.com/help/doc-detail/138867.htm).
12
12
  *
13
- * > **NOTE:** Available in v1.130.0+.
13
+ * > **NOTE:** Available since v1.130.0.
14
14
  *
15
15
  * ## Example Usage
16
16
  *
@@ -20,20 +20,22 @@ const utilities = require("../utilities");
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as alicloud from "@pulumi/alicloud";
22
22
  *
23
- * const example1 = new alicloud.cloudfirewall.ControlPolicy("example1", {
23
+ * const config = new pulumi.Config();
24
+ * const name = config.get("name") || "terraform-example";
25
+ * const _default = new alicloud.cloudfirewall.ControlPolicy("default", {
26
+ * direction: "in",
24
27
  * applicationName: "ANY",
28
+ * description: name,
25
29
  * aclAction: "accept",
26
- * description: "example",
30
+ * source: "127.0.0.1/32",
31
+ * sourceType: "net",
32
+ * destination: "127.0.0.2/32",
27
33
  * destinationType: "net",
28
- * destination: "100.1.1.0/24",
29
- * direction: "out",
30
34
  * proto: "ANY",
31
- * source: "1.2.3.0/24",
32
- * sourceType: "net",
33
35
  * });
34
- * const example2 = new alicloud.cloudfirewall.ControlPolicyOrder("example2", {
35
- * aclUuid: example1.aclUuid,
36
- * direction: example1.direction,
36
+ * const defaultControlPolicyOrder = new alicloud.cloudfirewall.ControlPolicyOrder("default", {
37
+ * aclUuid: _default.aclUuid,
38
+ * direction: _default.direction,
37
39
  * order: 1,
38
40
  * });
39
41
  * ```
@@ -86,6 +88,9 @@ class ControlPolicyOrder extends pulumi.CustomResource {
86
88
  if ((!args || args.direction === undefined) && !opts.urn) {
87
89
  throw new Error("Missing required property 'direction'");
88
90
  }
91
+ if ((!args || args.order === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'order'");
93
+ }
89
94
  resourceInputs["aclUuid"] = args ? args.aclUuid : undefined;
90
95
  resourceInputs["direction"] = args ? args.direction : undefined;
91
96
  resourceInputs["order"] = args ? args.order : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"controlPolicyOrder.js","sourceRoot":"","sources":["../../cloudfirewall/controlPolicyOrder.ts"],"names":[],"mappings":";AAAA,w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C,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA3EL,gDA4EC;AA9DG,gBAAgB;AACO,+BAAY,GAAG,8DAA8D,CAAC"}
package/cs/nodePool.d.ts CHANGED
@@ -105,7 +105,7 @@ export declare class NodePool extends pulumi.CustomResource {
105
105
  */
106
106
  readonly instanceTypes: pulumi.Output<string[]>;
107
107
  /**
108
- * The instance list. Add existing nodes under the same cluster VPC to the node pool.
108
+ * The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
109
109
  */
110
110
  readonly instances: pulumi.Output<string[] | undefined>;
111
111
  /**
@@ -443,7 +443,7 @@ export interface NodePoolState {
443
443
  */
444
444
  instanceTypes?: pulumi.Input<pulumi.Input<string>[]>;
445
445
  /**
446
- * The instance list. Add existing nodes under the same cluster VPC to the node pool.
446
+ * The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
447
447
  */
448
448
  instances?: pulumi.Input<pulumi.Input<string>[]>;
449
449
  /**
@@ -773,7 +773,7 @@ export interface NodePoolArgs {
773
773
  */
774
774
  instanceTypes: pulumi.Input<pulumi.Input<string>[]>;
775
775
  /**
776
- * The instance list. Add existing nodes under the same cluster VPC to the node pool.
776
+ * The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
777
777
  */
778
778
  instances?: pulumi.Input<pulumi.Input<string>[]>;
779
779
  /**
package/dcdn/domain.d.ts CHANGED
@@ -2,15 +2,15 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * 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).
5
+ * Provides a DCDN Domain resource.
6
6
  *
7
- * > **NOTE:** Available since v1.94.0.
7
+ * Full station accelerated domain name.
8
8
  *
9
- * > **NOTE:** You must activate the Dynamic Route for CDN (DCDN) service before you create an accelerated domain.
9
+ * For information about DCDN Domain and how to use it, see [What is Domain](https://www.alibabacloud.com/help/en/doc-detail/130628.htm).
10
10
  *
11
- * > **NOTE:** Make sure that you have obtained an Internet content provider (ICP) filling for the accelerated domain.
11
+ * > **NOTE:** Available since v1.94.0.
12
12
  *
13
- * > **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.
13
+ * > **NOTE:** Field `forceSet`, `securityToken` has been removed from provider version 1.227.1.
14
14
  *
15
15
  * ## Example Usage
16
16
  *
@@ -42,7 +42,7 @@ import * as outputs from "../types/output";
42
42
  *
43
43
  * ## Import
44
44
  *
45
- * DCDN Domain can be imported using the id or DCDN Domain name, e.g.
45
+ * DCDN Domain can be imported using the id, e.g.
46
46
  *
47
47
  * ```sh
48
48
  * $ pulumi import alicloud:dcdn/domain:Domain example <id>
@@ -65,72 +65,85 @@ export declare class Domain extends pulumi.CustomResource {
65
65
  */
66
66
  static isInstance(obj: any): obj is Domain;
67
67
  /**
68
- * Indicates the name of the certificate if the HTTPS protocol is enabled.
68
+ * 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.
69
+ */
70
+ readonly certId: pulumi.Output<string>;
71
+ /**
72
+ * 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`.
69
73
  */
70
74
  readonly certName: pulumi.Output<string>;
71
75
  /**
72
- * The type of the certificate. Valid values:
73
- * `free`: a free certificate.
74
- * `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
75
- * `upload`: a user uploaded certificate.
76
+ * 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**.
76
77
  */
77
- readonly certType: pulumi.Output<string | undefined>;
78
+ readonly certRegion: pulumi.Output<string>;
78
79
  /**
79
- * The URL that is used to test the accessibility of the origin.
80
+ * The certificate type.
81
+ */
82
+ readonly certType: pulumi.Output<string>;
83
+ /**
84
+ * The URL that is used for health checks.
80
85
  */
81
86
  readonly checkUrl: pulumi.Output<string | undefined>;
82
87
  /**
83
- * (Available in 1.198.0+)- The canonical name (CNAME) of the accelerated domain.
88
+ * The CNAME domain name corresponding to the accelerated domain name.
84
89
  */
85
90
  readonly cname: pulumi.Output<string>;
86
91
  /**
87
- * The name of the accelerated domain.
92
+ * The time when the accelerated domain name was created.
93
+ */
94
+ readonly createTime: pulumi.Output<string>;
95
+ /**
96
+ * 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.
88
97
  */
89
98
  readonly domainName: pulumi.Output<string>;
90
99
  /**
91
- * 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.
100
+ * 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.
92
101
  */
93
- readonly forceSet: pulumi.Output<string | undefined>;
102
+ readonly env: pulumi.Output<string | undefined>;
94
103
  /**
95
- * The ID of the resource group.
104
+ * Computing service type. Valid values:
105
+ */
106
+ readonly functionType: pulumi.Output<string | undefined>;
107
+ /**
108
+ * 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.
96
109
  */
97
110
  readonly resourceGroupId: pulumi.Output<string>;
98
111
  /**
99
- * The acceleration region.
112
+ * The Acceleration scen. Supported:
100
113
  */
101
- readonly scope: pulumi.Output<string | undefined>;
114
+ readonly scene: pulumi.Output<string | undefined>;
102
115
  /**
103
- * The top-level domain name.
116
+ * The region where the acceleration service is deployed. Valid values:
104
117
  */
105
- readonly securityToken: pulumi.Output<string | undefined>;
118
+ readonly scope: pulumi.Output<string | undefined>;
106
119
  /**
107
- * The origin information. See `sources` below.
120
+ * Source See `sources` below.
108
121
  */
109
- readonly sources: pulumi.Output<outputs.dcdn.DomainSource[]>;
122
+ readonly sources: pulumi.Output<outputs.dcdn.DomainSource[] | undefined>;
110
123
  /**
111
- * The private key. Specify this parameter only if you enable the SSL certificate.
124
+ * The private key. Specify the private key only if you want to enable the SSL certificate.
112
125
  */
113
126
  readonly sslPri: pulumi.Output<string | undefined>;
114
127
  /**
115
- * Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
128
+ * Specifies whether to enable the SSL certificate. Valid values:
116
129
  */
117
130
  readonly sslProtocol: pulumi.Output<string | undefined>;
118
131
  /**
119
- * Indicates the public key of the certificate if the HTTPS protocol is enabled.
132
+ * The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
120
133
  */
121
- readonly sslPub: pulumi.Output<string | undefined>;
134
+ readonly sslPub: pulumi.Output<string>;
122
135
  /**
123
- * The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
136
+ * The status of the domain name. Valid values:
124
137
  */
125
- readonly status: pulumi.Output<string | undefined>;
138
+ readonly status: pulumi.Output<string>;
126
139
  /**
127
- * A mapping of tags to assign to the resource.
140
+ * The tag of the resource
128
141
  */
129
142
  readonly tags: pulumi.Output<{
130
143
  [key: string]: any;
131
144
  } | undefined>;
132
145
  /**
133
- * The top-level domain name.
146
+ * The top-level domain.
134
147
  */
135
148
  readonly topLevelDomain: pulumi.Output<string | undefined>;
136
149
  /**
@@ -147,72 +160,85 @@ export declare class Domain extends pulumi.CustomResource {
147
160
  */
148
161
  export interface DomainState {
149
162
  /**
150
- * Indicates the name of the certificate if the HTTPS protocol is enabled.
163
+ * 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.
164
+ */
165
+ certId?: pulumi.Input<string>;
166
+ /**
167
+ * 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`.
151
168
  */
152
169
  certName?: pulumi.Input<string>;
153
170
  /**
154
- * The type of the certificate. Valid values:
155
- * `free`: a free certificate.
156
- * `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
157
- * `upload`: a user uploaded certificate.
171
+ * 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**.
172
+ */
173
+ certRegion?: pulumi.Input<string>;
174
+ /**
175
+ * The certificate type.
158
176
  */
159
177
  certType?: pulumi.Input<string>;
160
178
  /**
161
- * The URL that is used to test the accessibility of the origin.
179
+ * The URL that is used for health checks.
162
180
  */
163
181
  checkUrl?: pulumi.Input<string>;
164
182
  /**
165
- * (Available in 1.198.0+)- The canonical name (CNAME) of the accelerated domain.
183
+ * The CNAME domain name corresponding to the accelerated domain name.
166
184
  */
167
185
  cname?: pulumi.Input<string>;
168
186
  /**
169
- * The name of the accelerated domain.
187
+ * The time when the accelerated domain name was created.
188
+ */
189
+ createTime?: pulumi.Input<string>;
190
+ /**
191
+ * 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.
170
192
  */
171
193
  domainName?: pulumi.Input<string>;
172
194
  /**
173
- * 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.
195
+ * 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.
196
+ */
197
+ env?: pulumi.Input<string>;
198
+ /**
199
+ * Computing service type. Valid values:
174
200
  */
175
- forceSet?: pulumi.Input<string>;
201
+ functionType?: pulumi.Input<string>;
176
202
  /**
177
- * The ID of the resource group.
203
+ * 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.
178
204
  */
179
205
  resourceGroupId?: pulumi.Input<string>;
180
206
  /**
181
- * The acceleration region.
207
+ * The Acceleration scen. Supported:
182
208
  */
183
- scope?: pulumi.Input<string>;
209
+ scene?: pulumi.Input<string>;
184
210
  /**
185
- * The top-level domain name.
211
+ * The region where the acceleration service is deployed. Valid values:
186
212
  */
187
- securityToken?: pulumi.Input<string>;
213
+ scope?: pulumi.Input<string>;
188
214
  /**
189
- * The origin information. See `sources` below.
215
+ * Source See `sources` below.
190
216
  */
191
217
  sources?: pulumi.Input<pulumi.Input<inputs.dcdn.DomainSource>[]>;
192
218
  /**
193
- * The private key. Specify this parameter only if you enable the SSL certificate.
219
+ * The private key. Specify the private key only if you want to enable the SSL certificate.
194
220
  */
195
221
  sslPri?: pulumi.Input<string>;
196
222
  /**
197
- * Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
223
+ * Specifies whether to enable the SSL certificate. Valid values:
198
224
  */
199
225
  sslProtocol?: pulumi.Input<string>;
200
226
  /**
201
- * Indicates the public key of the certificate if the HTTPS protocol is enabled.
227
+ * The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
202
228
  */
203
229
  sslPub?: pulumi.Input<string>;
204
230
  /**
205
- * The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
231
+ * The status of the domain name. Valid values:
206
232
  */
207
233
  status?: pulumi.Input<string>;
208
234
  /**
209
- * A mapping of tags to assign to the resource.
235
+ * The tag of the resource
210
236
  */
211
237
  tags?: pulumi.Input<{
212
238
  [key: string]: any;
213
239
  }>;
214
240
  /**
215
- * The top-level domain name.
241
+ * The top-level domain.
216
242
  */
217
243
  topLevelDomain?: pulumi.Input<string>;
218
244
  }
@@ -221,68 +247,77 @@ export interface DomainState {
221
247
  */
222
248
  export interface DomainArgs {
223
249
  /**
224
- * Indicates the name of the certificate if the HTTPS protocol is enabled.
250
+ * 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.
251
+ */
252
+ certId?: pulumi.Input<string>;
253
+ /**
254
+ * 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`.
225
255
  */
226
256
  certName?: pulumi.Input<string>;
227
257
  /**
228
- * The type of the certificate. Valid values:
229
- * `free`: a free certificate.
230
- * `cas`: a certificate purchased from Alibaba Cloud SSL Certificates Service.
231
- * `upload`: a user uploaded certificate.
258
+ * 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**.
259
+ */
260
+ certRegion?: pulumi.Input<string>;
261
+ /**
262
+ * The certificate type.
232
263
  */
233
264
  certType?: pulumi.Input<string>;
234
265
  /**
235
- * The URL that is used to test the accessibility of the origin.
266
+ * The URL that is used for health checks.
236
267
  */
237
268
  checkUrl?: pulumi.Input<string>;
238
269
  /**
239
- * The name of the accelerated domain.
270
+ * 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.
240
271
  */
241
272
  domainName: pulumi.Input<string>;
242
273
  /**
243
- * 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.
274
+ * 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.
275
+ */
276
+ env?: pulumi.Input<string>;
277
+ /**
278
+ * Computing service type. Valid values:
244
279
  */
245
- forceSet?: pulumi.Input<string>;
280
+ functionType?: pulumi.Input<string>;
246
281
  /**
247
- * The ID of the resource group.
282
+ * 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.
248
283
  */
249
284
  resourceGroupId?: pulumi.Input<string>;
250
285
  /**
251
- * The acceleration region.
286
+ * The Acceleration scen. Supported:
252
287
  */
253
- scope?: pulumi.Input<string>;
288
+ scene?: pulumi.Input<string>;
254
289
  /**
255
- * The top-level domain name.
290
+ * The region where the acceleration service is deployed. Valid values:
256
291
  */
257
- securityToken?: pulumi.Input<string>;
292
+ scope?: pulumi.Input<string>;
258
293
  /**
259
- * The origin information. See `sources` below.
294
+ * Source See `sources` below.
260
295
  */
261
- sources: pulumi.Input<pulumi.Input<inputs.dcdn.DomainSource>[]>;
296
+ sources?: pulumi.Input<pulumi.Input<inputs.dcdn.DomainSource>[]>;
262
297
  /**
263
- * The private key. Specify this parameter only if you enable the SSL certificate.
298
+ * The private key. Specify the private key only if you want to enable the SSL certificate.
264
299
  */
265
300
  sslPri?: pulumi.Input<string>;
266
301
  /**
267
- * Indicates whether the SSL certificate is enabled. Valid values: `on` enabled, `off` disabled.
302
+ * Specifies whether to enable the SSL certificate. Valid values:
268
303
  */
269
304
  sslProtocol?: pulumi.Input<string>;
270
305
  /**
271
- * Indicates the public key of the certificate if the HTTPS protocol is enabled.
306
+ * The content of the SSL certificate. Specify the content of the SSL certificate only if you want to enable the SSL certificate.
272
307
  */
273
308
  sslPub?: pulumi.Input<string>;
274
309
  /**
275
- * The status of DCDN Domain. Valid values: `online`, `offline`. Default to `online`.
310
+ * The status of the domain name. Valid values:
276
311
  */
277
312
  status?: pulumi.Input<string>;
278
313
  /**
279
- * A mapping of tags to assign to the resource.
314
+ * The tag of the resource
280
315
  */
281
316
  tags?: pulumi.Input<{
282
317
  [key: string]: any;
283
318
  }>;
284
319
  /**
285
- * The top-level domain name.
320
+ * The top-level domain.
286
321
  */
287
322
  topLevelDomain?: pulumi.Input<string>;
288
323
  }