@alicloud/cas20200407 1.2.0 → 2.0.0
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 +4730 -532
- package/dist/client.js +493 -714
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +4849 -888
package/dist/client.js
CHANGED
|
@@ -26,13 +26,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.DescribeCloudResourceStatusResponseBody = exports.DescribeCloudResourceStatusRequest = exports.DescribeCertificateStateResponse = exports.DescribeCertificateStateResponseBody = exports.DescribeCertificateStateRequest = exports.DeleteWorkerResourceResponse = exports.DeleteWorkerResourceResponseBody = exports.DeleteWorkerResourceRequest = exports.DeleteUserCertificateResponse = exports.DeleteUserCertificateResponseBody = exports.DeleteUserCertificateRequest = exports.DeletePCACertResponse = exports.DeletePCACertResponseBody = exports.DeletePCACertRequest = exports.DeleteDeploymentJobResponse = exports.DeleteDeploymentJobResponseBody = exports.DeleteDeploymentJobRequest = exports.DeleteCsrResponse = exports.DeleteCsrResponseBody = exports.DeleteCsrRequest = exports.DeleteCertificateRequestResponse = exports.DeleteCertificateRequestResponseBody = exports.DeleteCertificateRequestRequest = exports.DecryptResponse = exports.DecryptResponseBody = exports.DecryptRequest = exports.
|
|
30
|
-
exports.ListUserCertificateOrderResponseBody = exports.ListUserCertificateOrderRequest = exports.ListDeploymentJobResourceResponse = exports.ListDeploymentJobResourceResponseBody = exports.ListDeploymentJobResourceRequest = exports.ListDeploymentJobCertResponse = exports.ListDeploymentJobCertResponseBody = exports.ListDeploymentJobCertRequest = exports.ListDeploymentJobResponse = exports.ListDeploymentJobResponseBody = exports.ListDeploymentJobRequest = exports.ListCsrResponse = exports.ListCsrResponseBody = exports.ListCsrRequest = exports.ListContactResponse = exports.ListContactResponseBody = exports.ListContactRequest = exports.ListCloudResourcesResponse = exports.ListCloudResourcesResponseBody = exports.ListCloudResourcesRequest = exports.ListCloudAccessResponse = exports.ListCloudAccessResponseBody = exports.ListCloudAccessRequest = exports.ListCertWarehouseResponse = exports.ListCertWarehouseResponseBody = exports.ListCertWarehouseRequest = exports.ListCertResponse = exports.ListCertResponseBody = exports.ListCertRequest = exports.GetUserCertificateDetailResponse = exports.GetUserCertificateDetailResponseBody = exports.GetUserCertificateDetailRequest = exports.GetCsrDetailResponse = exports.GetCsrDetailResponseBody = exports.GetCsrDetailRequest = exports.GetCertWarehouseQuotaResponse = exports.GetCertWarehouseQuotaResponseBody = exports.EncryptResponse = exports.EncryptResponseBody = exports.EncryptRequest = exports.DescribePackageStateResponse = exports.DescribePackageStateResponseBody = exports.DescribePackageStateRequest = exports.DescribeDeploymentJobStatusResponse = exports.DescribeDeploymentJobStatusResponseBody = exports.DescribeDeploymentJobStatusRequest = exports.DescribeDeploymentJobResponse =
|
|
31
|
-
exports.ListDeploymentJobResponseBodyData = exports.ListCsrResponseBodyCsrList = exports.ListContactResponseBodyContactList = exports.ListCloudResourcesResponseBodyData = exports.ListCloudAccessResponseBodyCloudAccessList = exports.ListCertWarehouseResponseBodyCertWarehouseList = exports.ListCertResponseBodyCertList = exports.DescribeDeploymentJobStatusResponseBodyProductWorkerCount = exports.DescribeDeploymentJobResponseBodyCasContacts = exports.DescribeCloudResourceStatusResponseBodyData = exports.VerifyResponse = exports.VerifyResponseBody = exports.VerifyRequest = exports.UploadUserCertificateResponse = exports.UploadUserCertificateResponseBody = exports.UploadUserCertificateRequest = exports.
|
|
32
|
-
exports.ListWorkerResourceResponseBodyData = exports.ListUserCertificateOrderResponseBodyCertificateOrderList = exports.ListDeploymentJobResourceResponseBodyData = exports.ListDeploymentJobCertResponseBodyData = void 0;
|
|
29
|
+
exports.DescribeDeploymentJobResponseBody = exports.DescribeDeploymentJobRequest = exports.DescribeCloudResourceStatusResponse = exports.DescribeCloudResourceStatusResponseBody = exports.DescribeCloudResourceStatusRequest = exports.DescribeCertificateStateResponse = exports.DescribeCertificateStateResponseBody = exports.DescribeCertificateStateRequest = exports.DeleteWorkerResourceResponse = exports.DeleteWorkerResourceResponseBody = exports.DeleteWorkerResourceRequest = exports.DeleteUserCertificateResponse = exports.DeleteUserCertificateResponseBody = exports.DeleteUserCertificateRequest = exports.DeletePCACertResponse = exports.DeletePCACertResponseBody = exports.DeletePCACertRequest = exports.DeleteDeploymentJobResponse = exports.DeleteDeploymentJobResponseBody = exports.DeleteDeploymentJobRequest = exports.DeleteCsrResponse = exports.DeleteCsrResponseBody = exports.DeleteCsrRequest = exports.DeleteCertificateRequestResponse = exports.DeleteCertificateRequestResponseBody = exports.DeleteCertificateRequestRequest = exports.DecryptResponse = exports.DecryptResponseBody = exports.DecryptRequest = exports.CreateDeploymentJobResponse = exports.CreateDeploymentJobResponseBody = exports.CreateDeploymentJobRequest = exports.CreateCsrResponse = exports.CreateCsrResponseBody = exports.CreateCsrRequest = exports.CreateCertificateWithCsrRequestResponse = exports.CreateCertificateWithCsrRequestResponseBody = exports.CreateCertificateWithCsrRequestRequest = exports.CreateCertificateRequestResponse = exports.CreateCertificateRequestResponseBody = exports.CreateCertificateRequestRequest = exports.CreateCertificateForPackageRequestResponse = exports.CreateCertificateForPackageRequestResponseBody = exports.CreateCertificateForPackageRequestRequest = exports.CancelOrderRequestResponse = exports.CancelOrderRequestResponseBody = exports.CancelOrderRequestRequest = exports.CancelCertificateForPackageRequestResponse = exports.CancelCertificateForPackageRequestResponseBody = exports.CancelCertificateForPackageRequestRequest = void 0;
|
|
30
|
+
exports.ListWorkerResourceRequest = exports.ListUserCertificateOrderResponse = exports.ListUserCertificateOrderResponseBody = exports.ListUserCertificateOrderRequest = exports.ListDeploymentJobResourceResponse = exports.ListDeploymentJobResourceResponseBody = exports.ListDeploymentJobResourceRequest = exports.ListDeploymentJobCertResponse = exports.ListDeploymentJobCertResponseBody = exports.ListDeploymentJobCertRequest = exports.ListDeploymentJobResponse = exports.ListDeploymentJobResponseBody = exports.ListDeploymentJobRequest = exports.ListCsrResponse = exports.ListCsrResponseBody = exports.ListCsrRequest = exports.ListContactResponse = exports.ListContactResponseBody = exports.ListContactRequest = exports.ListCloudResourcesResponse = exports.ListCloudResourcesResponseBody = exports.ListCloudResourcesShrinkRequest = exports.ListCloudResourcesRequest = exports.ListCloudAccessResponse = exports.ListCloudAccessResponseBody = exports.ListCloudAccessRequest = exports.ListCertWarehouseResponse = exports.ListCertWarehouseResponseBody = exports.ListCertWarehouseRequest = exports.ListCertResponse = exports.ListCertResponseBody = exports.ListCertRequest = exports.GetUserCertificateDetailResponse = exports.GetUserCertificateDetailResponseBody = exports.GetUserCertificateDetailRequest = exports.GetCsrDetailResponse = exports.GetCsrDetailResponseBody = exports.GetCsrDetailRequest = exports.GetCertWarehouseQuotaResponse = exports.GetCertWarehouseQuotaResponseBody = exports.EncryptResponse = exports.EncryptResponseBody = exports.EncryptRequest = exports.DescribePackageStateResponse = exports.DescribePackageStateResponseBody = exports.DescribePackageStateRequest = exports.DescribeDeploymentJobStatusResponse = exports.DescribeDeploymentJobStatusResponseBody = exports.DescribeDeploymentJobStatusRequest = exports.DescribeDeploymentJobResponse = void 0;
|
|
31
|
+
exports.ListWorkerResourceResponseBodyData = exports.ListUserCertificateOrderResponseBodyCertificateOrderList = exports.ListDeploymentJobResourceResponseBodyData = exports.ListDeploymentJobCertResponseBodyData = exports.ListDeploymentJobResponseBodyData = exports.ListCsrResponseBodyCsrList = exports.ListContactResponseBodyContactList = exports.ListCloudResourcesResponseBodyData = exports.ListCloudAccessResponseBodyCloudAccessList = exports.ListCertWarehouseResponseBodyCertWarehouseList = exports.ListCertResponseBodyCertList = exports.DescribeDeploymentJobStatusResponseBodyProductWorkerCount = exports.DescribeDeploymentJobResponseBodyCasContacts = exports.DescribeCloudResourceStatusResponseBodyData = exports.VerifyResponse = exports.VerifyResponseBody = exports.VerifyRequest = exports.UploadUserCertificateResponse = exports.UploadUserCertificateResponseBody = exports.UploadUserCertificateRequest = exports.UploadCsrResponse = exports.UploadCsrResponseBody = exports.UploadCsrRequest = exports.UpdateWorkerResourceStatusResponse = exports.UpdateWorkerResourceStatusResponseBody = exports.UpdateWorkerResourceStatusRequest = exports.UpdateDeploymentJobStatusResponse = exports.UpdateDeploymentJobStatusResponseBody = exports.UpdateDeploymentJobStatusRequest = exports.UpdateDeploymentJobResponse = exports.UpdateDeploymentJobResponseBody = exports.UpdateDeploymentJobRequest = exports.UpdateCsrResponse = exports.UpdateCsrResponseBody = exports.UpdateCsrRequest = exports.SignResponse = exports.SignResponseBody = exports.SignRequest = exports.RenewCertificateOrderForPackageRequestResponse = exports.RenewCertificateOrderForPackageRequestResponseBody = exports.RenewCertificateOrderForPackageRequestRequest = exports.MoveResourceGroupResponse = exports.MoveResourceGroupResponseBody = exports.MoveResourceGroupRequest = exports.ListWorkerResourceResponse = exports.ListWorkerResourceResponseBody = void 0;
|
|
33
32
|
// This file is auto-generated, don't edit it
|
|
34
33
|
/**
|
|
35
|
-
*
|
|
36
34
|
*/
|
|
37
35
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
38
36
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
@@ -477,100 +475,6 @@ class CreateDeploymentJobResponse extends $tea.Model {
|
|
|
477
475
|
}
|
|
478
476
|
}
|
|
479
477
|
exports.CreateDeploymentJobResponse = CreateDeploymentJobResponse;
|
|
480
|
-
class CreateWHClientCertificateRequest extends $tea.Model {
|
|
481
|
-
static names() {
|
|
482
|
-
return {
|
|
483
|
-
afterTime: 'AfterTime',
|
|
484
|
-
algorithm: 'Algorithm',
|
|
485
|
-
beforeTime: 'BeforeTime',
|
|
486
|
-
commonName: 'CommonName',
|
|
487
|
-
country: 'Country',
|
|
488
|
-
csr: 'Csr',
|
|
489
|
-
days: 'Days',
|
|
490
|
-
immediately: 'Immediately',
|
|
491
|
-
locality: 'Locality',
|
|
492
|
-
months: 'Months',
|
|
493
|
-
organization: 'Organization',
|
|
494
|
-
organizationUnit: 'OrganizationUnit',
|
|
495
|
-
parentIdentifier: 'ParentIdentifier',
|
|
496
|
-
sanType: 'SanType',
|
|
497
|
-
sanValue: 'SanValue',
|
|
498
|
-
state: 'State',
|
|
499
|
-
years: 'Years',
|
|
500
|
-
};
|
|
501
|
-
}
|
|
502
|
-
static types() {
|
|
503
|
-
return {
|
|
504
|
-
afterTime: 'number',
|
|
505
|
-
algorithm: 'string',
|
|
506
|
-
beforeTime: 'number',
|
|
507
|
-
commonName: 'string',
|
|
508
|
-
country: 'string',
|
|
509
|
-
csr: 'string',
|
|
510
|
-
days: 'number',
|
|
511
|
-
immediately: 'number',
|
|
512
|
-
locality: 'string',
|
|
513
|
-
months: 'number',
|
|
514
|
-
organization: 'string',
|
|
515
|
-
organizationUnit: 'string',
|
|
516
|
-
parentIdentifier: 'string',
|
|
517
|
-
sanType: 'number',
|
|
518
|
-
sanValue: 'string',
|
|
519
|
-
state: 'string',
|
|
520
|
-
years: 'number',
|
|
521
|
-
};
|
|
522
|
-
}
|
|
523
|
-
constructor(map) {
|
|
524
|
-
super(map);
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
exports.CreateWHClientCertificateRequest = CreateWHClientCertificateRequest;
|
|
528
|
-
class CreateWHClientCertificateResponseBody extends $tea.Model {
|
|
529
|
-
static names() {
|
|
530
|
-
return {
|
|
531
|
-
certificateChain: 'CertificateChain',
|
|
532
|
-
identifier: 'Identifier',
|
|
533
|
-
parentX509Certificate: 'ParentX509Certificate',
|
|
534
|
-
requestId: 'RequestId',
|
|
535
|
-
rootX509Certificate: 'RootX509Certificate',
|
|
536
|
-
x509Certificate: 'X509Certificate',
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
static types() {
|
|
540
|
-
return {
|
|
541
|
-
certificateChain: 'string',
|
|
542
|
-
identifier: 'string',
|
|
543
|
-
parentX509Certificate: 'string',
|
|
544
|
-
requestId: 'string',
|
|
545
|
-
rootX509Certificate: 'string',
|
|
546
|
-
x509Certificate: 'string',
|
|
547
|
-
};
|
|
548
|
-
}
|
|
549
|
-
constructor(map) {
|
|
550
|
-
super(map);
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
exports.CreateWHClientCertificateResponseBody = CreateWHClientCertificateResponseBody;
|
|
554
|
-
class CreateWHClientCertificateResponse extends $tea.Model {
|
|
555
|
-
static names() {
|
|
556
|
-
return {
|
|
557
|
-
headers: 'headers',
|
|
558
|
-
statusCode: 'statusCode',
|
|
559
|
-
body: 'body',
|
|
560
|
-
};
|
|
561
|
-
}
|
|
562
|
-
static types() {
|
|
563
|
-
return {
|
|
564
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
565
|
-
statusCode: 'number',
|
|
566
|
-
body: CreateWHClientCertificateResponseBody,
|
|
567
|
-
};
|
|
568
|
-
}
|
|
569
|
-
constructor(map) {
|
|
570
|
-
super(map);
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
exports.CreateWHClientCertificateResponse = CreateWHClientCertificateResponse;
|
|
574
478
|
class DecryptRequest extends $tea.Model {
|
|
575
479
|
static names() {
|
|
576
480
|
return {
|
|
@@ -1421,12 +1325,14 @@ class GetCsrDetailResponseBody extends $tea.Model {
|
|
|
1421
1325
|
static names() {
|
|
1422
1326
|
return {
|
|
1423
1327
|
csr: 'Csr',
|
|
1328
|
+
privateKey: 'PrivateKey',
|
|
1424
1329
|
requestId: 'RequestId',
|
|
1425
1330
|
};
|
|
1426
1331
|
}
|
|
1427
1332
|
static types() {
|
|
1428
1333
|
return {
|
|
1429
1334
|
csr: 'string',
|
|
1335
|
+
privateKey: 'string',
|
|
1430
1336
|
requestId: 'string',
|
|
1431
1337
|
};
|
|
1432
1338
|
}
|
|
@@ -1488,6 +1394,7 @@ class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
1488
1394
|
expired: 'Expired',
|
|
1489
1395
|
fingerprint: 'Fingerprint',
|
|
1490
1396
|
id: 'Id',
|
|
1397
|
+
instanceId: 'InstanceId',
|
|
1491
1398
|
issuer: 'Issuer',
|
|
1492
1399
|
key: 'Key',
|
|
1493
1400
|
name: 'Name',
|
|
@@ -1497,6 +1404,8 @@ class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
1497
1404
|
requestId: 'RequestId',
|
|
1498
1405
|
resourceGroupId: 'ResourceGroupId',
|
|
1499
1406
|
sans: 'Sans',
|
|
1407
|
+
serialNo: 'SerialNo',
|
|
1408
|
+
sha2: 'Sha2',
|
|
1500
1409
|
signCert: 'SignCert',
|
|
1501
1410
|
signPrivateKey: 'SignPrivateKey',
|
|
1502
1411
|
startDate: 'StartDate',
|
|
@@ -1516,6 +1425,7 @@ class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
1516
1425
|
expired: 'boolean',
|
|
1517
1426
|
fingerprint: 'string',
|
|
1518
1427
|
id: 'number',
|
|
1428
|
+
instanceId: 'string',
|
|
1519
1429
|
issuer: 'string',
|
|
1520
1430
|
key: 'string',
|
|
1521
1431
|
name: 'string',
|
|
@@ -1525,6 +1435,8 @@ class GetUserCertificateDetailResponseBody extends $tea.Model {
|
|
|
1525
1435
|
requestId: 'string',
|
|
1526
1436
|
resourceGroupId: 'string',
|
|
1527
1437
|
sans: 'string',
|
|
1438
|
+
serialNo: 'string',
|
|
1439
|
+
sha2: 'string',
|
|
1528
1440
|
signCert: 'string',
|
|
1529
1441
|
signPrivateKey: 'string',
|
|
1530
1442
|
startDate: 'string',
|
|
@@ -1764,6 +1676,7 @@ exports.ListCloudAccessResponse = ListCloudAccessResponse;
|
|
|
1764
1676
|
class ListCloudResourcesRequest extends $tea.Model {
|
|
1765
1677
|
static names() {
|
|
1766
1678
|
return {
|
|
1679
|
+
certIds: 'CertIds',
|
|
1767
1680
|
cloudName: 'CloudName',
|
|
1768
1681
|
cloudProduct: 'CloudProduct',
|
|
1769
1682
|
currentPage: 'CurrentPage',
|
|
@@ -1774,6 +1687,7 @@ class ListCloudResourcesRequest extends $tea.Model {
|
|
|
1774
1687
|
}
|
|
1775
1688
|
static types() {
|
|
1776
1689
|
return {
|
|
1690
|
+
certIds: { 'type': 'array', 'itemType': 'number' },
|
|
1777
1691
|
cloudName: 'string',
|
|
1778
1692
|
cloudProduct: 'string',
|
|
1779
1693
|
currentPage: 'number',
|
|
@@ -1787,6 +1701,34 @@ class ListCloudResourcesRequest extends $tea.Model {
|
|
|
1787
1701
|
}
|
|
1788
1702
|
}
|
|
1789
1703
|
exports.ListCloudResourcesRequest = ListCloudResourcesRequest;
|
|
1704
|
+
class ListCloudResourcesShrinkRequest extends $tea.Model {
|
|
1705
|
+
static names() {
|
|
1706
|
+
return {
|
|
1707
|
+
certIdsShrink: 'CertIds',
|
|
1708
|
+
cloudName: 'CloudName',
|
|
1709
|
+
cloudProduct: 'CloudProduct',
|
|
1710
|
+
currentPage: 'CurrentPage',
|
|
1711
|
+
keyword: 'Keyword',
|
|
1712
|
+
secretId: 'SecretId',
|
|
1713
|
+
showSize: 'ShowSize',
|
|
1714
|
+
};
|
|
1715
|
+
}
|
|
1716
|
+
static types() {
|
|
1717
|
+
return {
|
|
1718
|
+
certIdsShrink: 'string',
|
|
1719
|
+
cloudName: 'string',
|
|
1720
|
+
cloudProduct: 'string',
|
|
1721
|
+
currentPage: 'number',
|
|
1722
|
+
keyword: 'string',
|
|
1723
|
+
secretId: 'string',
|
|
1724
|
+
showSize: 'number',
|
|
1725
|
+
};
|
|
1726
|
+
}
|
|
1727
|
+
constructor(map) {
|
|
1728
|
+
super(map);
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
exports.ListCloudResourcesShrinkRequest = ListCloudResourcesShrinkRequest;
|
|
1790
1732
|
class ListCloudResourcesResponseBody extends $tea.Model {
|
|
1791
1733
|
static names() {
|
|
1792
1734
|
return {
|
|
@@ -2389,58 +2331,6 @@ class RenewCertificateOrderForPackageRequestResponse extends $tea.Model {
|
|
|
2389
2331
|
}
|
|
2390
2332
|
}
|
|
2391
2333
|
exports.RenewCertificateOrderForPackageRequestResponse = RenewCertificateOrderForPackageRequestResponse;
|
|
2392
|
-
class RevokeWHClientCertificateRequest extends $tea.Model {
|
|
2393
|
-
static names() {
|
|
2394
|
-
return {
|
|
2395
|
-
identifier: 'Identifier',
|
|
2396
|
-
};
|
|
2397
|
-
}
|
|
2398
|
-
static types() {
|
|
2399
|
-
return {
|
|
2400
|
-
identifier: 'string',
|
|
2401
|
-
};
|
|
2402
|
-
}
|
|
2403
|
-
constructor(map) {
|
|
2404
|
-
super(map);
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
exports.RevokeWHClientCertificateRequest = RevokeWHClientCertificateRequest;
|
|
2408
|
-
class RevokeWHClientCertificateResponseBody extends $tea.Model {
|
|
2409
|
-
static names() {
|
|
2410
|
-
return {
|
|
2411
|
-
requestId: 'RequestId',
|
|
2412
|
-
};
|
|
2413
|
-
}
|
|
2414
|
-
static types() {
|
|
2415
|
-
return {
|
|
2416
|
-
requestId: 'string',
|
|
2417
|
-
};
|
|
2418
|
-
}
|
|
2419
|
-
constructor(map) {
|
|
2420
|
-
super(map);
|
|
2421
|
-
}
|
|
2422
|
-
}
|
|
2423
|
-
exports.RevokeWHClientCertificateResponseBody = RevokeWHClientCertificateResponseBody;
|
|
2424
|
-
class RevokeWHClientCertificateResponse extends $tea.Model {
|
|
2425
|
-
static names() {
|
|
2426
|
-
return {
|
|
2427
|
-
headers: 'headers',
|
|
2428
|
-
statusCode: 'statusCode',
|
|
2429
|
-
body: 'body',
|
|
2430
|
-
};
|
|
2431
|
-
}
|
|
2432
|
-
static types() {
|
|
2433
|
-
return {
|
|
2434
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2435
|
-
statusCode: 'number',
|
|
2436
|
-
body: RevokeWHClientCertificateResponseBody,
|
|
2437
|
-
};
|
|
2438
|
-
}
|
|
2439
|
-
constructor(map) {
|
|
2440
|
-
super(map);
|
|
2441
|
-
}
|
|
2442
|
-
}
|
|
2443
|
-
exports.RevokeWHClientCertificateResponse = RevokeWHClientCertificateResponse;
|
|
2444
2334
|
class SignRequest extends $tea.Model {
|
|
2445
2335
|
static names() {
|
|
2446
2336
|
return {
|
|
@@ -2789,66 +2679,6 @@ class UploadCsrResponse extends $tea.Model {
|
|
|
2789
2679
|
}
|
|
2790
2680
|
}
|
|
2791
2681
|
exports.UploadCsrResponse = UploadCsrResponse;
|
|
2792
|
-
class UploadPCACertRequest extends $tea.Model {
|
|
2793
|
-
static names() {
|
|
2794
|
-
return {
|
|
2795
|
-
cert: 'Cert',
|
|
2796
|
-
name: 'Name',
|
|
2797
|
-
privateKey: 'PrivateKey',
|
|
2798
|
-
warehouseId: 'WarehouseId',
|
|
2799
|
-
};
|
|
2800
|
-
}
|
|
2801
|
-
static types() {
|
|
2802
|
-
return {
|
|
2803
|
-
cert: 'string',
|
|
2804
|
-
name: 'string',
|
|
2805
|
-
privateKey: 'string',
|
|
2806
|
-
warehouseId: 'number',
|
|
2807
|
-
};
|
|
2808
|
-
}
|
|
2809
|
-
constructor(map) {
|
|
2810
|
-
super(map);
|
|
2811
|
-
}
|
|
2812
|
-
}
|
|
2813
|
-
exports.UploadPCACertRequest = UploadPCACertRequest;
|
|
2814
|
-
class UploadPCACertResponseBody extends $tea.Model {
|
|
2815
|
-
static names() {
|
|
2816
|
-
return {
|
|
2817
|
-
identifier: 'Identifier',
|
|
2818
|
-
requestId: 'RequestId',
|
|
2819
|
-
};
|
|
2820
|
-
}
|
|
2821
|
-
static types() {
|
|
2822
|
-
return {
|
|
2823
|
-
identifier: 'string',
|
|
2824
|
-
requestId: 'string',
|
|
2825
|
-
};
|
|
2826
|
-
}
|
|
2827
|
-
constructor(map) {
|
|
2828
|
-
super(map);
|
|
2829
|
-
}
|
|
2830
|
-
}
|
|
2831
|
-
exports.UploadPCACertResponseBody = UploadPCACertResponseBody;
|
|
2832
|
-
class UploadPCACertResponse extends $tea.Model {
|
|
2833
|
-
static names() {
|
|
2834
|
-
return {
|
|
2835
|
-
headers: 'headers',
|
|
2836
|
-
statusCode: 'statusCode',
|
|
2837
|
-
body: 'body',
|
|
2838
|
-
};
|
|
2839
|
-
}
|
|
2840
|
-
static types() {
|
|
2841
|
-
return {
|
|
2842
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2843
|
-
statusCode: 'number',
|
|
2844
|
-
body: UploadPCACertResponseBody,
|
|
2845
|
-
};
|
|
2846
|
-
}
|
|
2847
|
-
constructor(map) {
|
|
2848
|
-
super(map);
|
|
2849
|
-
}
|
|
2850
|
-
}
|
|
2851
|
-
exports.UploadPCACertResponse = UploadPCACertResponse;
|
|
2852
2682
|
class UploadUserCertificateRequest extends $tea.Model {
|
|
2853
2683
|
static names() {
|
|
2854
2684
|
return {
|
|
@@ -3615,15 +3445,14 @@ class Client extends openapi_client_1.default {
|
|
|
3615
3445
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3616
3446
|
}
|
|
3617
3447
|
/**
|
|
3618
|
-
*
|
|
3619
|
-
* > You can call the [DescribeCertificateState](https://help.aliyun.com/document_detail/164111.html) operation to query the status of a certificate application order. If the value of the **Type** response parameter is **certificate**, the certificate is issued.
|
|
3620
|
-
* If a certificate is revoked within 30 calendar days after the issuance date, the consumed certificate quota is returned to you. Otherwise, the consumed certificate quota is not returned.
|
|
3448
|
+
* Revokes an issued certificate and cancels the application order of the certificate.
|
|
3621
3449
|
*
|
|
3622
|
-
* @
|
|
3450
|
+
* @remarks
|
|
3451
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3623
3452
|
*
|
|
3624
|
-
* @param request CancelCertificateForPackageRequestRequest
|
|
3625
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3626
|
-
* @
|
|
3453
|
+
* @param request - CancelCertificateForPackageRequestRequest
|
|
3454
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3455
|
+
* @returns CancelCertificateForPackageRequestResponse
|
|
3627
3456
|
*/
|
|
3628
3457
|
async cancelCertificateForPackageRequestWithOptions(request, runtime) {
|
|
3629
3458
|
tea_util_1.default.validateModel(request);
|
|
@@ -3648,30 +3477,27 @@ class Client extends openapi_client_1.default {
|
|
|
3648
3477
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelCertificateForPackageRequestResponse({}));
|
|
3649
3478
|
}
|
|
3650
3479
|
/**
|
|
3651
|
-
*
|
|
3652
|
-
* > You can call the [DescribeCertificateState](https://help.aliyun.com/document_detail/164111.html) operation to query the status of a certificate application order. If the value of the **Type** response parameter is **certificate**, the certificate is issued.
|
|
3653
|
-
* If a certificate is revoked within 30 calendar days after the issuance date, the consumed certificate quota is returned to you. Otherwise, the consumed certificate quota is not returned.
|
|
3480
|
+
* Revokes an issued certificate and cancels the application order of the certificate.
|
|
3654
3481
|
*
|
|
3655
|
-
* @
|
|
3482
|
+
* @remarks
|
|
3483
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3656
3484
|
*
|
|
3657
|
-
* @param request CancelCertificateForPackageRequestRequest
|
|
3658
|
-
* @
|
|
3485
|
+
* @param request - CancelCertificateForPackageRequestRequest
|
|
3486
|
+
* @returns CancelCertificateForPackageRequestResponse
|
|
3659
3487
|
*/
|
|
3660
3488
|
async cancelCertificateForPackageRequest(request) {
|
|
3661
3489
|
let runtime = new $Util.RuntimeOptions({});
|
|
3662
3490
|
return await this.cancelCertificateForPackageRequestWithOptions(request, runtime);
|
|
3663
3491
|
}
|
|
3664
3492
|
/**
|
|
3665
|
-
*
|
|
3493
|
+
* Cancels a certificate application order that is in the pending validation or being reviewed state.
|
|
3666
3494
|
*
|
|
3667
|
-
* @
|
|
3668
|
-
*
|
|
3669
|
-
* * The order is in the **being reviewed** state. You have submitted a certificate application and the verification of the domain name ownership is complete, but the certificate authority (CA) does not complete the review of the certificate application.
|
|
3670
|
-
* After a certificate application order is canceled, the status of the order changes to the **pending application** state. In this case, you can call the [DeleteCertificateRequest](https://help.aliyun.com/document_detail/164109.html) operation to delete the certificate application order. Then, the consumed certificate quota is returned to you.
|
|
3495
|
+
* @remarks
|
|
3496
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3671
3497
|
*
|
|
3672
|
-
* @param request CancelOrderRequestRequest
|
|
3673
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3674
|
-
* @
|
|
3498
|
+
* @param request - CancelOrderRequestRequest
|
|
3499
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3500
|
+
* @returns CancelOrderRequestResponse
|
|
3675
3501
|
*/
|
|
3676
3502
|
async cancelOrderRequestWithOptions(request, runtime) {
|
|
3677
3503
|
tea_util_1.default.validateModel(request);
|
|
@@ -3696,30 +3522,29 @@ class Client extends openapi_client_1.default {
|
|
|
3696
3522
|
return $tea.cast(await this.callApi(params, req, runtime), new CancelOrderRequestResponse({}));
|
|
3697
3523
|
}
|
|
3698
3524
|
/**
|
|
3699
|
-
*
|
|
3525
|
+
* Cancels a certificate application order that is in the pending validation or being reviewed state.
|
|
3700
3526
|
*
|
|
3701
|
-
* @
|
|
3702
|
-
*
|
|
3703
|
-
* * The order is in the **being reviewed** state. You have submitted a certificate application and the verification of the domain name ownership is complete, but the certificate authority (CA) does not complete the review of the certificate application.
|
|
3704
|
-
* After a certificate application order is canceled, the status of the order changes to the **pending application** state. In this case, you can call the [DeleteCertificateRequest](https://help.aliyun.com/document_detail/164109.html) operation to delete the certificate application order. Then, the consumed certificate quota is returned to you.
|
|
3527
|
+
* @remarks
|
|
3528
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3705
3529
|
*
|
|
3706
|
-
* @param request CancelOrderRequestRequest
|
|
3707
|
-
* @
|
|
3530
|
+
* @param request - CancelOrderRequestRequest
|
|
3531
|
+
* @returns CancelOrderRequestResponse
|
|
3708
3532
|
*/
|
|
3709
3533
|
async cancelOrderRequest(request) {
|
|
3710
3534
|
let runtime = new $Util.RuntimeOptions({});
|
|
3711
3535
|
return await this.cancelOrderRequestWithOptions(request, runtime);
|
|
3712
3536
|
}
|
|
3713
3537
|
/**
|
|
3714
|
-
*
|
|
3538
|
+
* Submits a certificate application.
|
|
3715
3539
|
*
|
|
3716
|
-
* @
|
|
3540
|
+
* @remarks
|
|
3541
|
+
* Before you call this operation, make sure that you have purchased a certificate resource plan of the required specifications. For more information about how to purchase a certificate resource plan, see [Purchase a certificate resource plan](https://help.aliyun.com/document_detail/28542.html). You can call the [DescribePackageState](https://help.aliyun.com/document_detail/455800.html) operation to query the usage of a certificate resource plan of specified specifications, including the total number of certificate resource plans that you purchase, the number of certificate applications that you submit, and the number of certificates that are issued.
|
|
3717
3542
|
* * After you call this operation to submit a certificate application and the certificate is issued, the certificate quota provided by the resource plan that you purchased is consumed. When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate that you want to apply for.
|
|
3718
|
-
* * After you call this operation to submit a certificate application, you also need to call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required
|
|
3543
|
+
* * After you call this operation to submit a certificate application, you also need to call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required for domain name ownership verification and manually complete the verification. Then, your certificate application is reviewed by the certificate authority (CA). If you use the Domain Name System (DNS) verification method, you must complete the verification on your DNS service provider system. If you use the file verification method, you must complete the verification on the DNS server.
|
|
3719
3544
|
*
|
|
3720
|
-
* @param request CreateCertificateForPackageRequestRequest
|
|
3721
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3722
|
-
* @
|
|
3545
|
+
* @param request - CreateCertificateForPackageRequestRequest
|
|
3546
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3547
|
+
* @returns CreateCertificateForPackageRequestResponse
|
|
3723
3548
|
*/
|
|
3724
3549
|
async createCertificateForPackageRequestWithOptions(request, runtime) {
|
|
3725
3550
|
tea_util_1.default.validateModel(request);
|
|
@@ -3765,30 +3590,32 @@ class Client extends openapi_client_1.default {
|
|
|
3765
3590
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCertificateForPackageRequestResponse({}));
|
|
3766
3591
|
}
|
|
3767
3592
|
/**
|
|
3768
|
-
*
|
|
3593
|
+
* Submits a certificate application.
|
|
3769
3594
|
*
|
|
3770
|
-
* @
|
|
3595
|
+
* @remarks
|
|
3596
|
+
* Before you call this operation, make sure that you have purchased a certificate resource plan of the required specifications. For more information about how to purchase a certificate resource plan, see [Purchase a certificate resource plan](https://help.aliyun.com/document_detail/28542.html). You can call the [DescribePackageState](https://help.aliyun.com/document_detail/455800.html) operation to query the usage of a certificate resource plan of specified specifications, including the total number of certificate resource plans that you purchase, the number of certificate applications that you submit, and the number of certificates that are issued.
|
|
3771
3597
|
* * After you call this operation to submit a certificate application and the certificate is issued, the certificate quota provided by the resource plan that you purchased is consumed. When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate that you want to apply for.
|
|
3772
|
-
* * After you call this operation to submit a certificate application, you also need to call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required
|
|
3598
|
+
* * After you call this operation to submit a certificate application, you also need to call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required for domain name ownership verification and manually complete the verification. Then, your certificate application is reviewed by the certificate authority (CA). If you use the Domain Name System (DNS) verification method, you must complete the verification on your DNS service provider system. If you use the file verification method, you must complete the verification on the DNS server.
|
|
3773
3599
|
*
|
|
3774
|
-
* @param request CreateCertificateForPackageRequestRequest
|
|
3775
|
-
* @
|
|
3600
|
+
* @param request - CreateCertificateForPackageRequestRequest
|
|
3601
|
+
* @returns CreateCertificateForPackageRequestResponse
|
|
3776
3602
|
*/
|
|
3777
3603
|
async createCertificateForPackageRequest(request) {
|
|
3778
3604
|
let runtime = new $Util.RuntimeOptions({});
|
|
3779
3605
|
return await this.createCertificateForPackageRequestWithOptions(request, runtime);
|
|
3780
3606
|
}
|
|
3781
3607
|
/**
|
|
3782
|
-
*
|
|
3608
|
+
* Purchases, applies for, and issues a domain validated (DV) certificate by using extended certificate services.
|
|
3783
3609
|
*
|
|
3784
|
-
* @
|
|
3785
|
-
*
|
|
3610
|
+
* @remarks
|
|
3611
|
+
* You can call this operation to apply for only DV certificates. If you want to apply for an organization validated (OV) or extended validation (EV) certificate, we recommend that you call the [CreateCertificateForPackageRequest](https://help.aliyun.com/document_detail/455296.html) operation. This operation allows you to apply for certificates of all specifications and specify the method to generate a certificate signing request (CSR) file.
|
|
3612
|
+
* * Before you call this operation, make sure that you have purchased a certificate resource plan of the required specifications. For more information about how to purchase a certificate resource plan, see [Purchase a certificate resource plan](https://help.aliyun.com/document_detail/28542.html). You can call the [DescribePackageState](https://help.aliyun.com/document_detail/455803.html) operation to query the usage of a certificate resource plan of specified specifications, including the total number of certificate resource plans that you purchase, the number of certificate applications that you submit, and the number of certificates that are issued.
|
|
3786
3613
|
* * When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate.
|
|
3787
3614
|
* * After you call this operation to submit a certificate application, Certificate Management Service automatically creates a CSR file for your application and consumes the certificate quota in the certificate resource plans of the specified specifications that you purchased. After you call this operation, you also need to call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required to complete domain name verification, and manually complete the verification. If you use the DNS verification method, you must complete the verification on the management platform of the domain name. If you use the file verification method, you must complete the verification on your DNS server. Then, the certificate authority (CA) will review your certificate application.
|
|
3788
3615
|
*
|
|
3789
|
-
* @param request CreateCertificateRequestRequest
|
|
3790
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3791
|
-
* @
|
|
3616
|
+
* @param request - CreateCertificateRequestRequest
|
|
3617
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3618
|
+
* @returns CreateCertificateRequestResponse
|
|
3792
3619
|
*/
|
|
3793
3620
|
async createCertificateRequestWithOptions(request, runtime) {
|
|
3794
3621
|
tea_util_1.default.validateModel(request);
|
|
@@ -3828,31 +3655,33 @@ class Client extends openapi_client_1.default {
|
|
|
3828
3655
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCertificateRequestResponse({}));
|
|
3829
3656
|
}
|
|
3830
3657
|
/**
|
|
3831
|
-
*
|
|
3658
|
+
* Purchases, applies for, and issues a domain validated (DV) certificate by using extended certificate services.
|
|
3832
3659
|
*
|
|
3833
|
-
* @
|
|
3834
|
-
*
|
|
3660
|
+
* @remarks
|
|
3661
|
+
* You can call this operation to apply for only DV certificates. If you want to apply for an organization validated (OV) or extended validation (EV) certificate, we recommend that you call the [CreateCertificateForPackageRequest](https://help.aliyun.com/document_detail/455296.html) operation. This operation allows you to apply for certificates of all specifications and specify the method to generate a certificate signing request (CSR) file.
|
|
3662
|
+
* * Before you call this operation, make sure that you have purchased a certificate resource plan of the required specifications. For more information about how to purchase a certificate resource plan, see [Purchase a certificate resource plan](https://help.aliyun.com/document_detail/28542.html). You can call the [DescribePackageState](https://help.aliyun.com/document_detail/455803.html) operation to query the usage of a certificate resource plan of specified specifications, including the total number of certificate resource plans that you purchase, the number of certificate applications that you submit, and the number of certificates that are issued.
|
|
3835
3663
|
* * When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate.
|
|
3836
3664
|
* * After you call this operation to submit a certificate application, Certificate Management Service automatically creates a CSR file for your application and consumes the certificate quota in the certificate resource plans of the specified specifications that you purchased. After you call this operation, you also need to call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required to complete domain name verification, and manually complete the verification. If you use the DNS verification method, you must complete the verification on the management platform of the domain name. If you use the file verification method, you must complete the verification on your DNS server. Then, the certificate authority (CA) will review your certificate application.
|
|
3837
3665
|
*
|
|
3838
|
-
* @param request CreateCertificateRequestRequest
|
|
3839
|
-
* @
|
|
3666
|
+
* @param request - CreateCertificateRequestRequest
|
|
3667
|
+
* @returns CreateCertificateRequestResponse
|
|
3840
3668
|
*/
|
|
3841
3669
|
async createCertificateRequest(request) {
|
|
3842
3670
|
let runtime = new $Util.RuntimeOptions({});
|
|
3843
3671
|
return await this.createCertificateRequestWithOptions(request, runtime);
|
|
3844
3672
|
}
|
|
3845
3673
|
/**
|
|
3846
|
-
*
|
|
3674
|
+
* Purchases, applies for, and issues a domain validated (DV) certificate by using a custom certificate signing request (CSR) file. You can use extended certificate services to purchase and apply for a DV certificate with a few clicks.
|
|
3847
3675
|
*
|
|
3848
|
-
* @
|
|
3849
|
-
*
|
|
3850
|
-
* *
|
|
3851
|
-
* *
|
|
3676
|
+
* @remarks
|
|
3677
|
+
* You can use this operation to apply for only a domain validated (DV) certificate. You cannot use this operation to apply for an organization validated (OV) certificate. We recommend that you use the [CreateCertificateForPackageRequest](https://help.aliyun.com/document_detail/455296.html) operation to apply for a certificate. You can use the CreateCertificateForPackageRequest operation to apply for certificates of all types and specify the CSR generation method.
|
|
3678
|
+
* * Before you call this operation, make sure that you have purchased a certificate resource plan of the required specifications. For more information about how to purchase a certificate resource plan, see [Purchase a certificate resource plan](https://help.aliyun.com/document_detail/28542.html). You can call the [DescribePackageState](https://help.aliyun.com/document_detail/455803.html) operation to query the usage of a certificate resource plan of specified specifications, including the total number of certificate resource plans that you purchase, the number of certificate applications that you submit, and the number of certificates that are issued.
|
|
3679
|
+
* * When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate that you want to apply for.
|
|
3680
|
+
* * After you call this operation to submit a certificate application, the certificate quota of the required specifications that you purchased is consumed. After you call this operation, you must call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required for domain name ownership verification and manually complete the verification. Then, your certificate application is reviewed by the certificate authority (CA). If you use the Domain Name System (DNS) verification method, you must complete the verification on your DNS service provider system. If you use the file verification method, you must complete the verification on the DNS server.
|
|
3852
3681
|
*
|
|
3853
|
-
* @param request CreateCertificateWithCsrRequestRequest
|
|
3854
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3855
|
-
* @
|
|
3682
|
+
* @param request - CreateCertificateWithCsrRequestRequest
|
|
3683
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3684
|
+
* @returns CreateCertificateWithCsrRequestResponse
|
|
3856
3685
|
*/
|
|
3857
3686
|
async createCertificateWithCsrRequestWithOptions(request, runtime) {
|
|
3858
3687
|
tea_util_1.default.validateModel(request);
|
|
@@ -3892,24 +3721,27 @@ class Client extends openapi_client_1.default {
|
|
|
3892
3721
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCertificateWithCsrRequestResponse({}));
|
|
3893
3722
|
}
|
|
3894
3723
|
/**
|
|
3895
|
-
*
|
|
3724
|
+
* Purchases, applies for, and issues a domain validated (DV) certificate by using a custom certificate signing request (CSR) file. You can use extended certificate services to purchase and apply for a DV certificate with a few clicks.
|
|
3896
3725
|
*
|
|
3897
|
-
* @
|
|
3898
|
-
*
|
|
3899
|
-
* *
|
|
3900
|
-
* *
|
|
3726
|
+
* @remarks
|
|
3727
|
+
* You can use this operation to apply for only a domain validated (DV) certificate. You cannot use this operation to apply for an organization validated (OV) certificate. We recommend that you use the [CreateCertificateForPackageRequest](https://help.aliyun.com/document_detail/455296.html) operation to apply for a certificate. You can use the CreateCertificateForPackageRequest operation to apply for certificates of all types and specify the CSR generation method.
|
|
3728
|
+
* * Before you call this operation, make sure that you have purchased a certificate resource plan of the required specifications. For more information about how to purchase a certificate resource plan, see [Purchase a certificate resource plan](https://help.aliyun.com/document_detail/28542.html). You can call the [DescribePackageState](https://help.aliyun.com/document_detail/455803.html) operation to query the usage of a certificate resource plan of specified specifications, including the total number of certificate resource plans that you purchase, the number of certificate applications that you submit, and the number of certificates that are issued.
|
|
3729
|
+
* * When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate that you want to apply for.
|
|
3730
|
+
* * After you call this operation to submit a certificate application, the certificate quota of the required specifications that you purchased is consumed. After you call this operation, you must call the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to obtain the information that is required for domain name ownership verification and manually complete the verification. Then, your certificate application is reviewed by the certificate authority (CA). If you use the Domain Name System (DNS) verification method, you must complete the verification on your DNS service provider system. If you use the file verification method, you must complete the verification on the DNS server.
|
|
3901
3731
|
*
|
|
3902
|
-
* @param request CreateCertificateWithCsrRequestRequest
|
|
3903
|
-
* @
|
|
3732
|
+
* @param request - CreateCertificateWithCsrRequestRequest
|
|
3733
|
+
* @returns CreateCertificateWithCsrRequestResponse
|
|
3904
3734
|
*/
|
|
3905
3735
|
async createCertificateWithCsrRequest(request) {
|
|
3906
3736
|
let runtime = new $Util.RuntimeOptions({});
|
|
3907
3737
|
return await this.createCertificateWithCsrRequestWithOptions(request, runtime);
|
|
3908
3738
|
}
|
|
3909
3739
|
/**
|
|
3910
|
-
*
|
|
3911
|
-
*
|
|
3912
|
-
* @
|
|
3740
|
+
* Creates a certificate signing request (CSR). A CSR file contains the information about an SSL certificate that you want to apply for. The information includes the domain names that you want to bind to the certificate and the name and the geographical location of the certificate holder. When you submit a certificate application to a certificate authority (CA), you must provide a CSR. After the CA approves your certificate application, the CA uses the private key of the root CA to sign your CSR and generates a public key file. The public key file is the SSL certificate that the CA issues to you. The private key of the SSL certificate is generated when you create the CSR.
|
|
3741
|
+
*
|
|
3742
|
+
* @param request - CreateCsrRequest
|
|
3743
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3744
|
+
* @returns CreateCsrResponse
|
|
3913
3745
|
*/
|
|
3914
3746
|
async createCsrWithOptions(request, runtime) {
|
|
3915
3747
|
tea_util_1.default.validateModel(request);
|
|
@@ -3961,19 +3793,21 @@ class Client extends openapi_client_1.default {
|
|
|
3961
3793
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateCsrResponse({}));
|
|
3962
3794
|
}
|
|
3963
3795
|
/**
|
|
3964
|
-
*
|
|
3965
|
-
*
|
|
3796
|
+
* Creates a certificate signing request (CSR). A CSR file contains the information about an SSL certificate that you want to apply for. The information includes the domain names that you want to bind to the certificate and the name and the geographical location of the certificate holder. When you submit a certificate application to a certificate authority (CA), you must provide a CSR. After the CA approves your certificate application, the CA uses the private key of the root CA to sign your CSR and generates a public key file. The public key file is the SSL certificate that the CA issues to you. The private key of the SSL certificate is generated when you create the CSR.
|
|
3797
|
+
*
|
|
3798
|
+
* @param request - CreateCsrRequest
|
|
3799
|
+
* @returns CreateCsrResponse
|
|
3966
3800
|
*/
|
|
3967
3801
|
async createCsr(request) {
|
|
3968
3802
|
let runtime = new $Util.RuntimeOptions({});
|
|
3969
3803
|
return await this.createCsrWithOptions(request, runtime);
|
|
3970
3804
|
}
|
|
3971
3805
|
/**
|
|
3972
|
-
*
|
|
3806
|
+
* Creates a deployment task.
|
|
3973
3807
|
*
|
|
3974
|
-
* @param request CreateDeploymentJobRequest
|
|
3975
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
3976
|
-
* @
|
|
3808
|
+
* @param request - CreateDeploymentJobRequest
|
|
3809
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3810
|
+
* @returns CreateDeploymentJobResponse
|
|
3977
3811
|
*/
|
|
3978
3812
|
async createDeploymentJobWithOptions(request, runtime) {
|
|
3979
3813
|
tea_util_1.default.validateModel(request);
|
|
@@ -4013,102 +3847,24 @@ class Client extends openapi_client_1.default {
|
|
|
4013
3847
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDeploymentJobResponse({}));
|
|
4014
3848
|
}
|
|
4015
3849
|
/**
|
|
4016
|
-
*
|
|
3850
|
+
* Creates a deployment task.
|
|
4017
3851
|
*
|
|
4018
|
-
* @param request CreateDeploymentJobRequest
|
|
4019
|
-
* @
|
|
3852
|
+
* @param request - CreateDeploymentJobRequest
|
|
3853
|
+
* @returns CreateDeploymentJobResponse
|
|
4020
3854
|
*/
|
|
4021
3855
|
async createDeploymentJob(request) {
|
|
4022
3856
|
let runtime = new $Util.RuntimeOptions({});
|
|
4023
3857
|
return await this.createDeploymentJobWithOptions(request, runtime);
|
|
4024
3858
|
}
|
|
4025
3859
|
/**
|
|
4026
|
-
*
|
|
4027
|
-
*
|
|
4028
|
-
* @
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
query["AfterTime"] = request.afterTime;
|
|
4035
|
-
}
|
|
4036
|
-
if (!tea_util_1.default.isUnset(request.algorithm)) {
|
|
4037
|
-
query["Algorithm"] = request.algorithm;
|
|
4038
|
-
}
|
|
4039
|
-
if (!tea_util_1.default.isUnset(request.beforeTime)) {
|
|
4040
|
-
query["BeforeTime"] = request.beforeTime;
|
|
4041
|
-
}
|
|
4042
|
-
if (!tea_util_1.default.isUnset(request.commonName)) {
|
|
4043
|
-
query["CommonName"] = request.commonName;
|
|
4044
|
-
}
|
|
4045
|
-
if (!tea_util_1.default.isUnset(request.country)) {
|
|
4046
|
-
query["Country"] = request.country;
|
|
4047
|
-
}
|
|
4048
|
-
if (!tea_util_1.default.isUnset(request.csr)) {
|
|
4049
|
-
query["Csr"] = request.csr;
|
|
4050
|
-
}
|
|
4051
|
-
if (!tea_util_1.default.isUnset(request.days)) {
|
|
4052
|
-
query["Days"] = request.days;
|
|
4053
|
-
}
|
|
4054
|
-
if (!tea_util_1.default.isUnset(request.immediately)) {
|
|
4055
|
-
query["Immediately"] = request.immediately;
|
|
4056
|
-
}
|
|
4057
|
-
if (!tea_util_1.default.isUnset(request.locality)) {
|
|
4058
|
-
query["Locality"] = request.locality;
|
|
4059
|
-
}
|
|
4060
|
-
if (!tea_util_1.default.isUnset(request.months)) {
|
|
4061
|
-
query["Months"] = request.months;
|
|
4062
|
-
}
|
|
4063
|
-
if (!tea_util_1.default.isUnset(request.organization)) {
|
|
4064
|
-
query["Organization"] = request.organization;
|
|
4065
|
-
}
|
|
4066
|
-
if (!tea_util_1.default.isUnset(request.organizationUnit)) {
|
|
4067
|
-
query["OrganizationUnit"] = request.organizationUnit;
|
|
4068
|
-
}
|
|
4069
|
-
if (!tea_util_1.default.isUnset(request.parentIdentifier)) {
|
|
4070
|
-
query["ParentIdentifier"] = request.parentIdentifier;
|
|
4071
|
-
}
|
|
4072
|
-
if (!tea_util_1.default.isUnset(request.sanType)) {
|
|
4073
|
-
query["SanType"] = request.sanType;
|
|
4074
|
-
}
|
|
4075
|
-
if (!tea_util_1.default.isUnset(request.sanValue)) {
|
|
4076
|
-
query["SanValue"] = request.sanValue;
|
|
4077
|
-
}
|
|
4078
|
-
if (!tea_util_1.default.isUnset(request.state)) {
|
|
4079
|
-
query["State"] = request.state;
|
|
4080
|
-
}
|
|
4081
|
-
if (!tea_util_1.default.isUnset(request.years)) {
|
|
4082
|
-
query["Years"] = request.years;
|
|
4083
|
-
}
|
|
4084
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4085
|
-
query: openapi_util_1.default.query(query),
|
|
4086
|
-
});
|
|
4087
|
-
let params = new $OpenApi.Params({
|
|
4088
|
-
action: "CreateWHClientCertificate",
|
|
4089
|
-
version: "2020-04-07",
|
|
4090
|
-
protocol: "HTTPS",
|
|
4091
|
-
pathname: "/",
|
|
4092
|
-
method: "POST",
|
|
4093
|
-
authType: "AK",
|
|
4094
|
-
style: "RPC",
|
|
4095
|
-
reqBodyType: "formData",
|
|
4096
|
-
bodyType: "json",
|
|
4097
|
-
});
|
|
4098
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateWHClientCertificateResponse({}));
|
|
4099
|
-
}
|
|
4100
|
-
/**
|
|
4101
|
-
* @param request CreateWHClientCertificateRequest
|
|
4102
|
-
* @return CreateWHClientCertificateResponse
|
|
4103
|
-
*/
|
|
4104
|
-
async createWHClientCertificate(request) {
|
|
4105
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4106
|
-
return await this.createWHClientCertificateWithOptions(request, runtime);
|
|
4107
|
-
}
|
|
4108
|
-
/**
|
|
4109
|
-
* @param request DecryptRequest
|
|
4110
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4111
|
-
* @return DecryptResponse
|
|
3860
|
+
* Decrypts a certificate in a certificate repository.
|
|
3861
|
+
*
|
|
3862
|
+
* @remarks
|
|
3863
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3864
|
+
*
|
|
3865
|
+
* @param request - DecryptRequest
|
|
3866
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3867
|
+
* @returns DecryptResponse
|
|
4112
3868
|
*/
|
|
4113
3869
|
async decryptWithOptions(request, runtime) {
|
|
4114
3870
|
tea_util_1.default.validateModel(request);
|
|
@@ -4142,23 +3898,29 @@ class Client extends openapi_client_1.default {
|
|
|
4142
3898
|
return $tea.cast(await this.callApi(params, req, runtime), new DecryptResponse({}));
|
|
4143
3899
|
}
|
|
4144
3900
|
/**
|
|
4145
|
-
*
|
|
4146
|
-
*
|
|
3901
|
+
* Decrypts a certificate in a certificate repository.
|
|
3902
|
+
*
|
|
3903
|
+
* @remarks
|
|
3904
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3905
|
+
*
|
|
3906
|
+
* @param request - DecryptRequest
|
|
3907
|
+
* @returns DecryptResponse
|
|
4147
3908
|
*/
|
|
4148
3909
|
async decrypt(request) {
|
|
4149
3910
|
let runtime = new $Util.RuntimeOptions({});
|
|
4150
3911
|
return await this.decryptWithOptions(request, runtime);
|
|
4151
3912
|
}
|
|
4152
3913
|
/**
|
|
4153
|
-
*
|
|
3914
|
+
* Deletes an order in which the application for a domain validated (DV) certificate failed.
|
|
4154
3915
|
*
|
|
4155
|
-
* @
|
|
4156
|
-
*
|
|
3916
|
+
* @remarks
|
|
3917
|
+
* You can call this operation to delete a certificate application order only in the following scenarios:
|
|
3918
|
+
* * The status of the order is **review failed**. You have called the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to query the status of the certificate application order and the value of the **Type** parameter is **verify_fail**.
|
|
4157
3919
|
* * The status of the order is **pending application**. You have called the [CancelOrderRequest](https://help.aliyun.com/document_detail/455299.html) operation to cancel a certificate application order whose status is pending review or being reviewed. The status of the certificate application order that is canceled in this case changes to **pending application**.
|
|
4158
3920
|
*
|
|
4159
|
-
* @param request DeleteCertificateRequestRequest
|
|
4160
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4161
|
-
* @
|
|
3921
|
+
* @param request - DeleteCertificateRequestRequest
|
|
3922
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3923
|
+
* @returns DeleteCertificateRequestResponse
|
|
4162
3924
|
*/
|
|
4163
3925
|
async deleteCertificateRequestWithOptions(request, runtime) {
|
|
4164
3926
|
tea_util_1.default.validateModel(request);
|
|
@@ -4183,23 +3945,26 @@ class Client extends openapi_client_1.default {
|
|
|
4183
3945
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteCertificateRequestResponse({}));
|
|
4184
3946
|
}
|
|
4185
3947
|
/**
|
|
4186
|
-
*
|
|
3948
|
+
* Deletes an order in which the application for a domain validated (DV) certificate failed.
|
|
4187
3949
|
*
|
|
4188
|
-
* @
|
|
4189
|
-
*
|
|
3950
|
+
* @remarks
|
|
3951
|
+
* You can call this operation to delete a certificate application order only in the following scenarios:
|
|
3952
|
+
* * The status of the order is **review failed**. You have called the [DescribeCertificateState](https://help.aliyun.com/document_detail/455800.html) operation to query the status of the certificate application order and the value of the **Type** parameter is **verify_fail**.
|
|
4190
3953
|
* * The status of the order is **pending application**. You have called the [CancelOrderRequest](https://help.aliyun.com/document_detail/455299.html) operation to cancel a certificate application order whose status is pending review or being reviewed. The status of the certificate application order that is canceled in this case changes to **pending application**.
|
|
4191
3954
|
*
|
|
4192
|
-
* @param request DeleteCertificateRequestRequest
|
|
4193
|
-
* @
|
|
3955
|
+
* @param request - DeleteCertificateRequestRequest
|
|
3956
|
+
* @returns DeleteCertificateRequestResponse
|
|
4194
3957
|
*/
|
|
4195
3958
|
async deleteCertificateRequest(request) {
|
|
4196
3959
|
let runtime = new $Util.RuntimeOptions({});
|
|
4197
3960
|
return await this.deleteCertificateRequestWithOptions(request, runtime);
|
|
4198
3961
|
}
|
|
4199
3962
|
/**
|
|
4200
|
-
*
|
|
4201
|
-
*
|
|
4202
|
-
* @
|
|
3963
|
+
* Deletes a certificate signing request (CSR) file.
|
|
3964
|
+
*
|
|
3965
|
+
* @param request - DeleteCsrRequest
|
|
3966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3967
|
+
* @returns DeleteCsrResponse
|
|
4203
3968
|
*/
|
|
4204
3969
|
async deleteCsrWithOptions(request, runtime) {
|
|
4205
3970
|
tea_util_1.default.validateModel(request);
|
|
@@ -4224,19 +3989,21 @@ class Client extends openapi_client_1.default {
|
|
|
4224
3989
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteCsrResponse({}));
|
|
4225
3990
|
}
|
|
4226
3991
|
/**
|
|
4227
|
-
*
|
|
4228
|
-
*
|
|
3992
|
+
* Deletes a certificate signing request (CSR) file.
|
|
3993
|
+
*
|
|
3994
|
+
* @param request - DeleteCsrRequest
|
|
3995
|
+
* @returns DeleteCsrResponse
|
|
4229
3996
|
*/
|
|
4230
3997
|
async deleteCsr(request) {
|
|
4231
3998
|
let runtime = new $Util.RuntimeOptions({});
|
|
4232
3999
|
return await this.deleteCsrWithOptions(request, runtime);
|
|
4233
4000
|
}
|
|
4234
4001
|
/**
|
|
4235
|
-
*
|
|
4002
|
+
* Deletes a deployment task.
|
|
4236
4003
|
*
|
|
4237
|
-
* @param request DeleteDeploymentJobRequest
|
|
4238
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4239
|
-
* @
|
|
4004
|
+
* @param request - DeleteDeploymentJobRequest
|
|
4005
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4006
|
+
* @returns DeleteDeploymentJobResponse
|
|
4240
4007
|
*/
|
|
4241
4008
|
async deleteDeploymentJobWithOptions(request, runtime) {
|
|
4242
4009
|
tea_util_1.default.validateModel(request);
|
|
@@ -4261,19 +4028,19 @@ class Client extends openapi_client_1.default {
|
|
|
4261
4028
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDeploymentJobResponse({}));
|
|
4262
4029
|
}
|
|
4263
4030
|
/**
|
|
4264
|
-
*
|
|
4031
|
+
* Deletes a deployment task.
|
|
4265
4032
|
*
|
|
4266
|
-
* @param request DeleteDeploymentJobRequest
|
|
4267
|
-
* @
|
|
4033
|
+
* @param request - DeleteDeploymentJobRequest
|
|
4034
|
+
* @returns DeleteDeploymentJobResponse
|
|
4268
4035
|
*/
|
|
4269
4036
|
async deleteDeploymentJob(request) {
|
|
4270
4037
|
let runtime = new $Util.RuntimeOptions({});
|
|
4271
4038
|
return await this.deleteDeploymentJobWithOptions(request, runtime);
|
|
4272
4039
|
}
|
|
4273
4040
|
/**
|
|
4274
|
-
* @param request DeletePCACertRequest
|
|
4275
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4276
|
-
* @
|
|
4041
|
+
* @param request - DeletePCACertRequest
|
|
4042
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4043
|
+
* @returns DeletePCACertResponse
|
|
4277
4044
|
*/
|
|
4278
4045
|
async deletePCACertWithOptions(request, runtime) {
|
|
4279
4046
|
tea_util_1.default.validateModel(request);
|
|
@@ -4298,21 +4065,22 @@ class Client extends openapi_client_1.default {
|
|
|
4298
4065
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePCACertResponse({}));
|
|
4299
4066
|
}
|
|
4300
4067
|
/**
|
|
4301
|
-
* @param request DeletePCACertRequest
|
|
4302
|
-
* @
|
|
4068
|
+
* @param request - DeletePCACertRequest
|
|
4069
|
+
* @returns DeletePCACertResponse
|
|
4303
4070
|
*/
|
|
4304
4071
|
async deletePCACert(request) {
|
|
4305
4072
|
let runtime = new $Util.RuntimeOptions({});
|
|
4306
4073
|
return await this.deletePCACertWithOptions(request, runtime);
|
|
4307
4074
|
}
|
|
4308
4075
|
/**
|
|
4309
|
-
*
|
|
4076
|
+
* Deletes an expired or uploaded certificate.
|
|
4310
4077
|
*
|
|
4311
|
-
* @
|
|
4078
|
+
* @remarks
|
|
4079
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4312
4080
|
*
|
|
4313
|
-
* @param request DeleteUserCertificateRequest
|
|
4314
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4315
|
-
* @
|
|
4081
|
+
* @param request - DeleteUserCertificateRequest
|
|
4082
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4083
|
+
* @returns DeleteUserCertificateResponse
|
|
4316
4084
|
*/
|
|
4317
4085
|
async deleteUserCertificateWithOptions(request, runtime) {
|
|
4318
4086
|
tea_util_1.default.validateModel(request);
|
|
@@ -4337,23 +4105,24 @@ class Client extends openapi_client_1.default {
|
|
|
4337
4105
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteUserCertificateResponse({}));
|
|
4338
4106
|
}
|
|
4339
4107
|
/**
|
|
4340
|
-
*
|
|
4108
|
+
* Deletes an expired or uploaded certificate.
|
|
4341
4109
|
*
|
|
4342
|
-
* @
|
|
4110
|
+
* @remarks
|
|
4111
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4343
4112
|
*
|
|
4344
|
-
* @param request DeleteUserCertificateRequest
|
|
4345
|
-
* @
|
|
4113
|
+
* @param request - DeleteUserCertificateRequest
|
|
4114
|
+
* @returns DeleteUserCertificateResponse
|
|
4346
4115
|
*/
|
|
4347
4116
|
async deleteUserCertificate(request) {
|
|
4348
4117
|
let runtime = new $Util.RuntimeOptions({});
|
|
4349
4118
|
return await this.deleteUserCertificateWithOptions(request, runtime);
|
|
4350
4119
|
}
|
|
4351
4120
|
/**
|
|
4352
|
-
*
|
|
4121
|
+
* Deletes the worker of a deployment task.
|
|
4353
4122
|
*
|
|
4354
|
-
* @param request DeleteWorkerResourceRequest
|
|
4355
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4356
|
-
* @
|
|
4123
|
+
* @param request - DeleteWorkerResourceRequest
|
|
4124
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4125
|
+
* @returns DeleteWorkerResourceResponse
|
|
4357
4126
|
*/
|
|
4358
4127
|
async deleteWorkerResourceWithOptions(request, runtime) {
|
|
4359
4128
|
tea_util_1.default.validateModel(request);
|
|
@@ -4381,24 +4150,25 @@ class Client extends openapi_client_1.default {
|
|
|
4381
4150
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteWorkerResourceResponse({}));
|
|
4382
4151
|
}
|
|
4383
4152
|
/**
|
|
4384
|
-
*
|
|
4153
|
+
* Deletes the worker of a deployment task.
|
|
4385
4154
|
*
|
|
4386
|
-
* @param request DeleteWorkerResourceRequest
|
|
4387
|
-
* @
|
|
4155
|
+
* @param request - DeleteWorkerResourceRequest
|
|
4156
|
+
* @returns DeleteWorkerResourceResponse
|
|
4388
4157
|
*/
|
|
4389
4158
|
async deleteWorkerResource(request) {
|
|
4390
4159
|
let runtime = new $Util.RuntimeOptions({});
|
|
4391
4160
|
return await this.deleteWorkerResourceWithOptions(request, runtime);
|
|
4392
4161
|
}
|
|
4393
4162
|
/**
|
|
4394
|
-
*
|
|
4163
|
+
* Queries the status of a specified certificate application order.
|
|
4395
4164
|
*
|
|
4396
|
-
* @
|
|
4165
|
+
* @remarks
|
|
4166
|
+
* If you do not complete the verification of the domain name ownership after you submit a certificate application, you can call this operation to obtain the information that is required to complete the verification. You can complete the verification of the domain name ownership based on the data returned. If you use the DNS verification method, you must complete the verification on the management platform of the domain name. If you use the file verification method, you must complete the verification on the DNS server.
|
|
4397
4167
|
* The certificate authority (CA) reviews your certificate application only after you complete the verification of the domain name ownership. After the CA approves your certificate application, the CA issues the certificate. If a certificate is issued, you can call this operation to obtain the CA certificate and private key of the certificate.
|
|
4398
4168
|
*
|
|
4399
|
-
* @param request DescribeCertificateStateRequest
|
|
4400
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4401
|
-
* @
|
|
4169
|
+
* @param request - DescribeCertificateStateRequest
|
|
4170
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4171
|
+
* @returns DescribeCertificateStateResponse
|
|
4402
4172
|
*/
|
|
4403
4173
|
async describeCertificateStateWithOptions(request, runtime) {
|
|
4404
4174
|
tea_util_1.default.validateModel(request);
|
|
@@ -4423,24 +4193,25 @@ class Client extends openapi_client_1.default {
|
|
|
4423
4193
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCertificateStateResponse({}));
|
|
4424
4194
|
}
|
|
4425
4195
|
/**
|
|
4426
|
-
*
|
|
4196
|
+
* Queries the status of a specified certificate application order.
|
|
4427
4197
|
*
|
|
4428
|
-
* @
|
|
4198
|
+
* @remarks
|
|
4199
|
+
* If you do not complete the verification of the domain name ownership after you submit a certificate application, you can call this operation to obtain the information that is required to complete the verification. You can complete the verification of the domain name ownership based on the data returned. If you use the DNS verification method, you must complete the verification on the management platform of the domain name. If you use the file verification method, you must complete the verification on the DNS server.
|
|
4429
4200
|
* The certificate authority (CA) reviews your certificate application only after you complete the verification of the domain name ownership. After the CA approves your certificate application, the CA issues the certificate. If a certificate is issued, you can call this operation to obtain the CA certificate and private key of the certificate.
|
|
4430
4201
|
*
|
|
4431
|
-
* @param request DescribeCertificateStateRequest
|
|
4432
|
-
* @
|
|
4202
|
+
* @param request - DescribeCertificateStateRequest
|
|
4203
|
+
* @returns DescribeCertificateStateResponse
|
|
4433
4204
|
*/
|
|
4434
4205
|
async describeCertificateState(request) {
|
|
4435
4206
|
let runtime = new $Util.RuntimeOptions({});
|
|
4436
4207
|
return await this.describeCertificateStateWithOptions(request, runtime);
|
|
4437
4208
|
}
|
|
4438
4209
|
/**
|
|
4439
|
-
*
|
|
4210
|
+
* Queries the number of third-party cloud resources on which you deployed certificates by using a multi-cloud deployment task.
|
|
4440
4211
|
*
|
|
4441
|
-
* @param request DescribeCloudResourceStatusRequest
|
|
4442
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4443
|
-
* @
|
|
4212
|
+
* @param request - DescribeCloudResourceStatusRequest
|
|
4213
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4214
|
+
* @returns DescribeCloudResourceStatusResponse
|
|
4444
4215
|
*/
|
|
4445
4216
|
async describeCloudResourceStatusWithOptions(request, runtime) {
|
|
4446
4217
|
tea_util_1.default.validateModel(request);
|
|
@@ -4465,21 +4236,21 @@ class Client extends openapi_client_1.default {
|
|
|
4465
4236
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeCloudResourceStatusResponse({}));
|
|
4466
4237
|
}
|
|
4467
4238
|
/**
|
|
4468
|
-
*
|
|
4239
|
+
* Queries the number of third-party cloud resources on which you deployed certificates by using a multi-cloud deployment task.
|
|
4469
4240
|
*
|
|
4470
|
-
* @param request DescribeCloudResourceStatusRequest
|
|
4471
|
-
* @
|
|
4241
|
+
* @param request - DescribeCloudResourceStatusRequest
|
|
4242
|
+
* @returns DescribeCloudResourceStatusResponse
|
|
4472
4243
|
*/
|
|
4473
4244
|
async describeCloudResourceStatus(request) {
|
|
4474
4245
|
let runtime = new $Util.RuntimeOptions({});
|
|
4475
4246
|
return await this.describeCloudResourceStatusWithOptions(request, runtime);
|
|
4476
4247
|
}
|
|
4477
4248
|
/**
|
|
4478
|
-
*
|
|
4249
|
+
* Queries the details of a deployment task. You can call the CreateDeploymentJob operation to create a deployment task and obtain the ID of the task.
|
|
4479
4250
|
*
|
|
4480
|
-
* @param request DescribeDeploymentJobRequest
|
|
4481
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4482
|
-
* @
|
|
4251
|
+
* @param request - DescribeDeploymentJobRequest
|
|
4252
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4253
|
+
* @returns DescribeDeploymentJobResponse
|
|
4483
4254
|
*/
|
|
4484
4255
|
async describeDeploymentJobWithOptions(request, runtime) {
|
|
4485
4256
|
tea_util_1.default.validateModel(request);
|
|
@@ -4504,21 +4275,21 @@ class Client extends openapi_client_1.default {
|
|
|
4504
4275
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDeploymentJobResponse({}));
|
|
4505
4276
|
}
|
|
4506
4277
|
/**
|
|
4507
|
-
*
|
|
4278
|
+
* Queries the details of a deployment task. You can call the CreateDeploymentJob operation to create a deployment task and obtain the ID of the task.
|
|
4508
4279
|
*
|
|
4509
|
-
* @param request DescribeDeploymentJobRequest
|
|
4510
|
-
* @
|
|
4280
|
+
* @param request - DescribeDeploymentJobRequest
|
|
4281
|
+
* @returns DescribeDeploymentJobResponse
|
|
4511
4282
|
*/
|
|
4512
4283
|
async describeDeploymentJob(request) {
|
|
4513
4284
|
let runtime = new $Util.RuntimeOptions({});
|
|
4514
4285
|
return await this.describeDeploymentJobWithOptions(request, runtime);
|
|
4515
4286
|
}
|
|
4516
4287
|
/**
|
|
4517
|
-
*
|
|
4288
|
+
* Queries the number of worker tasks in a deployment task.
|
|
4518
4289
|
*
|
|
4519
|
-
* @param request DescribeDeploymentJobStatusRequest
|
|
4520
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4521
|
-
* @
|
|
4290
|
+
* @param request - DescribeDeploymentJobStatusRequest
|
|
4291
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4292
|
+
* @returns DescribeDeploymentJobStatusResponse
|
|
4522
4293
|
*/
|
|
4523
4294
|
async describeDeploymentJobStatusWithOptions(request, runtime) {
|
|
4524
4295
|
tea_util_1.default.validateModel(request);
|
|
@@ -4543,21 +4314,21 @@ class Client extends openapi_client_1.default {
|
|
|
4543
4314
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDeploymentJobStatusResponse({}));
|
|
4544
4315
|
}
|
|
4545
4316
|
/**
|
|
4546
|
-
*
|
|
4317
|
+
* Queries the number of worker tasks in a deployment task.
|
|
4547
4318
|
*
|
|
4548
|
-
* @param request DescribeDeploymentJobStatusRequest
|
|
4549
|
-
* @
|
|
4319
|
+
* @param request - DescribeDeploymentJobStatusRequest
|
|
4320
|
+
* @returns DescribeDeploymentJobStatusResponse
|
|
4550
4321
|
*/
|
|
4551
4322
|
async describeDeploymentJobStatus(request) {
|
|
4552
4323
|
let runtime = new $Util.RuntimeOptions({});
|
|
4553
4324
|
return await this.describeDeploymentJobStatusWithOptions(request, runtime);
|
|
4554
4325
|
}
|
|
4555
4326
|
/**
|
|
4556
|
-
*
|
|
4327
|
+
* Queries the quota for domain validated (DV) certificates that you purchase and the quota usage.
|
|
4557
4328
|
*
|
|
4558
|
-
* @param request DescribePackageStateRequest
|
|
4559
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4560
|
-
* @
|
|
4329
|
+
* @param request - DescribePackageStateRequest
|
|
4330
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4331
|
+
* @returns DescribePackageStateResponse
|
|
4561
4332
|
*/
|
|
4562
4333
|
async describePackageStateWithOptions(request, runtime) {
|
|
4563
4334
|
tea_util_1.default.validateModel(request);
|
|
@@ -4582,19 +4353,24 @@ class Client extends openapi_client_1.default {
|
|
|
4582
4353
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePackageStateResponse({}));
|
|
4583
4354
|
}
|
|
4584
4355
|
/**
|
|
4585
|
-
*
|
|
4356
|
+
* Queries the quota for domain validated (DV) certificates that you purchase and the quota usage.
|
|
4586
4357
|
*
|
|
4587
|
-
* @param request DescribePackageStateRequest
|
|
4588
|
-
* @
|
|
4358
|
+
* @param request - DescribePackageStateRequest
|
|
4359
|
+
* @returns DescribePackageStateResponse
|
|
4589
4360
|
*/
|
|
4590
4361
|
async describePackageState(request) {
|
|
4591
4362
|
let runtime = new $Util.RuntimeOptions({});
|
|
4592
4363
|
return await this.describePackageStateWithOptions(request, runtime);
|
|
4593
4364
|
}
|
|
4594
4365
|
/**
|
|
4595
|
-
*
|
|
4596
|
-
*
|
|
4597
|
-
* @
|
|
4366
|
+
* Encrypts a certificate in a certificate repository.
|
|
4367
|
+
*
|
|
4368
|
+
* @remarks
|
|
4369
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4370
|
+
*
|
|
4371
|
+
* @param request - EncryptRequest
|
|
4372
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4373
|
+
* @returns EncryptResponse
|
|
4598
4374
|
*/
|
|
4599
4375
|
async encryptWithOptions(request, runtime) {
|
|
4600
4376
|
tea_util_1.default.validateModel(request);
|
|
@@ -4628,17 +4404,27 @@ class Client extends openapi_client_1.default {
|
|
|
4628
4404
|
return $tea.cast(await this.callApi(params, req, runtime), new EncryptResponse({}));
|
|
4629
4405
|
}
|
|
4630
4406
|
/**
|
|
4631
|
-
*
|
|
4632
|
-
*
|
|
4407
|
+
* Encrypts a certificate in a certificate repository.
|
|
4408
|
+
*
|
|
4409
|
+
* @remarks
|
|
4410
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4411
|
+
*
|
|
4412
|
+
* @param request - EncryptRequest
|
|
4413
|
+
* @returns EncryptResponse
|
|
4633
4414
|
*/
|
|
4634
4415
|
async encrypt(request) {
|
|
4635
4416
|
let runtime = new $Util.RuntimeOptions({});
|
|
4636
4417
|
return await this.encryptWithOptions(request, runtime);
|
|
4637
4418
|
}
|
|
4638
4419
|
/**
|
|
4639
|
-
*
|
|
4640
|
-
*
|
|
4641
|
-
* @
|
|
4420
|
+
* Queries the quota for certificate repositories.
|
|
4421
|
+
*
|
|
4422
|
+
* @remarks
|
|
4423
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4424
|
+
*
|
|
4425
|
+
* @param request - GetCertWarehouseQuotaRequest
|
|
4426
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4427
|
+
* @returns GetCertWarehouseQuotaResponse
|
|
4642
4428
|
*/
|
|
4643
4429
|
async getCertWarehouseQuotaWithOptions(runtime) {
|
|
4644
4430
|
let req = new $OpenApi.OpenApiRequest({});
|
|
@@ -4656,16 +4442,22 @@ class Client extends openapi_client_1.default {
|
|
|
4656
4442
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCertWarehouseQuotaResponse({}));
|
|
4657
4443
|
}
|
|
4658
4444
|
/**
|
|
4659
|
-
*
|
|
4445
|
+
* Queries the quota for certificate repositories.
|
|
4446
|
+
*
|
|
4447
|
+
* @remarks
|
|
4448
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4449
|
+
* @returns GetCertWarehouseQuotaResponse
|
|
4660
4450
|
*/
|
|
4661
4451
|
async getCertWarehouseQuota() {
|
|
4662
4452
|
let runtime = new $Util.RuntimeOptions({});
|
|
4663
4453
|
return await this.getCertWarehouseQuotaWithOptions(runtime);
|
|
4664
4454
|
}
|
|
4665
4455
|
/**
|
|
4666
|
-
*
|
|
4667
|
-
*
|
|
4668
|
-
* @
|
|
4456
|
+
* Obtains the content of a certificate signing request (CSR) file.
|
|
4457
|
+
*
|
|
4458
|
+
* @param request - GetCsrDetailRequest
|
|
4459
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4460
|
+
* @returns GetCsrDetailResponse
|
|
4669
4461
|
*/
|
|
4670
4462
|
async getCsrDetailWithOptions(request, runtime) {
|
|
4671
4463
|
tea_util_1.default.validateModel(request);
|
|
@@ -4690,21 +4482,24 @@ class Client extends openapi_client_1.default {
|
|
|
4690
4482
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCsrDetailResponse({}));
|
|
4691
4483
|
}
|
|
4692
4484
|
/**
|
|
4693
|
-
*
|
|
4694
|
-
*
|
|
4485
|
+
* Obtains the content of a certificate signing request (CSR) file.
|
|
4486
|
+
*
|
|
4487
|
+
* @param request - GetCsrDetailRequest
|
|
4488
|
+
* @returns GetCsrDetailResponse
|
|
4695
4489
|
*/
|
|
4696
4490
|
async getCsrDetail(request) {
|
|
4697
4491
|
let runtime = new $Util.RuntimeOptions({});
|
|
4698
4492
|
return await this.getCsrDetailWithOptions(request, runtime);
|
|
4699
4493
|
}
|
|
4700
4494
|
/**
|
|
4701
|
-
*
|
|
4495
|
+
* Queries the details of a certificate.
|
|
4702
4496
|
*
|
|
4703
|
-
* @
|
|
4497
|
+
* @remarks
|
|
4498
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4704
4499
|
*
|
|
4705
|
-
* @param request GetUserCertificateDetailRequest
|
|
4706
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4707
|
-
* @
|
|
4500
|
+
* @param request - GetUserCertificateDetailRequest
|
|
4501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4502
|
+
* @returns GetUserCertificateDetailResponse
|
|
4708
4503
|
*/
|
|
4709
4504
|
async getUserCertificateDetailWithOptions(request, runtime) {
|
|
4710
4505
|
tea_util_1.default.validateModel(request);
|
|
@@ -4732,25 +4527,27 @@ class Client extends openapi_client_1.default {
|
|
|
4732
4527
|
return $tea.cast(await this.callApi(params, req, runtime), new GetUserCertificateDetailResponse({}));
|
|
4733
4528
|
}
|
|
4734
4529
|
/**
|
|
4735
|
-
*
|
|
4530
|
+
* Queries the details of a certificate.
|
|
4736
4531
|
*
|
|
4737
|
-
* @
|
|
4532
|
+
* @remarks
|
|
4533
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4738
4534
|
*
|
|
4739
|
-
* @param request GetUserCertificateDetailRequest
|
|
4740
|
-
* @
|
|
4535
|
+
* @param request - GetUserCertificateDetailRequest
|
|
4536
|
+
* @returns GetUserCertificateDetailResponse
|
|
4741
4537
|
*/
|
|
4742
4538
|
async getUserCertificateDetail(request) {
|
|
4743
4539
|
let runtime = new $Util.RuntimeOptions({});
|
|
4744
4540
|
return await this.getUserCertificateDetailWithOptions(request, runtime);
|
|
4745
4541
|
}
|
|
4746
4542
|
/**
|
|
4747
|
-
*
|
|
4543
|
+
* Queries the certificates in a certificate repository.
|
|
4748
4544
|
*
|
|
4749
|
-
* @
|
|
4545
|
+
* @remarks
|
|
4546
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4750
4547
|
*
|
|
4751
|
-
* @param request ListCertRequest
|
|
4752
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4753
|
-
* @
|
|
4548
|
+
* @param request - ListCertRequest
|
|
4549
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4550
|
+
* @returns ListCertResponse
|
|
4754
4551
|
*/
|
|
4755
4552
|
async listCertWithOptions(request, runtime) {
|
|
4756
4553
|
tea_util_1.default.validateModel(request);
|
|
@@ -4793,21 +4590,29 @@ class Client extends openapi_client_1.default {
|
|
|
4793
4590
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCertResponse({}));
|
|
4794
4591
|
}
|
|
4795
4592
|
/**
|
|
4796
|
-
*
|
|
4593
|
+
* Queries the certificates in a certificate repository.
|
|
4797
4594
|
*
|
|
4798
|
-
* @
|
|
4595
|
+
* @remarks
|
|
4596
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4799
4597
|
*
|
|
4800
|
-
* @param request ListCertRequest
|
|
4801
|
-
* @
|
|
4598
|
+
* @param request - ListCertRequest
|
|
4599
|
+
* @returns ListCertResponse
|
|
4802
4600
|
*/
|
|
4803
4601
|
async listCert(request) {
|
|
4804
4602
|
let runtime = new $Util.RuntimeOptions({});
|
|
4805
4603
|
return await this.listCertWithOptions(request, runtime);
|
|
4806
4604
|
}
|
|
4807
4605
|
/**
|
|
4808
|
-
*
|
|
4809
|
-
*
|
|
4810
|
-
* @
|
|
4606
|
+
* Queries certificate repositories.
|
|
4607
|
+
*
|
|
4608
|
+
* @remarks
|
|
4609
|
+
* You can call the ListCertWarehouse operation to query certificate repositories.
|
|
4610
|
+
* ### Limits
|
|
4611
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4612
|
+
*
|
|
4613
|
+
* @param request - ListCertWarehouseRequest
|
|
4614
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4615
|
+
* @returns ListCertWarehouseResponse
|
|
4811
4616
|
*/
|
|
4812
4617
|
async listCertWarehouseWithOptions(request, runtime) {
|
|
4813
4618
|
tea_util_1.default.validateModel(request);
|
|
@@ -4844,19 +4649,26 @@ class Client extends openapi_client_1.default {
|
|
|
4844
4649
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCertWarehouseResponse({}));
|
|
4845
4650
|
}
|
|
4846
4651
|
/**
|
|
4847
|
-
*
|
|
4848
|
-
*
|
|
4652
|
+
* Queries certificate repositories.
|
|
4653
|
+
*
|
|
4654
|
+
* @remarks
|
|
4655
|
+
* You can call the ListCertWarehouse operation to query certificate repositories.
|
|
4656
|
+
* ### Limits
|
|
4657
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4658
|
+
*
|
|
4659
|
+
* @param request - ListCertWarehouseRequest
|
|
4660
|
+
* @returns ListCertWarehouseResponse
|
|
4849
4661
|
*/
|
|
4850
4662
|
async listCertWarehouse(request) {
|
|
4851
4663
|
let runtime = new $Util.RuntimeOptions({});
|
|
4852
4664
|
return await this.listCertWarehouseWithOptions(request, runtime);
|
|
4853
4665
|
}
|
|
4854
4666
|
/**
|
|
4855
|
-
*
|
|
4667
|
+
* Queries a list of AccessKey pairs for multi-cloud deployment.
|
|
4856
4668
|
*
|
|
4857
|
-
* @param request ListCloudAccessRequest
|
|
4858
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4859
|
-
* @
|
|
4669
|
+
* @param request - ListCloudAccessRequest
|
|
4670
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4671
|
+
* @returns ListCloudAccessResponse
|
|
4860
4672
|
*/
|
|
4861
4673
|
async listCloudAccessWithOptions(request, runtime) {
|
|
4862
4674
|
tea_util_1.default.validateModel(request);
|
|
@@ -4890,25 +4702,33 @@ class Client extends openapi_client_1.default {
|
|
|
4890
4702
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCloudAccessResponse({}));
|
|
4891
4703
|
}
|
|
4892
4704
|
/**
|
|
4893
|
-
*
|
|
4705
|
+
* Queries a list of AccessKey pairs for multi-cloud deployment.
|
|
4894
4706
|
*
|
|
4895
|
-
* @param request ListCloudAccessRequest
|
|
4896
|
-
* @
|
|
4707
|
+
* @param request - ListCloudAccessRequest
|
|
4708
|
+
* @returns ListCloudAccessResponse
|
|
4897
4709
|
*/
|
|
4898
4710
|
async listCloudAccess(request) {
|
|
4899
4711
|
let runtime = new $Util.RuntimeOptions({});
|
|
4900
4712
|
return await this.listCloudAccessWithOptions(request, runtime);
|
|
4901
4713
|
}
|
|
4902
4714
|
/**
|
|
4903
|
-
*
|
|
4715
|
+
* Queries the certificate resources of a cloud service provider and cloud services.
|
|
4904
4716
|
*
|
|
4905
|
-
* @param
|
|
4906
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4907
|
-
* @
|
|
4717
|
+
* @param tmpReq - ListCloudResourcesRequest
|
|
4718
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4719
|
+
* @returns ListCloudResourcesResponse
|
|
4908
4720
|
*/
|
|
4909
|
-
async listCloudResourcesWithOptions(
|
|
4910
|
-
tea_util_1.default.validateModel(
|
|
4721
|
+
async listCloudResourcesWithOptions(tmpReq, runtime) {
|
|
4722
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
4723
|
+
let request = new ListCloudResourcesShrinkRequest({});
|
|
4724
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
4725
|
+
if (!tea_util_1.default.isUnset(tmpReq.certIds)) {
|
|
4726
|
+
request.certIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.certIds, "CertIds", "json");
|
|
4727
|
+
}
|
|
4911
4728
|
let query = {};
|
|
4729
|
+
if (!tea_util_1.default.isUnset(request.certIdsShrink)) {
|
|
4730
|
+
query["CertIds"] = request.certIdsShrink;
|
|
4731
|
+
}
|
|
4912
4732
|
if (!tea_util_1.default.isUnset(request.cloudName)) {
|
|
4913
4733
|
query["CloudName"] = request.cloudName;
|
|
4914
4734
|
}
|
|
@@ -4944,21 +4764,21 @@ class Client extends openapi_client_1.default {
|
|
|
4944
4764
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCloudResourcesResponse({}));
|
|
4945
4765
|
}
|
|
4946
4766
|
/**
|
|
4947
|
-
*
|
|
4767
|
+
* Queries the certificate resources of a cloud service provider and cloud services.
|
|
4948
4768
|
*
|
|
4949
|
-
* @param request ListCloudResourcesRequest
|
|
4950
|
-
* @
|
|
4769
|
+
* @param request - ListCloudResourcesRequest
|
|
4770
|
+
* @returns ListCloudResourcesResponse
|
|
4951
4771
|
*/
|
|
4952
4772
|
async listCloudResources(request) {
|
|
4953
4773
|
let runtime = new $Util.RuntimeOptions({});
|
|
4954
4774
|
return await this.listCloudResourcesWithOptions(request, runtime);
|
|
4955
4775
|
}
|
|
4956
4776
|
/**
|
|
4957
|
-
*
|
|
4777
|
+
* Queries a list of contacts.
|
|
4958
4778
|
*
|
|
4959
|
-
* @param request ListContactRequest
|
|
4960
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
4961
|
-
* @
|
|
4779
|
+
* @param request - ListContactRequest
|
|
4780
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4781
|
+
* @returns ListContactResponse
|
|
4962
4782
|
*/
|
|
4963
4783
|
async listContactWithOptions(request, runtime) {
|
|
4964
4784
|
tea_util_1.default.validateModel(request);
|
|
@@ -4989,19 +4809,21 @@ class Client extends openapi_client_1.default {
|
|
|
4989
4809
|
return $tea.cast(await this.callApi(params, req, runtime), new ListContactResponse({}));
|
|
4990
4810
|
}
|
|
4991
4811
|
/**
|
|
4992
|
-
*
|
|
4812
|
+
* Queries a list of contacts.
|
|
4993
4813
|
*
|
|
4994
|
-
* @param request ListContactRequest
|
|
4995
|
-
* @
|
|
4814
|
+
* @param request - ListContactRequest
|
|
4815
|
+
* @returns ListContactResponse
|
|
4996
4816
|
*/
|
|
4997
4817
|
async listContact(request) {
|
|
4998
4818
|
let runtime = new $Util.RuntimeOptions({});
|
|
4999
4819
|
return await this.listContactWithOptions(request, runtime);
|
|
5000
4820
|
}
|
|
5001
4821
|
/**
|
|
5002
|
-
*
|
|
5003
|
-
*
|
|
5004
|
-
* @
|
|
4822
|
+
* Queries certificate signing requests (CSRs).
|
|
4823
|
+
*
|
|
4824
|
+
* @param request - ListCsrRequest
|
|
4825
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4826
|
+
* @returns ListCsrResponse
|
|
5005
4827
|
*/
|
|
5006
4828
|
async listCsrWithOptions(request, runtime) {
|
|
5007
4829
|
tea_util_1.default.validateModel(request);
|
|
@@ -5035,19 +4857,21 @@ class Client extends openapi_client_1.default {
|
|
|
5035
4857
|
return $tea.cast(await this.callApi(params, req, runtime), new ListCsrResponse({}));
|
|
5036
4858
|
}
|
|
5037
4859
|
/**
|
|
5038
|
-
*
|
|
5039
|
-
*
|
|
4860
|
+
* Queries certificate signing requests (CSRs).
|
|
4861
|
+
*
|
|
4862
|
+
* @param request - ListCsrRequest
|
|
4863
|
+
* @returns ListCsrResponse
|
|
5040
4864
|
*/
|
|
5041
4865
|
async listCsr(request) {
|
|
5042
4866
|
let runtime = new $Util.RuntimeOptions({});
|
|
5043
4867
|
return await this.listCsrWithOptions(request, runtime);
|
|
5044
4868
|
}
|
|
5045
4869
|
/**
|
|
5046
|
-
*
|
|
4870
|
+
* Queries a list of deployment tasks that are created.
|
|
5047
4871
|
*
|
|
5048
|
-
* @param request ListDeploymentJobRequest
|
|
5049
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5050
|
-
* @
|
|
4872
|
+
* @param request - ListDeploymentJobRequest
|
|
4873
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4874
|
+
* @returns ListDeploymentJobResponse
|
|
5051
4875
|
*/
|
|
5052
4876
|
async listDeploymentJobWithOptions(request, runtime) {
|
|
5053
4877
|
tea_util_1.default.validateModel(request);
|
|
@@ -5081,21 +4905,21 @@ class Client extends openapi_client_1.default {
|
|
|
5081
4905
|
return $tea.cast(await this.callApi(params, req, runtime), new ListDeploymentJobResponse({}));
|
|
5082
4906
|
}
|
|
5083
4907
|
/**
|
|
5084
|
-
*
|
|
4908
|
+
* Queries a list of deployment tasks that are created.
|
|
5085
4909
|
*
|
|
5086
|
-
* @param request ListDeploymentJobRequest
|
|
5087
|
-
* @
|
|
4910
|
+
* @param request - ListDeploymentJobRequest
|
|
4911
|
+
* @returns ListDeploymentJobResponse
|
|
5088
4912
|
*/
|
|
5089
4913
|
async listDeploymentJob(request) {
|
|
5090
4914
|
let runtime = new $Util.RuntimeOptions({});
|
|
5091
4915
|
return await this.listDeploymentJobWithOptions(request, runtime);
|
|
5092
4916
|
}
|
|
5093
4917
|
/**
|
|
5094
|
-
*
|
|
4918
|
+
* Queries the basic information about a deployment task. After you create a deployment task, you can call this operation to obtain the basic information about the deployment task, including the instance ID, type, and name of the certificate.
|
|
5095
4919
|
*
|
|
5096
|
-
* @param request ListDeploymentJobCertRequest
|
|
5097
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5098
|
-
* @
|
|
4920
|
+
* @param request - ListDeploymentJobCertRequest
|
|
4921
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4922
|
+
* @returns ListDeploymentJobCertResponse
|
|
5099
4923
|
*/
|
|
5100
4924
|
async listDeploymentJobCertWithOptions(request, runtime) {
|
|
5101
4925
|
tea_util_1.default.validateModel(request);
|
|
@@ -5120,21 +4944,21 @@ class Client extends openapi_client_1.default {
|
|
|
5120
4944
|
return $tea.cast(await this.callApi(params, req, runtime), new ListDeploymentJobCertResponse({}));
|
|
5121
4945
|
}
|
|
5122
4946
|
/**
|
|
5123
|
-
*
|
|
4947
|
+
* Queries the basic information about a deployment task. After you create a deployment task, you can call this operation to obtain the basic information about the deployment task, including the instance ID, type, and name of the certificate.
|
|
5124
4948
|
*
|
|
5125
|
-
* @param request ListDeploymentJobCertRequest
|
|
5126
|
-
* @
|
|
4949
|
+
* @param request - ListDeploymentJobCertRequest
|
|
4950
|
+
* @returns ListDeploymentJobCertResponse
|
|
5127
4951
|
*/
|
|
5128
4952
|
async listDeploymentJobCert(request) {
|
|
5129
4953
|
let runtime = new $Util.RuntimeOptions({});
|
|
5130
4954
|
return await this.listDeploymentJobCertWithOptions(request, runtime);
|
|
5131
4955
|
}
|
|
5132
4956
|
/**
|
|
5133
|
-
*
|
|
4957
|
+
* Queries the cloud resources of cloud services in a deployment task.
|
|
5134
4958
|
*
|
|
5135
|
-
* @param request ListDeploymentJobResourceRequest
|
|
5136
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5137
|
-
* @
|
|
4959
|
+
* @param request - ListDeploymentJobResourceRequest
|
|
4960
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4961
|
+
* @returns ListDeploymentJobResourceResponse
|
|
5138
4962
|
*/
|
|
5139
4963
|
async listDeploymentJobResourceWithOptions(request, runtime) {
|
|
5140
4964
|
tea_util_1.default.validateModel(request);
|
|
@@ -5159,25 +4983,26 @@ class Client extends openapi_client_1.default {
|
|
|
5159
4983
|
return $tea.cast(await this.callApi(params, req, runtime), new ListDeploymentJobResourceResponse({}));
|
|
5160
4984
|
}
|
|
5161
4985
|
/**
|
|
5162
|
-
*
|
|
4986
|
+
* Queries the cloud resources of cloud services in a deployment task.
|
|
5163
4987
|
*
|
|
5164
|
-
* @param request ListDeploymentJobResourceRequest
|
|
5165
|
-
* @
|
|
4988
|
+
* @param request - ListDeploymentJobResourceRequest
|
|
4989
|
+
* @returns ListDeploymentJobResourceResponse
|
|
5166
4990
|
*/
|
|
5167
4991
|
async listDeploymentJobResource(request) {
|
|
5168
4992
|
let runtime = new $Util.RuntimeOptions({});
|
|
5169
4993
|
return await this.listDeploymentJobResourceWithOptions(request, runtime);
|
|
5170
4994
|
}
|
|
5171
4995
|
/**
|
|
5172
|
-
*
|
|
4996
|
+
* Queries the certificates or certificate orders of users.
|
|
5173
4997
|
*
|
|
5174
|
-
* @
|
|
4998
|
+
* @remarks
|
|
4999
|
+
* You can call the ListUserCertificateOrder operation to query the certificates or certificate orders of users. If you set OrderType to CERT or UPLOAD, certificates are returned. If you set OrderType to CPACK or BUY, certificate orders are returned.
|
|
5175
5000
|
* ## Limits
|
|
5176
5001
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5177
5002
|
*
|
|
5178
|
-
* @param request ListUserCertificateOrderRequest
|
|
5179
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5180
|
-
* @
|
|
5003
|
+
* @param request - ListUserCertificateOrderRequest
|
|
5004
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5005
|
+
* @returns ListUserCertificateOrderResponse
|
|
5181
5006
|
*/
|
|
5182
5007
|
async listUserCertificateOrderWithOptions(request, runtime) {
|
|
5183
5008
|
tea_util_1.default.validateModel(request);
|
|
@@ -5217,25 +5042,26 @@ class Client extends openapi_client_1.default {
|
|
|
5217
5042
|
return $tea.cast(await this.callApi(params, req, runtime), new ListUserCertificateOrderResponse({}));
|
|
5218
5043
|
}
|
|
5219
5044
|
/**
|
|
5220
|
-
*
|
|
5045
|
+
* Queries the certificates or certificate orders of users.
|
|
5221
5046
|
*
|
|
5222
|
-
* @
|
|
5047
|
+
* @remarks
|
|
5048
|
+
* You can call the ListUserCertificateOrder operation to query the certificates or certificate orders of users. If you set OrderType to CERT or UPLOAD, certificates are returned. If you set OrderType to CPACK or BUY, certificate orders are returned.
|
|
5223
5049
|
* ## Limits
|
|
5224
5050
|
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5225
5051
|
*
|
|
5226
|
-
* @param request ListUserCertificateOrderRequest
|
|
5227
|
-
* @
|
|
5052
|
+
* @param request - ListUserCertificateOrderRequest
|
|
5053
|
+
* @returns ListUserCertificateOrderResponse
|
|
5228
5054
|
*/
|
|
5229
5055
|
async listUserCertificateOrder(request) {
|
|
5230
5056
|
let runtime = new $Util.RuntimeOptions({});
|
|
5231
5057
|
return await this.listUserCertificateOrderWithOptions(request, runtime);
|
|
5232
5058
|
}
|
|
5233
5059
|
/**
|
|
5234
|
-
*
|
|
5060
|
+
* Queries the details about the worker tasks of a deployment task. Alibaba Cloud allows you to deploy multiple certificates at a time. Therefore, a deployment task may include multiple worker tasks in multiple cloud services. A worker task refers to a task that deploys a certificate to a cloud resource in a cloud service.
|
|
5235
5061
|
*
|
|
5236
|
-
* @param request ListWorkerResourceRequest
|
|
5237
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5238
|
-
* @
|
|
5062
|
+
* @param request - ListWorkerResourceRequest
|
|
5063
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5064
|
+
* @returns ListWorkerResourceResponse
|
|
5239
5065
|
*/
|
|
5240
5066
|
async listWorkerResourceWithOptions(request, runtime) {
|
|
5241
5067
|
tea_util_1.default.validateModel(request);
|
|
@@ -5272,21 +5098,21 @@ class Client extends openapi_client_1.default {
|
|
|
5272
5098
|
return $tea.cast(await this.callApi(params, req, runtime), new ListWorkerResourceResponse({}));
|
|
5273
5099
|
}
|
|
5274
5100
|
/**
|
|
5275
|
-
*
|
|
5101
|
+
* Queries the details about the worker tasks of a deployment task. Alibaba Cloud allows you to deploy multiple certificates at a time. Therefore, a deployment task may include multiple worker tasks in multiple cloud services. A worker task refers to a task that deploys a certificate to a cloud resource in a cloud service.
|
|
5276
5102
|
*
|
|
5277
|
-
* @param request ListWorkerResourceRequest
|
|
5278
|
-
* @
|
|
5103
|
+
* @param request - ListWorkerResourceRequest
|
|
5104
|
+
* @returns ListWorkerResourceResponse
|
|
5279
5105
|
*/
|
|
5280
5106
|
async listWorkerResource(request) {
|
|
5281
5107
|
let runtime = new $Util.RuntimeOptions({});
|
|
5282
5108
|
return await this.listWorkerResourceWithOptions(request, runtime);
|
|
5283
5109
|
}
|
|
5284
5110
|
/**
|
|
5285
|
-
*
|
|
5111
|
+
* Changes the resource group to which a certificate or certificate order belongs.
|
|
5286
5112
|
*
|
|
5287
|
-
* @param request MoveResourceGroupRequest
|
|
5288
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5289
|
-
* @
|
|
5113
|
+
* @param request - MoveResourceGroupRequest
|
|
5114
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5115
|
+
* @returns MoveResourceGroupResponse
|
|
5290
5116
|
*/
|
|
5291
5117
|
async moveResourceGroupWithOptions(request, runtime) {
|
|
5292
5118
|
tea_util_1.default.validateModel(request);
|
|
@@ -5320,24 +5146,25 @@ class Client extends openapi_client_1.default {
|
|
|
5320
5146
|
return $tea.cast(await this.callApi(params, req, runtime), new MoveResourceGroupResponse({}));
|
|
5321
5147
|
}
|
|
5322
5148
|
/**
|
|
5323
|
-
*
|
|
5149
|
+
* Changes the resource group to which a certificate or certificate order belongs.
|
|
5324
5150
|
*
|
|
5325
|
-
* @param request MoveResourceGroupRequest
|
|
5326
|
-
* @
|
|
5151
|
+
* @param request - MoveResourceGroupRequest
|
|
5152
|
+
* @returns MoveResourceGroupResponse
|
|
5327
5153
|
*/
|
|
5328
5154
|
async moveResourceGroup(request) {
|
|
5329
5155
|
let runtime = new $Util.RuntimeOptions({});
|
|
5330
5156
|
return await this.moveResourceGroupWithOptions(request, runtime);
|
|
5331
5157
|
}
|
|
5332
5158
|
/**
|
|
5333
|
-
*
|
|
5159
|
+
* Submits a renewal application for an issued certificate.
|
|
5334
5160
|
*
|
|
5335
|
-
* @
|
|
5336
|
-
*
|
|
5161
|
+
* @remarks
|
|
5162
|
+
* You can call the RenewCertificateOrderForPackageRequest operation to submit a renewal application for a certificate only when the order of the certificate is in the expiring state. After the renewal is complete, a new certificate order whose status is pending application is generated. You must submit a certificate application for the new certificate order and install the new certificate after the new certificate is issued.
|
|
5163
|
+
* > You can call the [DescribeCertificateState](https://help.aliyun.com/document_detail/164111.html) operation to query the status of a certificate application order. If the value of the **Type** response parameter is **certificate**, the certificate is issued.
|
|
5337
5164
|
*
|
|
5338
|
-
* @param request RenewCertificateOrderForPackageRequestRequest
|
|
5339
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5340
|
-
* @
|
|
5165
|
+
* @param request - RenewCertificateOrderForPackageRequestRequest
|
|
5166
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5167
|
+
* @returns RenewCertificateOrderForPackageRequestResponse
|
|
5341
5168
|
*/
|
|
5342
5169
|
async renewCertificateOrderForPackageRequestWithOptions(request, runtime) {
|
|
5343
5170
|
tea_util_1.default.validateModel(request);
|
|
@@ -5365,57 +5192,30 @@ class Client extends openapi_client_1.default {
|
|
|
5365
5192
|
return $tea.cast(await this.callApi(params, req, runtime), new RenewCertificateOrderForPackageRequestResponse({}));
|
|
5366
5193
|
}
|
|
5367
5194
|
/**
|
|
5368
|
-
*
|
|
5195
|
+
* Submits a renewal application for an issued certificate.
|
|
5369
5196
|
*
|
|
5370
|
-
* @
|
|
5371
|
-
*
|
|
5197
|
+
* @remarks
|
|
5198
|
+
* You can call the RenewCertificateOrderForPackageRequest operation to submit a renewal application for a certificate only when the order of the certificate is in the expiring state. After the renewal is complete, a new certificate order whose status is pending application is generated. You must submit a certificate application for the new certificate order and install the new certificate after the new certificate is issued.
|
|
5199
|
+
* > You can call the [DescribeCertificateState](https://help.aliyun.com/document_detail/164111.html) operation to query the status of a certificate application order. If the value of the **Type** response parameter is **certificate**, the certificate is issued.
|
|
5372
5200
|
*
|
|
5373
|
-
* @param request RenewCertificateOrderForPackageRequestRequest
|
|
5374
|
-
* @
|
|
5201
|
+
* @param request - RenewCertificateOrderForPackageRequestRequest
|
|
5202
|
+
* @returns RenewCertificateOrderForPackageRequestResponse
|
|
5375
5203
|
*/
|
|
5376
5204
|
async renewCertificateOrderForPackageRequest(request) {
|
|
5377
5205
|
let runtime = new $Util.RuntimeOptions({});
|
|
5378
5206
|
return await this.renewCertificateOrderForPackageRequestWithOptions(request, runtime);
|
|
5379
5207
|
}
|
|
5380
5208
|
/**
|
|
5381
|
-
*
|
|
5382
|
-
*
|
|
5383
|
-
* @
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
5392
|
-
query: openapi_util_1.default.query(query),
|
|
5393
|
-
});
|
|
5394
|
-
let params = new $OpenApi.Params({
|
|
5395
|
-
action: "RevokeWHClientCertificate",
|
|
5396
|
-
version: "2020-04-07",
|
|
5397
|
-
protocol: "HTTPS",
|
|
5398
|
-
pathname: "/",
|
|
5399
|
-
method: "POST",
|
|
5400
|
-
authType: "AK",
|
|
5401
|
-
style: "RPC",
|
|
5402
|
-
reqBodyType: "formData",
|
|
5403
|
-
bodyType: "json",
|
|
5404
|
-
});
|
|
5405
|
-
return $tea.cast(await this.callApi(params, req, runtime), new RevokeWHClientCertificateResponse({}));
|
|
5406
|
-
}
|
|
5407
|
-
/**
|
|
5408
|
-
* @param request RevokeWHClientCertificateRequest
|
|
5409
|
-
* @return RevokeWHClientCertificateResponse
|
|
5410
|
-
*/
|
|
5411
|
-
async revokeWHClientCertificate(request) {
|
|
5412
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
5413
|
-
return await this.revokeWHClientCertificateWithOptions(request, runtime);
|
|
5414
|
-
}
|
|
5415
|
-
/**
|
|
5416
|
-
* @param request SignRequest
|
|
5417
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5418
|
-
* @return SignResponse
|
|
5209
|
+
* Signs a private certificate in a certificate application repository.
|
|
5210
|
+
*
|
|
5211
|
+
* @remarks
|
|
5212
|
+
* You can call the Sign operation to sign a private certificate in a certificate application repository.
|
|
5213
|
+
* ### Limits
|
|
5214
|
+
* You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5215
|
+
*
|
|
5216
|
+
* @param request - SignRequest
|
|
5217
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5218
|
+
* @returns SignResponse
|
|
5419
5219
|
*/
|
|
5420
5220
|
async signWithOptions(request, runtime) {
|
|
5421
5221
|
tea_util_1.default.validateModel(request);
|
|
@@ -5449,17 +5249,26 @@ class Client extends openapi_client_1.default {
|
|
|
5449
5249
|
return $tea.cast(await this.callApi(params, req, runtime), new SignResponse({}));
|
|
5450
5250
|
}
|
|
5451
5251
|
/**
|
|
5452
|
-
*
|
|
5453
|
-
*
|
|
5252
|
+
* Signs a private certificate in a certificate application repository.
|
|
5253
|
+
*
|
|
5254
|
+
* @remarks
|
|
5255
|
+
* You can call the Sign operation to sign a private certificate in a certificate application repository.
|
|
5256
|
+
* ### Limits
|
|
5257
|
+
* You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5258
|
+
*
|
|
5259
|
+
* @param request - SignRequest
|
|
5260
|
+
* @returns SignResponse
|
|
5454
5261
|
*/
|
|
5455
5262
|
async sign(request) {
|
|
5456
5263
|
let runtime = new $Util.RuntimeOptions({});
|
|
5457
5264
|
return await this.signWithOptions(request, runtime);
|
|
5458
5265
|
}
|
|
5459
5266
|
/**
|
|
5460
|
-
*
|
|
5461
|
-
*
|
|
5462
|
-
* @
|
|
5267
|
+
* Updates the private key of a certificate signing request (CSR).
|
|
5268
|
+
*
|
|
5269
|
+
* @param request - UpdateCsrRequest
|
|
5270
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5271
|
+
* @returns UpdateCsrResponse
|
|
5463
5272
|
*/
|
|
5464
5273
|
async updateCsrWithOptions(request, runtime) {
|
|
5465
5274
|
tea_util_1.default.validateModel(request);
|
|
@@ -5487,19 +5296,21 @@ class Client extends openapi_client_1.default {
|
|
|
5487
5296
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateCsrResponse({}));
|
|
5488
5297
|
}
|
|
5489
5298
|
/**
|
|
5490
|
-
*
|
|
5491
|
-
*
|
|
5299
|
+
* Updates the private key of a certificate signing request (CSR).
|
|
5300
|
+
*
|
|
5301
|
+
* @param request - UpdateCsrRequest
|
|
5302
|
+
* @returns UpdateCsrResponse
|
|
5492
5303
|
*/
|
|
5493
5304
|
async updateCsr(request) {
|
|
5494
5305
|
let runtime = new $Util.RuntimeOptions({});
|
|
5495
5306
|
return await this.updateCsrWithOptions(request, runtime);
|
|
5496
5307
|
}
|
|
5497
5308
|
/**
|
|
5498
|
-
*
|
|
5309
|
+
* Updates a deployment task.
|
|
5499
5310
|
*
|
|
5500
|
-
* @param request UpdateDeploymentJobRequest
|
|
5501
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5502
|
-
* @
|
|
5311
|
+
* @param request - UpdateDeploymentJobRequest
|
|
5312
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5313
|
+
* @returns UpdateDeploymentJobResponse
|
|
5503
5314
|
*/
|
|
5504
5315
|
async updateDeploymentJobWithOptions(request, runtime) {
|
|
5505
5316
|
tea_util_1.default.validateModel(request);
|
|
@@ -5539,21 +5350,21 @@ class Client extends openapi_client_1.default {
|
|
|
5539
5350
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateDeploymentJobResponse({}));
|
|
5540
5351
|
}
|
|
5541
5352
|
/**
|
|
5542
|
-
*
|
|
5353
|
+
* Updates a deployment task.
|
|
5543
5354
|
*
|
|
5544
|
-
* @param request UpdateDeploymentJobRequest
|
|
5545
|
-
* @
|
|
5355
|
+
* @param request - UpdateDeploymentJobRequest
|
|
5356
|
+
* @returns UpdateDeploymentJobResponse
|
|
5546
5357
|
*/
|
|
5547
5358
|
async updateDeploymentJob(request) {
|
|
5548
5359
|
let runtime = new $Util.RuntimeOptions({});
|
|
5549
5360
|
return await this.updateDeploymentJobWithOptions(request, runtime);
|
|
5550
5361
|
}
|
|
5551
5362
|
/**
|
|
5552
|
-
*
|
|
5363
|
+
* Updates the status of a deployment task.
|
|
5553
5364
|
*
|
|
5554
|
-
* @param request UpdateDeploymentJobStatusRequest
|
|
5555
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5556
|
-
* @
|
|
5365
|
+
* @param request - UpdateDeploymentJobStatusRequest
|
|
5366
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5367
|
+
* @returns UpdateDeploymentJobStatusResponse
|
|
5557
5368
|
*/
|
|
5558
5369
|
async updateDeploymentJobStatusWithOptions(request, runtime) {
|
|
5559
5370
|
tea_util_1.default.validateModel(request);
|
|
@@ -5581,21 +5392,21 @@ class Client extends openapi_client_1.default {
|
|
|
5581
5392
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateDeploymentJobStatusResponse({}));
|
|
5582
5393
|
}
|
|
5583
5394
|
/**
|
|
5584
|
-
*
|
|
5395
|
+
* Updates the status of a deployment task.
|
|
5585
5396
|
*
|
|
5586
|
-
* @param request UpdateDeploymentJobStatusRequest
|
|
5587
|
-
* @
|
|
5397
|
+
* @param request - UpdateDeploymentJobStatusRequest
|
|
5398
|
+
* @returns UpdateDeploymentJobStatusResponse
|
|
5588
5399
|
*/
|
|
5589
5400
|
async updateDeploymentJobStatus(request) {
|
|
5590
5401
|
let runtime = new $Util.RuntimeOptions({});
|
|
5591
5402
|
return await this.updateDeploymentJobStatusWithOptions(request, runtime);
|
|
5592
5403
|
}
|
|
5593
5404
|
/**
|
|
5594
|
-
*
|
|
5405
|
+
* Rolls back or executes a worker task in a deployment task.
|
|
5595
5406
|
*
|
|
5596
|
-
* @param request UpdateWorkerResourceStatusRequest
|
|
5597
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5598
|
-
* @
|
|
5407
|
+
* @param request - UpdateWorkerResourceStatusRequest
|
|
5408
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5409
|
+
* @returns UpdateWorkerResourceStatusResponse
|
|
5599
5410
|
*/
|
|
5600
5411
|
async updateWorkerResourceStatusWithOptions(request, runtime) {
|
|
5601
5412
|
tea_util_1.default.validateModel(request);
|
|
@@ -5626,19 +5437,21 @@ class Client extends openapi_client_1.default {
|
|
|
5626
5437
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateWorkerResourceStatusResponse({}));
|
|
5627
5438
|
}
|
|
5628
5439
|
/**
|
|
5629
|
-
*
|
|
5440
|
+
* Rolls back or executes a worker task in a deployment task.
|
|
5630
5441
|
*
|
|
5631
|
-
* @param request UpdateWorkerResourceStatusRequest
|
|
5632
|
-
* @
|
|
5442
|
+
* @param request - UpdateWorkerResourceStatusRequest
|
|
5443
|
+
* @returns UpdateWorkerResourceStatusResponse
|
|
5633
5444
|
*/
|
|
5634
5445
|
async updateWorkerResourceStatus(request) {
|
|
5635
5446
|
let runtime = new $Util.RuntimeOptions({});
|
|
5636
5447
|
return await this.updateWorkerResourceStatusWithOptions(request, runtime);
|
|
5637
5448
|
}
|
|
5638
5449
|
/**
|
|
5639
|
-
*
|
|
5640
|
-
*
|
|
5641
|
-
* @
|
|
5450
|
+
* Uploads a certificate signing request (CSR) file
|
|
5451
|
+
*
|
|
5452
|
+
* @param request - UploadCsrRequest
|
|
5453
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5454
|
+
* @returns UploadCsrResponse
|
|
5642
5455
|
*/
|
|
5643
5456
|
async uploadCsrWithOptions(request, runtime) {
|
|
5644
5457
|
tea_util_1.default.validateModel(request);
|
|
@@ -5669,73 +5482,24 @@ class Client extends openapi_client_1.default {
|
|
|
5669
5482
|
return $tea.cast(await this.callApi(params, req, runtime), new UploadCsrResponse({}));
|
|
5670
5483
|
}
|
|
5671
5484
|
/**
|
|
5672
|
-
*
|
|
5673
|
-
*
|
|
5485
|
+
* Uploads a certificate signing request (CSR) file
|
|
5486
|
+
*
|
|
5487
|
+
* @param request - UploadCsrRequest
|
|
5488
|
+
* @returns UploadCsrResponse
|
|
5674
5489
|
*/
|
|
5675
5490
|
async uploadCsr(request) {
|
|
5676
5491
|
let runtime = new $Util.RuntimeOptions({});
|
|
5677
5492
|
return await this.uploadCsrWithOptions(request, runtime);
|
|
5678
5493
|
}
|
|
5679
5494
|
/**
|
|
5680
|
-
*
|
|
5495
|
+
* Uploads a certificate.
|
|
5681
5496
|
*
|
|
5682
|
-
* @
|
|
5497
|
+
* @remarks
|
|
5498
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5683
5499
|
*
|
|
5684
|
-
* @param request
|
|
5685
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5686
|
-
* @
|
|
5687
|
-
*/
|
|
5688
|
-
async uploadPCACertWithOptions(request, runtime) {
|
|
5689
|
-
tea_util_1.default.validateModel(request);
|
|
5690
|
-
let query = {};
|
|
5691
|
-
if (!tea_util_1.default.isUnset(request.cert)) {
|
|
5692
|
-
query["Cert"] = request.cert;
|
|
5693
|
-
}
|
|
5694
|
-
if (!tea_util_1.default.isUnset(request.name)) {
|
|
5695
|
-
query["Name"] = request.name;
|
|
5696
|
-
}
|
|
5697
|
-
if (!tea_util_1.default.isUnset(request.privateKey)) {
|
|
5698
|
-
query["PrivateKey"] = request.privateKey;
|
|
5699
|
-
}
|
|
5700
|
-
if (!tea_util_1.default.isUnset(request.warehouseId)) {
|
|
5701
|
-
query["WarehouseId"] = request.warehouseId;
|
|
5702
|
-
}
|
|
5703
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
5704
|
-
query: openapi_util_1.default.query(query),
|
|
5705
|
-
});
|
|
5706
|
-
let params = new $OpenApi.Params({
|
|
5707
|
-
action: "UploadPCACert",
|
|
5708
|
-
version: "2020-04-07",
|
|
5709
|
-
protocol: "HTTPS",
|
|
5710
|
-
pathname: "/",
|
|
5711
|
-
method: "POST",
|
|
5712
|
-
authType: "AK",
|
|
5713
|
-
style: "RPC",
|
|
5714
|
-
reqBodyType: "formData",
|
|
5715
|
-
bodyType: "json",
|
|
5716
|
-
});
|
|
5717
|
-
return $tea.cast(await this.callApi(params, req, runtime), new UploadPCACertResponse({}));
|
|
5718
|
-
}
|
|
5719
|
-
/**
|
|
5720
|
-
* @summary The private key of the certificate.
|
|
5721
|
-
*
|
|
5722
|
-
* @description The unique identifier of the certificate.
|
|
5723
|
-
*
|
|
5724
|
-
* @param request UploadPCACertRequest
|
|
5725
|
-
* @return UploadPCACertResponse
|
|
5726
|
-
*/
|
|
5727
|
-
async uploadPCACert(request) {
|
|
5728
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
5729
|
-
return await this.uploadPCACertWithOptions(request, runtime);
|
|
5730
|
-
}
|
|
5731
|
-
/**
|
|
5732
|
-
* @summary Uploads a certificate.
|
|
5733
|
-
*
|
|
5734
|
-
* @description You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5735
|
-
*
|
|
5736
|
-
* @param request UploadUserCertificateRequest
|
|
5737
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
5738
|
-
* @return UploadUserCertificateResponse
|
|
5500
|
+
* @param request - UploadUserCertificateRequest
|
|
5501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5502
|
+
* @returns UploadUserCertificateResponse
|
|
5739
5503
|
*/
|
|
5740
5504
|
async uploadUserCertificateWithOptions(request, runtime) {
|
|
5741
5505
|
tea_util_1.default.validateModel(request);
|
|
@@ -5781,21 +5545,29 @@ class Client extends openapi_client_1.default {
|
|
|
5781
5545
|
return $tea.cast(await this.callApi(params, req, runtime), new UploadUserCertificateResponse({}));
|
|
5782
5546
|
}
|
|
5783
5547
|
/**
|
|
5784
|
-
*
|
|
5548
|
+
* Uploads a certificate.
|
|
5785
5549
|
*
|
|
5786
|
-
* @
|
|
5550
|
+
* @remarks
|
|
5551
|
+
* You can call this operation up to 100 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5787
5552
|
*
|
|
5788
|
-
* @param request UploadUserCertificateRequest
|
|
5789
|
-
* @
|
|
5553
|
+
* @param request - UploadUserCertificateRequest
|
|
5554
|
+
* @returns UploadUserCertificateResponse
|
|
5790
5555
|
*/
|
|
5791
5556
|
async uploadUserCertificate(request) {
|
|
5792
5557
|
let runtime = new $Util.RuntimeOptions({});
|
|
5793
5558
|
return await this.uploadUserCertificateWithOptions(request, runtime);
|
|
5794
5559
|
}
|
|
5795
5560
|
/**
|
|
5796
|
-
*
|
|
5797
|
-
*
|
|
5798
|
-
* @
|
|
5561
|
+
* Verifies the signature of a private certificate in a certificate application repository.
|
|
5562
|
+
*
|
|
5563
|
+
* @remarks
|
|
5564
|
+
* You can call the Verify operation to verify the signature of a private certificate in a certificate application repository.
|
|
5565
|
+
* ### Limits
|
|
5566
|
+
* You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5567
|
+
*
|
|
5568
|
+
* @param request - VerifyRequest
|
|
5569
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5570
|
+
* @returns VerifyResponse
|
|
5799
5571
|
*/
|
|
5800
5572
|
async verifyWithOptions(request, runtime) {
|
|
5801
5573
|
tea_util_1.default.validateModel(request);
|
|
@@ -5832,8 +5604,15 @@ class Client extends openapi_client_1.default {
|
|
|
5832
5604
|
return $tea.cast(await this.callApi(params, req, runtime), new VerifyResponse({}));
|
|
5833
5605
|
}
|
|
5834
5606
|
/**
|
|
5835
|
-
*
|
|
5836
|
-
*
|
|
5607
|
+
* Verifies the signature of a private certificate in a certificate application repository.
|
|
5608
|
+
*
|
|
5609
|
+
* @remarks
|
|
5610
|
+
* You can call the Verify operation to verify the signature of a private certificate in a certificate application repository.
|
|
5611
|
+
* ### Limits
|
|
5612
|
+
* You can call this operation up to 1,000 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5613
|
+
*
|
|
5614
|
+
* @param request - VerifyRequest
|
|
5615
|
+
* @returns VerifyResponse
|
|
5837
5616
|
*/
|
|
5838
5617
|
async verify(request) {
|
|
5839
5618
|
let runtime = new $Util.RuntimeOptions({});
|