@alicloud/alidns20150109 4.0.0 → 4.1.1

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.
Files changed (45) hide show
  1. package/dist/client.d.ts +31 -0
  2. package/dist/client.js +61 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddRspDomainServerHoldStatusForGatewayRequest.d.ts +34 -0
  5. package/dist/models/AddRspDomainServerHoldStatusForGatewayRequest.js +62 -0
  6. package/dist/models/AddRspDomainServerHoldStatusForGatewayRequest.js.map +1 -0
  7. package/dist/models/AddRspDomainServerHoldStatusForGatewayResponse.d.ts +19 -0
  8. package/dist/models/AddRspDomainServerHoldStatusForGatewayResponse.js +69 -0
  9. package/dist/models/AddRspDomainServerHoldStatusForGatewayResponse.js.map +1 -0
  10. package/dist/models/AddRspDomainServerHoldStatusForGatewayResponseBody.d.ts +94 -0
  11. package/dist/models/AddRspDomainServerHoldStatusForGatewayResponseBody.js +122 -0
  12. package/dist/models/AddRspDomainServerHoldStatusForGatewayResponseBody.js.map +1 -0
  13. package/dist/models/DescribeCloudGtmGlobalAlertResponseBody.d.ts +5 -0
  14. package/dist/models/DescribeCloudGtmGlobalAlertResponseBody.js +2 -0
  15. package/dist/models/DescribeCloudGtmGlobalAlertResponseBody.js.map +1 -1
  16. package/dist/models/DescribeInternetDnsLogsResponseBody.d.ts +3 -0
  17. package/dist/models/DescribeInternetDnsLogsResponseBody.js +6 -0
  18. package/dist/models/DescribeInternetDnsLogsResponseBody.js.map +1 -1
  19. package/dist/models/DescribePdnsAppKeysResponseBody.d.ts +16 -0
  20. package/dist/models/DescribePdnsAppKeysResponseBody.js +29 -1
  21. package/dist/models/DescribePdnsAppKeysResponseBody.js.map +1 -1
  22. package/dist/models/ListCloudGtmInstanceConfigsResponseBody.d.ts +5 -0
  23. package/dist/models/ListCloudGtmInstanceConfigsResponseBody.js +2 -0
  24. package/dist/models/ListCloudGtmInstanceConfigsResponseBody.js.map +1 -1
  25. package/dist/models/SearchCloudGtmInstanceConfigsResponseBody.d.ts +5 -0
  26. package/dist/models/SearchCloudGtmInstanceConfigsResponseBody.js +2 -0
  27. package/dist/models/SearchCloudGtmInstanceConfigsResponseBody.js.map +1 -1
  28. package/dist/models/UpdateCloudGtmGlobalAlertRequest.d.ts +5 -0
  29. package/dist/models/UpdateCloudGtmGlobalAlertRequest.js +2 -0
  30. package/dist/models/UpdateCloudGtmGlobalAlertRequest.js.map +1 -1
  31. package/dist/models/model.d.ts +6 -0
  32. package/dist/models/model.js +36 -24
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +66 -0
  36. package/src/models/AddRspDomainServerHoldStatusForGatewayRequest.ts +51 -0
  37. package/src/models/AddRspDomainServerHoldStatusForGatewayResponse.ts +40 -0
  38. package/src/models/AddRspDomainServerHoldStatusForGatewayResponseBody.ts +153 -0
  39. package/src/models/DescribeCloudGtmGlobalAlertResponseBody.ts +7 -0
  40. package/src/models/DescribeInternetDnsLogsResponseBody.ts +9 -0
  41. package/src/models/DescribePdnsAppKeysResponseBody.ts +35 -0
  42. package/src/models/ListCloudGtmInstanceConfigsResponseBody.ts +7 -0
  43. package/src/models/SearchCloudGtmInstanceConfigsResponseBody.ts +7 -0
  44. package/src/models/UpdateCloudGtmGlobalAlertRequest.ts +7 -0
  45. package/src/models/model.ts +6 -0
package/dist/client.d.ts CHANGED
@@ -251,6 +251,29 @@ export default class Client extends OpenApi {
251
251
  * @returns AddRecursionZoneResponse
252
252
  */
253
253
  addRecursionZone(request: $_model.AddRecursionZoneRequest): Promise<$_model.AddRecursionZoneResponse>;
254
+ /**
255
+ * 用于删除特定域名的serverHold状态信息。
256
+ *
257
+ * @remarks
258
+ * ## 请求说明
259
+ * - 本接口专为网关用户设计,允许他们添加指定域名的serverHold属性。
260
+ *
261
+ * @param request - AddRspDomainServerHoldStatusForGatewayRequest
262
+ * @param runtime - runtime options for this request RuntimeOptions
263
+ * @returns AddRspDomainServerHoldStatusForGatewayResponse
264
+ */
265
+ addRspDomainServerHoldStatusForGatewayWithOptions(request: $_model.AddRspDomainServerHoldStatusForGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddRspDomainServerHoldStatusForGatewayResponse>;
266
+ /**
267
+ * 用于删除特定域名的serverHold状态信息。
268
+ *
269
+ * @remarks
270
+ * ## 请求说明
271
+ * - 本接口专为网关用户设计,允许他们添加指定域名的serverHold属性。
272
+ *
273
+ * @param request - AddRspDomainServerHoldStatusForGatewayRequest
274
+ * @returns AddRspDomainServerHoldStatusForGatewayResponse
275
+ */
276
+ addRspDomainServerHoldStatusForGateway(request: $_model.AddRspDomainServerHoldStatusForGatewayRequest): Promise<$_model.AddRspDomainServerHoldStatusForGatewayResponse>;
254
277
  /**
255
278
  * Binds one or more domain names to a paid Alibaba Cloud DNS instance.
256
279
  *
@@ -767,12 +790,16 @@ export default class Client extends OpenApi {
767
790
  */
768
791
  describeCloudGtmAddressReference(request: $_model.DescribeCloudGtmAddressReferenceRequest): Promise<$_model.DescribeCloudGtmAddressReferenceResponse>;
769
792
  /**
793
+ * 查询全局流量管理告警配置
794
+ *
770
795
  * @param request - DescribeCloudGtmGlobalAlertRequest
771
796
  * @param runtime - runtime options for this request RuntimeOptions
772
797
  * @returns DescribeCloudGtmGlobalAlertResponse
773
798
  */
774
799
  describeCloudGtmGlobalAlertWithOptions(request: $_model.DescribeCloudGtmGlobalAlertRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCloudGtmGlobalAlertResponse>;
775
800
  /**
801
+ * 查询全局流量管理告警配置
802
+ *
776
803
  * @param request - DescribeCloudGtmGlobalAlertRequest
777
804
  * @returns DescribeCloudGtmGlobalAlertResponse
778
805
  */
@@ -3014,12 +3041,16 @@ export default class Client extends OpenApi {
3014
3041
  */
3015
3042
  updateCloudGtmAddressRemark(request: $_model.UpdateCloudGtmAddressRemarkRequest): Promise<$_model.UpdateCloudGtmAddressRemarkResponse>;
3016
3043
  /**
3044
+ * 更新全局流量管理告警设置
3045
+ *
3017
3046
  * @param tmpReq - UpdateCloudGtmGlobalAlertRequest
3018
3047
  * @param runtime - runtime options for this request RuntimeOptions
3019
3048
  * @returns UpdateCloudGtmGlobalAlertResponse
3020
3049
  */
3021
3050
  updateCloudGtmGlobalAlertWithOptions(tmpReq: $_model.UpdateCloudGtmGlobalAlertRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCloudGtmGlobalAlertResponse>;
3022
3051
  /**
3052
+ * 更新全局流量管理告警设置
3053
+ *
3023
3054
  * @param request - UpdateCloudGtmGlobalAlertRequest
3024
3055
  * @returns UpdateCloudGtmGlobalAlertResponse
3025
3056
  */
package/dist/client.js CHANGED
@@ -958,6 +958,59 @@ class Client extends openapi_core_1.default {
958
958
  let runtime = new $dara.RuntimeOptions({});
959
959
  return await this.addRecursionZoneWithOptions(request, runtime);
960
960
  }
961
+ /**
962
+ * 用于删除特定域名的serverHold状态信息。
963
+ *
964
+ * @remarks
965
+ * ## 请求说明
966
+ * - 本接口专为网关用户设计,允许他们添加指定域名的serverHold属性。
967
+ *
968
+ * @param request - AddRspDomainServerHoldStatusForGatewayRequest
969
+ * @param runtime - runtime options for this request RuntimeOptions
970
+ * @returns AddRspDomainServerHoldStatusForGatewayResponse
971
+ */
972
+ async addRspDomainServerHoldStatusForGatewayWithOptions(request, runtime) {
973
+ request.validate();
974
+ let query = {};
975
+ if (!$dara.isNull(request.clientToken)) {
976
+ query["ClientToken"] = request.clientToken;
977
+ }
978
+ if (!$dara.isNull(request.domainName)) {
979
+ query["DomainName"] = request.domainName;
980
+ }
981
+ if (!$dara.isNull(request.statusMsg)) {
982
+ query["StatusMsg"] = request.statusMsg;
983
+ }
984
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
985
+ query: openapi_core_2.OpenApiUtil.query(query),
986
+ });
987
+ let params = new openapi_core_2.$OpenApiUtil.Params({
988
+ action: "AddRspDomainServerHoldStatusForGateway",
989
+ version: "2015-01-09",
990
+ protocol: "HTTPS",
991
+ pathname: "/",
992
+ method: "POST",
993
+ authType: "AK",
994
+ style: "RPC",
995
+ reqBodyType: "formData",
996
+ bodyType: "json",
997
+ });
998
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddRspDomainServerHoldStatusForGatewayResponse({}));
999
+ }
1000
+ /**
1001
+ * 用于删除特定域名的serverHold状态信息。
1002
+ *
1003
+ * @remarks
1004
+ * ## 请求说明
1005
+ * - 本接口专为网关用户设计,允许他们添加指定域名的serverHold属性。
1006
+ *
1007
+ * @param request - AddRspDomainServerHoldStatusForGatewayRequest
1008
+ * @returns AddRspDomainServerHoldStatusForGatewayResponse
1009
+ */
1010
+ async addRspDomainServerHoldStatusForGateway(request) {
1011
+ let runtime = new $dara.RuntimeOptions({});
1012
+ return await this.addRspDomainServerHoldStatusForGatewayWithOptions(request, runtime);
1013
+ }
961
1014
  /**
962
1015
  * Binds one or more domain names to a paid Alibaba Cloud DNS instance.
963
1016
  *
@@ -2555,6 +2608,8 @@ class Client extends openapi_core_1.default {
2555
2608
  return await this.describeCloudGtmAddressReferenceWithOptions(request, runtime);
2556
2609
  }
2557
2610
  /**
2611
+ * 查询全局流量管理告警配置
2612
+ *
2558
2613
  * @param request - DescribeCloudGtmGlobalAlertRequest
2559
2614
  * @param runtime - runtime options for this request RuntimeOptions
2560
2615
  * @returns DescribeCloudGtmGlobalAlertResponse
@@ -2585,6 +2640,8 @@ class Client extends openapi_core_1.default {
2585
2640
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCloudGtmGlobalAlertResponse({}));
2586
2641
  }
2587
2642
  /**
2643
+ * 查询全局流量管理告警配置
2644
+ *
2588
2645
  * @param request - DescribeCloudGtmGlobalAlertRequest
2589
2646
  * @returns DescribeCloudGtmGlobalAlertResponse
2590
2647
  */
@@ -9813,6 +9870,8 @@ class Client extends openapi_core_1.default {
9813
9870
  return await this.updateCloudGtmAddressRemarkWithOptions(request, runtime);
9814
9871
  }
9815
9872
  /**
9873
+ * 更新全局流量管理告警设置
9874
+ *
9816
9875
  * @param tmpReq - UpdateCloudGtmGlobalAlertRequest
9817
9876
  * @param runtime - runtime options for this request RuntimeOptions
9818
9877
  * @returns UpdateCloudGtmGlobalAlertResponse
@@ -9857,6 +9916,8 @@ class Client extends openapi_core_1.default {
9857
9916
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCloudGtmGlobalAlertResponse({}));
9858
9917
  }
9859
9918
  /**
9919
+ * 更新全局流量管理告警设置
9920
+ *
9860
9921
  * @param request - UpdateCloudGtmGlobalAlertRequest
9861
9922
  * @returns UpdateCloudGtmGlobalAlertResponse
9862
9923
  */