Ejemplo n.º 1
0
 public CreateVmInstancesResponse CreateVmInstancesWithOptions(CreateVmInstancesRequest 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 <CreateVmInstancesResponse>(DoRPCRequest("CreateVmInstances", "2020-09-23", "HTTPS", "POST", "AK", "json", req, runtime)));
 }
Ejemplo n.º 2
0
 public async Task <CreateVmInstancesResponse> CreateVmInstancesAsync(CreateVmInstancesRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(await CreateVmInstancesWithOptionsAsync(request, runtime));
 }
Ejemplo n.º 3
0
 public CreateVmInstancesResponse CreateVmInstances(CreateVmInstancesRequest request)
 {
     AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
     return(CreateVmInstancesWithOptions(request, runtime));
 }