public class DemoClient extends BaseBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
DemoClient(BceClientConfiguration configuration)
Constructs a new client to invoke service methods on demo.
|
DemoClient(String ak,
String sk)
Constructs a new client to invoke service methods on demo.
|
DemoClient(String ak,
String sk,
BceRegion region)
Constructs a new client to invoke service methods on demo with region.
|
| Modifier and Type | Method and Description |
|---|---|
ListInstancesResponse |
listInstances(String marker,
Integer markerKeys,
String internalIp,
String dedicatedHostId,
String zoneName,
Boolean autoRenew)
查询所有实例的详细信息。
|
createRequestcomputeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic DemoClient(String ak, String sk, BceRegion region)
public DemoClient(String ak, String sk)
public DemoClient(BceClientConfiguration configuration)
public ListInstancesResponse listInstances(String marker, Integer markerKeys, String internalIp, String dedicatedHostId, String zoneName, Boolean autoRenew)
marker - 批量获取列表的查询的起始位置,是一个由系统生成的字符串markerKeys - 每页包含的最大数量,最大数量通常不超过1000,缺省值为1000internalIp - 内网IPdedicatedHostId - 专属服务器idzoneName - 可用区信息autoRenew - 是否自动续费Copyright © 2023. All rights reserved.