@alicloud/alidns20150109 4.1.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/client.d.ts +23 -0
  2. package/dist/client.js +56 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeCloudGtmGlobalAlertResponseBody.d.ts +5 -0
  5. package/dist/models/DescribeCloudGtmGlobalAlertResponseBody.js +2 -0
  6. package/dist/models/DescribeCloudGtmGlobalAlertResponseBody.js.map +1 -1
  7. package/dist/models/DescribeInternetDnsLogsResponseBody.d.ts +3 -0
  8. package/dist/models/DescribeInternetDnsLogsResponseBody.js +6 -0
  9. package/dist/models/DescribeInternetDnsLogsResponseBody.js.map +1 -1
  10. package/dist/models/ListCloudGtmInstanceConfigsResponseBody.d.ts +5 -0
  11. package/dist/models/ListCloudGtmInstanceConfigsResponseBody.js +2 -0
  12. package/dist/models/ListCloudGtmInstanceConfigsResponseBody.js.map +1 -1
  13. package/dist/models/SearchCloudGtmInstanceConfigsResponseBody.d.ts +5 -0
  14. package/dist/models/SearchCloudGtmInstanceConfigsResponseBody.js +2 -0
  15. package/dist/models/SearchCloudGtmInstanceConfigsResponseBody.js.map +1 -1
  16. package/dist/models/SetCloudGtmInstanceConfigLogSwitchRequest.d.ts +40 -0
  17. package/dist/models/SetCloudGtmInstanceConfigLogSwitchRequest.js +64 -0
  18. package/dist/models/SetCloudGtmInstanceConfigLogSwitchRequest.js.map +1 -0
  19. package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponse.d.ts +19 -0
  20. package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponse.js +69 -0
  21. package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponse.js.map +1 -0
  22. package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.d.ts +23 -0
  23. package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.js +60 -0
  24. package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.js.map +1 -0
  25. package/dist/models/UpdateCloudGtmGlobalAlertRequest.d.ts +5 -0
  26. package/dist/models/UpdateCloudGtmGlobalAlertRequest.js +2 -0
  27. package/dist/models/UpdateCloudGtmGlobalAlertRequest.js.map +1 -1
  28. package/dist/models/model.d.ts +3 -0
  29. package/dist/models/model.js +11 -5
  30. package/dist/models/model.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/client.ts +62 -0
  33. package/src/models/DescribeCloudGtmGlobalAlertResponseBody.ts +7 -0
  34. package/src/models/DescribeInternetDnsLogsResponseBody.ts +9 -0
  35. package/src/models/ListCloudGtmInstanceConfigsResponseBody.ts +7 -0
  36. package/src/models/SearchCloudGtmInstanceConfigsResponseBody.ts +7 -0
  37. package/src/models/SetCloudGtmInstanceConfigLogSwitchRequest.ts +59 -0
  38. package/src/models/SetCloudGtmInstanceConfigLogSwitchResponse.ts +40 -0
  39. package/src/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.ts +38 -0
  40. package/src/models/UpdateCloudGtmGlobalAlertRequest.ts +7 -0
  41. package/src/models/model.ts +3 -0
package/dist/client.d.ts CHANGED
@@ -790,12 +790,16 @@ export default class Client extends OpenApi {
790
790
  */
791
791
  describeCloudGtmAddressReference(request: $_model.DescribeCloudGtmAddressReferenceRequest): Promise<$_model.DescribeCloudGtmAddressReferenceResponse>;
792
792
  /**
793
+ * 查询全局流量管理告警配置
794
+ *
793
795
  * @param request - DescribeCloudGtmGlobalAlertRequest
794
796
  * @param runtime - runtime options for this request RuntimeOptions
795
797
  * @returns DescribeCloudGtmGlobalAlertResponse
796
798
  */
797
799
  describeCloudGtmGlobalAlertWithOptions(request: $_model.DescribeCloudGtmGlobalAlertRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCloudGtmGlobalAlertResponse>;
798
800
  /**
801
+ * 查询全局流量管理告警配置
802
+ *
799
803
  * @param request - DescribeCloudGtmGlobalAlertRequest
800
804
  * @returns DescribeCloudGtmGlobalAlertResponse
801
805
  */
@@ -2680,6 +2684,21 @@ export default class Client extends OpenApi {
2680
2684
  * @returns SearchRecursionZonesResponse
2681
2685
  */
2682
2686
  searchRecursionZones(request: $_model.SearchRecursionZonesRequest): Promise<$_model.SearchRecursionZonesResponse>;
2687
+ /**
2688
+ * 设置全局流量管理实例配置日志开关
2689
+ *
2690
+ * @param request - SetCloudGtmInstanceConfigLogSwitchRequest
2691
+ * @param runtime - runtime options for this request RuntimeOptions
2692
+ * @returns SetCloudGtmInstanceConfigLogSwitchResponse
2693
+ */
2694
+ setCloudGtmInstanceConfigLogSwitchWithOptions(request: $_model.SetCloudGtmInstanceConfigLogSwitchRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetCloudGtmInstanceConfigLogSwitchResponse>;
2695
+ /**
2696
+ * 设置全局流量管理实例配置日志开关
2697
+ *
2698
+ * @param request - SetCloudGtmInstanceConfigLogSwitchRequest
2699
+ * @returns SetCloudGtmInstanceConfigLogSwitchResponse
2700
+ */
2701
+ setCloudGtmInstanceConfigLogSwitch(request: $_model.SetCloudGtmInstanceConfigLogSwitchRequest): Promise<$_model.SetCloudGtmInstanceConfigLogSwitchResponse>;
2683
2702
  /**
2684
2703
  * Enables or disables weighted round-robin based on the specified parameters.
2685
2704
  *
@@ -3037,12 +3056,16 @@ export default class Client extends OpenApi {
3037
3056
  */
3038
3057
  updateCloudGtmAddressRemark(request: $_model.UpdateCloudGtmAddressRemarkRequest): Promise<$_model.UpdateCloudGtmAddressRemarkResponse>;
3039
3058
  /**
3059
+ * 更新全局流量管理告警设置
3060
+ *
3040
3061
  * @param tmpReq - UpdateCloudGtmGlobalAlertRequest
3041
3062
  * @param runtime - runtime options for this request RuntimeOptions
3042
3063
  * @returns UpdateCloudGtmGlobalAlertResponse
3043
3064
  */
3044
3065
  updateCloudGtmGlobalAlertWithOptions(tmpReq: $_model.UpdateCloudGtmGlobalAlertRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCloudGtmGlobalAlertResponse>;
3045
3066
  /**
3067
+ * 更新全局流量管理告警设置
3068
+ *
3046
3069
  * @param request - UpdateCloudGtmGlobalAlertRequest
3047
3070
  * @returns UpdateCloudGtmGlobalAlertResponse
3048
3071
  */
package/dist/client.js CHANGED
@@ -2608,6 +2608,8 @@ class Client extends openapi_core_1.default {
2608
2608
  return await this.describeCloudGtmAddressReferenceWithOptions(request, runtime);
2609
2609
  }
2610
2610
  /**
2611
+ * 查询全局流量管理告警配置
2612
+ *
2611
2613
  * @param request - DescribeCloudGtmGlobalAlertRequest
2612
2614
  * @param runtime - runtime options for this request RuntimeOptions
2613
2615
  * @returns DescribeCloudGtmGlobalAlertResponse
@@ -2638,6 +2640,8 @@ class Client extends openapi_core_1.default {
2638
2640
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCloudGtmGlobalAlertResponse({}));
2639
2641
  }
2640
2642
  /**
2643
+ * 查询全局流量管理告警配置
2644
+ *
2641
2645
  * @param request - DescribeCloudGtmGlobalAlertRequest
2642
2646
  * @returns DescribeCloudGtmGlobalAlertResponse
2643
2647
  */
@@ -8769,6 +8773,54 @@ class Client extends openapi_core_1.default {
8769
8773
  let runtime = new $dara.RuntimeOptions({});
8770
8774
  return await this.searchRecursionZonesWithOptions(request, runtime);
8771
8775
  }
8776
+ /**
8777
+ * 设置全局流量管理实例配置日志开关
8778
+ *
8779
+ * @param request - SetCloudGtmInstanceConfigLogSwitchRequest
8780
+ * @param runtime - runtime options for this request RuntimeOptions
8781
+ * @returns SetCloudGtmInstanceConfigLogSwitchResponse
8782
+ */
8783
+ async setCloudGtmInstanceConfigLogSwitchWithOptions(request, runtime) {
8784
+ request.validate();
8785
+ let query = {};
8786
+ if (!$dara.isNull(request.clientToken)) {
8787
+ query["ClientToken"] = request.clientToken;
8788
+ }
8789
+ if (!$dara.isNull(request.configId)) {
8790
+ query["ConfigId"] = request.configId;
8791
+ }
8792
+ if (!$dara.isNull(request.instanceId)) {
8793
+ query["InstanceId"] = request.instanceId;
8794
+ }
8795
+ if (!$dara.isNull(request.status)) {
8796
+ query["Status"] = request.status;
8797
+ }
8798
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8799
+ query: openapi_core_2.OpenApiUtil.query(query),
8800
+ });
8801
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8802
+ action: "SetCloudGtmInstanceConfigLogSwitch",
8803
+ version: "2015-01-09",
8804
+ protocol: "HTTPS",
8805
+ pathname: "/",
8806
+ method: "POST",
8807
+ authType: "AK",
8808
+ style: "RPC",
8809
+ reqBodyType: "formData",
8810
+ bodyType: "json",
8811
+ });
8812
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SetCloudGtmInstanceConfigLogSwitchResponse({}));
8813
+ }
8814
+ /**
8815
+ * 设置全局流量管理实例配置日志开关
8816
+ *
8817
+ * @param request - SetCloudGtmInstanceConfigLogSwitchRequest
8818
+ * @returns SetCloudGtmInstanceConfigLogSwitchResponse
8819
+ */
8820
+ async setCloudGtmInstanceConfigLogSwitch(request) {
8821
+ let runtime = new $dara.RuntimeOptions({});
8822
+ return await this.setCloudGtmInstanceConfigLogSwitchWithOptions(request, runtime);
8823
+ }
8772
8824
  /**
8773
8825
  * Enables or disables weighted round-robin based on the specified parameters.
8774
8826
  *
@@ -9866,6 +9918,8 @@ class Client extends openapi_core_1.default {
9866
9918
  return await this.updateCloudGtmAddressRemarkWithOptions(request, runtime);
9867
9919
  }
9868
9920
  /**
9921
+ * 更新全局流量管理告警设置
9922
+ *
9869
9923
  * @param tmpReq - UpdateCloudGtmGlobalAlertRequest
9870
9924
  * @param runtime - runtime options for this request RuntimeOptions
9871
9925
  * @returns UpdateCloudGtmGlobalAlertResponse
@@ -9910,6 +9964,8 @@ class Client extends openapi_core_1.default {
9910
9964
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCloudGtmGlobalAlertResponse({}));
9911
9965
  }
9912
9966
  /**
9967
+ * 更新全局流量管理告警设置
9968
+ *
9913
9969
  * @param request - UpdateCloudGtmGlobalAlertRequest
9914
9970
  * @returns UpdateCloudGtmGlobalAlertResponse
9915
9971
  */