@alicloud/cas20200407 3.2.15 → 3.2.16

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 CHANGED
@@ -762,9 +762,9 @@ export default class Client extends OpenApi {
762
762
  * Retrieves the number of certificate resource plans.
763
763
  *
764
764
  * @remarks
765
- * Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
766
- * ## QPS limit
767
- * 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 as needed.
765
+ * This operation queries the number of CA certificates that you have created, including root CA certificates and subordinate CA certificates.
766
+ * ## Rate limit
767
+ * The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
768
768
  *
769
769
  * @param request - GetCertificatePackageCountRequest
770
770
  * @param runtime - runtime options for this request RuntimeOptions
@@ -775,9 +775,9 @@ export default class Client extends OpenApi {
775
775
  * Retrieves the number of certificate resource plans.
776
776
  *
777
777
  * @remarks
778
- * Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
779
- * ## QPS limit
780
- * 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 as needed.
778
+ * This operation queries the number of CA certificates that you have created, including root CA certificates and subordinate CA certificates.
779
+ * ## Rate limit
780
+ * The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
781
781
  *
782
782
  * @param request - GetCertificatePackageCountRequest
783
783
  * @returns GetCertificatePackageCountResponse
@@ -1125,7 +1125,10 @@ export default class Client extends OpenApi {
1125
1125
  */
1126
1126
  listCsr(request: $_model.ListCsrRequest): Promise<$_model.ListCsrResponse>;
1127
1127
  /**
1128
- * Retrieves a list of deployment tasks after you create a deployment task.
1128
+ * Queries the list of deployment tasks.
1129
+ *
1130
+ * @remarks
1131
+ * After a task is created, it is in the editing state. You must call the UpdateDeploymentJobStatus operation to change the state to pending. Otherwise, the task will not be executed.
1129
1132
  *
1130
1133
  * @param request - ListDeploymentJobRequest
1131
1134
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1133,7 +1136,10 @@ export default class Client extends OpenApi {
1133
1136
  */
1134
1137
  listDeploymentJobWithOptions(request: $_model.ListDeploymentJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDeploymentJobResponse>;
1135
1138
  /**
1136
- * Retrieves a list of deployment tasks after you create a deployment task.
1139
+ * Queries the list of deployment tasks.
1140
+ *
1141
+ * @remarks
1142
+ * After a task is created, it is in the editing state. You must call the UpdateDeploymentJobStatus operation to change the state to pending. Otherwise, the task will not be executed.
1137
1143
  *
1138
1144
  * @param request - ListDeploymentJobRequest
1139
1145
  * @returns ListDeploymentJobResponse
package/dist/client.js CHANGED
@@ -2027,9 +2027,9 @@ class Client extends openapi_core_1.default {
2027
2027
  * Retrieves the number of certificate resource plans.
2028
2028
  *
2029
2029
  * @remarks
2030
- * Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
2031
- * ## QPS limit
2032
- * 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 as needed.
2030
+ * This operation queries the number of CA certificates that you have created, including root CA certificates and subordinate CA certificates.
2031
+ * ## Rate limit
2032
+ * The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
2033
2033
  *
2034
2034
  * @param request - GetCertificatePackageCountRequest
2035
2035
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2055,9 +2055,9 @@ class Client extends openapi_core_1.default {
2055
2055
  * Retrieves the number of certificate resource plans.
2056
2056
  *
2057
2057
  * @remarks
2058
- * Queries the number of CA certificates (including root CA certificates and subordinate CA certificates) that you have created.
2059
- * ## QPS limit
2060
- * 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 as needed.
2058
+ * This operation queries the number of CA certificates that you have created, including root CA certificates and subordinate CA certificates.
2059
+ * ## Rate limit
2060
+ * The rate limit for this operation is 10 queries per second (QPS) per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this operation as needed.
2061
2061
  *
2062
2062
  * @param request - GetCertificatePackageCountRequest
2063
2063
  * @returns GetCertificatePackageCountResponse
@@ -2964,7 +2964,10 @@ class Client extends openapi_core_1.default {
2964
2964
  return await this.listCsrWithOptions(request, runtime);
2965
2965
  }
2966
2966
  /**
2967
- * Retrieves a list of deployment tasks after you create a deployment task.
2967
+ * Queries the list of deployment tasks.
2968
+ *
2969
+ * @remarks
2970
+ * After a task is created, it is in the editing state. You must call the UpdateDeploymentJobStatus operation to change the state to pending. Otherwise, the task will not be executed.
2968
2971
  *
2969
2972
  * @param request - ListDeploymentJobRequest
2970
2973
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2973,9 +2976,15 @@ class Client extends openapi_core_1.default {
2973
2976
  async listDeploymentJobWithOptions(request, runtime) {
2974
2977
  request.validate();
2975
2978
  let query = {};
2979
+ if (!$dara.isNull(request.certId)) {
2980
+ query["CertId"] = request.certId;
2981
+ }
2976
2982
  if (!$dara.isNull(request.currentPage)) {
2977
2983
  query["CurrentPage"] = request.currentPage;
2978
2984
  }
2985
+ if (!$dara.isNull(request.instanceId)) {
2986
+ query["InstanceId"] = request.instanceId;
2987
+ }
2979
2988
  if (!$dara.isNull(request.jobType)) {
2980
2989
  query["JobType"] = request.jobType;
2981
2990
  }
@@ -3002,7 +3011,10 @@ class Client extends openapi_core_1.default {
3002
3011
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDeploymentJobResponse({}));
3003
3012
  }
3004
3013
  /**
3005
- * Retrieves a list of deployment tasks after you create a deployment task.
3014
+ * Queries the list of deployment tasks.
3015
+ *
3016
+ * @remarks
3017
+ * After a task is created, it is in the editing state. You must call the UpdateDeploymentJobStatus operation to change the state to pending. Otherwise, the task will not be executed.
3006
3018
  *
3007
3019
  * @param request - ListDeploymentJobRequest
3008
3020
  * @returns ListDeploymentJobResponse