Exemplo n.º 1
0
 public async Task <UpdateRulePassResponse> UpdateRulePassWithOptionsAsync(UpdateRulePassRequest request, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime)
 {
     AlibabaCloud.TeaUtil.Common.ValidateModel(request);
     AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest
     {
         Body = AlibabaCloud.TeaUtil.Common.ToMap(request),
     };
     return(TeaModel.ToObject <UpdateRulePassResponse>(await DoRPCRequestAsync("UpdateRulePass", "2020-09-23", "HTTPS", "POST", "AK", "json", req, runtime)));
 }
Exemplo n.º 2
0
 public async Task <UpdateRulePassResponse> UpdateRulePassAsync(UpdateRulePassRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(await UpdateRulePassWithOptionsAsync(request, runtime));
 }
Exemplo n.º 3
0
 public UpdateRulePassResponse UpdateRulePass(UpdateRulePassRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(UpdateRulePassWithOptions(request, runtime));
 }