@alicloud/cas20200407 3.1.0 → 3.2.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 +53 -12
- package/dist/client.js +120 -12
- package/dist/client.js.map +1 -1
- package/dist/models/GetAssetCountResponse.d.ts +19 -0
- package/dist/models/GetAssetCountResponse.js +69 -0
- package/dist/models/GetAssetCountResponse.js.map +1 -0
- package/dist/models/GetAssetCountResponseBody.d.ts +30 -0
- package/dist/models/GetAssetCountResponseBody.js +82 -0
- package/dist/models/GetAssetCountResponseBody.js.map +1 -0
- package/dist/models/GetRiskCountResponse.d.ts +19 -0
- package/dist/models/GetRiskCountResponse.js +69 -0
- package/dist/models/GetRiskCountResponse.js.map +1 -0
- package/dist/models/GetRiskCountResponseBody.d.ts +36 -0
- package/dist/models/GetRiskCountResponseBody.js +94 -0
- package/dist/models/GetRiskCountResponseBody.js.map +1 -0
- package/dist/models/ListAssetCountRequest.d.ts +33 -0
- package/dist/models/ListAssetCountRequest.js +64 -0
- package/dist/models/ListAssetCountRequest.js.map +1 -0
- package/dist/models/ListAssetCountResponse.d.ts +19 -0
- package/dist/models/ListAssetCountResponse.js +69 -0
- package/dist/models/ListAssetCountResponse.js.map +1 -0
- package/dist/models/ListAssetCountResponseBody.d.ts +76 -0
- package/dist/models/ListAssetCountResponseBody.js +98 -0
- package/dist/models/ListAssetCountResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +21 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +130 -12
- package/src/models/GetAssetCountResponse.ts +40 -0
- package/src/models/GetAssetCountResponseBody.ts +67 -0
- package/src/models/GetRiskCountResponse.ts +40 -0
- package/src/models/GetRiskCountResponseBody.ts +85 -0
- package/src/models/ListAssetCountRequest.ts +52 -0
- package/src/models/ListAssetCountResponse.ts +40 -0
- package/src/models/ListAssetCountResponseBody.ts +120 -0
- package/src/models/model.ts +8 -0
package/dist/client.d.ts
CHANGED
|
@@ -242,7 +242,7 @@ export default class Client extends OpenApi {
|
|
|
242
242
|
*/
|
|
243
243
|
deleteCertificateRequest(request: $_model.DeleteCertificateRequestRequest): Promise<$_model.DeleteCertificateRequestResponse>;
|
|
244
244
|
/**
|
|
245
|
-
* Deletes a
|
|
245
|
+
* Deletes a Certificate Signing Request (CSR) that is no longer required.
|
|
246
246
|
*
|
|
247
247
|
* @param request - DeleteCsrRequest
|
|
248
248
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -250,7 +250,7 @@ export default class Client extends OpenApi {
|
|
|
250
250
|
*/
|
|
251
251
|
deleteCsrWithOptions(request: $_model.DeleteCsrRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCsrResponse>;
|
|
252
252
|
/**
|
|
253
|
-
* Deletes a
|
|
253
|
+
* Deletes a Certificate Signing Request (CSR) that is no longer required.
|
|
254
254
|
*
|
|
255
255
|
* @param request - DeleteCsrRequest
|
|
256
256
|
* @returns DeleteCsrResponse
|
|
@@ -452,7 +452,20 @@ export default class Client extends OpenApi {
|
|
|
452
452
|
*/
|
|
453
453
|
encrypt(request: $_model.EncryptRequest): Promise<$_model.EncryptResponse>;
|
|
454
454
|
/**
|
|
455
|
-
*
|
|
455
|
+
* 统计资产数量
|
|
456
|
+
*
|
|
457
|
+
* @param request - GetAssetCountRequest
|
|
458
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
459
|
+
* @returns GetAssetCountResponse
|
|
460
|
+
*/
|
|
461
|
+
getAssetCountWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetAssetCountResponse>;
|
|
462
|
+
/**
|
|
463
|
+
* 统计资产数量
|
|
464
|
+
* @returns GetAssetCountResponse
|
|
465
|
+
*/
|
|
466
|
+
getAssetCount(): Promise<$_model.GetAssetCountResponse>;
|
|
467
|
+
/**
|
|
468
|
+
* Queries the API call quota for certificate application repositories. When you call API operations for signature generation, signature verification, data encryption, and data decryption, your API call quota for certificate application repositories is consumed. If your API call quota is exhausted, you can no longer call specific certificate application repository-related operations. You can call this operation to query the API call quota for certificate application repositories.
|
|
456
469
|
*
|
|
457
470
|
* @remarks
|
|
458
471
|
* 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.
|
|
@@ -463,7 +476,7 @@ export default class Client extends OpenApi {
|
|
|
463
476
|
*/
|
|
464
477
|
getCertWarehouseQuotaWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetCertWarehouseQuotaResponse>;
|
|
465
478
|
/**
|
|
466
|
-
* Queries the quota for certificate repositories.
|
|
479
|
+
* Queries the API call quota for certificate application repositories. When you call API operations for signature generation, signature verification, data encryption, and data decryption, your API call quota for certificate application repositories is consumed. If your API call quota is exhausted, you can no longer call specific certificate application repository-related operations. You can call this operation to query the API call quota for certificate application repositories.
|
|
467
480
|
*
|
|
468
481
|
* @remarks
|
|
469
482
|
* 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.
|
|
@@ -530,6 +543,19 @@ export default class Client extends OpenApi {
|
|
|
530
543
|
* @returns GetInstanceSummaryResponse
|
|
531
544
|
*/
|
|
532
545
|
getInstanceSummary(request: $_model.GetInstanceSummaryRequest): Promise<$_model.GetInstanceSummaryResponse>;
|
|
546
|
+
/**
|
|
547
|
+
* 统计风险资产数量
|
|
548
|
+
*
|
|
549
|
+
* @param request - GetRiskCountRequest
|
|
550
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
551
|
+
* @returns GetRiskCountResponse
|
|
552
|
+
*/
|
|
553
|
+
getRiskCountWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetRiskCountResponse>;
|
|
554
|
+
/**
|
|
555
|
+
* 统计风险资产数量
|
|
556
|
+
* @returns GetRiskCountResponse
|
|
557
|
+
*/
|
|
558
|
+
getRiskCount(): Promise<$_model.GetRiskCountResponse>;
|
|
533
559
|
/**
|
|
534
560
|
* 查询异步任务状态
|
|
535
561
|
*
|
|
@@ -546,7 +572,7 @@ export default class Client extends OpenApi {
|
|
|
546
572
|
*/
|
|
547
573
|
getTaskAttribute(request: $_model.GetTaskAttributeRequest): Promise<$_model.GetTaskAttributeResponse>;
|
|
548
574
|
/**
|
|
549
|
-
* Queries
|
|
575
|
+
* Queries certificate details, including the basic information and public and private key content. You can call this operation to download the certificate and private key.
|
|
550
576
|
*
|
|
551
577
|
* @remarks
|
|
552
578
|
* 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.
|
|
@@ -557,7 +583,7 @@ export default class Client extends OpenApi {
|
|
|
557
583
|
*/
|
|
558
584
|
getUserCertificateDetailWithOptions(request: $_model.GetUserCertificateDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserCertificateDetailResponse>;
|
|
559
585
|
/**
|
|
560
|
-
* Queries
|
|
586
|
+
* Queries certificate details, including the basic information and public and private key content. You can call this operation to download the certificate and private key.
|
|
561
587
|
*
|
|
562
588
|
* @remarks
|
|
563
589
|
* 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.
|
|
@@ -566,6 +592,21 @@ export default class Client extends OpenApi {
|
|
|
566
592
|
* @returns GetUserCertificateDetailResponse
|
|
567
593
|
*/
|
|
568
594
|
getUserCertificateDetail(request: $_model.GetUserCertificateDetailRequest): Promise<$_model.GetUserCertificateDetailResponse>;
|
|
595
|
+
/**
|
|
596
|
+
* 查询云产品资源统计列表
|
|
597
|
+
*
|
|
598
|
+
* @param request - ListAssetCountRequest
|
|
599
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
600
|
+
* @returns ListAssetCountResponse
|
|
601
|
+
*/
|
|
602
|
+
listAssetCountWithOptions(request: $_model.ListAssetCountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAssetCountResponse>;
|
|
603
|
+
/**
|
|
604
|
+
* 查询云产品资源统计列表
|
|
605
|
+
*
|
|
606
|
+
* @param request - ListAssetCountRequest
|
|
607
|
+
* @returns ListAssetCountResponse
|
|
608
|
+
*/
|
|
609
|
+
listAssetCount(request: $_model.ListAssetCountRequest): Promise<$_model.ListAssetCountResponse>;
|
|
569
610
|
/**
|
|
570
611
|
* Queries the certificates in a certificate repository.
|
|
571
612
|
*
|
|
@@ -673,7 +714,7 @@ export default class Client extends OpenApi {
|
|
|
673
714
|
*/
|
|
674
715
|
listContact(request: $_model.ListContactRequest): Promise<$_model.ListContactResponse>;
|
|
675
716
|
/**
|
|
676
|
-
* Queries
|
|
717
|
+
* Queries the details of Certificate Signing Requests (CSRs).
|
|
677
718
|
*
|
|
678
719
|
* @param request - ListCsrRequest
|
|
679
720
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -681,7 +722,7 @@ export default class Client extends OpenApi {
|
|
|
681
722
|
*/
|
|
682
723
|
listCsrWithOptions(request: $_model.ListCsrRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCsrResponse>;
|
|
683
724
|
/**
|
|
684
|
-
* Queries
|
|
725
|
+
* Queries the details of Certificate Signing Requests (CSRs).
|
|
685
726
|
*
|
|
686
727
|
* @param request - ListCsrRequest
|
|
687
728
|
* @returns ListCsrResponse
|
|
@@ -881,7 +922,7 @@ export default class Client extends OpenApi {
|
|
|
881
922
|
*/
|
|
882
923
|
sign(request: $_model.SignRequest): Promise<$_model.SignResponse>;
|
|
883
924
|
/**
|
|
884
|
-
*
|
|
925
|
+
* Uploads or updates the private key for a Certificate Signing Request (CSR). If you did not upload the required priviate when you uploaded a CSR, you can call this operation to upload or update the private key.
|
|
885
926
|
*
|
|
886
927
|
* @param request - UpdateCsrRequest
|
|
887
928
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -889,7 +930,7 @@ export default class Client extends OpenApi {
|
|
|
889
930
|
*/
|
|
890
931
|
updateCsrWithOptions(request: $_model.UpdateCsrRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCsrResponse>;
|
|
891
932
|
/**
|
|
892
|
-
*
|
|
933
|
+
* Uploads or updates the private key for a Certificate Signing Request (CSR). If you did not upload the required priviate when you uploaded a CSR, you can call this operation to upload or update the private key.
|
|
893
934
|
*
|
|
894
935
|
* @param request - UpdateCsrRequest
|
|
895
936
|
* @returns UpdateCsrResponse
|
|
@@ -956,7 +997,7 @@ export default class Client extends OpenApi {
|
|
|
956
997
|
*/
|
|
957
998
|
updateWorkerResourceStatus(request: $_model.UpdateWorkerResourceStatusRequest): Promise<$_model.UpdateWorkerResourceStatusResponse>;
|
|
958
999
|
/**
|
|
959
|
-
* Uploads
|
|
1000
|
+
* Uploads an existing Certificate Signing Request (CSR). You can use the CSR when you upload a certificate. You can also manage the uploaded CSRs in a centralized manner.
|
|
960
1001
|
*
|
|
961
1002
|
* @param request - UploadCsrRequest
|
|
962
1003
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -964,7 +1005,7 @@ export default class Client extends OpenApi {
|
|
|
964
1005
|
*/
|
|
965
1006
|
uploadCsrWithOptions(request: $_model.UploadCsrRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UploadCsrResponse>;
|
|
966
1007
|
/**
|
|
967
|
-
* Uploads
|
|
1008
|
+
* Uploads an existing Certificate Signing Request (CSR). You can use the CSR when you upload a certificate. You can also manage the uploaded CSRs in a centralized manner.
|
|
968
1009
|
*
|
|
969
1010
|
* @param request - UploadCsrRequest
|
|
970
1011
|
* @returns UploadCsrResponse
|
package/dist/client.js
CHANGED
|
@@ -729,7 +729,7 @@ class Client extends openapi_core_1.default {
|
|
|
729
729
|
return await this.deleteCertificateRequestWithOptions(request, runtime);
|
|
730
730
|
}
|
|
731
731
|
/**
|
|
732
|
-
* Deletes a
|
|
732
|
+
* Deletes a Certificate Signing Request (CSR) that is no longer required.
|
|
733
733
|
*
|
|
734
734
|
* @param request - DeleteCsrRequest
|
|
735
735
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -758,7 +758,7 @@ class Client extends openapi_core_1.default {
|
|
|
758
758
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCsrResponse({}));
|
|
759
759
|
}
|
|
760
760
|
/**
|
|
761
|
-
* Deletes a
|
|
761
|
+
* Deletes a Certificate Signing Request (CSR) that is no longer required.
|
|
762
762
|
*
|
|
763
763
|
* @param request - DeleteCsrRequest
|
|
764
764
|
* @returns DeleteCsrResponse
|
|
@@ -1245,7 +1245,37 @@ class Client extends openapi_core_1.default {
|
|
|
1245
1245
|
return await this.encryptWithOptions(request, runtime);
|
|
1246
1246
|
}
|
|
1247
1247
|
/**
|
|
1248
|
-
*
|
|
1248
|
+
* 统计资产数量
|
|
1249
|
+
*
|
|
1250
|
+
* @param request - GetAssetCountRequest
|
|
1251
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1252
|
+
* @returns GetAssetCountResponse
|
|
1253
|
+
*/
|
|
1254
|
+
async getAssetCountWithOptions(runtime) {
|
|
1255
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
|
|
1256
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1257
|
+
action: "GetAssetCount",
|
|
1258
|
+
version: "2020-04-07",
|
|
1259
|
+
protocol: "HTTPS",
|
|
1260
|
+
pathname: "/",
|
|
1261
|
+
method: "POST",
|
|
1262
|
+
authType: "AK",
|
|
1263
|
+
style: "RPC",
|
|
1264
|
+
reqBodyType: "formData",
|
|
1265
|
+
bodyType: "json",
|
|
1266
|
+
});
|
|
1267
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAssetCountResponse({}));
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
* 统计资产数量
|
|
1271
|
+
* @returns GetAssetCountResponse
|
|
1272
|
+
*/
|
|
1273
|
+
async getAssetCount() {
|
|
1274
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1275
|
+
return await this.getAssetCountWithOptions(runtime);
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* Queries the API call quota for certificate application repositories. When you call API operations for signature generation, signature verification, data encryption, and data decryption, your API call quota for certificate application repositories is consumed. If your API call quota is exhausted, you can no longer call specific certificate application repository-related operations. You can call this operation to query the API call quota for certificate application repositories.
|
|
1249
1279
|
*
|
|
1250
1280
|
* @remarks
|
|
1251
1281
|
* 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.
|
|
@@ -1270,7 +1300,7 @@ class Client extends openapi_core_1.default {
|
|
|
1270
1300
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCertWarehouseQuotaResponse({}));
|
|
1271
1301
|
}
|
|
1272
1302
|
/**
|
|
1273
|
-
* Queries the quota for certificate repositories.
|
|
1303
|
+
* Queries the API call quota for certificate application repositories. When you call API operations for signature generation, signature verification, data encryption, and data decryption, your API call quota for certificate application repositories is consumed. If your API call quota is exhausted, you can no longer call specific certificate application repository-related operations. You can call this operation to query the API call quota for certificate application repositories.
|
|
1274
1304
|
*
|
|
1275
1305
|
* @remarks
|
|
1276
1306
|
* 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.
|
|
@@ -1436,6 +1466,36 @@ class Client extends openapi_core_1.default {
|
|
|
1436
1466
|
let runtime = new $dara.RuntimeOptions({});
|
|
1437
1467
|
return await this.getInstanceSummaryWithOptions(request, runtime);
|
|
1438
1468
|
}
|
|
1469
|
+
/**
|
|
1470
|
+
* 统计风险资产数量
|
|
1471
|
+
*
|
|
1472
|
+
* @param request - GetRiskCountRequest
|
|
1473
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1474
|
+
* @returns GetRiskCountResponse
|
|
1475
|
+
*/
|
|
1476
|
+
async getRiskCountWithOptions(runtime) {
|
|
1477
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
|
|
1478
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1479
|
+
action: "GetRiskCount",
|
|
1480
|
+
version: "2020-04-07",
|
|
1481
|
+
protocol: "HTTPS",
|
|
1482
|
+
pathname: "/",
|
|
1483
|
+
method: "POST",
|
|
1484
|
+
authType: "AK",
|
|
1485
|
+
style: "RPC",
|
|
1486
|
+
reqBodyType: "formData",
|
|
1487
|
+
bodyType: "json",
|
|
1488
|
+
});
|
|
1489
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRiskCountResponse({}));
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* 统计风险资产数量
|
|
1493
|
+
* @returns GetRiskCountResponse
|
|
1494
|
+
*/
|
|
1495
|
+
async getRiskCount() {
|
|
1496
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1497
|
+
return await this.getRiskCountWithOptions(runtime);
|
|
1498
|
+
}
|
|
1439
1499
|
/**
|
|
1440
1500
|
* 查询异步任务状态
|
|
1441
1501
|
*
|
|
@@ -1479,7 +1539,7 @@ class Client extends openapi_core_1.default {
|
|
|
1479
1539
|
return await this.getTaskAttributeWithOptions(request, runtime);
|
|
1480
1540
|
}
|
|
1481
1541
|
/**
|
|
1482
|
-
* Queries
|
|
1542
|
+
* Queries certificate details, including the basic information and public and private key content. You can call this operation to download the certificate and private key.
|
|
1483
1543
|
*
|
|
1484
1544
|
* @remarks
|
|
1485
1545
|
* 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.
|
|
@@ -1514,7 +1574,7 @@ class Client extends openapi_core_1.default {
|
|
|
1514
1574
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserCertificateDetailResponse({}));
|
|
1515
1575
|
}
|
|
1516
1576
|
/**
|
|
1517
|
-
* Queries
|
|
1577
|
+
* Queries certificate details, including the basic information and public and private key content. You can call this operation to download the certificate and private key.
|
|
1518
1578
|
*
|
|
1519
1579
|
* @remarks
|
|
1520
1580
|
* 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.
|
|
@@ -1526,6 +1586,54 @@ class Client extends openapi_core_1.default {
|
|
|
1526
1586
|
let runtime = new $dara.RuntimeOptions({});
|
|
1527
1587
|
return await this.getUserCertificateDetailWithOptions(request, runtime);
|
|
1528
1588
|
}
|
|
1589
|
+
/**
|
|
1590
|
+
* 查询云产品资源统计列表
|
|
1591
|
+
*
|
|
1592
|
+
* @param request - ListAssetCountRequest
|
|
1593
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1594
|
+
* @returns ListAssetCountResponse
|
|
1595
|
+
*/
|
|
1596
|
+
async listAssetCountWithOptions(request, runtime) {
|
|
1597
|
+
request.validate();
|
|
1598
|
+
let query = {};
|
|
1599
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
1600
|
+
query["CurrentPage"] = request.currentPage;
|
|
1601
|
+
}
|
|
1602
|
+
if (!$dara.isNull(request.endDate)) {
|
|
1603
|
+
query["EndDate"] = request.endDate;
|
|
1604
|
+
}
|
|
1605
|
+
if (!$dara.isNull(request.showSize)) {
|
|
1606
|
+
query["ShowSize"] = request.showSize;
|
|
1607
|
+
}
|
|
1608
|
+
if (!$dara.isNull(request.startDate)) {
|
|
1609
|
+
query["StartDate"] = request.startDate;
|
|
1610
|
+
}
|
|
1611
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1612
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1613
|
+
});
|
|
1614
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1615
|
+
action: "ListAssetCount",
|
|
1616
|
+
version: "2020-04-07",
|
|
1617
|
+
protocol: "HTTPS",
|
|
1618
|
+
pathname: "/",
|
|
1619
|
+
method: "POST",
|
|
1620
|
+
authType: "AK",
|
|
1621
|
+
style: "RPC",
|
|
1622
|
+
reqBodyType: "formData",
|
|
1623
|
+
bodyType: "json",
|
|
1624
|
+
});
|
|
1625
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAssetCountResponse({}));
|
|
1626
|
+
}
|
|
1627
|
+
/**
|
|
1628
|
+
* 查询云产品资源统计列表
|
|
1629
|
+
*
|
|
1630
|
+
* @param request - ListAssetCountRequest
|
|
1631
|
+
* @returns ListAssetCountResponse
|
|
1632
|
+
*/
|
|
1633
|
+
async listAssetCount(request) {
|
|
1634
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1635
|
+
return await this.listAssetCountWithOptions(request, runtime);
|
|
1636
|
+
}
|
|
1529
1637
|
/**
|
|
1530
1638
|
* Queries the certificates in a certificate repository.
|
|
1531
1639
|
*
|
|
@@ -1863,7 +1971,7 @@ class Client extends openapi_core_1.default {
|
|
|
1863
1971
|
return await this.listContactWithOptions(request, runtime);
|
|
1864
1972
|
}
|
|
1865
1973
|
/**
|
|
1866
|
-
* Queries
|
|
1974
|
+
* Queries the details of Certificate Signing Requests (CSRs).
|
|
1867
1975
|
*
|
|
1868
1976
|
* @param request - ListCsrRequest
|
|
1869
1977
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1901,7 +2009,7 @@ class Client extends openapi_core_1.default {
|
|
|
1901
2009
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCsrResponse({}));
|
|
1902
2010
|
}
|
|
1903
2011
|
/**
|
|
1904
|
-
* Queries
|
|
2012
|
+
* Queries the details of Certificate Signing Requests (CSRs).
|
|
1905
2013
|
*
|
|
1906
2014
|
* @param request - ListCsrRequest
|
|
1907
2015
|
* @returns ListCsrResponse
|
|
@@ -2458,7 +2566,7 @@ class Client extends openapi_core_1.default {
|
|
|
2458
2566
|
return await this.signWithOptions(request, runtime);
|
|
2459
2567
|
}
|
|
2460
2568
|
/**
|
|
2461
|
-
*
|
|
2569
|
+
* Uploads or updates the private key for a Certificate Signing Request (CSR). If you did not upload the required priviate when you uploaded a CSR, you can call this operation to upload or update the private key.
|
|
2462
2570
|
*
|
|
2463
2571
|
* @param request - UpdateCsrRequest
|
|
2464
2572
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2490,7 +2598,7 @@ class Client extends openapi_core_1.default {
|
|
|
2490
2598
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCsrResponse({}));
|
|
2491
2599
|
}
|
|
2492
2600
|
/**
|
|
2493
|
-
*
|
|
2601
|
+
* Uploads or updates the private key for a Certificate Signing Request (CSR). If you did not upload the required priviate when you uploaded a CSR, you can call this operation to upload or update the private key.
|
|
2494
2602
|
*
|
|
2495
2603
|
* @param request - UpdateCsrRequest
|
|
2496
2604
|
* @returns UpdateCsrResponse
|
|
@@ -2722,7 +2830,7 @@ class Client extends openapi_core_1.default {
|
|
|
2722
2830
|
return await this.updateWorkerResourceStatusWithOptions(request, runtime);
|
|
2723
2831
|
}
|
|
2724
2832
|
/**
|
|
2725
|
-
* Uploads
|
|
2833
|
+
* Uploads an existing Certificate Signing Request (CSR). You can use the CSR when you upload a certificate. You can also manage the uploaded CSRs in a centralized manner.
|
|
2726
2834
|
*
|
|
2727
2835
|
* @param request - UploadCsrRequest
|
|
2728
2836
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2757,7 +2865,7 @@ class Client extends openapi_core_1.default {
|
|
|
2757
2865
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadCsrResponse({}));
|
|
2758
2866
|
}
|
|
2759
2867
|
/**
|
|
2760
|
-
* Uploads
|
|
2868
|
+
* Uploads an existing Certificate Signing Request (CSR). You can use the CSR when you upload a certificate. You can also manage the uploaded CSRs in a centralized manner.
|
|
2761
2869
|
*
|
|
2762
2870
|
* @param request - UploadCsrRequest
|
|
2763
2871
|
* @returns UploadCsrResponse
|