Ejemplo n.º 1
0
 public async Task <DetachDiskResponse> DetachDiskWithOptionsAsync(DetachDiskRequest 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 <DetachDiskResponse>(await DoRPCRequestAsync("DetachDisk", "2020-09-23", "HTTPS", "POST", "AK", "json", req, runtime)));
 }
Ejemplo n.º 2
0
 public async Task <DetachDiskResponse> DetachDiskAsync(DetachDiskRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(await DetachDiskWithOptionsAsync(request, runtime));
 }
Ejemplo n.º 3
0
 public DetachDiskResponse DetachDisk(DetachDiskRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(DetachDiskWithOptions(request, runtime));
 }