public class HaiClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
HaiClient(Credential credential,
String region) |
HaiClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
RunInstancesResponse |
RunInstances(RunInstancesRequest req)
本接口 (RunInstances) 用于创建一个或多个指定配置的实例。
|
TerminateInstancesResponse |
TerminateInstances(TerminateInstancesRequest req)
本接口 (TerminateInstances) 用于主动退还实例。
|
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
public HaiClient(Credential credential, String region)
public HaiClient(Credential credential, String region, ClientProfile profile)
public RunInstancesResponse RunInstances(RunInstancesRequest req) throws TencentCloudSDKException
req
- RunInstancesRequestTencentCloudSDKException
public TerminateInstancesResponse TerminateInstances(TerminateInstancesRequest req) throws TencentCloudSDKException
req
- TerminateInstancesRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.