@alicloud/cas20200407 3.2.16 → 3.2.18
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/dist/client.d.ts +218 -176
- package/dist/client.js +228 -176
- package/dist/client.js.map +1 -1
- package/dist/models/AddCloudAccessRequest.d.ts +6 -18
- package/dist/models/AddCloudAccessRequest.js.map +1 -1
- package/dist/models/AddCloudAccessResponseBody.d.ts +1 -1
- package/dist/models/BatchUpdateNoticeStatusRequest.d.ts +7 -9
- package/dist/models/BatchUpdateNoticeStatusRequest.js.map +1 -1
- package/dist/models/BatchUpdateNoticeStatusResponseBody.d.ts +1 -1
- package/dist/models/CancelCertificateForPackageRequestRequest.d.ts +2 -3
- package/dist/models/CancelCertificateForPackageRequestRequest.js.map +1 -1
- package/dist/models/CancelCertificateForPackageRequestResponseBody.d.ts +1 -1
- package/dist/models/CancelOrderRequestRequest.d.ts +3 -2
- package/dist/models/CancelOrderRequestRequest.js.map +1 -1
- package/dist/models/CancelOrderRequestResponseBody.d.ts +1 -1
- package/dist/models/CancelPendingCertificateResponseBody.d.ts +1 -1
- package/dist/models/CreateCertificateForPackageRequestRequest.d.ts +43 -52
- package/dist/models/CreateCertificateForPackageRequestRequest.js.map +1 -1
- package/dist/models/CreateCertificateForPackageRequestResponseBody.d.ts +2 -2
- package/dist/models/CreateCertificateRequestRequest.d.ts +20 -30
- package/dist/models/CreateCertificateRequestRequest.js.map +1 -1
- package/dist/models/CreateCertificateRequestResponseBody.d.ts +2 -2
- package/dist/models/CreateCertificateWithCsrRequestRequest.d.ts +22 -25
- package/dist/models/CreateCertificateWithCsrRequestRequest.js.map +1 -1
- package/dist/models/CreateCertificateWithCsrRequestResponseBody.d.ts +2 -2
- package/dist/models/CreateCompanyRequest.d.ts +4 -4
- package/dist/models/CreateContactRequest.d.ts +2 -2
- package/dist/models/CreateCsrRequest.d.ts +11 -13
- package/dist/models/CreateCsrRequest.js.map +1 -1
- package/dist/models/CreateCsrResponseBody.d.ts +2 -2
- package/dist/models/CreateDeploymentJobRequest.d.ts +7 -11
- package/dist/models/CreateDeploymentJobRequest.js.map +1 -1
- package/dist/models/CreateDeploymentJobResponseBody.d.ts +1 -1
- package/dist/models/CreateRollbackTaskRequest.d.ts +1 -1
- package/dist/models/CreateRollbackTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateWhclientCertificateRequest.d.ts +37 -49
- package/dist/models/CreateWhclientCertificateRequest.js.map +1 -1
- package/dist/models/CreateWhclientCertificateResponseBody.d.ts +6 -6
- package/dist/models/DecryptRequest.d.ts +9 -15
- package/dist/models/DecryptRequest.js.map +1 -1
- package/dist/models/DeleteContactRequest.d.ts +1 -1
- package/dist/models/DeleteContactResponseBody.d.ts +1 -1
- package/dist/models/DeleteCsrRequest.d.ts +1 -1
- package/dist/models/DeleteCsrResponseBody.d.ts +1 -1
- package/dist/models/DeleteInstanceRequest.d.ts +2 -2
- package/dist/models/DeleteInstanceResponseBody.d.ts +1 -1
- package/dist/models/DeleteUserCertificateRequest.d.ts +3 -3
- package/dist/models/DeleteUserCertificateResponseBody.d.ts +1 -1
- package/dist/models/DescribeCertificateStateRequest.d.ts +4 -2
- package/dist/models/DescribeCertificateStateRequest.js.map +1 -1
- package/dist/models/DescribeCertificateStateResponseBody.d.ts +31 -34
- package/dist/models/DescribeCertificateStateResponseBody.js.map +1 -1
- package/dist/models/DescribeDeploymentJobResponseBody.d.ts +1 -1
- package/dist/models/GetCertificatePackageCountResponseBody.d.ts +3 -3
- package/dist/models/GetCompanyResponseBody.d.ts +4 -4
- package/dist/models/GetContactRequest.d.ts +2 -1
- package/dist/models/GetContactRequest.js.map +1 -1
- package/dist/models/GetContactResponseBody.d.ts +6 -6
- package/dist/models/GetInstanceDetailResponseBody.d.ts +34 -23
- package/dist/models/GetInstanceDetailResponseBody.js +2 -0
- package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
- package/dist/models/GetMatchedResourcesRequest.d.ts +4 -4
- package/dist/models/GetMatchedResourcesResponseBody.d.ts +4 -4
- package/dist/models/GetTaskAttributeRequest.d.ts +2 -2
- package/dist/models/GetTaskAttributeResponseBody.d.ts +4 -7
- package/dist/models/GetTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/ListCertResponseBody.d.ts +1 -1
- package/dist/models/ListCompaniesRequest.d.ts +3 -3
- package/dist/models/ListCompaniesResponseBody.d.ts +6 -6
- package/dist/models/ListContactResponseBody.d.ts +1 -1
- package/dist/models/ListDeploymentJobResourceResponseBody.d.ts +1 -1
- package/dist/models/ListDeploymentJobResponseBody.d.ts +1 -1
- package/dist/models/ListInstancesRequest.d.ts +22 -18
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +45 -33
- package/dist/models/ListInstancesResponseBody.js +2 -0
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/ListTagKeysRequest.d.ts +6 -6
- package/dist/models/ListTagKeysResponseBody.d.ts +5 -5
- package/dist/models/ListTagResourcesRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
- package/dist/models/ListTrusteeOrderRequest.d.ts +4 -4
- package/dist/models/ListTrusteeOrderResponseBody.d.ts +2 -2
- package/dist/models/ListUserCertificateOrderRequest.d.ts +15 -15
- package/dist/models/ListUserCertificateOrderResponseBody.d.ts +53 -53
- package/dist/models/RefundInstanceRequest.d.ts +1 -1
- package/dist/models/RefundInstanceResponseBody.d.ts +1 -1
- package/dist/models/RenewCertificateOrderForPackageRequestRequest.d.ts +2 -2
- package/dist/models/ShareCertificateRequest.d.ts +1 -1
- package/dist/models/ShareCertificateResponseBody.d.ts +1 -1
- package/dist/models/SignRequest.d.ts +1 -1
- package/dist/models/TagResourcesRequest.d.ts +3 -3
- package/dist/models/UntagResourcesRequest.d.ts +2 -3
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UpdateCompanyRequest.d.ts +1 -1
- package/dist/models/UpdateContactRequest.d.ts +3 -3
- package/dist/models/UpdateContactResponseBody.d.ts +2 -2
- package/dist/models/UpdateInstanceRequest.d.ts +30 -19
- package/dist/models/UpdateInstanceRequest.js +2 -0
- package/dist/models/UpdateInstanceRequest.js.map +1 -1
- package/dist/models/UpdateInstanceResponseBody.d.ts +1 -1
- package/dist/models/UploadCsrRequest.d.ts +1 -1
- package/dist/models/UploadUserCertificateRequest.d.ts +18 -10
- package/dist/models/UploadUserCertificateRequest.js +2 -0
- package/dist/models/UploadUserCertificateRequest.js.map +1 -1
- package/dist/models/UploadUserCertificateResponseBody.d.ts +17 -1
- package/dist/models/UploadUserCertificateResponseBody.js +4 -0
- package/dist/models/UploadUserCertificateResponseBody.js.map +1 -1
- package/dist/models/VerifyRequest.d.ts +5 -5
- package/package.json +3 -2
- package/src/client.ts +230 -176
- package/src/models/AddCloudAccessRequest.ts +6 -18
- package/src/models/AddCloudAccessResponseBody.ts +1 -1
- package/src/models/BatchUpdateNoticeStatusRequest.ts +7 -9
- package/src/models/BatchUpdateNoticeStatusResponseBody.ts +1 -1
- package/src/models/CancelCertificateForPackageRequestRequest.ts +2 -3
- package/src/models/CancelCertificateForPackageRequestResponseBody.ts +1 -1
- package/src/models/CancelOrderRequestRequest.ts +3 -2
- package/src/models/CancelOrderRequestResponseBody.ts +1 -1
- package/src/models/CancelPendingCertificateResponseBody.ts +1 -1
- package/src/models/CreateCertificateForPackageRequestRequest.ts +43 -52
- package/src/models/CreateCertificateForPackageRequestResponseBody.ts +2 -2
- package/src/models/CreateCertificateRequestRequest.ts +20 -30
- package/src/models/CreateCertificateRequestResponseBody.ts +2 -2
- package/src/models/CreateCertificateWithCsrRequestRequest.ts +22 -25
- package/src/models/CreateCertificateWithCsrRequestResponseBody.ts +2 -2
- package/src/models/CreateCompanyRequest.ts +4 -4
- package/src/models/CreateContactRequest.ts +2 -2
- package/src/models/CreateCsrRequest.ts +11 -13
- package/src/models/CreateCsrResponseBody.ts +2 -2
- package/src/models/CreateDeploymentJobRequest.ts +7 -11
- package/src/models/CreateDeploymentJobResponseBody.ts +1 -1
- package/src/models/CreateRollbackTaskRequest.ts +1 -1
- package/src/models/CreateRollbackTaskResponseBody.ts +2 -2
- package/src/models/CreateWhclientCertificateRequest.ts +37 -49
- package/src/models/CreateWhclientCertificateResponseBody.ts +6 -6
- package/src/models/DecryptRequest.ts +9 -15
- package/src/models/DeleteContactRequest.ts +1 -1
- package/src/models/DeleteContactResponseBody.ts +1 -1
- package/src/models/DeleteCsrRequest.ts +1 -1
- package/src/models/DeleteCsrResponseBody.ts +1 -1
- package/src/models/DeleteInstanceRequest.ts +2 -2
- package/src/models/DeleteInstanceResponseBody.ts +1 -1
- package/src/models/DeleteUserCertificateRequest.ts +3 -3
- package/src/models/DeleteUserCertificateResponseBody.ts +1 -1
- package/src/models/DescribeCertificateStateRequest.ts +4 -2
- package/src/models/DescribeCertificateStateResponseBody.ts +31 -34
- package/src/models/DescribeDeploymentJobResponseBody.ts +1 -1
- package/src/models/GetCertificatePackageCountResponseBody.ts +3 -3
- package/src/models/GetCompanyResponseBody.ts +4 -4
- package/src/models/GetContactRequest.ts +2 -1
- package/src/models/GetContactResponseBody.ts +6 -6
- package/src/models/GetInstanceDetailResponseBody.ts +36 -23
- package/src/models/GetMatchedResourcesRequest.ts +4 -4
- package/src/models/GetMatchedResourcesResponseBody.ts +4 -4
- package/src/models/GetTaskAttributeRequest.ts +2 -2
- package/src/models/GetTaskAttributeResponseBody.ts +4 -7
- package/src/models/ListCertResponseBody.ts +1 -1
- package/src/models/ListCompaniesRequest.ts +3 -3
- package/src/models/ListCompaniesResponseBody.ts +6 -6
- package/src/models/ListContactResponseBody.ts +1 -1
- package/src/models/ListDeploymentJobResourceResponseBody.ts +1 -1
- package/src/models/ListDeploymentJobResponseBody.ts +1 -1
- package/src/models/ListInstancesRequest.ts +22 -18
- package/src/models/ListInstancesResponseBody.ts +47 -33
- package/src/models/ListTagKeysRequest.ts +6 -6
- package/src/models/ListTagKeysResponseBody.ts +5 -5
- package/src/models/ListTagResourcesRequest.ts +4 -4
- package/src/models/ListTagResourcesResponseBody.ts +2 -2
- package/src/models/ListTrusteeOrderRequest.ts +4 -4
- package/src/models/ListTrusteeOrderResponseBody.ts +2 -2
- package/src/models/ListUserCertificateOrderRequest.ts +15 -15
- package/src/models/ListUserCertificateOrderResponseBody.ts +53 -53
- package/src/models/RefundInstanceRequest.ts +1 -1
- package/src/models/RefundInstanceResponseBody.ts +1 -1
- package/src/models/RenewCertificateOrderForPackageRequestRequest.ts +2 -2
- package/src/models/ShareCertificateRequest.ts +1 -1
- package/src/models/ShareCertificateResponseBody.ts +1 -1
- package/src/models/SignRequest.ts +1 -1
- package/src/models/TagResourcesRequest.ts +3 -3
- package/src/models/UntagResourcesRequest.ts +2 -3
- package/src/models/UpdateCompanyRequest.ts +1 -1
- package/src/models/UpdateContactRequest.ts +3 -3
- package/src/models/UpdateContactResponseBody.ts +2 -2
- package/src/models/UpdateInstanceRequest.ts +32 -19
- package/src/models/UpdateInstanceResponseBody.ts +1 -1
- package/src/models/UploadCsrRequest.ts +1 -1
- package/src/models/UploadUserCertificateRequest.ts +20 -10
- package/src/models/UploadUserCertificateResponseBody.ts +21 -1
- package/src/models/VerifyRequest.ts +5 -5
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateInstanceRequestTags extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The tag key of the instance. Valid values of N: **1** to **20**. If you specify this parameter,
|
|
8
|
+
* The tag key of the instance. Valid values of N: **1** to **20**. If you specify this parameter, it cannot be an empty string.
|
|
9
9
|
*
|
|
10
|
-
* The tag key can be up to 64 characters in length
|
|
10
|
+
* The tag key can be up to 64 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* test
|
|
@@ -15,9 +15,9 @@ export class UpdateInstanceRequestTags extends $dara.Model {
|
|
|
15
15
|
tagKey?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The tag value of the instance. Valid values of N: **1** to **20**. If you specify this parameter,
|
|
18
|
+
* The tag value of the instance. Valid values of N: **1** to **20**. If you specify this parameter, it can be an empty string.
|
|
19
19
|
*
|
|
20
|
-
* The tag value can be up to 128 characters in length
|
|
20
|
+
* The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* test
|
|
@@ -57,6 +57,17 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
57
57
|
* enable
|
|
58
58
|
*/
|
|
59
59
|
autoReissue?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The auto-renewal status. Valid values:
|
|
63
|
+
*
|
|
64
|
+
* - **enable**: Automatic renewal.
|
|
65
|
+
* - **disable**: Manual renewal. You are notified by internal messages before the instance expires.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* enable
|
|
69
|
+
*/
|
|
70
|
+
autoRenewalStatus?: string;
|
|
60
71
|
/**
|
|
61
72
|
* @remarks
|
|
62
73
|
* The name of the instance. When a certificate is issued, this name is used as the default name of the certificate.
|
|
@@ -67,7 +78,7 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
67
78
|
certificateName?: string;
|
|
68
79
|
/**
|
|
69
80
|
* @remarks
|
|
70
|
-
* The city where the company or organization of the certificate
|
|
81
|
+
* The city where the company or organization of the user who purchases the certificate is located. This field is required when generating a CSR for a DV certificate. Default value: Beijing.
|
|
71
82
|
*
|
|
72
83
|
* @example
|
|
73
84
|
* Beijing
|
|
@@ -75,7 +86,7 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
75
86
|
city?: string;
|
|
76
87
|
/**
|
|
77
88
|
* @remarks
|
|
78
|
-
* The company information
|
|
89
|
+
* The ID of the company information. This parameter is required for OV and EV certificates. Otherwise, you cannot call the ApplyCertificate operation to apply for a certificate.
|
|
79
90
|
*
|
|
80
91
|
* @example
|
|
81
92
|
* 44211
|
|
@@ -83,12 +94,12 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
83
94
|
companyId?: number;
|
|
84
95
|
/**
|
|
85
96
|
* @remarks
|
|
86
|
-
* The list of contact IDs. If
|
|
97
|
+
* The list of contact IDs. If contacts already exist, you do not need to specify this parameter. If no contacts are configured, you must specify at least one contact ID. Otherwise, you cannot call the ApplyCertificate operation to apply for a certificate later.
|
|
87
98
|
*/
|
|
88
99
|
contactIdList?: number[];
|
|
89
100
|
/**
|
|
90
101
|
* @remarks
|
|
91
|
-
* The country or region
|
|
102
|
+
* The code of the country or region where the organization of the certificate is located. For example, CN indicates China, and US indicates the United States. This field is required when generating a CSR for a DV certificate. Default value: CN.
|
|
92
103
|
*
|
|
93
104
|
* @example
|
|
94
105
|
* CN
|
|
@@ -96,7 +107,7 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
96
107
|
countryCode?: string;
|
|
97
108
|
/**
|
|
98
109
|
* @remarks
|
|
99
|
-
* The CSR
|
|
110
|
+
* The content of the CSR. You can use OpenSSL or Keytool to generate a CSR. For more information, see [How to generate a CSR file](https://help.aliyun.com/document_detail/42218.html).
|
|
100
111
|
*
|
|
101
112
|
* @example
|
|
102
113
|
* -----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----
|
|
@@ -104,14 +115,14 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
104
115
|
csr?: string;
|
|
105
116
|
/**
|
|
106
117
|
* @remarks
|
|
107
|
-
* The domain name to
|
|
118
|
+
* The domain name to be bound to the certificate. Requirements:
|
|
108
119
|
*
|
|
109
|
-
* - You can specify a single domain name or a wildcard domain name (
|
|
110
|
-
* - You can specify multiple domain names. Separate multiple domain names with commas (,).
|
|
120
|
+
* - You can specify a single domain name or a wildcard domain name (such as `*.aliyundoc.com`).
|
|
121
|
+
* - You can specify multiple domain names. Separate multiple domain names with commas (,). The first domain name determines whether a free domain name is provided.
|
|
111
122
|
*
|
|
112
123
|
* >Notice:
|
|
113
124
|
*
|
|
114
|
-
* When
|
|
125
|
+
* When you bind multiple domain names to a certificate, this parameter is required. This parameter and the **Csr** parameter cannot be empty at the same time. If you specify both this parameter and the **Csr** parameter, the value of the **CN** field in the **Csr** parameter is used as the domain name bound to the certificate.
|
|
115
126
|
*
|
|
116
127
|
* @example
|
|
117
128
|
* test.com
|
|
@@ -120,8 +131,8 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
120
131
|
/**
|
|
121
132
|
* @remarks
|
|
122
133
|
* The method used to generate the certificate signing request (CSR). Default value: online. Valid values:
|
|
123
|
-
* - online: The system generates the CSR.
|
|
124
|
-
* - upload: You upload the CSR.
|
|
134
|
+
* - online: The system generates the CSR. In this case, the Csr parameter is ignored.
|
|
135
|
+
* - upload: You upload the CSR. In this case, the Csr parameter is required.
|
|
125
136
|
*
|
|
126
137
|
* @example
|
|
127
138
|
* online
|
|
@@ -129,7 +140,7 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
129
140
|
generateCsrMethod?: string;
|
|
130
141
|
/**
|
|
131
142
|
* @remarks
|
|
132
|
-
* The ID of the instance.
|
|
143
|
+
* The ID of the instance. The instance must be purchased as a subscription instance in the Alibaba Cloud Management Console. The format is cas_dv-cn-XXX.
|
|
133
144
|
*
|
|
134
145
|
* This parameter is required.
|
|
135
146
|
*
|
|
@@ -173,9 +184,9 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
173
184
|
tags?: UpdateInstanceRequestTags[];
|
|
174
185
|
/**
|
|
175
186
|
* @remarks
|
|
176
|
-
* The
|
|
177
|
-
* - DNS: DNS
|
|
178
|
-
* - HTTP: File
|
|
187
|
+
* The verification method for the certificate application. Valid values:
|
|
188
|
+
* - DNS: DNS verification, which uses TXT or CNAME records.
|
|
189
|
+
* - HTTP: File verification.
|
|
179
190
|
*
|
|
180
191
|
* @example
|
|
181
192
|
* DNS
|
|
@@ -184,6 +195,7 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
184
195
|
static names(): { [key: string]: string } {
|
|
185
196
|
return {
|
|
186
197
|
autoReissue: 'AutoReissue',
|
|
198
|
+
autoRenewalStatus: 'AutoRenewalStatus',
|
|
187
199
|
certificateName: 'CertificateName',
|
|
188
200
|
city: 'City',
|
|
189
201
|
companyId: 'CompanyId',
|
|
@@ -204,6 +216,7 @@ export class UpdateInstanceRequest extends $dara.Model {
|
|
|
204
216
|
static types(): { [key: string]: any } {
|
|
205
217
|
return {
|
|
206
218
|
autoReissue: 'string',
|
|
219
|
+
autoRenewalStatus: 'string',
|
|
207
220
|
certificateName: 'string',
|
|
208
221
|
city: 'string',
|
|
209
222
|
companyId: 'number',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateInstanceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request
|
|
8
|
+
* The ID of the request. The ID is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 0068247C-A454-5FC9-93BF-C41CBB5CD19E
|
|
@@ -15,7 +15,7 @@ export class UploadCsrRequest extends $dara.Model {
|
|
|
15
15
|
csr?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The content of the certificate
|
|
18
|
+
* The content of the certificate\"s private key in PEM format.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* -----BEGIN RSA PRIVATE KEY----- MII.... -----END RSA PRIVATE KEY-----
|
|
@@ -45,7 +45,7 @@ export class UploadUserCertificateRequestTags extends $dara.Model {
|
|
|
45
45
|
export class UploadUserCertificateRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The content of
|
|
48
|
+
* The content of a non-ShangMi certificate in PEM format.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* -----BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
|
|
@@ -53,15 +53,15 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
53
53
|
cert?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The client token used to ensure the idempotence of the request.
|
|
56
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
*
|
|
59
|
+
* upload-cert-20261110-9b7c4d2e
|
|
60
60
|
*/
|
|
61
61
|
clientToken?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The content of
|
|
64
|
+
* The content of a ShangMi (SM) encryption certificate in PEM format. This parameter is ignored if Cert and Key are specified.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -71,7 +71,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
71
71
|
encryptCert?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The private key of
|
|
74
|
+
* The private key content of a ShangMi (SM) encryption certificate in PEM format. This parameter is ignored if Cert and Key are specified.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* -----BEGIN EC PRIVATE KEY-----
|
|
@@ -81,7 +81,15 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
81
81
|
encryptPrivateKey?: string;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The
|
|
84
|
+
* The identifier of the upload instance after certificate upload hosting is enabled.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* cas-upload-566ecc695fe349829e29
|
|
88
|
+
*/
|
|
89
|
+
instanceId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The private key content of a non-ShangMi certificate in PEM format.
|
|
85
93
|
*
|
|
86
94
|
* @example
|
|
87
95
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -91,7 +99,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
91
99
|
key?: string;
|
|
92
100
|
/**
|
|
93
101
|
* @remarks
|
|
94
|
-
* The custom name
|
|
102
|
+
* The custom certificate name. The maximum length is 63 characters. All character types are supported, including letters, digits, and underscores.
|
|
95
103
|
* > Certificate names must be unique within the same account.
|
|
96
104
|
*
|
|
97
105
|
* This parameter is required.
|
|
@@ -102,7 +110,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
102
110
|
name?: string;
|
|
103
111
|
/**
|
|
104
112
|
* @remarks
|
|
105
|
-
* The resource group
|
|
113
|
+
* The ID of the resource group.
|
|
106
114
|
*
|
|
107
115
|
* @example
|
|
108
116
|
* rg-ae****vty
|
|
@@ -110,7 +118,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
110
118
|
resourceGroupId?: string;
|
|
111
119
|
/**
|
|
112
120
|
* @remarks
|
|
113
|
-
* The content of
|
|
121
|
+
* The content of a ShangMi (SM) signing certificate in PEM format. This parameter is ignored if Cert and Key are specified.
|
|
114
122
|
*
|
|
115
123
|
* @example
|
|
116
124
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -120,7 +128,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
120
128
|
signCert?: string;
|
|
121
129
|
/**
|
|
122
130
|
* @remarks
|
|
123
|
-
* The private key of
|
|
131
|
+
* The private key content of a ShangMi (SM) signing certificate in PEM format. This parameter is ignored if Cert and Key are specified.
|
|
124
132
|
*
|
|
125
133
|
* @example
|
|
126
134
|
* -----BEGIN EC PRIVATE KEY-----
|
|
@@ -139,6 +147,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
139
147
|
clientToken: 'ClientToken',
|
|
140
148
|
encryptCert: 'EncryptCert',
|
|
141
149
|
encryptPrivateKey: 'EncryptPrivateKey',
|
|
150
|
+
instanceId: 'InstanceId',
|
|
142
151
|
key: 'Key',
|
|
143
152
|
name: 'Name',
|
|
144
153
|
resourceGroupId: 'ResourceGroupId',
|
|
@@ -154,6 +163,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
|
|
|
154
163
|
clientToken: 'string',
|
|
155
164
|
encryptCert: 'string',
|
|
156
165
|
encryptPrivateKey: 'string',
|
|
166
|
+
instanceId: 'string',
|
|
157
167
|
key: 'string',
|
|
158
168
|
name: 'string',
|
|
159
169
|
resourceGroupId: 'string',
|
|
@@ -21,17 +21,35 @@ export class UploadUserCertificateResponseBody extends $dara.Model {
|
|
|
21
21
|
requestId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The instance ID of the certificate to
|
|
24
|
+
* The instance ID of the certificate to be operated on.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* cas-upload-xki1d0
|
|
28
28
|
*/
|
|
29
29
|
resourceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The primary key of the upload instance.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 888
|
|
36
|
+
*/
|
|
37
|
+
uploadInstanceId?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The identifier of the upload instance.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* cas-upload-566ecc695fe349829e29
|
|
44
|
+
*/
|
|
45
|
+
uploadInstanceInstanceId?: string;
|
|
30
46
|
static names(): { [key: string]: string } {
|
|
31
47
|
return {
|
|
32
48
|
certId: 'CertId',
|
|
33
49
|
requestId: 'RequestId',
|
|
34
50
|
resourceId: 'ResourceId',
|
|
51
|
+
uploadInstanceId: 'UploadInstanceId',
|
|
52
|
+
uploadInstanceInstanceId: 'UploadInstanceInstanceId',
|
|
35
53
|
};
|
|
36
54
|
}
|
|
37
55
|
|
|
@@ -40,6 +58,8 @@ export class UploadUserCertificateResponseBody extends $dara.Model {
|
|
|
40
58
|
certId: 'number',
|
|
41
59
|
requestId: 'string',
|
|
42
60
|
resourceId: 'string',
|
|
61
|
+
uploadInstanceId: 'number',
|
|
62
|
+
uploadInstanceInstanceId: 'string',
|
|
43
63
|
};
|
|
44
64
|
}
|
|
45
65
|
|
|
@@ -7,9 +7,9 @@ export class VerifyRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The unique identifier of the certificate. To get this parameter, call the [ListCert](https://help.aliyun.com/document_detail/455806.html) operation.
|
|
9
9
|
*
|
|
10
|
-
* - The identifier for an SSL certificate is typically in the format
|
|
10
|
+
* - The identifier for an SSL certificate is typically in the format \`{Certificate ID}-cn-hangzhou\`.
|
|
11
11
|
*
|
|
12
|
-
* - For a PCA certificate, this is the value of the
|
|
12
|
+
* - For a PCA certificate, this is the value of the \`Identifier\` field.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
@@ -25,11 +25,11 @@ export class VerifyRequest extends $dara.Model {
|
|
|
25
25
|
customIdentifier?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The data to verify. The data must be Base64-encoded. For example, if the hexadecimal content of the data to sign is
|
|
28
|
+
* The data to verify. The data must be Base64-encoded. For example, if the hexadecimal content of the data to sign is \`[0x31, 0x32, 0x33, 0x34]\`, the Base64-encoded value is \`MTIzNA==\`. If you set \`MessageType\` to \`RAW\`, the data size must be less than 4 KB. If the data to sign is larger than 4 KB, set \`MessageType\` to \`DIGEST\`. Then, set \`Message\` to the message digest, or hash, that you calculate locally. The hashing algorithm for the digest must be compatible with the signature algorithm:<br>
|
|
29
29
|
*
|
|
30
|
-
* - The hashing algorithm for
|
|
30
|
+
* - The hashing algorithm for \`SHA256withRSA\`, \`SHA256withRSA/PSS\`, and \`SHA256withECDSA\` is SHA-256.
|
|
31
31
|
*
|
|
32
|
-
* - The hashing algorithm for
|
|
32
|
+
* - The hashing algorithm for \`SM3withSM2\` is SM3.
|
|
33
33
|
*
|
|
34
34
|
* This parameter is required.
|
|
35
35
|
*
|