@alicloud/alidns20150109 4.1.1 → 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.
- package/dist/client.d.ts +15 -0
- package/dist/client.js +48 -0
- package/dist/client.js.map +1 -1
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchRequest.d.ts +40 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchRequest.js +64 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchRequest.js.map +1 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponse.d.ts +19 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponse.js +69 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponse.js.map +1 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.d.ts +23 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.js +60 -0
- package/dist/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +11 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -0
- package/src/models/SetCloudGtmInstanceConfigLogSwitchRequest.ts +59 -0
- package/src/models/SetCloudGtmInstanceConfigLogSwitchResponse.ts +40 -0
- package/src/models/SetCloudGtmInstanceConfigLogSwitchResponseBody.ts +38 -0
- package/src/models/model.ts +3 -0
package/dist/client.d.ts
CHANGED
|
@@ -2684,6 +2684,21 @@ export default class Client extends OpenApi {
|
|
|
2684
2684
|
* @returns SearchRecursionZonesResponse
|
|
2685
2685
|
*/
|
|
2686
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>;
|
|
2687
2702
|
/**
|
|
2688
2703
|
* Enables or disables weighted round-robin based on the specified parameters.
|
|
2689
2704
|
*
|
package/dist/client.js
CHANGED
|
@@ -8773,6 +8773,54 @@ class Client extends openapi_core_1.default {
|
|
|
8773
8773
|
let runtime = new $dara.RuntimeOptions({});
|
|
8774
8774
|
return await this.searchRecursionZonesWithOptions(request, runtime);
|
|
8775
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
|
+
}
|
|
8776
8824
|
/**
|
|
8777
8825
|
* Enables or disables weighted round-robin based on the specified parameters.
|
|
8778
8826
|
*
|