/** * Description: Demo接口,返回当前服务器当前状态 * Summary: 检查服务状态 */ public async Task <StatusGatewayCheckResponse> StatusGatewayCheckAsync(StatusGatewayCheckRequest request) { AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); Dictionary <string, string> headers = new Dictionary <string, string>() { }; return(await StatusGatewayCheckExAsync(request, headers, runtime)); }
/** * Description: Demo接口,返回当前服务器当前状态 * Summary: 检查服务状态 */ public StatusGatewayCheckResponse StatusGatewayCheck(StatusGatewayCheckRequest request) { AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); Dictionary <string, string> headers = new Dictionary <string, string>() { }; return(StatusGatewayCheckEx(request, headers, runtime)); }
/** * Description: Demo接口,返回当前服务器当前状态 * Summary: 检查服务状态 */ public async Task <StatusGatewayCheckResponse> StatusGatewayCheckExAsync(StatusGatewayCheckRequest request, Dictionary <string, string> headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) { AlibabaCloud.TeaUtil.Common.ValidateModel(request); return(TeaModel.ToObject <StatusGatewayCheckResponse>(await DoRequestAsync("1.0", "demo.gateway.check.status", "HTTPS", "POST", "/gateway.do", request.ToMap(), headers, runtime))); }