@alicloud/cas20200407 3.2.8 → 3.2.10
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 +441 -210
- package/dist/client.js +771 -210
- package/dist/client.js.map +1 -1
- package/dist/models/AddCloudAccessRequest.d.ts +31 -2
- package/dist/models/AddCloudAccessRequest.js.map +1 -1
- package/dist/models/AddCloudAccessResponseBody.d.ts +1 -1
- package/dist/models/ApplyCertificateRequest.d.ts +2 -0
- package/dist/models/ApplyCertificateRequest.js.map +1 -1
- package/dist/models/ApplyCertificateResponseBody.d.ts +3 -0
- package/dist/models/ApplyCertificateResponseBody.js.map +1 -1
- package/dist/models/BatchUpdateNoticeStatusRequest.d.ts +19 -0
- package/dist/models/BatchUpdateNoticeStatusRequest.js.map +1 -1
- package/dist/models/BatchUpdateNoticeStatusResponseBody.d.ts +3 -0
- package/dist/models/BatchUpdateNoticeStatusResponseBody.js.map +1 -1
- package/dist/models/CancelCertificateForPackageRequestRequest.d.ts +3 -3
- package/dist/models/CancelCertificateForPackageRequestResponseBody.d.ts +2 -2
- package/dist/models/CancelOrderRequestRequest.d.ts +2 -2
- package/dist/models/CancelOrderRequestResponseBody.d.ts +1 -1
- package/dist/models/CancelPendingCertificateRequest.d.ts +2 -0
- package/dist/models/CancelPendingCertificateRequest.js.map +1 -1
- package/dist/models/CancelPendingCertificateResponseBody.d.ts +3 -0
- package/dist/models/CancelPendingCertificateResponseBody.js.map +1 -1
- package/dist/models/CreateCertificateForPackageRequestRequest.d.ts +43 -26
- package/dist/models/CreateCertificateForPackageRequestRequest.js.map +1 -1
- package/dist/models/CreateCertificateForPackageRequestResponseBody.d.ts +1 -1
- package/dist/models/CreateCertificateRequestRequest.d.ts +20 -13
- package/dist/models/CreateCertificateRequestRequest.js.map +1 -1
- package/dist/models/CreateCertificateRequestResponseBody.d.ts +1 -1
- package/dist/models/CreateCertificateWithCsrRequestRequest.d.ts +20 -15
- package/dist/models/CreateCertificateWithCsrRequestRequest.js.map +1 -1
- package/dist/models/CreateCertificateWithCsrRequestResponseBody.d.ts +1 -1
- package/dist/models/CreateCompanyRequest.d.ts +129 -0
- package/dist/models/CreateCompanyRequest.js +80 -0
- package/dist/models/CreateCompanyRequest.js.map +1 -0
- package/dist/models/CreateCompanyResponse.d.ts +19 -0
- package/dist/models/CreateCompanyResponse.js +69 -0
- package/dist/models/CreateCompanyResponse.js.map +1 -0
- package/dist/models/CreateCompanyResponseBody.d.ts +29 -0
- package/dist/models/CreateCompanyResponseBody.js +60 -0
- package/dist/models/CreateCompanyResponseBody.js.map +1 -0
- package/dist/models/CreateContactRequest.d.ts +57 -0
- package/dist/models/CreateContactRequest.js +66 -0
- package/dist/models/CreateContactRequest.js.map +1 -0
- package/dist/models/CreateContactResponse.d.ts +19 -0
- package/dist/models/CreateContactResponse.js +69 -0
- package/dist/models/CreateContactResponse.js.map +1 -0
- package/dist/models/CreateContactResponseBody.d.ts +29 -0
- package/dist/models/CreateContactResponseBody.js +60 -0
- package/dist/models/CreateContactResponseBody.js.map +1 -0
- package/dist/models/CreateCsrRequest.d.ts +6 -5
- package/dist/models/CreateCsrRequest.js.map +1 -1
- package/dist/models/CreateDeploymentJobRequest.d.ts +3 -2
- package/dist/models/CreateDeploymentJobRequest.js.map +1 -1
- package/dist/models/CreateWarehouseRequest.d.ts +9 -0
- package/dist/models/CreateWarehouseRequest.js.map +1 -1
- package/dist/models/CreateWarehouseResponseBody.d.ts +6 -0
- package/dist/models/CreateWarehouseResponseBody.js.map +1 -1
- package/dist/models/CreateWhclientCertificateRequest.d.ts +96 -0
- package/dist/models/CreateWhclientCertificateRequest.js.map +1 -1
- package/dist/models/CreateWhclientCertificateResponseBody.d.ts +18 -0
- package/dist/models/CreateWhclientCertificateResponseBody.js.map +1 -1
- package/dist/models/DecryptRequest.d.ts +31 -11
- package/dist/models/DecryptRequest.js.map +1 -1
- package/dist/models/DecryptResponseBody.d.ts +3 -3
- package/dist/models/DeleteCertificateRequestRequest.d.ts +1 -1
- package/dist/models/DeleteCloudAccessRequest.d.ts +3 -0
- package/dist/models/DeleteCloudAccessRequest.js.map +1 -1
- package/dist/models/DeleteCloudAccessResponseBody.d.ts +1 -1
- package/dist/models/DeleteCompanyRequest.d.ts +23 -0
- package/dist/models/DeleteCompanyRequest.js +58 -0
- package/dist/models/DeleteCompanyRequest.js.map +1 -0
- package/dist/models/DeleteCompanyResponse.d.ts +19 -0
- package/dist/models/DeleteCompanyResponse.js +69 -0
- package/dist/models/DeleteCompanyResponse.js.map +1 -0
- package/dist/models/DeleteCompanyResponseBody.d.ts +21 -0
- package/dist/models/DeleteCompanyResponseBody.js +58 -0
- package/dist/models/DeleteCompanyResponseBody.js.map +1 -0
- package/dist/models/DeleteContactRequest.d.ts +23 -0
- package/dist/models/DeleteContactRequest.js +58 -0
- package/dist/models/DeleteContactRequest.js.map +1 -0
- package/dist/models/DeleteContactResponse.d.ts +19 -0
- package/dist/models/DeleteContactResponse.js +69 -0
- package/dist/models/DeleteContactResponse.js.map +1 -0
- package/dist/models/DeleteContactResponseBody.d.ts +21 -0
- package/dist/models/DeleteContactResponseBody.js +58 -0
- package/dist/models/DeleteContactResponseBody.js.map +1 -0
- package/dist/models/DeleteInstanceRequest.d.ts +2 -0
- package/dist/models/DeleteInstanceRequest.js.map +1 -1
- package/dist/models/DeleteInstanceResponseBody.d.ts +3 -0
- package/dist/models/DeleteInstanceResponseBody.js.map +1 -1
- package/dist/models/DeleteUserCertificateRequest.d.ts +2 -2
- package/dist/models/DeleteUserCertificateResponseBody.d.ts +1 -1
- package/dist/models/DeleteWarehouseRequest.d.ts +3 -0
- package/dist/models/DeleteWarehouseRequest.js.map +1 -1
- package/dist/models/DeleteWarehouseResponseBody.d.ts +3 -0
- package/dist/models/DeleteWarehouseResponseBody.js.map +1 -1
- package/dist/models/DescribeCertificateStateRequest.d.ts +2 -2
- package/dist/models/DescribeCertificateStateResponseBody.d.ts +46 -33
- package/dist/models/DescribeCertificateStateResponseBody.js.map +1 -1
- package/dist/models/DescribeCloudResourceStatusRequest.d.ts +2 -2
- package/dist/models/DescribeDeploymentJobRequest.d.ts +1 -1
- package/dist/models/DescribeDeploymentJobResponseBody.d.ts +30 -19
- package/dist/models/DescribeDeploymentJobResponseBody.js.map +1 -1
- package/dist/models/DescribeDeploymentJobStatusResponseBody.d.ts +35 -18
- package/dist/models/DescribeDeploymentJobStatusResponseBody.js.map +1 -1
- package/dist/models/DescribePackageStateRequest.d.ts +30 -16
- package/dist/models/DescribePackageStateRequest.js.map +1 -1
- package/dist/models/DescribePackageStateResponseBody.d.ts +30 -16
- package/dist/models/DescribePackageStateResponseBody.js.map +1 -1
- package/dist/models/DescribeWarehouseCertRequest.d.ts +3 -0
- package/dist/models/DescribeWarehouseCertRequest.js.map +1 -1
- package/dist/models/DescribeWarehouseCertResponseBody.d.ts +36 -0
- package/dist/models/DescribeWarehouseCertResponseBody.js.map +1 -1
- package/dist/models/EncryptRequest.d.ts +36 -14
- package/dist/models/EncryptRequest.js.map +1 -1
- package/dist/models/EncryptResponseBody.d.ts +3 -3
- package/dist/models/GetAssetCountResponseBody.d.ts +87 -0
- package/dist/models/GetAssetCountResponseBody.js.map +1 -1
- package/dist/models/GetCertWarehouseQuotaResponseBody.d.ts +17 -3
- package/dist/models/GetCertWarehouseQuotaResponseBody.js.map +1 -1
- package/dist/models/GetCertificateDetailRequest.d.ts +2 -0
- package/dist/models/GetCertificateDetailRequest.js.map +1 -1
- package/dist/models/GetCertificateDetailResponseBody.d.ts +136 -0
- package/dist/models/GetCertificateDetailResponseBody.js.map +1 -1
- package/dist/models/GetCompanyRequest.d.ts +23 -0
- package/dist/models/GetCompanyRequest.js +58 -0
- package/dist/models/GetCompanyRequest.js.map +1 -0
- package/dist/models/GetCompanyResponse.d.ts +19 -0
- package/dist/models/GetCompanyResponse.js +69 -0
- package/dist/models/GetCompanyResponse.js.map +1 -0
- package/dist/models/GetCompanyResponseBody.d.ts +125 -0
- package/dist/models/GetCompanyResponseBody.js +84 -0
- package/dist/models/GetCompanyResponseBody.js.map +1 -0
- package/dist/models/GetContactRequest.d.ts +21 -0
- package/dist/models/GetContactRequest.js +58 -0
- package/dist/models/GetContactRequest.js.map +1 -0
- package/dist/models/GetContactResponse.d.ts +19 -0
- package/dist/models/GetContactResponse.js +69 -0
- package/dist/models/GetContactResponse.js.map +1 -0
- package/dist/models/GetContactResponseBody.d.ts +85 -0
- package/dist/models/GetContactResponseBody.js +74 -0
- package/dist/models/GetContactResponseBody.js.map +1 -0
- package/dist/models/GetInstanceDetailRequest.d.ts +2 -0
- package/dist/models/GetInstanceDetailRequest.js.map +1 -1
- package/dist/models/GetInstanceDetailResponseBody.d.ts +198 -0
- package/dist/models/GetInstanceDetailResponseBody.js +2 -0
- package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
- package/dist/models/GetInstanceSummaryRequest.d.ts +3 -0
- package/dist/models/GetInstanceSummaryRequest.js.map +1 -1
- package/dist/models/GetInstanceSummaryResponseBody.d.ts +18 -0
- package/dist/models/GetInstanceSummaryResponseBody.js.map +1 -1
- package/dist/models/GetMatchedResourcesRequest.d.ts +15 -0
- package/dist/models/GetMatchedResourcesRequest.js.map +1 -1
- package/dist/models/GetMatchedResourcesResponseBody.d.ts +12 -0
- package/dist/models/GetMatchedResourcesResponseBody.js.map +1 -1
- package/dist/models/GetRiskCountResponseBody.d.ts +129 -0
- package/dist/models/GetRiskCountResponseBody.js.map +1 -1
- package/dist/models/GetTaskAttributeRequest.d.ts +5 -0
- package/dist/models/GetTaskAttributeRequest.js.map +1 -1
- package/dist/models/GetTaskAttributeResponseBody.d.ts +15 -0
- package/dist/models/GetTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/GetUserCertificateDetailRequest.d.ts +7 -4
- package/dist/models/GetUserCertificateDetailRequest.js.map +1 -1
- package/dist/models/GetUserCertificateDetailResponseBody.d.ts +65 -43
- package/dist/models/GetUserCertificateDetailResponseBody.js.map +1 -1
- package/dist/models/ListAssetCountRequest.d.ts +14 -2
- package/dist/models/ListAssetCountRequest.js.map +1 -1
- package/dist/models/ListAssetCountResponseBody.d.ts +34 -0
- package/dist/models/ListAssetCountResponseBody.js.map +1 -1
- package/dist/models/ListCertRequest.d.ts +22 -12
- package/dist/models/ListCertRequest.js.map +1 -1
- package/dist/models/ListCertResponseBody.d.ts +51 -20
- package/dist/models/ListCertResponseBody.js.map +1 -1
- package/dist/models/ListCertWarehouseRequest.d.ts +10 -6
- package/dist/models/ListCertWarehouseRequest.js.map +1 -1
- package/dist/models/ListCertWarehouseResponseBody.d.ts +12 -7
- package/dist/models/ListCertWarehouseResponseBody.js.map +1 -1
- package/dist/models/ListCertificatesRequest.d.ts +35 -0
- package/dist/models/ListCertificatesRequest.js.map +1 -1
- package/dist/models/ListCertificatesResponseBody.d.ts +106 -0
- package/dist/models/ListCertificatesResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccessResponseBody.d.ts +1 -1
- package/dist/models/ListCloudResourcesRequest.d.ts +57 -33
- package/dist/models/ListCloudResourcesRequest.js.map +1 -1
- package/dist/models/ListCloudResourcesResponseBody.d.ts +29 -23
- package/dist/models/ListCloudResourcesResponseBody.js.map +1 -1
- package/dist/models/ListCloudResourcesShrinkRequest.d.ts +57 -33
- package/dist/models/ListCloudResourcesShrinkRequest.js.map +1 -1
- package/dist/models/ListCompaniesRequest.d.ts +45 -0
- package/dist/models/ListCompaniesRequest.js +64 -0
- package/dist/models/ListCompaniesRequest.js.map +1 -0
- package/dist/models/ListCompaniesResponse.d.ts +19 -0
- package/dist/models/ListCompaniesResponse.js +69 -0
- package/dist/models/ListCompaniesResponse.js.map +1 -0
- package/dist/models/ListCompaniesResponseBody.d.ts +166 -0
- package/dist/models/ListCompaniesResponseBody.js +112 -0
- package/dist/models/ListCompaniesResponseBody.js.map +1 -0
- package/dist/models/ListContactRequest.d.ts +3 -3
- package/dist/models/ListContactResponseBody.d.ts +13 -13
- package/dist/models/ListCsrRequest.d.ts +2 -2
- package/dist/models/ListCsrResponseBody.d.ts +3 -3
- package/dist/models/ListDeploymentJobCertResponseBody.d.ts +36 -21
- package/dist/models/ListDeploymentJobCertResponseBody.js.map +1 -1
- package/dist/models/ListDeploymentJobRequest.d.ts +4 -18
- package/dist/models/ListDeploymentJobRequest.js.map +1 -1
- package/dist/models/ListDeploymentJobResourceResponseBody.d.ts +82 -57
- package/dist/models/ListDeploymentJobResourceResponseBody.js.map +1 -1
- package/dist/models/ListDeploymentJobResponseBody.d.ts +35 -35
- package/dist/models/ListInstancesRequest.d.ts +40 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +132 -0
- package/dist/models/ListInstancesResponseBody.js +2 -0
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/ListUserCertificateOrderRequest.d.ts +19 -19
- package/dist/models/ListUserCertificateOrderResponseBody.d.ts +67 -64
- package/dist/models/ListUserCertificateOrderResponseBody.js.map +1 -1
- package/dist/models/ListWarehouseRequest.d.ts +12 -0
- package/dist/models/ListWarehouseRequest.js.map +1 -1
- package/dist/models/ListWarehouseResponseBody.d.ts +25 -0
- package/dist/models/ListWarehouseResponseBody.js.map +1 -1
- package/dist/models/ListWarehouseShrinkRequest.d.ts +12 -0
- package/dist/models/ListWarehouseShrinkRequest.js.map +1 -1
- package/dist/models/ListWorkerResourceRequest.d.ts +18 -10
- package/dist/models/ListWorkerResourceRequest.js.map +1 -1
- package/dist/models/ListWorkerResourceResponseBody.d.ts +64 -38
- package/dist/models/ListWorkerResourceResponseBody.js.map +1 -1
- package/dist/models/MoveResourceGroupRequest.d.ts +4 -3
- package/dist/models/MoveResourceGroupRequest.js.map +1 -1
- package/dist/models/RefundInstanceRequest.d.ts +2 -0
- package/dist/models/RefundInstanceRequest.js.map +1 -1
- package/dist/models/RefundInstanceResponseBody.d.ts +3 -0
- package/dist/models/RefundInstanceResponseBody.js.map +1 -1
- package/dist/models/RenewCertificateOrderForPackageRequestRequest.d.ts +5 -5
- package/dist/models/RenewCertificateOrderForPackageRequestResponseBody.d.ts +1 -1
- package/dist/models/RevokeCertificateRequest.d.ts +3 -0
- package/dist/models/RevokeCertificateRequest.js +2 -0
- package/dist/models/RevokeCertificateRequest.js.map +1 -1
- package/dist/models/RevokeCertificateResponseBody.d.ts +3 -0
- package/dist/models/RevokeCertificateResponseBody.js.map +1 -1
- package/dist/models/RevokeWhclientCertificateRequest.d.ts +1 -1
- package/dist/models/RevokeWhclientCertificateResponseBody.d.ts +1 -1
- package/dist/models/SignRequest.d.ts +40 -17
- package/dist/models/SignRequest.js.map +1 -1
- package/dist/models/SignResponseBody.d.ts +2 -2
- package/dist/models/UpdateCompanyRequest.d.ts +137 -0
- package/dist/models/UpdateCompanyRequest.js +82 -0
- package/dist/models/UpdateCompanyRequest.js.map +1 -0
- package/dist/models/UpdateCompanyResponse.d.ts +19 -0
- package/dist/models/UpdateCompanyResponse.js +69 -0
- package/dist/models/UpdateCompanyResponse.js.map +1 -0
- package/dist/models/UpdateCompanyResponseBody.d.ts +29 -0
- package/dist/models/UpdateCompanyResponseBody.js +60 -0
- package/dist/models/UpdateCompanyResponseBody.js.map +1 -0
- package/dist/models/UpdateContactRequest.d.ts +63 -0
- package/dist/models/UpdateContactRequest.js +68 -0
- package/dist/models/UpdateContactRequest.js.map +1 -0
- package/dist/models/UpdateContactResponse.d.ts +19 -0
- package/dist/models/UpdateContactResponse.js +69 -0
- package/dist/models/UpdateContactResponse.js.map +1 -0
- package/dist/models/UpdateContactResponseBody.d.ts +29 -0
- package/dist/models/UpdateContactResponseBody.js +60 -0
- package/dist/models/UpdateContactResponseBody.js.map +1 -0
- package/dist/models/UpdateCsrRequest.d.ts +2 -2
- package/dist/models/UpdateCsrResponseBody.d.ts +1 -1
- package/dist/models/UpdateDeploymentJobStatusRequest.d.ts +6 -4
- package/dist/models/UpdateDeploymentJobStatusRequest.js.map +1 -1
- package/dist/models/UpdateInstanceRequest.d.ts +86 -0
- package/dist/models/UpdateInstanceRequest.js.map +1 -1
- package/dist/models/UpdateInstanceResponseBody.d.ts +3 -0
- package/dist/models/UpdateInstanceResponseBody.js.map +1 -1
- package/dist/models/UpdateWorkerResourceStatusRequest.d.ts +2 -2
- package/dist/models/UploadCsrRequest.d.ts +2 -2
- package/dist/models/UploadCsrResponseBody.d.ts +1 -1
- package/dist/models/UploadPcacertRequest.d.ts +5 -7
- package/dist/models/UploadPcacertRequest.js.map +1 -1
- package/dist/models/UploadPcacertResponseBody.d.ts +4 -1
- package/dist/models/UploadPcacertResponseBody.js.map +1 -1
- package/dist/models/UploadUserCertificateRequest.d.ts +10 -10
- package/dist/models/UploadUserCertificateResponseBody.d.ts +2 -2
- package/dist/models/VerifyRequest.d.ts +35 -16
- package/dist/models/VerifyRequest.js.map +1 -1
- package/dist/models/VerifyResponseBody.d.ts +5 -4
- package/dist/models/VerifyResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +28 -0
- package/dist/models/model.js +62 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +834 -210
- package/src/models/AddCloudAccessRequest.ts +31 -2
- package/src/models/AddCloudAccessResponseBody.ts +1 -1
- package/src/models/ApplyCertificateRequest.ts +2 -0
- package/src/models/ApplyCertificateResponseBody.ts +3 -0
- package/src/models/BatchUpdateNoticeStatusRequest.ts +19 -0
- package/src/models/BatchUpdateNoticeStatusResponseBody.ts +3 -0
- package/src/models/CancelCertificateForPackageRequestRequest.ts +3 -3
- package/src/models/CancelCertificateForPackageRequestResponseBody.ts +2 -2
- package/src/models/CancelOrderRequestRequest.ts +2 -2
- package/src/models/CancelOrderRequestResponseBody.ts +1 -1
- package/src/models/CancelPendingCertificateRequest.ts +2 -0
- package/src/models/CancelPendingCertificateResponseBody.ts +3 -0
- package/src/models/CreateCertificateForPackageRequestRequest.ts +43 -26
- package/src/models/CreateCertificateForPackageRequestResponseBody.ts +1 -1
- package/src/models/CreateCertificateRequestRequest.ts +20 -13
- package/src/models/CreateCertificateRequestResponseBody.ts +1 -1
- package/src/models/CreateCertificateWithCsrRequestRequest.ts +20 -15
- package/src/models/CreateCertificateWithCsrRequestResponseBody.ts +1 -1
- package/src/models/CreateCompanyRequest.ts +164 -0
- package/src/models/CreateCompanyResponse.ts +40 -0
- package/src/models/CreateCompanyResponseBody.ts +44 -0
- package/src/models/CreateContactRequest.ts +78 -0
- package/src/models/CreateContactResponse.ts +40 -0
- package/src/models/CreateContactResponseBody.ts +44 -0
- package/src/models/CreateCsrRequest.ts +6 -5
- package/src/models/CreateDeploymentJobRequest.ts +3 -2
- package/src/models/CreateWarehouseRequest.ts +9 -0
- package/src/models/CreateWarehouseResponseBody.ts +6 -0
- package/src/models/CreateWhclientCertificateRequest.ts +96 -0
- package/src/models/CreateWhclientCertificateResponseBody.ts +18 -0
- package/src/models/DecryptRequest.ts +31 -11
- package/src/models/DecryptResponseBody.ts +3 -3
- package/src/models/DeleteCertificateRequestRequest.ts +1 -1
- package/src/models/DeleteCloudAccessRequest.ts +3 -0
- package/src/models/DeleteCloudAccessResponseBody.ts +1 -1
- package/src/models/DeleteCompanyRequest.ts +36 -0
- package/src/models/DeleteCompanyResponse.ts +40 -0
- package/src/models/DeleteCompanyResponseBody.ts +34 -0
- package/src/models/DeleteContactRequest.ts +36 -0
- package/src/models/DeleteContactResponse.ts +40 -0
- package/src/models/DeleteContactResponseBody.ts +34 -0
- package/src/models/DeleteInstanceRequest.ts +2 -0
- package/src/models/DeleteInstanceResponseBody.ts +3 -0
- package/src/models/DeleteUserCertificateRequest.ts +2 -2
- package/src/models/DeleteUserCertificateResponseBody.ts +1 -1
- package/src/models/DeleteWarehouseRequest.ts +3 -0
- package/src/models/DeleteWarehouseResponseBody.ts +3 -0
- package/src/models/DescribeCertificateStateRequest.ts +2 -2
- package/src/models/DescribeCertificateStateResponseBody.ts +46 -33
- package/src/models/DescribeCloudResourceStatusRequest.ts +2 -2
- package/src/models/DescribeDeploymentJobRequest.ts +1 -1
- package/src/models/DescribeDeploymentJobResponseBody.ts +30 -19
- package/src/models/DescribeDeploymentJobStatusResponseBody.ts +35 -18
- package/src/models/DescribePackageStateRequest.ts +30 -16
- package/src/models/DescribePackageStateResponseBody.ts +30 -16
- package/src/models/DescribeWarehouseCertRequest.ts +3 -0
- package/src/models/DescribeWarehouseCertResponseBody.ts +36 -0
- package/src/models/EncryptRequest.ts +36 -14
- package/src/models/EncryptResponseBody.ts +3 -3
- package/src/models/GetAssetCountResponseBody.ts +87 -0
- package/src/models/GetCertWarehouseQuotaResponseBody.ts +17 -3
- package/src/models/GetCertificateDetailRequest.ts +2 -0
- package/src/models/GetCertificateDetailResponseBody.ts +136 -0
- package/src/models/GetCompanyRequest.ts +36 -0
- package/src/models/GetCompanyResponse.ts +40 -0
- package/src/models/GetCompanyResponseBody.ts +164 -0
- package/src/models/GetContactRequest.ts +34 -0
- package/src/models/GetContactResponse.ts +40 -0
- package/src/models/GetContactResponseBody.ts +114 -0
- package/src/models/GetInstanceDetailRequest.ts +2 -0
- package/src/models/GetInstanceDetailResponseBody.ts +200 -0
- package/src/models/GetInstanceSummaryRequest.ts +3 -0
- package/src/models/GetInstanceSummaryResponseBody.ts +18 -0
- package/src/models/GetMatchedResourcesRequest.ts +15 -0
- package/src/models/GetMatchedResourcesResponseBody.ts +12 -0
- package/src/models/GetRiskCountResponseBody.ts +129 -0
- package/src/models/GetTaskAttributeRequest.ts +5 -0
- package/src/models/GetTaskAttributeResponseBody.ts +15 -0
- package/src/models/GetUserCertificateDetailRequest.ts +7 -4
- package/src/models/GetUserCertificateDetailResponseBody.ts +65 -43
- package/src/models/ListAssetCountRequest.ts +14 -2
- package/src/models/ListAssetCountResponseBody.ts +34 -0
- package/src/models/ListCertRequest.ts +22 -12
- package/src/models/ListCertResponseBody.ts +51 -20
- package/src/models/ListCertWarehouseRequest.ts +10 -6
- package/src/models/ListCertWarehouseResponseBody.ts +12 -7
- package/src/models/ListCertificatesRequest.ts +35 -0
- package/src/models/ListCertificatesResponseBody.ts +106 -0
- package/src/models/ListCloudAccessResponseBody.ts +1 -1
- package/src/models/ListCloudResourcesRequest.ts +57 -33
- package/src/models/ListCloudResourcesResponseBody.ts +29 -23
- package/src/models/ListCloudResourcesShrinkRequest.ts +57 -33
- package/src/models/ListCompaniesRequest.ts +64 -0
- package/src/models/ListCompaniesResponse.ts +40 -0
- package/src/models/ListCompaniesResponseBody.ts +224 -0
- package/src/models/ListContactRequest.ts +3 -3
- package/src/models/ListContactResponseBody.ts +13 -13
- package/src/models/ListCsrRequest.ts +2 -2
- package/src/models/ListCsrResponseBody.ts +3 -3
- package/src/models/ListDeploymentJobCertResponseBody.ts +36 -21
- package/src/models/ListDeploymentJobRequest.ts +4 -18
- package/src/models/ListDeploymentJobResourceResponseBody.ts +82 -57
- package/src/models/ListDeploymentJobResponseBody.ts +35 -35
- package/src/models/ListInstancesRequest.ts +40 -0
- package/src/models/ListInstancesResponseBody.ts +134 -0
- package/src/models/ListUserCertificateOrderRequest.ts +19 -19
- package/src/models/ListUserCertificateOrderResponseBody.ts +67 -64
- package/src/models/ListWarehouseRequest.ts +12 -0
- package/src/models/ListWarehouseResponseBody.ts +25 -0
- package/src/models/ListWarehouseShrinkRequest.ts +12 -0
- package/src/models/ListWorkerResourceRequest.ts +18 -10
- package/src/models/ListWorkerResourceResponseBody.ts +64 -38
- package/src/models/MoveResourceGroupRequest.ts +4 -3
- package/src/models/RefundInstanceRequest.ts +2 -0
- package/src/models/RefundInstanceResponseBody.ts +3 -0
- package/src/models/RenewCertificateOrderForPackageRequestRequest.ts +5 -5
- package/src/models/RenewCertificateOrderForPackageRequestResponseBody.ts +1 -1
- package/src/models/RevokeCertificateRequest.ts +5 -0
- package/src/models/RevokeCertificateResponseBody.ts +3 -0
- package/src/models/RevokeWhclientCertificateRequest.ts +1 -1
- package/src/models/RevokeWhclientCertificateResponseBody.ts +1 -1
- package/src/models/SignRequest.ts +40 -17
- package/src/models/SignResponseBody.ts +2 -2
- package/src/models/UpdateCompanyRequest.ts +174 -0
- package/src/models/UpdateCompanyResponse.ts +40 -0
- package/src/models/UpdateCompanyResponseBody.ts +44 -0
- package/src/models/UpdateContactRequest.ts +86 -0
- package/src/models/UpdateContactResponse.ts +40 -0
- package/src/models/UpdateContactResponseBody.ts +44 -0
- package/src/models/UpdateCsrRequest.ts +2 -2
- package/src/models/UpdateCsrResponseBody.ts +1 -1
- package/src/models/UpdateDeploymentJobStatusRequest.ts +6 -4
- package/src/models/UpdateInstanceRequest.ts +86 -0
- package/src/models/UpdateInstanceResponseBody.ts +3 -0
- package/src/models/UpdateWorkerResourceStatusRequest.ts +2 -2
- package/src/models/UploadCsrRequest.ts +2 -2
- package/src/models/UploadCsrResponseBody.ts +1 -1
- package/src/models/UploadPcacertRequest.ts +5 -7
- package/src/models/UploadPcacertResponseBody.ts +4 -1
- package/src/models/UploadUserCertificateRequest.ts +10 -10
- package/src/models/UploadUserCertificateResponseBody.ts +2 -2
- package/src/models/VerifyRequest.ts +35 -16
- package/src/models/VerifyResponseBody.ts +5 -4
- package/src/models/model.ts +28 -0
package/dist/client.js
CHANGED
|
@@ -101,6 +101,12 @@ class Client extends openapi_core_1.default {
|
|
|
101
101
|
'rus-west-1-pop': "cas.aliyuncs.com",
|
|
102
102
|
'us-east-1': "cas.aliyuncs.com",
|
|
103
103
|
'us-west-1': "cas.aliyuncs.com",
|
|
104
|
+
'me-east-1': "cas.me-east-1.aliyuncs.com",
|
|
105
|
+
'eu-central-1': "cas.eu-central-1.aliyuncs.com",
|
|
106
|
+
'ap-southeast-2': "cas.ap-southeast-2.aliyuncs.com",
|
|
107
|
+
'ap-southeast-1': "cas.ap-southeast-1.aliyuncs.com",
|
|
108
|
+
'ap-south-1': "cas.ap-south-1.aliyuncs.com",
|
|
109
|
+
'ap-northeast-1': "cas.ap-northeast-1.aliyuncs.com",
|
|
104
110
|
};
|
|
105
111
|
this.checkConfig(config);
|
|
106
112
|
this._endpoint = this.getEndpoint("cas", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -115,7 +121,10 @@ class Client extends openapi_core_1.default {
|
|
|
115
121
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
116
122
|
}
|
|
117
123
|
/**
|
|
118
|
-
*
|
|
124
|
+
* Adds an AccessKey for authorization.
|
|
125
|
+
*
|
|
126
|
+
* @remarks
|
|
127
|
+
* The single-user QPS limit for this API is 100 queries per second (QPS). Calls that exceed this limit are throttled, which can affect your business operations. Call this API at a reasonable rate to avoid throttling.
|
|
119
128
|
*
|
|
120
129
|
* @param request - AddCloudAccessRequest
|
|
121
130
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -150,7 +159,10 @@ class Client extends openapi_core_1.default {
|
|
|
150
159
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddCloudAccessResponse({}));
|
|
151
160
|
}
|
|
152
161
|
/**
|
|
153
|
-
*
|
|
162
|
+
* Adds an AccessKey for authorization.
|
|
163
|
+
*
|
|
164
|
+
* @remarks
|
|
165
|
+
* The single-user QPS limit for this API is 100 queries per second (QPS). Calls that exceed this limit are throttled, which can affect your business operations. Call this API at a reasonable rate to avoid throttling.
|
|
154
166
|
*
|
|
155
167
|
* @param request - AddCloudAccessRequest
|
|
156
168
|
* @returns AddCloudAccessResponse
|
|
@@ -160,7 +172,7 @@ class Client extends openapi_core_1.default {
|
|
|
160
172
|
return await this.addCloudAccessWithOptions(request, runtime);
|
|
161
173
|
}
|
|
162
174
|
/**
|
|
163
|
-
*
|
|
175
|
+
* Applies for a certificate.
|
|
164
176
|
*
|
|
165
177
|
* @param request - ApplyCertificateRequest
|
|
166
178
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -189,7 +201,7 @@ class Client extends openapi_core_1.default {
|
|
|
189
201
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ApplyCertificateResponse({}));
|
|
190
202
|
}
|
|
191
203
|
/**
|
|
192
|
-
*
|
|
204
|
+
* Applies for a certificate.
|
|
193
205
|
*
|
|
194
206
|
* @param request - ApplyCertificateRequest
|
|
195
207
|
* @returns ApplyCertificateResponse
|
|
@@ -199,7 +211,13 @@ class Client extends openapi_core_1.default {
|
|
|
199
211
|
return await this.applyCertificateWithOptions(request, runtime);
|
|
200
212
|
}
|
|
201
213
|
/**
|
|
202
|
-
*
|
|
214
|
+
* Updates the notification status in batches
|
|
215
|
+
*
|
|
216
|
+
* @remarks
|
|
217
|
+
* After a CA certificate is created, it is in the normal issuance state by default. You can call this operation to change the status of a CA certificate from normal issuance to revoked. In the normal issuance state, the CA certificate can be used to issue certificates. In the revoked state, the CA certificate cannot be used to issue certificates, and the certificates that have been issued by the CA certificate also become invalid accordingly.
|
|
218
|
+
* Before you call this operation, you must have called [CreateRootCACertificate](https://help.aliyun.com/document_detail/465962.html) to create a root CA certificate and called [CreateSubCACertificate](https://help.aliyun.com/document_detail/465959.html) to create a sub CA certificate.
|
|
219
|
+
* ## QPS limit
|
|
220
|
+
* The QPS limit per user for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation properly.
|
|
203
221
|
*
|
|
204
222
|
* @param request - BatchUpdateNoticeStatusRequest
|
|
205
223
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -240,7 +258,13 @@ class Client extends openapi_core_1.default {
|
|
|
240
258
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchUpdateNoticeStatusResponse({}));
|
|
241
259
|
}
|
|
242
260
|
/**
|
|
243
|
-
*
|
|
261
|
+
* Updates the notification status in batches
|
|
262
|
+
*
|
|
263
|
+
* @remarks
|
|
264
|
+
* After a CA certificate is created, it is in the normal issuance state by default. You can call this operation to change the status of a CA certificate from normal issuance to revoked. In the normal issuance state, the CA certificate can be used to issue certificates. In the revoked state, the CA certificate cannot be used to issue certificates, and the certificates that have been issued by the CA certificate also become invalid accordingly.
|
|
265
|
+
* Before you call this operation, you must have called [CreateRootCACertificate](https://help.aliyun.com/document_detail/465962.html) to create a root CA certificate and called [CreateSubCACertificate](https://help.aliyun.com/document_detail/465959.html) to create a sub CA certificate.
|
|
266
|
+
* ## QPS limit
|
|
267
|
+
* The QPS limit per user for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation properly.
|
|
244
268
|
*
|
|
245
269
|
* @param request - BatchUpdateNoticeStatusRequest
|
|
246
270
|
* @returns BatchUpdateNoticeStatusResponse
|
|
@@ -250,10 +274,10 @@ class Client extends openapi_core_1.default {
|
|
|
250
274
|
return await this.batchUpdateNoticeStatusWithOptions(request, runtime);
|
|
251
275
|
}
|
|
252
276
|
/**
|
|
253
|
-
* Revokes an issued certificate
|
|
277
|
+
* Revokes an issued certificate or cancels a pending certificate order and restores the quota.
|
|
254
278
|
*
|
|
255
279
|
* @remarks
|
|
256
|
-
*
|
|
280
|
+
* This API has a limit of 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled. This can affect your business. Call the API at a reasonable rate.
|
|
257
281
|
*
|
|
258
282
|
* @param request - CancelCertificateForPackageRequestRequest
|
|
259
283
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -282,10 +306,10 @@ class Client extends openapi_core_1.default {
|
|
|
282
306
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelCertificateForPackageRequestResponse({}));
|
|
283
307
|
}
|
|
284
308
|
/**
|
|
285
|
-
* Revokes an issued certificate
|
|
309
|
+
* Revokes an issued certificate or cancels a pending certificate order and restores the quota.
|
|
286
310
|
*
|
|
287
311
|
* @remarks
|
|
288
|
-
*
|
|
312
|
+
* This API has a limit of 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled. This can affect your business. Call the API at a reasonable rate.
|
|
289
313
|
*
|
|
290
314
|
* @param request - CancelCertificateForPackageRequestRequest
|
|
291
315
|
* @returns CancelCertificateForPackageRequestResponse
|
|
@@ -295,10 +319,10 @@ class Client extends openapi_core_1.default {
|
|
|
295
319
|
return await this.cancelCertificateForPackageRequestWithOptions(request, runtime);
|
|
296
320
|
}
|
|
297
321
|
/**
|
|
298
|
-
* Cancels a certificate application order that is
|
|
322
|
+
* Cancels a certificate application order that is pending domain verification or under review.
|
|
299
323
|
*
|
|
300
324
|
* @remarks
|
|
301
|
-
*
|
|
325
|
+
* This API is limited to 100 queries per second (QPS) for each user. API calls that exceed this limit are throttled. Because this can impact your business, you should call this API at a reasonable rate.
|
|
302
326
|
*
|
|
303
327
|
* @param request - CancelOrderRequestRequest
|
|
304
328
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -327,10 +351,10 @@ class Client extends openapi_core_1.default {
|
|
|
327
351
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelOrderRequestResponse({}));
|
|
328
352
|
}
|
|
329
353
|
/**
|
|
330
|
-
* Cancels a certificate application order that is
|
|
354
|
+
* Cancels a certificate application order that is pending domain verification or under review.
|
|
331
355
|
*
|
|
332
356
|
* @remarks
|
|
333
|
-
*
|
|
357
|
+
* This API is limited to 100 queries per second (QPS) for each user. API calls that exceed this limit are throttled. Because this can impact your business, you should call this API at a reasonable rate.
|
|
334
358
|
*
|
|
335
359
|
* @param request - CancelOrderRequestRequest
|
|
336
360
|
* @returns CancelOrderRequestResponse
|
|
@@ -340,7 +364,7 @@ class Client extends openapi_core_1.default {
|
|
|
340
364
|
return await this.cancelOrderRequestWithOptions(request, runtime);
|
|
341
365
|
}
|
|
342
366
|
/**
|
|
343
|
-
*
|
|
367
|
+
* Revokes a certificate application.
|
|
344
368
|
*
|
|
345
369
|
* @param request - CancelPendingCertificateRequest
|
|
346
370
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -369,7 +393,7 @@ class Client extends openapi_core_1.default {
|
|
|
369
393
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CancelPendingCertificateResponse({}));
|
|
370
394
|
}
|
|
371
395
|
/**
|
|
372
|
-
*
|
|
396
|
+
* Revokes a certificate application.
|
|
373
397
|
*
|
|
374
398
|
* @param request - CancelPendingCertificateRequest
|
|
375
399
|
* @returns CancelPendingCertificateResponse
|
|
@@ -379,12 +403,12 @@ class Client extends openapi_core_1.default {
|
|
|
379
403
|
return await this.cancelPendingCertificateWithOptions(request, runtime);
|
|
380
404
|
}
|
|
381
405
|
/**
|
|
382
|
-
* Submits a certificate application.
|
|
406
|
+
* Submits a certificate application by using a purchased certificate package quota.
|
|
383
407
|
*
|
|
384
408
|
* @remarks
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
409
|
+
* - 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.
|
|
410
|
+
* - 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.
|
|
411
|
+
* - 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.
|
|
388
412
|
*
|
|
389
413
|
* @param request - CreateCertificateForPackageRequestRequest
|
|
390
414
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -437,12 +461,12 @@ class Client extends openapi_core_1.default {
|
|
|
437
461
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCertificateForPackageRequestResponse({}));
|
|
438
462
|
}
|
|
439
463
|
/**
|
|
440
|
-
* Submits a certificate application.
|
|
464
|
+
* Submits a certificate application by using a purchased certificate package quota.
|
|
441
465
|
*
|
|
442
466
|
* @remarks
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
*
|
|
467
|
+
* - 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.
|
|
468
|
+
* - 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.
|
|
469
|
+
* - 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.
|
|
446
470
|
*
|
|
447
471
|
* @param request - CreateCertificateForPackageRequestRequest
|
|
448
472
|
* @returns CreateCertificateForPackageRequestResponse
|
|
@@ -455,10 +479,10 @@ class Client extends openapi_core_1.default {
|
|
|
455
479
|
* Purchases, applies for, and issues a domain validated (DV) certificate by using extended certificate services.
|
|
456
480
|
*
|
|
457
481
|
* @remarks
|
|
458
|
-
*
|
|
459
|
-
*
|
|
460
|
-
*
|
|
461
|
-
*
|
|
482
|
+
* - 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.
|
|
483
|
+
* - 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.
|
|
484
|
+
* - When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate.
|
|
485
|
+
* - 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.
|
|
462
486
|
*
|
|
463
487
|
* @param request - CreateCertificateRequestRequest
|
|
464
488
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -508,10 +532,10 @@ class Client extends openapi_core_1.default {
|
|
|
508
532
|
* Purchases, applies for, and issues a domain validated (DV) certificate by using extended certificate services.
|
|
509
533
|
*
|
|
510
534
|
* @remarks
|
|
511
|
-
*
|
|
512
|
-
*
|
|
513
|
-
*
|
|
514
|
-
*
|
|
535
|
+
* - 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.
|
|
536
|
+
* - 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.
|
|
537
|
+
* - When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate.
|
|
538
|
+
* - 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.
|
|
515
539
|
*
|
|
516
540
|
* @param request - CreateCertificateRequestRequest
|
|
517
541
|
* @returns CreateCertificateRequestResponse
|
|
@@ -521,13 +545,13 @@ class Client extends openapi_core_1.default {
|
|
|
521
545
|
return await this.createCertificateRequestWithOptions(request, runtime);
|
|
522
546
|
}
|
|
523
547
|
/**
|
|
524
|
-
* Purchases, applies for, and issues a domain validated (DV) certificate by using a custom certificate signing request (CSR) file.
|
|
548
|
+
* Purchases, applies for, and issues a domain validated (DV) certificate by using a custom certificate signing request (CSR) file.
|
|
525
549
|
*
|
|
526
550
|
* @remarks
|
|
527
|
-
*
|
|
528
|
-
*
|
|
529
|
-
*
|
|
530
|
-
*
|
|
551
|
+
* - 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.
|
|
552
|
+
* - 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.
|
|
553
|
+
* - When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate that you want to apply for.
|
|
554
|
+
* - 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.
|
|
531
555
|
*
|
|
532
556
|
* @param request - CreateCertificateWithCsrRequestRequest
|
|
533
557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -574,13 +598,13 @@ class Client extends openapi_core_1.default {
|
|
|
574
598
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCertificateWithCsrRequestResponse({}));
|
|
575
599
|
}
|
|
576
600
|
/**
|
|
577
|
-
* Purchases, applies for, and issues a domain validated (DV) certificate by using a custom certificate signing request (CSR) file.
|
|
601
|
+
* Purchases, applies for, and issues a domain validated (DV) certificate by using a custom certificate signing request (CSR) file.
|
|
578
602
|
*
|
|
579
603
|
* @remarks
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
604
|
+
* - 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.
|
|
605
|
+
* - 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.
|
|
606
|
+
* - When you call this operation, you can use the **ProductCode** parameter to specify the specifications of the certificate that you want to apply for.
|
|
607
|
+
* - 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.
|
|
584
608
|
*
|
|
585
609
|
* @param request - CreateCertificateWithCsrRequestRequest
|
|
586
610
|
* @returns CreateCertificateWithCsrRequestResponse
|
|
@@ -590,7 +614,130 @@ class Client extends openapi_core_1.default {
|
|
|
590
614
|
return await this.createCertificateWithCsrRequestWithOptions(request, runtime);
|
|
591
615
|
}
|
|
592
616
|
/**
|
|
593
|
-
* Creates a
|
|
617
|
+
* Creates a company.
|
|
618
|
+
*
|
|
619
|
+
* @param request - CreateCompanyRequest
|
|
620
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
621
|
+
* @returns CreateCompanyResponse
|
|
622
|
+
*/
|
|
623
|
+
async createCompanyWithOptions(request, runtime) {
|
|
624
|
+
request.validate();
|
|
625
|
+
let query = {};
|
|
626
|
+
if (!$dara.isNull(request.city)) {
|
|
627
|
+
query["City"] = request.city;
|
|
628
|
+
}
|
|
629
|
+
if (!$dara.isNull(request.companyAddress)) {
|
|
630
|
+
query["CompanyAddress"] = request.companyAddress;
|
|
631
|
+
}
|
|
632
|
+
if (!$dara.isNull(request.companyCode)) {
|
|
633
|
+
query["CompanyCode"] = request.companyCode;
|
|
634
|
+
}
|
|
635
|
+
if (!$dara.isNull(request.companyEmail)) {
|
|
636
|
+
query["CompanyEmail"] = request.companyEmail;
|
|
637
|
+
}
|
|
638
|
+
if (!$dara.isNull(request.companyName)) {
|
|
639
|
+
query["CompanyName"] = request.companyName;
|
|
640
|
+
}
|
|
641
|
+
if (!$dara.isNull(request.companyPhone)) {
|
|
642
|
+
query["CompanyPhone"] = request.companyPhone;
|
|
643
|
+
}
|
|
644
|
+
if (!$dara.isNull(request.companyType)) {
|
|
645
|
+
query["CompanyType"] = request.companyType;
|
|
646
|
+
}
|
|
647
|
+
if (!$dara.isNull(request.countryCode)) {
|
|
648
|
+
query["CountryCode"] = request.countryCode;
|
|
649
|
+
}
|
|
650
|
+
if (!$dara.isNull(request.department)) {
|
|
651
|
+
query["Department"] = request.department;
|
|
652
|
+
}
|
|
653
|
+
if (!$dara.isNull(request.lang)) {
|
|
654
|
+
query["Lang"] = request.lang;
|
|
655
|
+
}
|
|
656
|
+
if (!$dara.isNull(request.postCode)) {
|
|
657
|
+
query["PostCode"] = request.postCode;
|
|
658
|
+
}
|
|
659
|
+
if (!$dara.isNull(request.province)) {
|
|
660
|
+
query["Province"] = request.province;
|
|
661
|
+
}
|
|
662
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
663
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
664
|
+
});
|
|
665
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
666
|
+
action: "CreateCompany",
|
|
667
|
+
version: "2020-04-07",
|
|
668
|
+
protocol: "HTTPS",
|
|
669
|
+
pathname: "/",
|
|
670
|
+
method: "POST",
|
|
671
|
+
authType: "AK",
|
|
672
|
+
style: "RPC",
|
|
673
|
+
reqBodyType: "formData",
|
|
674
|
+
bodyType: "json",
|
|
675
|
+
});
|
|
676
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCompanyResponse({}));
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* Creates a company.
|
|
680
|
+
*
|
|
681
|
+
* @param request - CreateCompanyRequest
|
|
682
|
+
* @returns CreateCompanyResponse
|
|
683
|
+
*/
|
|
684
|
+
async createCompany(request) {
|
|
685
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
686
|
+
return await this.createCompanyWithOptions(request, runtime);
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Creates a certificate application contact.
|
|
690
|
+
*
|
|
691
|
+
* @param request - CreateContactRequest
|
|
692
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
693
|
+
* @returns CreateContactResponse
|
|
694
|
+
*/
|
|
695
|
+
async createContactWithOptions(request, runtime) {
|
|
696
|
+
request.validate();
|
|
697
|
+
let query = {};
|
|
698
|
+
if (!$dara.isNull(request.email)) {
|
|
699
|
+
query["Email"] = request.email;
|
|
700
|
+
}
|
|
701
|
+
if (!$dara.isNull(request.idcard)) {
|
|
702
|
+
query["Idcard"] = request.idcard;
|
|
703
|
+
}
|
|
704
|
+
if (!$dara.isNull(request.mobile)) {
|
|
705
|
+
query["Mobile"] = request.mobile;
|
|
706
|
+
}
|
|
707
|
+
if (!$dara.isNull(request.name)) {
|
|
708
|
+
query["Name"] = request.name;
|
|
709
|
+
}
|
|
710
|
+
if (!$dara.isNull(request.webhooks)) {
|
|
711
|
+
query["Webhooks"] = request.webhooks;
|
|
712
|
+
}
|
|
713
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
714
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
715
|
+
});
|
|
716
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
717
|
+
action: "CreateContact",
|
|
718
|
+
version: "2020-04-07",
|
|
719
|
+
protocol: "HTTPS",
|
|
720
|
+
pathname: "/",
|
|
721
|
+
method: "POST",
|
|
722
|
+
authType: "AK",
|
|
723
|
+
style: "RPC",
|
|
724
|
+
reqBodyType: "formData",
|
|
725
|
+
bodyType: "json",
|
|
726
|
+
});
|
|
727
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateContactResponse({}));
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* Creates a certificate application contact.
|
|
731
|
+
*
|
|
732
|
+
* @param request - CreateContactRequest
|
|
733
|
+
* @returns CreateContactResponse
|
|
734
|
+
*/
|
|
735
|
+
async createContact(request) {
|
|
736
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
737
|
+
return await this.createContactWithOptions(request, runtime);
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Creates a certificate signing request (CSR) that contains information about an SSL certificate to apply for, such as the domain names and the certificate holder. You must provide a CSR when you submit a certificate application to a certificate authority (CA).
|
|
594
741
|
*
|
|
595
742
|
* @param request - CreateCsrRequest
|
|
596
743
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -646,7 +793,7 @@ class Client extends openapi_core_1.default {
|
|
|
646
793
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCsrResponse({}));
|
|
647
794
|
}
|
|
648
795
|
/**
|
|
649
|
-
* Creates a certificate signing request (CSR)
|
|
796
|
+
* Creates a certificate signing request (CSR) that contains information about an SSL certificate to apply for, such as the domain names and the certificate holder. You must provide a CSR when you submit a certificate application to a certificate authority (CA).
|
|
650
797
|
*
|
|
651
798
|
* @param request - CreateCsrRequest
|
|
652
799
|
* @returns CreateCsrResponse
|
|
@@ -656,7 +803,7 @@ class Client extends openapi_core_1.default {
|
|
|
656
803
|
return await this.createCsrWithOptions(request, runtime);
|
|
657
804
|
}
|
|
658
805
|
/**
|
|
659
|
-
* Creates a certificate deployment task
|
|
806
|
+
* Creates a certificate deployment task to deploy an SSL certificate to one or more Alibaba Cloud services immediately or at a scheduled time.
|
|
660
807
|
*
|
|
661
808
|
* @remarks
|
|
662
809
|
* After the task creation is completed, the task will be in the editing state. You need to call the UpdateDeploymentJobStatus interface to change the status to the pending state, otherwise the task will not be executed.
|
|
@@ -703,7 +850,7 @@ class Client extends openapi_core_1.default {
|
|
|
703
850
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDeploymentJobResponse({}));
|
|
704
851
|
}
|
|
705
852
|
/**
|
|
706
|
-
* Creates a certificate deployment task
|
|
853
|
+
* Creates a certificate deployment task to deploy an SSL certificate to one or more Alibaba Cloud services immediately or at a scheduled time.
|
|
707
854
|
*
|
|
708
855
|
* @remarks
|
|
709
856
|
* After the task creation is completed, the task will be in the editing state. You need to call the UpdateDeploymentJobStatus interface to change the status to the pending state, otherwise the task will not be executed.
|
|
@@ -716,7 +863,10 @@ class Client extends openapi_core_1.default {
|
|
|
716
863
|
return await this.createDeploymentJobWithOptions(request, runtime);
|
|
717
864
|
}
|
|
718
865
|
/**
|
|
719
|
-
*
|
|
866
|
+
* Issues a single client certificate from the general user certificate repository.
|
|
867
|
+
*
|
|
868
|
+
* @remarks
|
|
869
|
+
* This API is limited to 10 QPS per user. Exceeding this limit triggers throttling, which can affect your business. Call this API at a reasonable rate to avoid disruption.
|
|
720
870
|
*
|
|
721
871
|
* @param request - CreateWHClientCertificateRequest
|
|
722
872
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -793,7 +943,10 @@ class Client extends openapi_core_1.default {
|
|
|
793
943
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWHClientCertificateResponse({}));
|
|
794
944
|
}
|
|
795
945
|
/**
|
|
796
|
-
*
|
|
946
|
+
* Issues a single client certificate from the general user certificate repository.
|
|
947
|
+
*
|
|
948
|
+
* @remarks
|
|
949
|
+
* This API is limited to 10 QPS per user. Exceeding this limit triggers throttling, which can affect your business. Call this API at a reasonable rate to avoid disruption.
|
|
797
950
|
*
|
|
798
951
|
* @param request - CreateWHClientCertificateRequest
|
|
799
952
|
* @returns CreateWHClientCertificateResponse
|
|
@@ -803,7 +956,7 @@ class Client extends openapi_core_1.default {
|
|
|
803
956
|
return await this.createWHClientCertificateWithOptions(request, runtime);
|
|
804
957
|
}
|
|
805
958
|
/**
|
|
806
|
-
*
|
|
959
|
+
* Creates a certificate warehouse.
|
|
807
960
|
*
|
|
808
961
|
* @param request - CreateWarehouseRequest
|
|
809
962
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -838,7 +991,7 @@ class Client extends openapi_core_1.default {
|
|
|
838
991
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWarehouseResponse({}));
|
|
839
992
|
}
|
|
840
993
|
/**
|
|
841
|
-
*
|
|
994
|
+
* Creates a certificate warehouse.
|
|
842
995
|
*
|
|
843
996
|
* @param request - CreateWarehouseRequest
|
|
844
997
|
* @returns CreateWarehouseResponse
|
|
@@ -848,10 +1001,10 @@ class Client extends openapi_core_1.default {
|
|
|
848
1001
|
return await this.createWarehouseWithOptions(request, runtime);
|
|
849
1002
|
}
|
|
850
1003
|
/**
|
|
851
|
-
* Decrypts a certificate in a certificate repository.
|
|
1004
|
+
* Decrypts data that was encrypted by using a certificate in a certificate application repository.
|
|
852
1005
|
*
|
|
853
1006
|
* @remarks
|
|
854
|
-
*
|
|
1007
|
+
* The queries per second (QPS) limit for this API operation is 10 per user. If you exceed the limit, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
855
1008
|
*
|
|
856
1009
|
* @param request - DecryptRequest
|
|
857
1010
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -895,10 +1048,10 @@ class Client extends openapi_core_1.default {
|
|
|
895
1048
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DecryptResponse({}));
|
|
896
1049
|
}
|
|
897
1050
|
/**
|
|
898
|
-
* Decrypts a certificate in a certificate repository.
|
|
1051
|
+
* Decrypts data that was encrypted by using a certificate in a certificate application repository.
|
|
899
1052
|
*
|
|
900
1053
|
* @remarks
|
|
901
|
-
*
|
|
1054
|
+
* The queries per second (QPS) limit for this API operation is 10 per user. If you exceed the limit, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
902
1055
|
*
|
|
903
1056
|
* @param request - DecryptRequest
|
|
904
1057
|
* @returns DecryptResponse
|
|
@@ -908,12 +1061,12 @@ class Client extends openapi_core_1.default {
|
|
|
908
1061
|
return await this.decryptWithOptions(request, runtime);
|
|
909
1062
|
}
|
|
910
1063
|
/**
|
|
911
|
-
* Deletes
|
|
1064
|
+
* Deletes a failed domain validated (DV) certificate application order.
|
|
912
1065
|
*
|
|
913
1066
|
* @remarks
|
|
914
1067
|
* You can call this operation to delete a certificate application order only in the following scenarios:
|
|
915
|
-
*
|
|
916
|
-
*
|
|
1068
|
+
* - 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**.
|
|
1069
|
+
* - 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**.
|
|
917
1070
|
*
|
|
918
1071
|
* @param request - DeleteCertificateRequestRequest
|
|
919
1072
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -942,12 +1095,12 @@ class Client extends openapi_core_1.default {
|
|
|
942
1095
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCertificateRequestResponse({}));
|
|
943
1096
|
}
|
|
944
1097
|
/**
|
|
945
|
-
* Deletes
|
|
1098
|
+
* Deletes a failed domain validated (DV) certificate application order.
|
|
946
1099
|
*
|
|
947
1100
|
* @remarks
|
|
948
1101
|
* You can call this operation to delete a certificate application order only in the following scenarios:
|
|
949
|
-
*
|
|
950
|
-
*
|
|
1102
|
+
* - 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**.
|
|
1103
|
+
* - 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**.
|
|
951
1104
|
*
|
|
952
1105
|
* @param request - DeleteCertificateRequestRequest
|
|
953
1106
|
* @returns DeleteCertificateRequestResponse
|
|
@@ -957,7 +1110,10 @@ class Client extends openapi_core_1.default {
|
|
|
957
1110
|
return await this.deleteCertificateRequestWithOptions(request, runtime);
|
|
958
1111
|
}
|
|
959
1112
|
/**
|
|
960
|
-
*
|
|
1113
|
+
* Deletes an access key.
|
|
1114
|
+
*
|
|
1115
|
+
* @remarks
|
|
1116
|
+
* This operation is limited to 100 queries per second (QPS) per user. API calls that exceed this limit are throttled, which can impact your business.
|
|
961
1117
|
*
|
|
962
1118
|
* @param request - DeleteCloudAccessRequest
|
|
963
1119
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -986,7 +1142,10 @@ class Client extends openapi_core_1.default {
|
|
|
986
1142
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCloudAccessResponse({}));
|
|
987
1143
|
}
|
|
988
1144
|
/**
|
|
989
|
-
*
|
|
1145
|
+
* Deletes an access key.
|
|
1146
|
+
*
|
|
1147
|
+
* @remarks
|
|
1148
|
+
* This operation is limited to 100 queries per second (QPS) per user. API calls that exceed this limit are throttled, which can impact your business.
|
|
990
1149
|
*
|
|
991
1150
|
* @param request - DeleteCloudAccessRequest
|
|
992
1151
|
* @returns DeleteCloudAccessResponse
|
|
@@ -996,7 +1155,85 @@ class Client extends openapi_core_1.default {
|
|
|
996
1155
|
return await this.deleteCloudAccessWithOptions(request, runtime);
|
|
997
1156
|
}
|
|
998
1157
|
/**
|
|
999
|
-
* Deletes a
|
|
1158
|
+
* Deletes a company.
|
|
1159
|
+
*
|
|
1160
|
+
* @param request - DeleteCompanyRequest
|
|
1161
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1162
|
+
* @returns DeleteCompanyResponse
|
|
1163
|
+
*/
|
|
1164
|
+
async deleteCompanyWithOptions(request, runtime) {
|
|
1165
|
+
request.validate();
|
|
1166
|
+
let query = {};
|
|
1167
|
+
if (!$dara.isNull(request.companyId)) {
|
|
1168
|
+
query["CompanyId"] = request.companyId;
|
|
1169
|
+
}
|
|
1170
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1171
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1172
|
+
});
|
|
1173
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1174
|
+
action: "DeleteCompany",
|
|
1175
|
+
version: "2020-04-07",
|
|
1176
|
+
protocol: "HTTPS",
|
|
1177
|
+
pathname: "/",
|
|
1178
|
+
method: "POST",
|
|
1179
|
+
authType: "AK",
|
|
1180
|
+
style: "RPC",
|
|
1181
|
+
reqBodyType: "formData",
|
|
1182
|
+
bodyType: "json",
|
|
1183
|
+
});
|
|
1184
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCompanyResponse({}));
|
|
1185
|
+
}
|
|
1186
|
+
/**
|
|
1187
|
+
* Deletes a company.
|
|
1188
|
+
*
|
|
1189
|
+
* @param request - DeleteCompanyRequest
|
|
1190
|
+
* @returns DeleteCompanyResponse
|
|
1191
|
+
*/
|
|
1192
|
+
async deleteCompany(request) {
|
|
1193
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1194
|
+
return await this.deleteCompanyWithOptions(request, runtime);
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Deletes a contact.
|
|
1198
|
+
*
|
|
1199
|
+
* @param request - DeleteContactRequest
|
|
1200
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1201
|
+
* @returns DeleteContactResponse
|
|
1202
|
+
*/
|
|
1203
|
+
async deleteContactWithOptions(request, runtime) {
|
|
1204
|
+
request.validate();
|
|
1205
|
+
let query = {};
|
|
1206
|
+
if (!$dara.isNull(request.contactId)) {
|
|
1207
|
+
query["ContactId"] = request.contactId;
|
|
1208
|
+
}
|
|
1209
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1210
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1211
|
+
});
|
|
1212
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1213
|
+
action: "DeleteContact",
|
|
1214
|
+
version: "2020-04-07",
|
|
1215
|
+
protocol: "HTTPS",
|
|
1216
|
+
pathname: "/",
|
|
1217
|
+
method: "POST",
|
|
1218
|
+
authType: "AK",
|
|
1219
|
+
style: "RPC",
|
|
1220
|
+
reqBodyType: "formData",
|
|
1221
|
+
bodyType: "json",
|
|
1222
|
+
});
|
|
1223
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactResponse({}));
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* Deletes a contact.
|
|
1227
|
+
*
|
|
1228
|
+
* @param request - DeleteContactRequest
|
|
1229
|
+
* @returns DeleteContactResponse
|
|
1230
|
+
*/
|
|
1231
|
+
async deleteContact(request) {
|
|
1232
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1233
|
+
return await this.deleteContactWithOptions(request, runtime);
|
|
1234
|
+
}
|
|
1235
|
+
/**
|
|
1236
|
+
* Deletes a certificate signing request (CSR).
|
|
1000
1237
|
*
|
|
1001
1238
|
* @param request - DeleteCsrRequest
|
|
1002
1239
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1025,7 +1262,7 @@ class Client extends openapi_core_1.default {
|
|
|
1025
1262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCsrResponse({}));
|
|
1026
1263
|
}
|
|
1027
1264
|
/**
|
|
1028
|
-
* Deletes a
|
|
1265
|
+
* Deletes a certificate signing request (CSR).
|
|
1029
1266
|
*
|
|
1030
1267
|
* @param request - DeleteCsrRequest
|
|
1031
1268
|
* @returns DeleteCsrResponse
|
|
@@ -1035,7 +1272,7 @@ class Client extends openapi_core_1.default {
|
|
|
1035
1272
|
return await this.deleteCsrWithOptions(request, runtime);
|
|
1036
1273
|
}
|
|
1037
1274
|
/**
|
|
1038
|
-
* Deletes a deployment task.
|
|
1275
|
+
* Deletes a certificate deployment task.
|
|
1039
1276
|
*
|
|
1040
1277
|
* @param request - DeleteDeploymentJobRequest
|
|
1041
1278
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1064,7 +1301,7 @@ class Client extends openapi_core_1.default {
|
|
|
1064
1301
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDeploymentJobResponse({}));
|
|
1065
1302
|
}
|
|
1066
1303
|
/**
|
|
1067
|
-
* Deletes a deployment task.
|
|
1304
|
+
* Deletes a certificate deployment task.
|
|
1068
1305
|
*
|
|
1069
1306
|
* @param request - DeleteDeploymentJobRequest
|
|
1070
1307
|
* @returns DeleteDeploymentJobResponse
|
|
@@ -1074,7 +1311,7 @@ class Client extends openapi_core_1.default {
|
|
|
1074
1311
|
return await this.deleteDeploymentJobWithOptions(request, runtime);
|
|
1075
1312
|
}
|
|
1076
1313
|
/**
|
|
1077
|
-
*
|
|
1314
|
+
* Deletes a Certificate Management Service instance.
|
|
1078
1315
|
*
|
|
1079
1316
|
* @param request - DeleteInstanceRequest
|
|
1080
1317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1103,7 +1340,7 @@ class Client extends openapi_core_1.default {
|
|
|
1103
1340
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstanceResponse({}));
|
|
1104
1341
|
}
|
|
1105
1342
|
/**
|
|
1106
|
-
*
|
|
1343
|
+
* Deletes a Certificate Management Service instance.
|
|
1107
1344
|
*
|
|
1108
1345
|
* @param request - DeleteInstanceRequest
|
|
1109
1346
|
* @returns DeleteInstanceResponse
|
|
@@ -1162,10 +1399,10 @@ class Client extends openapi_core_1.default {
|
|
|
1162
1399
|
return await this.deletePCACertWithOptions(request, runtime);
|
|
1163
1400
|
}
|
|
1164
1401
|
/**
|
|
1165
|
-
* Deletes an expired or uploaded certificate.
|
|
1402
|
+
* Deletes an expired, revoked, or manually uploaded certificate from Certificate Management Service.
|
|
1166
1403
|
*
|
|
1167
1404
|
* @remarks
|
|
1168
|
-
*
|
|
1405
|
+
* This operation is limited to 100 queries per second (QPS) per user. API calls exceeding this limit are throttled, which can impact your business. We recommend calling this operation at a reasonable rate to avoid this.
|
|
1169
1406
|
*
|
|
1170
1407
|
* @param request - DeleteUserCertificateRequest
|
|
1171
1408
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1194,10 +1431,10 @@ class Client extends openapi_core_1.default {
|
|
|
1194
1431
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserCertificateResponse({}));
|
|
1195
1432
|
}
|
|
1196
1433
|
/**
|
|
1197
|
-
* Deletes an expired or uploaded certificate.
|
|
1434
|
+
* Deletes an expired, revoked, or manually uploaded certificate from Certificate Management Service.
|
|
1198
1435
|
*
|
|
1199
1436
|
* @remarks
|
|
1200
|
-
*
|
|
1437
|
+
* This operation is limited to 100 queries per second (QPS) per user. API calls exceeding this limit are throttled, which can impact your business. We recommend calling this operation at a reasonable rate to avoid this.
|
|
1201
1438
|
*
|
|
1202
1439
|
* @param request - DeleteUserCertificateRequest
|
|
1203
1440
|
* @returns DeleteUserCertificateResponse
|
|
@@ -1207,7 +1444,12 @@ class Client extends openapi_core_1.default {
|
|
|
1207
1444
|
return await this.deleteUserCertificateWithOptions(request, runtime);
|
|
1208
1445
|
}
|
|
1209
1446
|
/**
|
|
1210
|
-
*
|
|
1447
|
+
* Deletes a certificate warehouse.
|
|
1448
|
+
*
|
|
1449
|
+
* @remarks
|
|
1450
|
+
* This operation deletes a certificate warehouse.
|
|
1451
|
+
* ### QPS limit
|
|
1452
|
+
* This operation has a QPS limit of 10 requests per second per user. Exceeding this limit causes subsequent API calls to be throttled, which can impact your services. To ensure service availability, call this operation at a reasonable rate.
|
|
1211
1453
|
*
|
|
1212
1454
|
* @param request - DeleteWarehouseRequest
|
|
1213
1455
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1236,7 +1478,12 @@ class Client extends openapi_core_1.default {
|
|
|
1236
1478
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWarehouseResponse({}));
|
|
1237
1479
|
}
|
|
1238
1480
|
/**
|
|
1239
|
-
*
|
|
1481
|
+
* Deletes a certificate warehouse.
|
|
1482
|
+
*
|
|
1483
|
+
* @remarks
|
|
1484
|
+
* This operation deletes a certificate warehouse.
|
|
1485
|
+
* ### QPS limit
|
|
1486
|
+
* This operation has a QPS limit of 10 requests per second per user. Exceeding this limit causes subsequent API calls to be throttled, which can impact your services. To ensure service availability, call this operation at a reasonable rate.
|
|
1240
1487
|
*
|
|
1241
1488
|
* @param request - DeleteWarehouseRequest
|
|
1242
1489
|
* @returns DeleteWarehouseResponse
|
|
@@ -1246,7 +1493,7 @@ class Client extends openapi_core_1.default {
|
|
|
1246
1493
|
return await this.deleteWarehouseWithOptions(request, runtime);
|
|
1247
1494
|
}
|
|
1248
1495
|
/**
|
|
1249
|
-
* Deletes
|
|
1496
|
+
* Deletes a worker task from a certificate deployment task.
|
|
1250
1497
|
*
|
|
1251
1498
|
* @param request - DeleteWorkerResourceRequest
|
|
1252
1499
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1278,7 +1525,7 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1525
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWorkerResourceResponse({}));
|
|
1279
1526
|
}
|
|
1280
1527
|
/**
|
|
1281
|
-
* Deletes
|
|
1528
|
+
* Deletes a worker task from a certificate deployment task.
|
|
1282
1529
|
*
|
|
1283
1530
|
* @param request - DeleteWorkerResourceRequest
|
|
1284
1531
|
* @returns DeleteWorkerResourceResponse
|
|
@@ -1288,11 +1535,13 @@ class Client extends openapi_core_1.default {
|
|
|
1288
1535
|
return await this.deleteWorkerResourceWithOptions(request, runtime);
|
|
1289
1536
|
}
|
|
1290
1537
|
/**
|
|
1291
|
-
* Queries the status of a
|
|
1538
|
+
* Queries the status of a certificate application order, such as domain validation progress.
|
|
1292
1539
|
*
|
|
1293
1540
|
* @remarks
|
|
1294
|
-
* If you
|
|
1295
|
-
*
|
|
1541
|
+
* If you have not completed domain ownership validation after submitting a certificate request, you can call this operation to obtain the information required to complete domain validation. Using the returned domain validation information, you can complete domain validation on the DNS management platform (DNS validation method) or on the domain server (file validation method).
|
|
1542
|
+
* Your certificate request will enter the CA center review stage only after you complete domain validation. After the CA center approves your certificate request, a certificate will be issued to you. If the certificate has been issued, you can call this operation to obtain the issued certificate file and private key content.
|
|
1543
|
+
* <props="china">
|
|
1544
|
+
* For the complete process of requesting a certificate using the resource plan API, see [Process of requesting a certificate using API operations](https://help.aliyun.com/document_detail/204741.html).
|
|
1296
1545
|
*
|
|
1297
1546
|
* @param request - DescribeCertificateStateRequest
|
|
1298
1547
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1321,11 +1570,13 @@ class Client extends openapi_core_1.default {
|
|
|
1321
1570
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCertificateStateResponse({}));
|
|
1322
1571
|
}
|
|
1323
1572
|
/**
|
|
1324
|
-
* Queries the status of a
|
|
1573
|
+
* Queries the status of a certificate application order, such as domain validation progress.
|
|
1325
1574
|
*
|
|
1326
1575
|
* @remarks
|
|
1327
|
-
* If you
|
|
1328
|
-
*
|
|
1576
|
+
* If you have not completed domain ownership validation after submitting a certificate request, you can call this operation to obtain the information required to complete domain validation. Using the returned domain validation information, you can complete domain validation on the DNS management platform (DNS validation method) or on the domain server (file validation method).
|
|
1577
|
+
* Your certificate request will enter the CA center review stage only after you complete domain validation. After the CA center approves your certificate request, a certificate will be issued to you. If the certificate has been issued, you can call this operation to obtain the issued certificate file and private key content.
|
|
1578
|
+
* <props="china">
|
|
1579
|
+
* For the complete process of requesting a certificate using the resource plan API, see [Process of requesting a certificate using API operations](https://help.aliyun.com/document_detail/204741.html).
|
|
1329
1580
|
*
|
|
1330
1581
|
* @param request - DescribeCertificateStateRequest
|
|
1331
1582
|
* @returns DescribeCertificateStateResponse
|
|
@@ -1335,7 +1586,7 @@ class Client extends openapi_core_1.default {
|
|
|
1335
1586
|
return await this.describeCertificateStateWithOptions(request, runtime);
|
|
1336
1587
|
}
|
|
1337
1588
|
/**
|
|
1338
|
-
* Queries the number of
|
|
1589
|
+
* Queries the number of cloud resources on which certificates were deployed by using a multi-cloud deployment task.
|
|
1339
1590
|
*
|
|
1340
1591
|
* @param request - DescribeCloudResourceStatusRequest
|
|
1341
1592
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1364,7 +1615,7 @@ class Client extends openapi_core_1.default {
|
|
|
1364
1615
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCloudResourceStatusResponse({}));
|
|
1365
1616
|
}
|
|
1366
1617
|
/**
|
|
1367
|
-
* Queries the number of
|
|
1618
|
+
* Queries the number of cloud resources on which certificates were deployed by using a multi-cloud deployment task.
|
|
1368
1619
|
*
|
|
1369
1620
|
* @param request - DescribeCloudResourceStatusRequest
|
|
1370
1621
|
* @returns DescribeCloudResourceStatusResponse
|
|
@@ -1374,7 +1625,7 @@ class Client extends openapi_core_1.default {
|
|
|
1374
1625
|
return await this.describeCloudResourceStatusWithOptions(request, runtime);
|
|
1375
1626
|
}
|
|
1376
1627
|
/**
|
|
1377
|
-
*
|
|
1628
|
+
* Retrieves information about a certificate deployment task, including the task status, target resources, and certificates.
|
|
1378
1629
|
*
|
|
1379
1630
|
* @param request - DescribeDeploymentJobRequest
|
|
1380
1631
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1403,7 +1654,7 @@ class Client extends openapi_core_1.default {
|
|
|
1403
1654
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDeploymentJobResponse({}));
|
|
1404
1655
|
}
|
|
1405
1656
|
/**
|
|
1406
|
-
*
|
|
1657
|
+
* Retrieves information about a certificate deployment task, including the task status, target resources, and certificates.
|
|
1407
1658
|
*
|
|
1408
1659
|
* @param request - DescribeDeploymentJobRequest
|
|
1409
1660
|
* @returns DescribeDeploymentJobResponse
|
|
@@ -1413,7 +1664,7 @@ class Client extends openapi_core_1.default {
|
|
|
1413
1664
|
return await this.describeDeploymentJobWithOptions(request, runtime);
|
|
1414
1665
|
}
|
|
1415
1666
|
/**
|
|
1416
|
-
* Queries the
|
|
1667
|
+
* Queries the execution status summary of a certificate deployment task, including the number of succeeded and failed workers.
|
|
1417
1668
|
*
|
|
1418
1669
|
* @param request - DescribeDeploymentJobStatusRequest
|
|
1419
1670
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1442,7 +1693,7 @@ class Client extends openapi_core_1.default {
|
|
|
1442
1693
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDeploymentJobStatusResponse({}));
|
|
1443
1694
|
}
|
|
1444
1695
|
/**
|
|
1445
|
-
* Queries the
|
|
1696
|
+
* Queries the execution status summary of a certificate deployment task, including the number of succeeded and failed workers.
|
|
1446
1697
|
*
|
|
1447
1698
|
* @param request - DescribeDeploymentJobStatusRequest
|
|
1448
1699
|
* @returns DescribeDeploymentJobStatusResponse
|
|
@@ -1452,7 +1703,7 @@ class Client extends openapi_core_1.default {
|
|
|
1452
1703
|
return await this.describeDeploymentJobStatusWithOptions(request, runtime);
|
|
1453
1704
|
}
|
|
1454
1705
|
/**
|
|
1455
|
-
* Queries the quota
|
|
1706
|
+
* Queries the quota and usage of domain validated (DV) certificate packages.
|
|
1456
1707
|
*
|
|
1457
1708
|
* @param request - DescribePackageStateRequest
|
|
1458
1709
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1481,7 +1732,7 @@ class Client extends openapi_core_1.default {
|
|
|
1481
1732
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePackageStateResponse({}));
|
|
1482
1733
|
}
|
|
1483
1734
|
/**
|
|
1484
|
-
* Queries the quota
|
|
1735
|
+
* Queries the quota and usage of domain validated (DV) certificate packages.
|
|
1485
1736
|
*
|
|
1486
1737
|
* @param request - DescribePackageStateRequest
|
|
1487
1738
|
* @returns DescribePackageStateResponse
|
|
@@ -1491,7 +1742,7 @@ class Client extends openapi_core_1.default {
|
|
|
1491
1742
|
return await this.describePackageStateWithOptions(request, runtime);
|
|
1492
1743
|
}
|
|
1493
1744
|
/**
|
|
1494
|
-
*
|
|
1745
|
+
* Retrieves the details of a certificate stored in a certificate warehouse.
|
|
1495
1746
|
*
|
|
1496
1747
|
* @param request - DescribeWarehouseCertRequest
|
|
1497
1748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1520,7 +1771,7 @@ class Client extends openapi_core_1.default {
|
|
|
1520
1771
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeWarehouseCertResponse({}));
|
|
1521
1772
|
}
|
|
1522
1773
|
/**
|
|
1523
|
-
*
|
|
1774
|
+
* Retrieves the details of a certificate stored in a certificate warehouse.
|
|
1524
1775
|
*
|
|
1525
1776
|
* @param request - DescribeWarehouseCertRequest
|
|
1526
1777
|
* @returns DescribeWarehouseCertResponse
|
|
@@ -1530,10 +1781,10 @@ class Client extends openapi_core_1.default {
|
|
|
1530
1781
|
return await this.describeWarehouseCertWithOptions(request, runtime);
|
|
1531
1782
|
}
|
|
1532
1783
|
/**
|
|
1533
|
-
* Encrypts a certificate in a certificate repository.
|
|
1784
|
+
* Encrypts data by using a certificate in a certificate application repository.
|
|
1534
1785
|
*
|
|
1535
1786
|
* @remarks
|
|
1536
|
-
*
|
|
1787
|
+
* The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which may affect your business. To prevent this, call this operation at a reasonable rate.
|
|
1537
1788
|
*
|
|
1538
1789
|
* @param request - EncryptRequest
|
|
1539
1790
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1577,10 +1828,10 @@ class Client extends openapi_core_1.default {
|
|
|
1577
1828
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EncryptResponse({}));
|
|
1578
1829
|
}
|
|
1579
1830
|
/**
|
|
1580
|
-
* Encrypts a certificate in a certificate repository.
|
|
1831
|
+
* Encrypts data by using a certificate in a certificate application repository.
|
|
1581
1832
|
*
|
|
1582
1833
|
* @remarks
|
|
1583
|
-
*
|
|
1834
|
+
* The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which may affect your business. To prevent this, call this operation at a reasonable rate.
|
|
1584
1835
|
*
|
|
1585
1836
|
* @param request - EncryptRequest
|
|
1586
1837
|
* @returns EncryptResponse
|
|
@@ -1590,7 +1841,12 @@ class Client extends openapi_core_1.default {
|
|
|
1590
1841
|
return await this.encryptWithOptions(request, runtime);
|
|
1591
1842
|
}
|
|
1592
1843
|
/**
|
|
1593
|
-
*
|
|
1844
|
+
* Queries the number of assets.
|
|
1845
|
+
*
|
|
1846
|
+
* @remarks
|
|
1847
|
+
* Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
|
|
1848
|
+
* ## QPS limit
|
|
1849
|
+
* The China single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1594
1850
|
*
|
|
1595
1851
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1596
1852
|
* @returns GetAssetCountResponse
|
|
@@ -1611,7 +1867,12 @@ class Client extends openapi_core_1.default {
|
|
|
1611
1867
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAssetCountResponse({}));
|
|
1612
1868
|
}
|
|
1613
1869
|
/**
|
|
1614
|
-
*
|
|
1870
|
+
* Queries the number of assets.
|
|
1871
|
+
*
|
|
1872
|
+
* @remarks
|
|
1873
|
+
* Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
|
|
1874
|
+
* ## QPS limit
|
|
1875
|
+
* The China single-user QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1615
1876
|
* @returns GetAssetCountResponse
|
|
1616
1877
|
*/
|
|
1617
1878
|
async getAssetCount() {
|
|
@@ -1619,10 +1880,10 @@ class Client extends openapi_core_1.default {
|
|
|
1619
1880
|
return await this.getAssetCountWithOptions(runtime);
|
|
1620
1881
|
}
|
|
1621
1882
|
/**
|
|
1622
|
-
* Queries the
|
|
1883
|
+
* Queries the remaining quota for certificate application repository operations.
|
|
1623
1884
|
*
|
|
1624
1885
|
* @remarks
|
|
1625
|
-
*
|
|
1886
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed the limit, your API calls are throttled. This may impact your business. Call this operation at a reasonable rate.
|
|
1626
1887
|
*
|
|
1627
1888
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1628
1889
|
* @returns GetCertWarehouseQuotaResponse
|
|
@@ -1643,10 +1904,10 @@ class Client extends openapi_core_1.default {
|
|
|
1643
1904
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCertWarehouseQuotaResponse({}));
|
|
1644
1905
|
}
|
|
1645
1906
|
/**
|
|
1646
|
-
* Queries the
|
|
1907
|
+
* Queries the remaining quota for certificate application repository operations.
|
|
1647
1908
|
*
|
|
1648
1909
|
* @remarks
|
|
1649
|
-
*
|
|
1910
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed the limit, your API calls are throttled. This may impact your business. Call this operation at a reasonable rate.
|
|
1650
1911
|
* @returns GetCertWarehouseQuotaResponse
|
|
1651
1912
|
*/
|
|
1652
1913
|
async getCertWarehouseQuota() {
|
|
@@ -1654,7 +1915,7 @@ class Client extends openapi_core_1.default {
|
|
|
1654
1915
|
return await this.getCertWarehouseQuotaWithOptions(runtime);
|
|
1655
1916
|
}
|
|
1656
1917
|
/**
|
|
1657
|
-
*
|
|
1918
|
+
* Retrieves certificate details, excluding the certificate body and private key.
|
|
1658
1919
|
*
|
|
1659
1920
|
* @param request - GetCertificateDetailRequest
|
|
1660
1921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1683,7 +1944,7 @@ class Client extends openapi_core_1.default {
|
|
|
1683
1944
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCertificateDetailResponse({}));
|
|
1684
1945
|
}
|
|
1685
1946
|
/**
|
|
1686
|
-
*
|
|
1947
|
+
* Retrieves certificate details, excluding the certificate body and private key.
|
|
1687
1948
|
*
|
|
1688
1949
|
* @param request - GetCertificateDetailRequest
|
|
1689
1950
|
* @returns GetCertificateDetailResponse
|
|
@@ -1693,7 +1954,85 @@ class Client extends openapi_core_1.default {
|
|
|
1693
1954
|
return await this.getCertificateDetailWithOptions(request, runtime);
|
|
1694
1955
|
}
|
|
1695
1956
|
/**
|
|
1696
|
-
*
|
|
1957
|
+
* Retrieves the details of a company.
|
|
1958
|
+
*
|
|
1959
|
+
* @param request - GetCompanyRequest
|
|
1960
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1961
|
+
* @returns GetCompanyResponse
|
|
1962
|
+
*/
|
|
1963
|
+
async getCompanyWithOptions(request, runtime) {
|
|
1964
|
+
request.validate();
|
|
1965
|
+
let query = {};
|
|
1966
|
+
if (!$dara.isNull(request.companyId)) {
|
|
1967
|
+
query["CompanyId"] = request.companyId;
|
|
1968
|
+
}
|
|
1969
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1970
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1971
|
+
});
|
|
1972
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1973
|
+
action: "GetCompany",
|
|
1974
|
+
version: "2020-04-07",
|
|
1975
|
+
protocol: "HTTPS",
|
|
1976
|
+
pathname: "/",
|
|
1977
|
+
method: "POST",
|
|
1978
|
+
authType: "AK",
|
|
1979
|
+
style: "RPC",
|
|
1980
|
+
reqBodyType: "formData",
|
|
1981
|
+
bodyType: "json",
|
|
1982
|
+
});
|
|
1983
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCompanyResponse({}));
|
|
1984
|
+
}
|
|
1985
|
+
/**
|
|
1986
|
+
* Retrieves the details of a company.
|
|
1987
|
+
*
|
|
1988
|
+
* @param request - GetCompanyRequest
|
|
1989
|
+
* @returns GetCompanyResponse
|
|
1990
|
+
*/
|
|
1991
|
+
async getCompany(request) {
|
|
1992
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1993
|
+
return await this.getCompanyWithOptions(request, runtime);
|
|
1994
|
+
}
|
|
1995
|
+
/**
|
|
1996
|
+
* Retrieves a contact.
|
|
1997
|
+
*
|
|
1998
|
+
* @param request - GetContactRequest
|
|
1999
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2000
|
+
* @returns GetContactResponse
|
|
2001
|
+
*/
|
|
2002
|
+
async getContactWithOptions(request, runtime) {
|
|
2003
|
+
request.validate();
|
|
2004
|
+
let query = {};
|
|
2005
|
+
if (!$dara.isNull(request.contactId)) {
|
|
2006
|
+
query["ContactId"] = request.contactId;
|
|
2007
|
+
}
|
|
2008
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2009
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2010
|
+
});
|
|
2011
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2012
|
+
action: "GetContact",
|
|
2013
|
+
version: "2020-04-07",
|
|
2014
|
+
protocol: "HTTPS",
|
|
2015
|
+
pathname: "/",
|
|
2016
|
+
method: "POST",
|
|
2017
|
+
authType: "AK",
|
|
2018
|
+
style: "RPC",
|
|
2019
|
+
reqBodyType: "formData",
|
|
2020
|
+
bodyType: "json",
|
|
2021
|
+
});
|
|
2022
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetContactResponse({}));
|
|
2023
|
+
}
|
|
2024
|
+
/**
|
|
2025
|
+
* Retrieves a contact.
|
|
2026
|
+
*
|
|
2027
|
+
* @param request - GetContactRequest
|
|
2028
|
+
* @returns GetContactResponse
|
|
2029
|
+
*/
|
|
2030
|
+
async getContact(request) {
|
|
2031
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2032
|
+
return await this.getContactWithOptions(request, runtime);
|
|
2033
|
+
}
|
|
2034
|
+
/**
|
|
2035
|
+
* Queries the content of a certificate signing request (CSR).
|
|
1697
2036
|
*
|
|
1698
2037
|
* @param request - GetCsrDetailRequest
|
|
1699
2038
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1722,7 +2061,7 @@ class Client extends openapi_core_1.default {
|
|
|
1722
2061
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCsrDetailResponse({}));
|
|
1723
2062
|
}
|
|
1724
2063
|
/**
|
|
1725
|
-
*
|
|
2064
|
+
* Queries the content of a certificate signing request (CSR).
|
|
1726
2065
|
*
|
|
1727
2066
|
* @param request - GetCsrDetailRequest
|
|
1728
2067
|
* @returns GetCsrDetailResponse
|
|
@@ -1732,7 +2071,7 @@ class Client extends openapi_core_1.default {
|
|
|
1732
2071
|
return await this.getCsrDetailWithOptions(request, runtime);
|
|
1733
2072
|
}
|
|
1734
2073
|
/**
|
|
1735
|
-
*
|
|
2074
|
+
* Queries the details of an instance.
|
|
1736
2075
|
*
|
|
1737
2076
|
* @param request - GetInstanceDetailRequest
|
|
1738
2077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1761,7 +2100,7 @@ class Client extends openapi_core_1.default {
|
|
|
1761
2100
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstanceDetailResponse({}));
|
|
1762
2101
|
}
|
|
1763
2102
|
/**
|
|
1764
|
-
*
|
|
2103
|
+
* Queries the details of an instance.
|
|
1765
2104
|
*
|
|
1766
2105
|
* @param request - GetInstanceDetailRequest
|
|
1767
2106
|
* @returns GetInstanceDetailResponse
|
|
@@ -1771,7 +2110,7 @@ class Client extends openapi_core_1.default {
|
|
|
1771
2110
|
return await this.getInstanceDetailWithOptions(request, runtime);
|
|
1772
2111
|
}
|
|
1773
2112
|
/**
|
|
1774
|
-
*
|
|
2113
|
+
* Queries the summary statistics of Certificate Management Service instances, such as certificate counts by status.
|
|
1775
2114
|
*
|
|
1776
2115
|
* @param request - GetInstanceSummaryRequest
|
|
1777
2116
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1800,7 +2139,7 @@ class Client extends openapi_core_1.default {
|
|
|
1800
2139
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstanceSummaryResponse({}));
|
|
1801
2140
|
}
|
|
1802
2141
|
/**
|
|
1803
|
-
*
|
|
2142
|
+
* Queries the summary statistics of Certificate Management Service instances, such as certificate counts by status.
|
|
1804
2143
|
*
|
|
1805
2144
|
* @param request - GetInstanceSummaryRequest
|
|
1806
2145
|
* @returns GetInstanceSummaryResponse
|
|
@@ -1810,7 +2149,13 @@ class Client extends openapi_core_1.default {
|
|
|
1810
2149
|
return await this.getInstanceSummaryWithOptions(request, runtime);
|
|
1811
2150
|
}
|
|
1812
2151
|
/**
|
|
1813
|
-
*
|
|
2152
|
+
* Retrieves the resources that match a certificate.
|
|
2153
|
+
*
|
|
2154
|
+
* @remarks
|
|
2155
|
+
* 本接口用于通过私有 CA 实例的 ID,查询您通过 SSL 证书服务控制台购买的私有 CA 实例的状态信息,例如,CA 实例的状态、包含的证书数量、已签发的证书数量等。
|
|
2156
|
+
* 调用本接口前,您必须已经通过[数字证书管理服务控制台](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist)购买了私有 CA。具体操作,请参见[购买私有 CA](https://help.aliyun.com/document_detail/208553.html)。
|
|
2157
|
+
* ## QPS 限制
|
|
2158
|
+
* 本接口的单用户 QPS 限制为 10 次/秒。超过限制,API 调用将会被限流,这可能影响您的业务,请合理调用。
|
|
1814
2159
|
*
|
|
1815
2160
|
* @param request - GetMatchedResourcesRequest
|
|
1816
2161
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1848,7 +2193,13 @@ class Client extends openapi_core_1.default {
|
|
|
1848
2193
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMatchedResourcesResponse({}));
|
|
1849
2194
|
}
|
|
1850
2195
|
/**
|
|
1851
|
-
*
|
|
2196
|
+
* Retrieves the resources that match a certificate.
|
|
2197
|
+
*
|
|
2198
|
+
* @remarks
|
|
2199
|
+
* 本接口用于通过私有 CA 实例的 ID,查询您通过 SSL 证书服务控制台购买的私有 CA 实例的状态信息,例如,CA 实例的状态、包含的证书数量、已签发的证书数量等。
|
|
2200
|
+
* 调用本接口前,您必须已经通过[数字证书管理服务控制台](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist)购买了私有 CA。具体操作,请参见[购买私有 CA](https://help.aliyun.com/document_detail/208553.html)。
|
|
2201
|
+
* ## QPS 限制
|
|
2202
|
+
* 本接口的单用户 QPS 限制为 10 次/秒。超过限制,API 调用将会被限流,这可能影响您的业务,请合理调用。
|
|
1852
2203
|
*
|
|
1853
2204
|
* @param request - GetMatchedResourcesRequest
|
|
1854
2205
|
* @returns GetMatchedResourcesResponse
|
|
@@ -1858,7 +2209,12 @@ class Client extends openapi_core_1.default {
|
|
|
1858
2209
|
return await this.getMatchedResourcesWithOptions(request, runtime);
|
|
1859
2210
|
}
|
|
1860
2211
|
/**
|
|
1861
|
-
*
|
|
2212
|
+
* Queries the number of assets with certificate-related risks, such as expired or soon-to-expire certificates.
|
|
2213
|
+
*
|
|
2214
|
+
* @remarks
|
|
2215
|
+
* This operation queries the number of created Certificate Authority (CA) certificates, including root and subordinate CA certificates.
|
|
2216
|
+
* ## QPS limits
|
|
2217
|
+
* The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, API calls are rate-limited, which may affect your business. We recommend that you call this operation at a reasonable frequency.
|
|
1862
2218
|
*
|
|
1863
2219
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1864
2220
|
* @returns GetRiskCountResponse
|
|
@@ -1879,7 +2235,12 @@ class Client extends openapi_core_1.default {
|
|
|
1879
2235
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRiskCountResponse({}));
|
|
1880
2236
|
}
|
|
1881
2237
|
/**
|
|
1882
|
-
*
|
|
2238
|
+
* Queries the number of assets with certificate-related risks, such as expired or soon-to-expire certificates.
|
|
2239
|
+
*
|
|
2240
|
+
* @remarks
|
|
2241
|
+
* This operation queries the number of created Certificate Authority (CA) certificates, including root and subordinate CA certificates.
|
|
2242
|
+
* ## QPS limits
|
|
2243
|
+
* The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, API calls are rate-limited, which may affect your business. We recommend that you call this operation at a reasonable frequency.
|
|
1883
2244
|
* @returns GetRiskCountResponse
|
|
1884
2245
|
*/
|
|
1885
2246
|
async getRiskCount() {
|
|
@@ -1887,7 +2248,7 @@ class Client extends openapi_core_1.default {
|
|
|
1887
2248
|
return await this.getRiskCountWithOptions(runtime);
|
|
1888
2249
|
}
|
|
1889
2250
|
/**
|
|
1890
|
-
*
|
|
2251
|
+
* Queries the processing result and status of a submitted certificate application.
|
|
1891
2252
|
*
|
|
1892
2253
|
* @param request - GetTaskAttributeRequest
|
|
1893
2254
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1919,7 +2280,7 @@ class Client extends openapi_core_1.default {
|
|
|
1919
2280
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTaskAttributeResponse({}));
|
|
1920
2281
|
}
|
|
1921
2282
|
/**
|
|
1922
|
-
*
|
|
2283
|
+
* Queries the processing result and status of a submitted certificate application.
|
|
1923
2284
|
*
|
|
1924
2285
|
* @param request - GetTaskAttributeRequest
|
|
1925
2286
|
* @returns GetTaskAttributeResponse
|
|
@@ -1929,10 +2290,10 @@ class Client extends openapi_core_1.default {
|
|
|
1929
2290
|
return await this.getTaskAttributeWithOptions(request, runtime);
|
|
1930
2291
|
}
|
|
1931
2292
|
/**
|
|
1932
|
-
*
|
|
2293
|
+
* Retrieves the details of a certificate, including basic information and public/private key content. You can use this operation to download the certificate content and private key.
|
|
1933
2294
|
*
|
|
1934
2295
|
* @remarks
|
|
1935
|
-
*
|
|
2296
|
+
* The China single-user queries per second (QPS) limit for this operation is 100. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
1936
2297
|
*
|
|
1937
2298
|
* @param request - GetUserCertificateDetailRequest
|
|
1938
2299
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1964,10 +2325,10 @@ class Client extends openapi_core_1.default {
|
|
|
1964
2325
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserCertificateDetailResponse({}));
|
|
1965
2326
|
}
|
|
1966
2327
|
/**
|
|
1967
|
-
*
|
|
2328
|
+
* Retrieves the details of a certificate, including basic information and public/private key content. You can use this operation to download the certificate content and private key.
|
|
1968
2329
|
*
|
|
1969
2330
|
* @remarks
|
|
1970
|
-
*
|
|
2331
|
+
* The China single-user queries per second (QPS) limit for this operation is 100. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
1971
2332
|
*
|
|
1972
2333
|
* @param request - GetUserCertificateDetailRequest
|
|
1973
2334
|
* @returns GetUserCertificateDetailResponse
|
|
@@ -1977,7 +2338,12 @@ class Client extends openapi_core_1.default {
|
|
|
1977
2338
|
return await this.getUserCertificateDetailWithOptions(request, runtime);
|
|
1978
2339
|
}
|
|
1979
2340
|
/**
|
|
1980
|
-
*
|
|
2341
|
+
* Queries the resource statistics list of cloud services.
|
|
2342
|
+
*
|
|
2343
|
+
* @remarks
|
|
2344
|
+
* Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
|
|
2345
|
+
* ## QPS limit
|
|
2346
|
+
* The China single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
1981
2347
|
*
|
|
1982
2348
|
* @param request - ListAssetCountRequest
|
|
1983
2349
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2015,7 +2381,12 @@ class Client extends openapi_core_1.default {
|
|
|
2015
2381
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAssetCountResponse({}));
|
|
2016
2382
|
}
|
|
2017
2383
|
/**
|
|
2018
|
-
*
|
|
2384
|
+
* Queries the resource statistics list of cloud services.
|
|
2385
|
+
*
|
|
2386
|
+
* @remarks
|
|
2387
|
+
* Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
|
|
2388
|
+
* ## QPS limit
|
|
2389
|
+
* The China single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
2019
2390
|
*
|
|
2020
2391
|
* @param request - ListAssetCountRequest
|
|
2021
2392
|
* @returns ListAssetCountResponse
|
|
@@ -2025,10 +2396,10 @@ class Client extends openapi_core_1.default {
|
|
|
2025
2396
|
return await this.listAssetCountWithOptions(request, runtime);
|
|
2026
2397
|
}
|
|
2027
2398
|
/**
|
|
2028
|
-
*
|
|
2399
|
+
* This API queries certificates in the certificate store.
|
|
2029
2400
|
*
|
|
2030
2401
|
* @remarks
|
|
2031
|
-
*
|
|
2402
|
+
* The single-user QPS limit for this API is 10. Calls exceeding this limit are throttled, which may impact your business. Plan your API calls accordingly.
|
|
2032
2403
|
*
|
|
2033
2404
|
* @param request - ListCertRequest
|
|
2034
2405
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2078,10 +2449,10 @@ class Client extends openapi_core_1.default {
|
|
|
2078
2449
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCertResponse({}));
|
|
2079
2450
|
}
|
|
2080
2451
|
/**
|
|
2081
|
-
*
|
|
2452
|
+
* This API queries certificates in the certificate store.
|
|
2082
2453
|
*
|
|
2083
2454
|
* @remarks
|
|
2084
|
-
*
|
|
2455
|
+
* The single-user QPS limit for this API is 10. Calls exceeding this limit are throttled, which may impact your business. Plan your API calls accordingly.
|
|
2085
2456
|
*
|
|
2086
2457
|
* @param request - ListCertRequest
|
|
2087
2458
|
* @returns ListCertResponse
|
|
@@ -2091,7 +2462,7 @@ class Client extends openapi_core_1.default {
|
|
|
2091
2462
|
return await this.listCertWithOptions(request, runtime);
|
|
2092
2463
|
}
|
|
2093
2464
|
/**
|
|
2094
|
-
* Queries certificate repositories.
|
|
2465
|
+
* Queries the certificate application repositories in your account.
|
|
2095
2466
|
*
|
|
2096
2467
|
* @remarks
|
|
2097
2468
|
* You can call the ListCertWarehouse operation to query certificate repositories.
|
|
@@ -2137,7 +2508,7 @@ class Client extends openapi_core_1.default {
|
|
|
2137
2508
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCertWarehouseResponse({}));
|
|
2138
2509
|
}
|
|
2139
2510
|
/**
|
|
2140
|
-
* Queries certificate repositories.
|
|
2511
|
+
* Queries the certificate application repositories in your account.
|
|
2141
2512
|
*
|
|
2142
2513
|
* @remarks
|
|
2143
2514
|
* You can call the ListCertWarehouse operation to query certificate repositories.
|
|
@@ -2152,7 +2523,7 @@ class Client extends openapi_core_1.default {
|
|
|
2152
2523
|
return await this.listCertWarehouseWithOptions(request, runtime);
|
|
2153
2524
|
}
|
|
2154
2525
|
/**
|
|
2155
|
-
*
|
|
2526
|
+
* Queries the certificates managed by Certificate Management Service.
|
|
2156
2527
|
*
|
|
2157
2528
|
* @param request - ListCertificatesRequest
|
|
2158
2529
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2199,7 +2570,7 @@ class Client extends openapi_core_1.default {
|
|
|
2199
2570
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCertificatesResponse({}));
|
|
2200
2571
|
}
|
|
2201
2572
|
/**
|
|
2202
|
-
*
|
|
2573
|
+
* Queries the certificates managed by Certificate Management Service.
|
|
2203
2574
|
*
|
|
2204
2575
|
* @param request - ListCertificatesRequest
|
|
2205
2576
|
* @returns ListCertificatesResponse
|
|
@@ -2209,7 +2580,7 @@ class Client extends openapi_core_1.default {
|
|
|
2209
2580
|
return await this.listCertificatesWithOptions(request, runtime);
|
|
2210
2581
|
}
|
|
2211
2582
|
/**
|
|
2212
|
-
* Queries
|
|
2583
|
+
* Queries the AccessKey pairs that are configured for multi-cloud certificate deployment.
|
|
2213
2584
|
*
|
|
2214
2585
|
* @param request - ListCloudAccessRequest
|
|
2215
2586
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2247,7 +2618,7 @@ class Client extends openapi_core_1.default {
|
|
|
2247
2618
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCloudAccessResponse({}));
|
|
2248
2619
|
}
|
|
2249
2620
|
/**
|
|
2250
|
-
* Queries
|
|
2621
|
+
* Queries the AccessKey pairs that are configured for multi-cloud certificate deployment.
|
|
2251
2622
|
*
|
|
2252
2623
|
* @param request - ListCloudAccessRequest
|
|
2253
2624
|
* @returns ListCloudAccessResponse
|
|
@@ -2257,7 +2628,7 @@ class Client extends openapi_core_1.default {
|
|
|
2257
2628
|
return await this.listCloudAccessWithOptions(request, runtime);
|
|
2258
2629
|
}
|
|
2259
2630
|
/**
|
|
2260
|
-
* Queries the
|
|
2631
|
+
* Queries the cloud resources on which certificates are deployed, such as Server Load Balancer (SLB) instances and CDN domains.
|
|
2261
2632
|
*
|
|
2262
2633
|
* @param tmpReq - ListCloudResourcesRequest
|
|
2263
2634
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2309,7 +2680,7 @@ class Client extends openapi_core_1.default {
|
|
|
2309
2680
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCloudResourcesResponse({}));
|
|
2310
2681
|
}
|
|
2311
2682
|
/**
|
|
2312
|
-
* Queries the
|
|
2683
|
+
* Queries the cloud resources on which certificates are deployed, such as Server Load Balancer (SLB) instances and CDN domains.
|
|
2313
2684
|
*
|
|
2314
2685
|
* @param request - ListCloudResourcesRequest
|
|
2315
2686
|
* @returns ListCloudResourcesResponse
|
|
@@ -2319,7 +2690,55 @@ class Client extends openapi_core_1.default {
|
|
|
2319
2690
|
return await this.listCloudResourcesWithOptions(request, runtime);
|
|
2320
2691
|
}
|
|
2321
2692
|
/**
|
|
2322
|
-
*
|
|
2693
|
+
* Retrieves a list of companies.
|
|
2694
|
+
*
|
|
2695
|
+
* @param request - ListCompaniesRequest
|
|
2696
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2697
|
+
* @returns ListCompaniesResponse
|
|
2698
|
+
*/
|
|
2699
|
+
async listCompaniesWithOptions(request, runtime) {
|
|
2700
|
+
request.validate();
|
|
2701
|
+
let query = {};
|
|
2702
|
+
if (!$dara.isNull(request.companyId)) {
|
|
2703
|
+
query["CompanyId"] = request.companyId;
|
|
2704
|
+
}
|
|
2705
|
+
if (!$dara.isNull(request.currentPage)) {
|
|
2706
|
+
query["CurrentPage"] = request.currentPage;
|
|
2707
|
+
}
|
|
2708
|
+
if (!$dara.isNull(request.keyword)) {
|
|
2709
|
+
query["Keyword"] = request.keyword;
|
|
2710
|
+
}
|
|
2711
|
+
if (!$dara.isNull(request.showSize)) {
|
|
2712
|
+
query["ShowSize"] = request.showSize;
|
|
2713
|
+
}
|
|
2714
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2715
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2716
|
+
});
|
|
2717
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2718
|
+
action: "ListCompanies",
|
|
2719
|
+
version: "2020-04-07",
|
|
2720
|
+
protocol: "HTTPS",
|
|
2721
|
+
pathname: "/",
|
|
2722
|
+
method: "POST",
|
|
2723
|
+
authType: "AK",
|
|
2724
|
+
style: "RPC",
|
|
2725
|
+
reqBodyType: "formData",
|
|
2726
|
+
bodyType: "json",
|
|
2727
|
+
});
|
|
2728
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCompaniesResponse({}));
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* Retrieves a list of companies.
|
|
2732
|
+
*
|
|
2733
|
+
* @param request - ListCompaniesRequest
|
|
2734
|
+
* @returns ListCompaniesResponse
|
|
2735
|
+
*/
|
|
2736
|
+
async listCompanies(request) {
|
|
2737
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2738
|
+
return await this.listCompaniesWithOptions(request, runtime);
|
|
2739
|
+
}
|
|
2740
|
+
/**
|
|
2741
|
+
* Retrieves a list of contacts.
|
|
2323
2742
|
*
|
|
2324
2743
|
* @param request - ListContactRequest
|
|
2325
2744
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2354,7 +2773,7 @@ class Client extends openapi_core_1.default {
|
|
|
2354
2773
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListContactResponse({}));
|
|
2355
2774
|
}
|
|
2356
2775
|
/**
|
|
2357
|
-
*
|
|
2776
|
+
* Retrieves a list of contacts.
|
|
2358
2777
|
*
|
|
2359
2778
|
* @param request - ListContactRequest
|
|
2360
2779
|
* @returns ListContactResponse
|
|
@@ -2364,7 +2783,7 @@ class Client extends openapi_core_1.default {
|
|
|
2364
2783
|
return await this.listContactWithOptions(request, runtime);
|
|
2365
2784
|
}
|
|
2366
2785
|
/**
|
|
2367
|
-
* Queries the
|
|
2786
|
+
* Queries the certificate signing requests (CSRs) in your account.
|
|
2368
2787
|
*
|
|
2369
2788
|
* @param request - ListCsrRequest
|
|
2370
2789
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2402,7 +2821,7 @@ class Client extends openapi_core_1.default {
|
|
|
2402
2821
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCsrResponse({}));
|
|
2403
2822
|
}
|
|
2404
2823
|
/**
|
|
2405
|
-
* Queries the
|
|
2824
|
+
* Queries the certificate signing requests (CSRs) in your account.
|
|
2406
2825
|
*
|
|
2407
2826
|
* @param request - ListCsrRequest
|
|
2408
2827
|
* @returns ListCsrResponse
|
|
@@ -2412,7 +2831,7 @@ class Client extends openapi_core_1.default {
|
|
|
2412
2831
|
return await this.listCsrWithOptions(request, runtime);
|
|
2413
2832
|
}
|
|
2414
2833
|
/**
|
|
2415
|
-
*
|
|
2834
|
+
* Retrieves a list of deployment tasks after you create a deployment task.
|
|
2416
2835
|
*
|
|
2417
2836
|
* @param request - ListDeploymentJobRequest
|
|
2418
2837
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2450,7 +2869,7 @@ class Client extends openapi_core_1.default {
|
|
|
2450
2869
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDeploymentJobResponse({}));
|
|
2451
2870
|
}
|
|
2452
2871
|
/**
|
|
2453
|
-
*
|
|
2872
|
+
* Retrieves a list of deployment tasks after you create a deployment task.
|
|
2454
2873
|
*
|
|
2455
2874
|
* @param request - ListDeploymentJobRequest
|
|
2456
2875
|
* @returns ListDeploymentJobResponse
|
|
@@ -2460,7 +2879,7 @@ class Client extends openapi_core_1.default {
|
|
|
2460
2879
|
return await this.listDeploymentJobWithOptions(request, runtime);
|
|
2461
2880
|
}
|
|
2462
2881
|
/**
|
|
2463
|
-
* Queries the
|
|
2882
|
+
* Queries the certificates associated with a deployment task, such as the certificate instance ID, type, and name.
|
|
2464
2883
|
*
|
|
2465
2884
|
* @param request - ListDeploymentJobCertRequest
|
|
2466
2885
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2489,7 +2908,7 @@ class Client extends openapi_core_1.default {
|
|
|
2489
2908
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDeploymentJobCertResponse({}));
|
|
2490
2909
|
}
|
|
2491
2910
|
/**
|
|
2492
|
-
* Queries the
|
|
2911
|
+
* Queries the certificates associated with a deployment task, such as the certificate instance ID, type, and name.
|
|
2493
2912
|
*
|
|
2494
2913
|
* @param request - ListDeploymentJobCertRequest
|
|
2495
2914
|
* @returns ListDeploymentJobCertResponse
|
|
@@ -2499,7 +2918,7 @@ class Client extends openapi_core_1.default {
|
|
|
2499
2918
|
return await this.listDeploymentJobCertWithOptions(request, runtime);
|
|
2500
2919
|
}
|
|
2501
2920
|
/**
|
|
2502
|
-
* Queries the cloud resources
|
|
2921
|
+
* Queries the cloud resources associated with a deployment task. An empty list indicates that the resources are invalid and must be re-associated.
|
|
2503
2922
|
*
|
|
2504
2923
|
* @param request - ListDeploymentJobResourceRequest
|
|
2505
2924
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2528,7 +2947,7 @@ class Client extends openapi_core_1.default {
|
|
|
2528
2947
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDeploymentJobResourceResponse({}));
|
|
2529
2948
|
}
|
|
2530
2949
|
/**
|
|
2531
|
-
* Queries the cloud resources
|
|
2950
|
+
* Queries the cloud resources associated with a deployment task. An empty list indicates that the resources are invalid and must be re-associated.
|
|
2532
2951
|
*
|
|
2533
2952
|
* @param request - ListDeploymentJobResourceRequest
|
|
2534
2953
|
* @returns ListDeploymentJobResourceResponse
|
|
@@ -2538,7 +2957,7 @@ class Client extends openapi_core_1.default {
|
|
|
2538
2957
|
return await this.listDeploymentJobResourceWithOptions(request, runtime);
|
|
2539
2958
|
}
|
|
2540
2959
|
/**
|
|
2541
|
-
*
|
|
2960
|
+
* Retrieves a list of instances.
|
|
2542
2961
|
*
|
|
2543
2962
|
* @param request - ListInstancesRequest
|
|
2544
2963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2591,7 +3010,7 @@ class Client extends openapi_core_1.default {
|
|
|
2591
3010
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstancesResponse({}));
|
|
2592
3011
|
}
|
|
2593
3012
|
/**
|
|
2594
|
-
*
|
|
3013
|
+
* Retrieves a list of instances.
|
|
2595
3014
|
*
|
|
2596
3015
|
* @param request - ListInstancesRequest
|
|
2597
3016
|
* @returns ListInstancesResponse
|
|
@@ -2601,12 +3020,12 @@ class Client extends openapi_core_1.default {
|
|
|
2601
3020
|
return await this.listInstancesWithOptions(request, runtime);
|
|
2602
3021
|
}
|
|
2603
3022
|
/**
|
|
2604
|
-
* Queries the certificates or
|
|
3023
|
+
* Queries the list of user certificates or orders.
|
|
2605
3024
|
*
|
|
2606
3025
|
* @remarks
|
|
2607
|
-
*
|
|
2608
|
-
* ##
|
|
2609
|
-
*
|
|
3026
|
+
* This operation is used to query the list of user certificates or orders. If OrderType is set to CERT or UPLOAD, the certificate list is queried. If OrderType is set to CPACK or BUY, the order list is queried.
|
|
3027
|
+
* ## QPS limit
|
|
3028
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
2610
3029
|
*
|
|
2611
3030
|
* @param request - ListUserCertificateOrderRequest
|
|
2612
3031
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2650,12 +3069,12 @@ class Client extends openapi_core_1.default {
|
|
|
2650
3069
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUserCertificateOrderResponse({}));
|
|
2651
3070
|
}
|
|
2652
3071
|
/**
|
|
2653
|
-
* Queries the certificates or
|
|
3072
|
+
* Queries the list of user certificates or orders.
|
|
2654
3073
|
*
|
|
2655
3074
|
* @remarks
|
|
2656
|
-
*
|
|
2657
|
-
* ##
|
|
2658
|
-
*
|
|
3075
|
+
* This operation is used to query the list of user certificates or orders. If OrderType is set to CERT or UPLOAD, the certificate list is queried. If OrderType is set to CPACK or BUY, the order list is queried.
|
|
3076
|
+
* ## QPS limit
|
|
3077
|
+
* The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
|
|
2659
3078
|
*
|
|
2660
3079
|
* @param request - ListUserCertificateOrderRequest
|
|
2661
3080
|
* @returns ListUserCertificateOrderResponse
|
|
@@ -2665,7 +3084,12 @@ class Client extends openapi_core_1.default {
|
|
|
2665
3084
|
return await this.listUserCertificateOrderWithOptions(request, runtime);
|
|
2666
3085
|
}
|
|
2667
3086
|
/**
|
|
2668
|
-
*
|
|
3087
|
+
* Lists warehouses.
|
|
3088
|
+
*
|
|
3089
|
+
* @remarks
|
|
3090
|
+
* This operation lists your warehouses.
|
|
3091
|
+
* ### QPS limit
|
|
3092
|
+
* This operation has a per-user QPS limit of 10 requests per second. Calls exceeding this limit are throttled, which can affect your business.
|
|
2669
3093
|
*
|
|
2670
3094
|
* @param tmpReq - ListWarehouseRequest
|
|
2671
3095
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2711,7 +3135,12 @@ class Client extends openapi_core_1.default {
|
|
|
2711
3135
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWarehouseResponse({}));
|
|
2712
3136
|
}
|
|
2713
3137
|
/**
|
|
2714
|
-
*
|
|
3138
|
+
* Lists warehouses.
|
|
3139
|
+
*
|
|
3140
|
+
* @remarks
|
|
3141
|
+
* This operation lists your warehouses.
|
|
3142
|
+
* ### QPS limit
|
|
3143
|
+
* This operation has a per-user QPS limit of 10 requests per second. Calls exceeding this limit are throttled, which can affect your business.
|
|
2715
3144
|
*
|
|
2716
3145
|
* @param request - ListWarehouseRequest
|
|
2717
3146
|
* @returns ListWarehouseResponse
|
|
@@ -2721,7 +3150,7 @@ class Client extends openapi_core_1.default {
|
|
|
2721
3150
|
return await this.listWarehouseWithOptions(request, runtime);
|
|
2722
3151
|
}
|
|
2723
3152
|
/**
|
|
2724
|
-
* Queries the
|
|
3153
|
+
* Queries the worker tasks of a deployment task. Each worker task deploys a certificate to a specific cloud resource in a cloud service.
|
|
2725
3154
|
*
|
|
2726
3155
|
* @param request - ListWorkerResourceRequest
|
|
2727
3156
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2762,7 +3191,7 @@ class Client extends openapi_core_1.default {
|
|
|
2762
3191
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWorkerResourceResponse({}));
|
|
2763
3192
|
}
|
|
2764
3193
|
/**
|
|
2765
|
-
* Queries the
|
|
3194
|
+
* Queries the worker tasks of a deployment task. Each worker task deploys a certificate to a specific cloud resource in a cloud service.
|
|
2766
3195
|
*
|
|
2767
3196
|
* @param request - ListWorkerResourceRequest
|
|
2768
3197
|
* @returns ListWorkerResourceResponse
|
|
@@ -2820,7 +3249,7 @@ class Client extends openapi_core_1.default {
|
|
|
2820
3249
|
return await this.moveResourceGroupWithOptions(request, runtime);
|
|
2821
3250
|
}
|
|
2822
3251
|
/**
|
|
2823
|
-
*
|
|
3252
|
+
* Refunds an instance within 7 days.
|
|
2824
3253
|
*
|
|
2825
3254
|
* @param request - RefundInstanceRequest
|
|
2826
3255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2849,7 +3278,7 @@ class Client extends openapi_core_1.default {
|
|
|
2849
3278
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RefundInstanceResponse({}));
|
|
2850
3279
|
}
|
|
2851
3280
|
/**
|
|
2852
|
-
*
|
|
3281
|
+
* Refunds an instance within 7 days.
|
|
2853
3282
|
*
|
|
2854
3283
|
* @param request - RefundInstanceRequest
|
|
2855
3284
|
* @returns RefundInstanceResponse
|
|
@@ -2859,11 +3288,11 @@ class Client extends openapi_core_1.default {
|
|
|
2859
3288
|
return await this.refundInstanceWithOptions(request, runtime);
|
|
2860
3289
|
}
|
|
2861
3290
|
/**
|
|
2862
|
-
* Submits a renewal application for an issued certificate.
|
|
3291
|
+
* Submits a renewal application for an issued SSL certificate.
|
|
2863
3292
|
*
|
|
2864
3293
|
* @remarks
|
|
2865
3294
|
* 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.
|
|
2866
|
-
* >
|
|
3295
|
+
* > 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.
|
|
2867
3296
|
*
|
|
2868
3297
|
* @param request - RenewCertificateOrderForPackageRequestRequest
|
|
2869
3298
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2898,11 +3327,11 @@ class Client extends openapi_core_1.default {
|
|
|
2898
3327
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RenewCertificateOrderForPackageRequestResponse({}));
|
|
2899
3328
|
}
|
|
2900
3329
|
/**
|
|
2901
|
-
* Submits a renewal application for an issued certificate.
|
|
3330
|
+
* Submits a renewal application for an issued SSL certificate.
|
|
2902
3331
|
*
|
|
2903
3332
|
* @remarks
|
|
2904
3333
|
* 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.
|
|
2905
|
-
* >
|
|
3334
|
+
* > 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.
|
|
2906
3335
|
*
|
|
2907
3336
|
* @param request - RenewCertificateOrderForPackageRequestRequest
|
|
2908
3337
|
* @returns RenewCertificateOrderForPackageRequestResponse
|
|
@@ -2912,7 +3341,7 @@ class Client extends openapi_core_1.default {
|
|
|
2912
3341
|
return await this.renewCertificateOrderForPackageRequestWithOptions(request, runtime);
|
|
2913
3342
|
}
|
|
2914
3343
|
/**
|
|
2915
|
-
*
|
|
3344
|
+
* Revokes a certificate.
|
|
2916
3345
|
*
|
|
2917
3346
|
* @param request - RevokeCertificateRequest
|
|
2918
3347
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2921,6 +3350,9 @@ class Client extends openapi_core_1.default {
|
|
|
2921
3350
|
async revokeCertificateWithOptions(request, runtime) {
|
|
2922
3351
|
request.validate();
|
|
2923
3352
|
let query = {};
|
|
3353
|
+
if (!$dara.isNull(request.certificateId)) {
|
|
3354
|
+
query["CertificateId"] = request.certificateId;
|
|
3355
|
+
}
|
|
2924
3356
|
if (!$dara.isNull(request.instanceId)) {
|
|
2925
3357
|
query["InstanceId"] = request.instanceId;
|
|
2926
3358
|
}
|
|
@@ -2941,7 +3373,7 @@ class Client extends openapi_core_1.default {
|
|
|
2941
3373
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevokeCertificateResponse({}));
|
|
2942
3374
|
}
|
|
2943
3375
|
/**
|
|
2944
|
-
*
|
|
3376
|
+
* Revokes a certificate.
|
|
2945
3377
|
*
|
|
2946
3378
|
* @param request - RevokeCertificateRequest
|
|
2947
3379
|
* @returns RevokeCertificateResponse
|
|
@@ -2951,10 +3383,10 @@ class Client extends openapi_core_1.default {
|
|
|
2951
3383
|
return await this.revokeCertificateWithOptions(request, runtime);
|
|
2952
3384
|
}
|
|
2953
3385
|
/**
|
|
2954
|
-
* Revokes a client certificate
|
|
3386
|
+
* Revokes a client certificate from the certificate repository.
|
|
2955
3387
|
*
|
|
2956
3388
|
* @remarks
|
|
2957
|
-
*
|
|
3389
|
+
* The rate limit for this API is 10 queries per second (QPS) per user. If you exceed this limit, subsequent API calls will be throttled, which can disrupt your services. We recommend that you call this API at a reasonable rate.
|
|
2958
3390
|
*
|
|
2959
3391
|
* @param request - RevokeWHClientCertificateRequest
|
|
2960
3392
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2983,10 +3415,10 @@ class Client extends openapi_core_1.default {
|
|
|
2983
3415
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevokeWHClientCertificateResponse({}));
|
|
2984
3416
|
}
|
|
2985
3417
|
/**
|
|
2986
|
-
* Revokes a client certificate
|
|
3418
|
+
* Revokes a client certificate from the certificate repository.
|
|
2987
3419
|
*
|
|
2988
3420
|
* @remarks
|
|
2989
|
-
*
|
|
3421
|
+
* The rate limit for this API is 10 queries per second (QPS) per user. If you exceed this limit, subsequent API calls will be throttled, which can disrupt your services. We recommend that you call this API at a reasonable rate.
|
|
2990
3422
|
*
|
|
2991
3423
|
* @param request - RevokeWHClientCertificateRequest
|
|
2992
3424
|
* @returns RevokeWHClientCertificateResponse
|
|
@@ -2996,12 +3428,12 @@ class Client extends openapi_core_1.default {
|
|
|
2996
3428
|
return await this.revokeWHClientCertificateWithOptions(request, runtime);
|
|
2997
3429
|
}
|
|
2998
3430
|
/**
|
|
2999
|
-
*
|
|
3431
|
+
* This operation creates a digital signature with a PCA certificate from a certificate repository.
|
|
3000
3432
|
*
|
|
3001
3433
|
* @remarks
|
|
3002
|
-
*
|
|
3003
|
-
* ###
|
|
3004
|
-
*
|
|
3434
|
+
* This operation creates a digital signature with a PCA certificate from a certificate repository.
|
|
3435
|
+
* ### QPS limit
|
|
3436
|
+
* This operation supports up to 1,000 queries per second (QPS) for a single user. If you exceed this limit, the system throttles your API calls, which can impact your business. Plan your API calls accordingly.
|
|
3005
3437
|
*
|
|
3006
3438
|
* @param request - SignRequest
|
|
3007
3439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3045,12 +3477,12 @@ class Client extends openapi_core_1.default {
|
|
|
3045
3477
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SignResponse({}));
|
|
3046
3478
|
}
|
|
3047
3479
|
/**
|
|
3048
|
-
*
|
|
3480
|
+
* This operation creates a digital signature with a PCA certificate from a certificate repository.
|
|
3049
3481
|
*
|
|
3050
3482
|
* @remarks
|
|
3051
|
-
*
|
|
3052
|
-
* ###
|
|
3053
|
-
*
|
|
3483
|
+
* This operation creates a digital signature with a PCA certificate from a certificate repository.
|
|
3484
|
+
* ### QPS limit
|
|
3485
|
+
* This operation supports up to 1,000 queries per second (QPS) for a single user. If you exceed this limit, the system throttles your API calls, which can impact your business. Plan your API calls accordingly.
|
|
3054
3486
|
*
|
|
3055
3487
|
* @param request - SignRequest
|
|
3056
3488
|
* @returns SignResponse
|
|
@@ -3060,7 +3492,136 @@ class Client extends openapi_core_1.default {
|
|
|
3060
3492
|
return await this.signWithOptions(request, runtime);
|
|
3061
3493
|
}
|
|
3062
3494
|
/**
|
|
3063
|
-
*
|
|
3495
|
+
* Updates company information.
|
|
3496
|
+
*
|
|
3497
|
+
* @param request - UpdateCompanyRequest
|
|
3498
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3499
|
+
* @returns UpdateCompanyResponse
|
|
3500
|
+
*/
|
|
3501
|
+
async updateCompanyWithOptions(request, runtime) {
|
|
3502
|
+
request.validate();
|
|
3503
|
+
let query = {};
|
|
3504
|
+
if (!$dara.isNull(request.city)) {
|
|
3505
|
+
query["City"] = request.city;
|
|
3506
|
+
}
|
|
3507
|
+
if (!$dara.isNull(request.companyAddress)) {
|
|
3508
|
+
query["CompanyAddress"] = request.companyAddress;
|
|
3509
|
+
}
|
|
3510
|
+
if (!$dara.isNull(request.companyCode)) {
|
|
3511
|
+
query["CompanyCode"] = request.companyCode;
|
|
3512
|
+
}
|
|
3513
|
+
if (!$dara.isNull(request.companyEmail)) {
|
|
3514
|
+
query["CompanyEmail"] = request.companyEmail;
|
|
3515
|
+
}
|
|
3516
|
+
if (!$dara.isNull(request.companyId)) {
|
|
3517
|
+
query["CompanyId"] = request.companyId;
|
|
3518
|
+
}
|
|
3519
|
+
if (!$dara.isNull(request.companyName)) {
|
|
3520
|
+
query["CompanyName"] = request.companyName;
|
|
3521
|
+
}
|
|
3522
|
+
if (!$dara.isNull(request.companyPhone)) {
|
|
3523
|
+
query["CompanyPhone"] = request.companyPhone;
|
|
3524
|
+
}
|
|
3525
|
+
if (!$dara.isNull(request.companyType)) {
|
|
3526
|
+
query["CompanyType"] = request.companyType;
|
|
3527
|
+
}
|
|
3528
|
+
if (!$dara.isNull(request.countryCode)) {
|
|
3529
|
+
query["CountryCode"] = request.countryCode;
|
|
3530
|
+
}
|
|
3531
|
+
if (!$dara.isNull(request.department)) {
|
|
3532
|
+
query["Department"] = request.department;
|
|
3533
|
+
}
|
|
3534
|
+
if (!$dara.isNull(request.lang)) {
|
|
3535
|
+
query["Lang"] = request.lang;
|
|
3536
|
+
}
|
|
3537
|
+
if (!$dara.isNull(request.postCode)) {
|
|
3538
|
+
query["PostCode"] = request.postCode;
|
|
3539
|
+
}
|
|
3540
|
+
if (!$dara.isNull(request.province)) {
|
|
3541
|
+
query["Province"] = request.province;
|
|
3542
|
+
}
|
|
3543
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3544
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3545
|
+
});
|
|
3546
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3547
|
+
action: "UpdateCompany",
|
|
3548
|
+
version: "2020-04-07",
|
|
3549
|
+
protocol: "HTTPS",
|
|
3550
|
+
pathname: "/",
|
|
3551
|
+
method: "POST",
|
|
3552
|
+
authType: "AK",
|
|
3553
|
+
style: "RPC",
|
|
3554
|
+
reqBodyType: "formData",
|
|
3555
|
+
bodyType: "json",
|
|
3556
|
+
});
|
|
3557
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCompanyResponse({}));
|
|
3558
|
+
}
|
|
3559
|
+
/**
|
|
3560
|
+
* Updates company information.
|
|
3561
|
+
*
|
|
3562
|
+
* @param request - UpdateCompanyRequest
|
|
3563
|
+
* @returns UpdateCompanyResponse
|
|
3564
|
+
*/
|
|
3565
|
+
async updateCompany(request) {
|
|
3566
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3567
|
+
return await this.updateCompanyWithOptions(request, runtime);
|
|
3568
|
+
}
|
|
3569
|
+
/**
|
|
3570
|
+
* Updates a contact.
|
|
3571
|
+
*
|
|
3572
|
+
* @param request - UpdateContactRequest
|
|
3573
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3574
|
+
* @returns UpdateContactResponse
|
|
3575
|
+
*/
|
|
3576
|
+
async updateContactWithOptions(request, runtime) {
|
|
3577
|
+
request.validate();
|
|
3578
|
+
let query = {};
|
|
3579
|
+
if (!$dara.isNull(request.contactId)) {
|
|
3580
|
+
query["ContactId"] = request.contactId;
|
|
3581
|
+
}
|
|
3582
|
+
if (!$dara.isNull(request.email)) {
|
|
3583
|
+
query["Email"] = request.email;
|
|
3584
|
+
}
|
|
3585
|
+
if (!$dara.isNull(request.idcard)) {
|
|
3586
|
+
query["Idcard"] = request.idcard;
|
|
3587
|
+
}
|
|
3588
|
+
if (!$dara.isNull(request.mobile)) {
|
|
3589
|
+
query["Mobile"] = request.mobile;
|
|
3590
|
+
}
|
|
3591
|
+
if (!$dara.isNull(request.name)) {
|
|
3592
|
+
query["Name"] = request.name;
|
|
3593
|
+
}
|
|
3594
|
+
if (!$dara.isNull(request.webhooks)) {
|
|
3595
|
+
query["Webhooks"] = request.webhooks;
|
|
3596
|
+
}
|
|
3597
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3598
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3599
|
+
});
|
|
3600
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3601
|
+
action: "UpdateContact",
|
|
3602
|
+
version: "2020-04-07",
|
|
3603
|
+
protocol: "HTTPS",
|
|
3604
|
+
pathname: "/",
|
|
3605
|
+
method: "POST",
|
|
3606
|
+
authType: "AK",
|
|
3607
|
+
style: "RPC",
|
|
3608
|
+
reqBodyType: "formData",
|
|
3609
|
+
bodyType: "json",
|
|
3610
|
+
});
|
|
3611
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactResponse({}));
|
|
3612
|
+
}
|
|
3613
|
+
/**
|
|
3614
|
+
* Updates a contact.
|
|
3615
|
+
*
|
|
3616
|
+
* @param request - UpdateContactRequest
|
|
3617
|
+
* @returns UpdateContactResponse
|
|
3618
|
+
*/
|
|
3619
|
+
async updateContact(request) {
|
|
3620
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3621
|
+
return await this.updateContactWithOptions(request, runtime);
|
|
3622
|
+
}
|
|
3623
|
+
/**
|
|
3624
|
+
* Uploads the private key corresponding to a CSR if the private key was not provided when the local CSR was uploaded.
|
|
3064
3625
|
*
|
|
3065
3626
|
* @param request - UpdateCsrRequest
|
|
3066
3627
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3092,7 +3653,7 @@ class Client extends openapi_core_1.default {
|
|
|
3092
3653
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCsrResponse({}));
|
|
3093
3654
|
}
|
|
3094
3655
|
/**
|
|
3095
|
-
* Uploads
|
|
3656
|
+
* Uploads the private key corresponding to a CSR if the private key was not provided when the local CSR was uploaded.
|
|
3096
3657
|
*
|
|
3097
3658
|
* @param request - UpdateCsrRequest
|
|
3098
3659
|
* @returns UpdateCsrResponse
|
|
@@ -3102,7 +3663,7 @@ class Client extends openapi_core_1.default {
|
|
|
3102
3663
|
return await this.updateCsrWithOptions(request, runtime);
|
|
3103
3664
|
}
|
|
3104
3665
|
/**
|
|
3105
|
-
* Updates a deployment task.
|
|
3666
|
+
* Updates the configuration of a certificate deployment task, such as the certificates or target resources.
|
|
3106
3667
|
*
|
|
3107
3668
|
* @param request - UpdateDeploymentJobRequest
|
|
3108
3669
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3146,7 +3707,7 @@ class Client extends openapi_core_1.default {
|
|
|
3146
3707
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDeploymentJobResponse({}));
|
|
3147
3708
|
}
|
|
3148
3709
|
/**
|
|
3149
|
-
* Updates a deployment task.
|
|
3710
|
+
* Updates the configuration of a certificate deployment task, such as the certificates or target resources.
|
|
3150
3711
|
*
|
|
3151
3712
|
* @param request - UpdateDeploymentJobRequest
|
|
3152
3713
|
* @returns UpdateDeploymentJobResponse
|
|
@@ -3156,7 +3717,7 @@ class Client extends openapi_core_1.default {
|
|
|
3156
3717
|
return await this.updateDeploymentJobWithOptions(request, runtime);
|
|
3157
3718
|
}
|
|
3158
3719
|
/**
|
|
3159
|
-
* Updates the status of a deployment task.
|
|
3720
|
+
* Updates the status of a certificate deployment task, such as changing from editing to pending execution.
|
|
3160
3721
|
*
|
|
3161
3722
|
* @param request - UpdateDeploymentJobStatusRequest
|
|
3162
3723
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3188,7 +3749,7 @@ class Client extends openapi_core_1.default {
|
|
|
3188
3749
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDeploymentJobStatusResponse({}));
|
|
3189
3750
|
}
|
|
3190
3751
|
/**
|
|
3191
|
-
* Updates the status of a deployment task.
|
|
3752
|
+
* Updates the status of a certificate deployment task, such as changing from editing to pending execution.
|
|
3192
3753
|
*
|
|
3193
3754
|
* @param request - UpdateDeploymentJobStatusRequest
|
|
3194
3755
|
* @returns UpdateDeploymentJobStatusResponse
|
|
@@ -3198,7 +3759,7 @@ class Client extends openapi_core_1.default {
|
|
|
3198
3759
|
return await this.updateDeploymentJobStatusWithOptions(request, runtime);
|
|
3199
3760
|
}
|
|
3200
3761
|
/**
|
|
3201
|
-
*
|
|
3762
|
+
* Updates the configuration of a Certificate Management Service instance.
|
|
3202
3763
|
*
|
|
3203
3764
|
* @param request - UpdateInstanceRequest
|
|
3204
3765
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3269,7 +3830,7 @@ class Client extends openapi_core_1.default {
|
|
|
3269
3830
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateInstanceResponse({}));
|
|
3270
3831
|
}
|
|
3271
3832
|
/**
|
|
3272
|
-
*
|
|
3833
|
+
* Updates the configuration of a Certificate Management Service instance.
|
|
3273
3834
|
*
|
|
3274
3835
|
* @param request - UpdateInstanceRequest
|
|
3275
3836
|
* @returns UpdateInstanceResponse
|
|
@@ -3279,7 +3840,7 @@ class Client extends openapi_core_1.default {
|
|
|
3279
3840
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
3280
3841
|
}
|
|
3281
3842
|
/**
|
|
3282
|
-
* Rolls back or executes a worker task in a deployment task.
|
|
3843
|
+
* Rolls back or re-executes a worker task in a certificate deployment task.
|
|
3283
3844
|
*
|
|
3284
3845
|
* @param request - UpdateWorkerResourceStatusRequest
|
|
3285
3846
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3314,7 +3875,7 @@ class Client extends openapi_core_1.default {
|
|
|
3314
3875
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWorkerResourceStatusResponse({}));
|
|
3315
3876
|
}
|
|
3316
3877
|
/**
|
|
3317
|
-
* Rolls back or executes a worker task in a deployment task.
|
|
3878
|
+
* Rolls back or re-executes a worker task in a certificate deployment task.
|
|
3318
3879
|
*
|
|
3319
3880
|
* @param request - UpdateWorkerResourceStatusRequest
|
|
3320
3881
|
* @returns UpdateWorkerResourceStatusResponse
|
|
@@ -3324,7 +3885,7 @@ class Client extends openapi_core_1.default {
|
|
|
3324
3885
|
return await this.updateWorkerResourceStatusWithOptions(request, runtime);
|
|
3325
3886
|
}
|
|
3326
3887
|
/**
|
|
3327
|
-
* Uploads an existing
|
|
3888
|
+
* Uploads an existing certificate signing request (CSR) to Certificate Management Service. After the upload, you can use the CSR to apply for certificates.
|
|
3328
3889
|
*
|
|
3329
3890
|
* @param request - UploadCsrRequest
|
|
3330
3891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3359,7 +3920,7 @@ class Client extends openapi_core_1.default {
|
|
|
3359
3920
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadCsrResponse({}));
|
|
3360
3921
|
}
|
|
3361
3922
|
/**
|
|
3362
|
-
* Uploads an existing
|
|
3923
|
+
* Uploads an existing certificate signing request (CSR) to Certificate Management Service. After the upload, you can use the CSR to apply for certificates.
|
|
3363
3924
|
*
|
|
3364
3925
|
* @param request - UploadCsrRequest
|
|
3365
3926
|
* @returns UploadCsrResponse
|
|
@@ -3369,12 +3930,12 @@ class Client extends openapi_core_1.default {
|
|
|
3369
3930
|
return await this.uploadCsrWithOptions(request, runtime);
|
|
3370
3931
|
}
|
|
3371
3932
|
/**
|
|
3372
|
-
*
|
|
3933
|
+
* Uploads a PCA certificate to a certificate warehouse.
|
|
3373
3934
|
*
|
|
3374
3935
|
* @remarks
|
|
3375
|
-
*
|
|
3376
|
-
* ##
|
|
3377
|
-
*
|
|
3936
|
+
* Use this operation to upload a PCA certificate to a certificate warehouse.
|
|
3937
|
+
* ## QPS limit
|
|
3938
|
+
* The QPS limit for this operation is 10 requests per second per user. Exceeding this limit triggers throttling, which can affect your business.
|
|
3378
3939
|
*
|
|
3379
3940
|
* @param request - UploadPCACertRequest
|
|
3380
3941
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3412,12 +3973,12 @@ class Client extends openapi_core_1.default {
|
|
|
3412
3973
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadPCACertResponse({}));
|
|
3413
3974
|
}
|
|
3414
3975
|
/**
|
|
3415
|
-
*
|
|
3976
|
+
* Uploads a PCA certificate to a certificate warehouse.
|
|
3416
3977
|
*
|
|
3417
3978
|
* @remarks
|
|
3418
|
-
*
|
|
3419
|
-
* ##
|
|
3420
|
-
*
|
|
3979
|
+
* Use this operation to upload a PCA certificate to a certificate warehouse.
|
|
3980
|
+
* ## QPS limit
|
|
3981
|
+
* The QPS limit for this operation is 10 requests per second per user. Exceeding this limit triggers throttling, which can affect your business.
|
|
3421
3982
|
*
|
|
3422
3983
|
* @param request - UploadPCACertRequest
|
|
3423
3984
|
* @returns UploadPCACertResponse
|
|
@@ -3427,10 +3988,10 @@ class Client extends openapi_core_1.default {
|
|
|
3427
3988
|
return await this.uploadPCACertWithOptions(request, runtime);
|
|
3428
3989
|
}
|
|
3429
3990
|
/**
|
|
3430
|
-
* Uploads a certificate.
|
|
3991
|
+
* Uploads a certificate and its private key to Certificate Management Service. Both SM and non-SM certificates are supported.
|
|
3431
3992
|
*
|
|
3432
3993
|
* @remarks
|
|
3433
|
-
*
|
|
3994
|
+
* The queries per second (QPS) limit for this operation is 100 for each user. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.
|
|
3434
3995
|
*
|
|
3435
3996
|
* @param request - UploadUserCertificateRequest
|
|
3436
3997
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3483,10 +4044,10 @@ class Client extends openapi_core_1.default {
|
|
|
3483
4044
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadUserCertificateResponse({}));
|
|
3484
4045
|
}
|
|
3485
4046
|
/**
|
|
3486
|
-
* Uploads a certificate.
|
|
4047
|
+
* Uploads a certificate and its private key to Certificate Management Service. Both SM and non-SM certificates are supported.
|
|
3487
4048
|
*
|
|
3488
4049
|
* @remarks
|
|
3489
|
-
*
|
|
4050
|
+
* The queries per second (QPS) limit for this operation is 100 for each user. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.
|
|
3490
4051
|
*
|
|
3491
4052
|
* @param request - UploadUserCertificateRequest
|
|
3492
4053
|
* @returns UploadUserCertificateResponse
|
|
@@ -3496,12 +4057,12 @@ class Client extends openapi_core_1.default {
|
|
|
3496
4057
|
return await this.uploadUserCertificateWithOptions(request, runtime);
|
|
3497
4058
|
}
|
|
3498
4059
|
/**
|
|
3499
|
-
* Verifies
|
|
4060
|
+
* Verifies a data signature by using a private certificate in a certificate application repository.
|
|
3500
4061
|
*
|
|
3501
4062
|
* @remarks
|
|
3502
|
-
*
|
|
3503
|
-
* ###
|
|
3504
|
-
*
|
|
4063
|
+
* This API verifies the signatures of PCA certificates and SSL certificates in the certificate repository.
|
|
4064
|
+
* ### QPS limits
|
|
4065
|
+
* The queries per second (QPS) limit for this API is 1,000 for a single user. For your specific QPS limit, refer to the certificate repository. If you exceed this limit, API calls are throttled, which may affect your business. Plan your API calls accordingly.
|
|
3505
4066
|
*
|
|
3506
4067
|
* @param request - VerifyRequest
|
|
3507
4068
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3548,12 +4109,12 @@ class Client extends openapi_core_1.default {
|
|
|
3548
4109
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyResponse({}));
|
|
3549
4110
|
}
|
|
3550
4111
|
/**
|
|
3551
|
-
* Verifies
|
|
4112
|
+
* Verifies a data signature by using a private certificate in a certificate application repository.
|
|
3552
4113
|
*
|
|
3553
4114
|
* @remarks
|
|
3554
|
-
*
|
|
3555
|
-
* ###
|
|
3556
|
-
*
|
|
4115
|
+
* This API verifies the signatures of PCA certificates and SSL certificates in the certificate repository.
|
|
4116
|
+
* ### QPS limits
|
|
4117
|
+
* The queries per second (QPS) limit for this API is 1,000 for a single user. For your specific QPS limit, refer to the certificate repository. If you exceed this limit, API calls are throttled, which may affect your business. Plan your API calls accordingly.
|
|
3557
4118
|
*
|
|
3558
4119
|
* @param request - VerifyRequest
|
|
3559
4120
|
* @returns VerifyResponse
|