@pulumi/alicloud 3.86.0 → 3.86.1-alpha.1758944763

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.
package/apig/gateway.d.ts CHANGED
@@ -34,6 +34,12 @@ export declare class Gateway extends pulumi.CustomResource {
34
34
  * The name of the resource
35
35
  */
36
36
  readonly gatewayName: pulumi.Output<string | undefined>;
37
+ /**
38
+ * Describes the gateway type, which is categorized into the following two types:
39
+ * - API: indicates an API gateway
40
+ * - AI: Indicates an AI gateway
41
+ */
42
+ readonly gatewayType: pulumi.Output<string>;
37
43
  /**
38
44
  * Log Configuration See `logConfig` below.
39
45
  */
@@ -76,6 +82,10 @@ export declare class Gateway extends pulumi.CustomResource {
76
82
  * Availability Zone Configuration See `zoneConfig` below.
77
83
  */
78
84
  readonly zoneConfig: pulumi.Output<outputs.apig.GatewayZoneConfig>;
85
+ /**
86
+ * The List of zones associated with the Gateway. See `zones` below.
87
+ */
88
+ readonly zones: pulumi.Output<outputs.apig.GatewayZone[]>;
79
89
  /**
80
90
  * Create a Gateway resource with the given unique name, arguments, and options.
81
91
  *
@@ -97,6 +107,12 @@ export interface GatewayState {
97
107
  * The name of the resource
98
108
  */
99
109
  gatewayName?: pulumi.Input<string>;
110
+ /**
111
+ * Describes the gateway type, which is categorized into the following two types:
112
+ * - API: indicates an API gateway
113
+ * - AI: Indicates an AI gateway
114
+ */
115
+ gatewayType?: pulumi.Input<string>;
100
116
  /**
101
117
  * Log Configuration See `logConfig` below.
102
118
  */
@@ -139,6 +155,10 @@ export interface GatewayState {
139
155
  * Availability Zone Configuration See `zoneConfig` below.
140
156
  */
141
157
  zoneConfig?: pulumi.Input<inputs.apig.GatewayZoneConfig>;
158
+ /**
159
+ * The List of zones associated with the Gateway. See `zones` below.
160
+ */
161
+ zones?: pulumi.Input<pulumi.Input<inputs.apig.GatewayZone>[]>;
142
162
  }
143
163
  /**
144
164
  * The set of arguments for constructing a Gateway resource.
@@ -148,6 +168,12 @@ export interface GatewayArgs {
148
168
  * The name of the resource
149
169
  */
150
170
  gatewayName?: pulumi.Input<string>;
171
+ /**
172
+ * Describes the gateway type, which is categorized into the following two types:
173
+ * - API: indicates an API gateway
174
+ * - AI: Indicates an AI gateway
175
+ */
176
+ gatewayType?: pulumi.Input<string>;
151
177
  /**
152
178
  * Log Configuration See `logConfig` below.
153
179
  */
@@ -186,4 +212,8 @@ export interface GatewayArgs {
186
212
  * Availability Zone Configuration See `zoneConfig` below.
187
213
  */
188
214
  zoneConfig: pulumi.Input<inputs.apig.GatewayZoneConfig>;
215
+ /**
216
+ * The List of zones associated with the Gateway. See `zones` below.
217
+ */
218
+ zones?: pulumi.Input<pulumi.Input<inputs.apig.GatewayZone>[]>;
189
219
  }
package/apig/gateway.js CHANGED
@@ -44,6 +44,7 @@ class Gateway extends pulumi.CustomResource {
44
44
  const state = argsOrState;
45
45
  resourceInputs["createTime"] = state?.createTime;
46
46
  resourceInputs["gatewayName"] = state?.gatewayName;
47
+ resourceInputs["gatewayType"] = state?.gatewayType;
47
48
  resourceInputs["logConfig"] = state?.logConfig;
48
49
  resourceInputs["networkAccessConfig"] = state?.networkAccessConfig;
49
50
  resourceInputs["paymentType"] = state?.paymentType;
@@ -54,6 +55,7 @@ class Gateway extends pulumi.CustomResource {
54
55
  resourceInputs["vpc"] = state?.vpc;
55
56
  resourceInputs["vswitch"] = state?.vswitch;
56
57
  resourceInputs["zoneConfig"] = state?.zoneConfig;
58
+ resourceInputs["zones"] = state?.zones;
57
59
  }
58
60
  else {
59
61
  const args = argsOrState;
@@ -64,6 +66,7 @@ class Gateway extends pulumi.CustomResource {
64
66
  throw new Error("Missing required property 'zoneConfig'");
65
67
  }
66
68
  resourceInputs["gatewayName"] = args?.gatewayName;
69
+ resourceInputs["gatewayType"] = args?.gatewayType;
67
70
  resourceInputs["logConfig"] = args?.logConfig;
68
71
  resourceInputs["networkAccessConfig"] = args?.networkAccessConfig;
69
72
  resourceInputs["paymentType"] = args?.paymentType;
@@ -73,6 +76,7 @@ class Gateway extends pulumi.CustomResource {
73
76
  resourceInputs["vpc"] = args?.vpc;
74
77
  resourceInputs["vswitch"] = args?.vswitch;
75
78
  resourceInputs["zoneConfig"] = args?.zoneConfig;
79
+ resourceInputs["zones"] = args?.zones;
76
80
  resourceInputs["createTime"] = undefined /*out*/;
77
81
  resourceInputs["status"] = undefined /*out*/;
78
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../apig/gateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA2DD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cA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E,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA3IL,0BA4IC;AA9HG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
@@ -104,19 +104,30 @@ export declare class Certificate extends pulumi.CustomResource {
104
104
  /**
105
105
  * Cert of the Certificate in which the Certificate will add.
106
106
  */
107
- readonly cert: pulumi.Output<string>;
107
+ readonly cert: pulumi.Output<string | undefined>;
108
108
  readonly certificateName: pulumi.Output<string>;
109
+ readonly encryptCert: pulumi.Output<string | undefined>;
110
+ readonly encryptPrivateKey: pulumi.Output<string | undefined>;
109
111
  /**
110
112
  * Key of the Certificate in which the Certificate will add.
111
113
  */
112
- readonly key: pulumi.Output<string>;
114
+ readonly key: pulumi.Output<string | undefined>;
115
+ /**
116
+ * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
117
+ */
113
118
  readonly lang: pulumi.Output<string | undefined>;
114
119
  /**
115
120
  * Name of the Certificate. This name must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
116
121
  *
117
- * @deprecated attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.
122
+ * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
118
123
  */
119
124
  readonly name: pulumi.Output<string>;
125
+ readonly resourceGroupId: pulumi.Output<string>;
126
+ readonly signCert: pulumi.Output<string | undefined>;
127
+ readonly signPrivateKey: pulumi.Output<string | undefined>;
128
+ readonly tags: pulumi.Output<{
129
+ [key: string]: string;
130
+ } | undefined>;
120
131
  /**
121
132
  * Create a Certificate resource with the given unique name, arguments, and options.
122
133
  *
@@ -125,7 +136,7 @@ export declare class Certificate extends pulumi.CustomResource {
125
136
  * @param opts A bag of options that control this resource's behavior.
126
137
  */
127
138
  /** @deprecated This resource has been deprecated in favour of ServiceCertificate */
128
- constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions);
139
+ constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions);
129
140
  }
130
141
  /**
131
142
  * Input properties used for looking up and filtering Certificate resources.
@@ -136,17 +147,28 @@ export interface CertificateState {
136
147
  */
137
148
  cert?: pulumi.Input<string>;
138
149
  certificateName?: pulumi.Input<string>;
150
+ encryptCert?: pulumi.Input<string>;
151
+ encryptPrivateKey?: pulumi.Input<string>;
139
152
  /**
140
153
  * Key of the Certificate in which the Certificate will add.
141
154
  */
142
155
  key?: pulumi.Input<string>;
156
+ /**
157
+ * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
158
+ */
143
159
  lang?: pulumi.Input<string>;
144
160
  /**
145
161
  * Name of the Certificate. This name must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
146
162
  *
147
- * @deprecated attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.
163
+ * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
148
164
  */
149
165
  name?: pulumi.Input<string>;
166
+ resourceGroupId?: pulumi.Input<string>;
167
+ signCert?: pulumi.Input<string>;
168
+ signPrivateKey?: pulumi.Input<string>;
169
+ tags?: pulumi.Input<{
170
+ [key: string]: pulumi.Input<string>;
171
+ }>;
150
172
  }
151
173
  /**
152
174
  * The set of arguments for constructing a Certificate resource.
@@ -155,17 +177,28 @@ export interface CertificateArgs {
155
177
  /**
156
178
  * Cert of the Certificate in which the Certificate will add.
157
179
  */
158
- cert: pulumi.Input<string>;
180
+ cert?: pulumi.Input<string>;
159
181
  certificateName?: pulumi.Input<string>;
182
+ encryptCert?: pulumi.Input<string>;
183
+ encryptPrivateKey?: pulumi.Input<string>;
160
184
  /**
161
185
  * Key of the Certificate in which the Certificate will add.
162
186
  */
163
- key: pulumi.Input<string>;
187
+ key?: pulumi.Input<string>;
188
+ /**
189
+ * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
190
+ */
164
191
  lang?: pulumi.Input<string>;
165
192
  /**
166
193
  * Name of the Certificate. This name must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix `.sh` and `.tel` are not supported.
167
194
  *
168
- * @deprecated attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.
195
+ * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
169
196
  */
170
197
  name?: pulumi.Input<string>;
198
+ resourceGroupId?: pulumi.Input<string>;
199
+ signCert?: pulumi.Input<string>;
200
+ signPrivateKey?: pulumi.Input<string>;
201
+ tags?: pulumi.Input<{
202
+ [key: string]: pulumi.Input<string>;
203
+ }>;
171
204
  }
@@ -124,25 +124,33 @@ class Certificate extends pulumi.CustomResource {
124
124
  const state = argsOrState;
125
125
  resourceInputs["cert"] = state?.cert;
126
126
  resourceInputs["certificateName"] = state?.certificateName;
127
+ resourceInputs["encryptCert"] = state?.encryptCert;
128
+ resourceInputs["encryptPrivateKey"] = state?.encryptPrivateKey;
127
129
  resourceInputs["key"] = state?.key;
128
130
  resourceInputs["lang"] = state?.lang;
129
131
  resourceInputs["name"] = state?.name;
132
+ resourceInputs["resourceGroupId"] = state?.resourceGroupId;
133
+ resourceInputs["signCert"] = state?.signCert;
134
+ resourceInputs["signPrivateKey"] = state?.signPrivateKey;
135
+ resourceInputs["tags"] = state?.tags;
130
136
  }
131
137
  else {
132
138
  const args = argsOrState;
133
- if (args?.cert === undefined && !opts.urn) {
134
- throw new Error("Missing required property 'cert'");
135
- }
136
- if (args?.key === undefined && !opts.urn) {
137
- throw new Error("Missing required property 'key'");
138
- }
139
139
  resourceInputs["cert"] = args?.cert;
140
140
  resourceInputs["certificateName"] = args?.certificateName;
141
- resourceInputs["key"] = args?.key;
141
+ resourceInputs["encryptCert"] = args?.encryptCert;
142
+ resourceInputs["encryptPrivateKey"] = args?.encryptPrivateKey ? pulumi.secret(args.encryptPrivateKey) : undefined;
143
+ resourceInputs["key"] = args?.key ? pulumi.secret(args.key) : undefined;
142
144
  resourceInputs["lang"] = args?.lang;
143
145
  resourceInputs["name"] = args?.name;
146
+ resourceInputs["resourceGroupId"] = args?.resourceGroupId;
147
+ resourceInputs["signCert"] = args?.signCert;
148
+ resourceInputs["signPrivateKey"] = args?.signPrivateKey ? pulumi.secret(args.signPrivateKey) : undefined;
149
+ resourceInputs["tags"] = args?.tags;
144
150
  }
145
151
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
152
+ const secretOpts = { additionalSecretOutputs: ["encryptPrivateKey", "key", "signPrivateKey"] };
153
+ opts = pulumi.mergeOptions(opts, secretOpts);
146
154
  super(Certificate.__pulumiType, name, resourceInputs, opts);
147
155
  }
148
156
  }
@@ -1 +1 @@
1
- {"version":3,"file":"certificate.js","sourceRoot":"","sources":["../../cas/certificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,8FAA8F,CAAC,CAAA;QAC/G,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;I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ud.cas.ServiceCertificate("default", {
23
23
  * certificateName: `terraform-example-${_default.result}`,
24
24
  * cert: `-----BEGIN CERTIFICATE-----
25
- * MIIDeDCCAmCgAwIBAgIEN3ZT6zANBgkqhkiG9w0BAQsFADBVMQswCQYDVQQGEwJD
26
- * TjEVMBMGA1UEAwwMKi50ZnRlc3QudG9wMRAwDgYDVQQIDAdCZWlKaW5nMRAwDgYD
27
- * VQQHDAdCZWlKaW5nMQswCQYDVQQKDAJBQTAeFw0yMzA4MjgwNjQ5NDNaFw0yNTA4
28
- * MjcwNjQ5NDNaMFUxCzAJBgNVBAYTAkNOMRUwEwYDVQQDDAwqLnRmdGVzdC50b3Ax
29
- * EDAOBgNVBAgMB0JlaUppbmcxEDAOBgNVBAcMB0JlaUppbmcxCzAJBgNVBAoMAkFB
30
- * MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzkk9NJUH7PLSQK4RRrGQ
31
- * Y5dVsftkhnKh9HhI6yrnlowWIDPS1PZHOU/5gQ7xPUPGdKQV5S7x8wROnAaXEimx
32
- * N4GdQw25pGhRJvlwme9fzJJiSe6lG49NCxmuBiEdJAzPKaTPpK1cG1f1TqdgCfHR
33
- * HAL6Jxb3ylHG2LlTNFLXikubUi5RT6/9C8psr713Zm4HveCI/cx0WdgZ+fmsc9ft
34
- * rkIB1DdyV1kQ51m8r2rLi3J7aC5ggGOiex/VlGSd4e6SOQLpdQEdDbodtOJ4LgVk
35
- * +arFNCMinUWIOPGFzXhdm6lssPbh4MOBrz8c/M9TcF4hoMn5/o/9johZIZ/DOvXt
36
- * ZQIDAQABo1AwTjAdBgNVHQ4EFgQUOnWiddgeZj17IeysatqhE361o5YwHwYDVR0j
37
- * BBgwFoAUOnWiddgeZj17IeysatqhE361o5YwDAYDVR0TBAUwAwEB/zANBgkqhkiG
38
- * 9w0BAQsFAAOCAQEAfh3cnOszHM/5wXjY7BIkmgDOReksS+87ibhBz7T2ddZj+yCF
39
- * 9GdIBzXCiHp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+ * VR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFCiBJgXRNBo/
37
+ * wXMPu5PPFRw/A79/MGMGCCsGAQUFBwEBBFcwVTAhBggrBgEFBQcwAYYVaHR0cDov
38
+ * L29jc3AubXlzc2wuY29tMDAGCCsGAQUFBzAChiRodHRwOi8vY2EubXlzc2wuY29t
39
+ * L215c3NsdGVzdHJzYS5jcnQwEwYDVR0RBAwwCoIIMTY4OC5jb20wDQYJKoZIhvcN
40
+ * AQELBQADggEBAHa0ATVeHtPPw1+a6kajlW6OQUjhiJg+Sk9fVA1eJ2Hzl1yDDw3K
41
+ * yAyl1gkxGI6BwWdX/C8IE6PuPYcG2CmJGoFoEAAIbAE76AKABvHoA8I6wyDruxFz
42
+ * 06bNM8104TxAHTxe2zaHgBQnYIRk07uA8gxjZKFp1//eYbxj8HiP0Q9zXqYjF79G
43
+ * Le4PDw7Q6U22CP+cT9Sz5ZEoJCzmUtx3uQWhLzNxvyISrXeSqAFJzjtL0KKSR1cr
44
+ * 8he6FoeU37oKdmrnweLeBe+no3OMChETa2JN4VAzXj/nPpQcyB7nXDfLUHe01+BB
45
+ * ZBXKFLD2H38e97mFl/7mgNP5Nc1sycI5Sp4=
44
46
  * -----END CERTIFICATE-----
45
47
  * `,
46
48
  * key: `-----BEGIN PRIVATE KEY-----
47
- * MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDOST00lQfs8tJA
48
- * rhFGsZBjl1Wx+2SGcqH0eEjrKueWjBYgM9LU9kc5T/mBDvE9Q8Z0pBXlLvHzBE6c
49
- * BpcSKbE3gZ1DDbmkaFEm+XCZ71/MkmJJ7qUbj00LGa4GIR0kDM8ppM+krVwbV/VO
50
- * p2AJ8dEcAvonFvfKUcbYuVM0UteKS5tSLlFPr/0LymyvvXdmbge94Ij9zHRZ2Bn5
51
- * +axz1+2uQgHUN3JXWRDnWbyvasuLcntoLmCAY6J7H9WUZJ3h7p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
  * `,
75
76
  * });
@@ -100,28 +101,55 @@ export declare class ServiceCertificate extends pulumi.CustomResource {
100
101
  */
101
102
  static isInstance(obj: any): obj is ServiceCertificate;
102
103
  /**
103
- * Cert of the Certificate in which the Certificate will add.
104
+ * The content of a non-SM certificate in PEM format.
104
105
  */
105
- readonly cert: pulumi.Output<string>;
106
+ readonly cert: pulumi.Output<string | undefined>;
106
107
  /**
107
- * Name of the Certificate. `certificateName` must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.
108
- * **NOTE:** One of `certificateName` and `name` must be specified.
108
+ * A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificateName` can be modified.
109
109
  */
110
110
  readonly certificateName: pulumi.Output<string>;
111
111
  /**
112
- * Key of the Certificate in which the Certificate will add.
112
+ * The content of an SM encryption certificate in PEM format.
113
113
  */
114
- readonly key: pulumi.Output<string>;
114
+ readonly encryptCert: pulumi.Output<string | undefined>;
115
115
  /**
116
- * The lang.
116
+ * The private key of an SM encryption certificate in PEM format.
117
+ */
118
+ readonly encryptPrivateKey: pulumi.Output<string | undefined>;
119
+ /**
120
+ * The private key of a non-SM certificate in PEM format.
121
+ */
122
+ readonly key: pulumi.Output<string | undefined>;
123
+ /**
124
+ * Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
125
+ *
126
+ * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
117
127
  */
118
128
  readonly lang: pulumi.Output<string | undefined>;
119
129
  /**
120
- * It has been deprecated from version 1.129.0 and using `certificateName` instead.
130
+ * Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificateName` instead.
121
131
  *
122
- * @deprecated attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.
132
+ * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
123
133
  */
124
134
  readonly name: pulumi.Output<string>;
135
+ /**
136
+ * The ID of the resource group.
137
+ */
138
+ readonly resourceGroupId: pulumi.Output<string>;
139
+ /**
140
+ * The content of an SM signing certificate in PEM format.
141
+ */
142
+ readonly signCert: pulumi.Output<string | undefined>;
143
+ /**
144
+ * The private key of an SM signing certificate in PEM format.
145
+ */
146
+ readonly signPrivateKey: pulumi.Output<string | undefined>;
147
+ /**
148
+ * The tag of the resource.
149
+ */
150
+ readonly tags: pulumi.Output<{
151
+ [key: string]: string;
152
+ } | undefined>;
125
153
  /**
126
154
  * Create a ServiceCertificate resource with the given unique name, arguments, and options.
127
155
  *
@@ -129,61 +157,115 @@ export declare class ServiceCertificate extends pulumi.CustomResource {
129
157
  * @param args The arguments to use to populate this resource's properties.
130
158
  * @param opts A bag of options that control this resource's behavior.
131
159
  */
132
- constructor(name: string, args: ServiceCertificateArgs, opts?: pulumi.CustomResourceOptions);
160
+ constructor(name: string, args?: ServiceCertificateArgs, opts?: pulumi.CustomResourceOptions);
133
161
  }
134
162
  /**
135
163
  * Input properties used for looking up and filtering ServiceCertificate resources.
136
164
  */
137
165
  export interface ServiceCertificateState {
138
166
  /**
139
- * Cert of the Certificate in which the Certificate will add.
167
+ * The content of a non-SM certificate in PEM format.
140
168
  */
141
169
  cert?: pulumi.Input<string>;
142
170
  /**
143
- * Name of the Certificate. `certificateName` must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.
144
- * **NOTE:** One of `certificateName` and `name` must be specified.
171
+ * A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificateName` can be modified.
145
172
  */
146
173
  certificateName?: pulumi.Input<string>;
147
174
  /**
148
- * Key of the Certificate in which the Certificate will add.
175
+ * The content of an SM encryption certificate in PEM format.
176
+ */
177
+ encryptCert?: pulumi.Input<string>;
178
+ /**
179
+ * The private key of an SM encryption certificate in PEM format.
180
+ */
181
+ encryptPrivateKey?: pulumi.Input<string>;
182
+ /**
183
+ * The private key of a non-SM certificate in PEM format.
149
184
  */
150
185
  key?: pulumi.Input<string>;
151
186
  /**
152
- * The lang.
187
+ * Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
188
+ *
189
+ * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
153
190
  */
154
191
  lang?: pulumi.Input<string>;
155
192
  /**
156
- * It has been deprecated from version 1.129.0 and using `certificateName` instead.
193
+ * Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificateName` instead.
157
194
  *
158
- * @deprecated attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.
195
+ * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
159
196
  */
160
197
  name?: pulumi.Input<string>;
198
+ /**
199
+ * The ID of the resource group.
200
+ */
201
+ resourceGroupId?: pulumi.Input<string>;
202
+ /**
203
+ * The content of an SM signing certificate in PEM format.
204
+ */
205
+ signCert?: pulumi.Input<string>;
206
+ /**
207
+ * The private key of an SM signing certificate in PEM format.
208
+ */
209
+ signPrivateKey?: pulumi.Input<string>;
210
+ /**
211
+ * The tag of the resource.
212
+ */
213
+ tags?: pulumi.Input<{
214
+ [key: string]: pulumi.Input<string>;
215
+ }>;
161
216
  }
162
217
  /**
163
218
  * The set of arguments for constructing a ServiceCertificate resource.
164
219
  */
165
220
  export interface ServiceCertificateArgs {
166
221
  /**
167
- * Cert of the Certificate in which the Certificate will add.
222
+ * The content of a non-SM certificate in PEM format.
168
223
  */
169
- cert: pulumi.Input<string>;
224
+ cert?: pulumi.Input<string>;
170
225
  /**
171
- * Name of the Certificate. `certificateName` must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.
172
- * **NOTE:** One of `certificateName` and `name` must be specified.
226
+ * A custom name for the certificate. The name can be up to 64 characters long and can contain any character type, such as letters, numbers, and underscores. **NOTE:** From version 1.260.1, `certificateName` can be modified.
173
227
  */
174
228
  certificateName?: pulumi.Input<string>;
175
229
  /**
176
- * Key of the Certificate in which the Certificate will add.
230
+ * The content of an SM encryption certificate in PEM format.
231
+ */
232
+ encryptCert?: pulumi.Input<string>;
233
+ /**
234
+ * The private key of an SM encryption certificate in PEM format.
235
+ */
236
+ encryptPrivateKey?: pulumi.Input<string>;
237
+ /**
238
+ * The private key of a non-SM certificate in PEM format.
177
239
  */
178
- key: pulumi.Input<string>;
240
+ key?: pulumi.Input<string>;
179
241
  /**
180
- * The lang.
242
+ * Field `lang` has been deprecated from provider version 1.260.1 and it will be removed in the future version.
243
+ *
244
+ * @deprecated Field 'lang' has been deprecated from provider version 1.260.1 and it will be removed in the future version.
181
245
  */
182
246
  lang?: pulumi.Input<string>;
183
247
  /**
184
- * It has been deprecated from version 1.129.0 and using `certificateName` instead.
248
+ * Field `name` has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute `certificateName` instead.
185
249
  *
186
- * @deprecated attribute 'name' has been deprecated from provider version 1.129.0 and it will be remove in the future version. Please use the new attribute 'certificate_name' instead.
250
+ * @deprecated Field 'name' has been deprecated from provider version 1.129.0 and it will be removed in the future version. Please use the new attribute 'certificate_name' instead.
187
251
  */
188
252
  name?: pulumi.Input<string>;
253
+ /**
254
+ * The ID of the resource group.
255
+ */
256
+ resourceGroupId?: pulumi.Input<string>;
257
+ /**
258
+ * The content of an SM signing certificate in PEM format.
259
+ */
260
+ signCert?: pulumi.Input<string>;
261
+ /**
262
+ * The private key of an SM signing certificate in PEM format.
263
+ */
264
+ signPrivateKey?: pulumi.Input<string>;
265
+ /**
266
+ * The tag of the resource.
267
+ */
268
+ tags?: pulumi.Input<{
269
+ [key: string]: pulumi.Input<string>;
270
+ }>;
189
271
  }