public class Client extends Object implements LogService
| 构造器和说明 |
|---|
Client(String endpoint,
Credentials credentials,
String sourceIp) |
Client(String endpoint,
String roleName) |
Client(String endpoint,
String accessId,
String accessKey)
Construct the sls client with accessId, accessKey and server address, all
other parameters will be set to default value
|
Client(String endpoint,
String accessId,
String accessKey,
com.aliyun.openservices.log.http.client.ClientConfiguration configuration) |
Client(String endpoint,
String accessId,
String accessKey,
com.aliyun.openservices.log.http.comm.ServiceClient serviceClient) |
Client(String endpoint,
String accessId,
String accessKey,
String sourceIp)
Construct the sls client with accessId, accessKey , server address and
client ip address, all other parameters will be set to default value
|
Client(String endpoint,
String accessId,
String accessKey,
String sourceIp,
com.aliyun.openservices.log.http.client.ClientConfiguration config) |
Client(String endpoint,
String accessId,
String accessKey,
String sourceIp,
int connectMaxCount,
int connectTimeout,
int sendTimeout)
已过时。
Use Client(String endpoint, String accessId, String accessKey, String sourceIp,
ClientConfiguration config) instead.
|
public Client(String endpoint, String accessId, String accessKey)
endpoint - the log service server addressaccessId - aliyun accessIdaccessKey - aliyun accessKeyNullPointerException - if the input parameter is nullIllegalArgumentException - if the input parameter is emptypublic Client(String endpoint, String accessId, String accessKey, com.aliyun.openservices.log.http.client.ClientConfiguration configuration)
public Client(String endpoint, String accessId, String accessKey, String sourceIp)
endpoint - the log service server addressaccessId - aliyun accessIdaccessKey - aliyun accessKeysourceIp - client ip addressNullPointerException - if the input parameter is nullIllegalArgumentException - if the input parameter is emptypublic Client(String endpoint, Credentials credentials, String sourceIp)
@Deprecated public Client(String endpoint, String accessId, String accessKey, String sourceIp, int connectMaxCount, int connectTimeout, int sendTimeout)
public Client(String endpoint, String accessId, String accessKey, com.aliyun.openservices.log.http.comm.ServiceClient serviceClient)
public String getUserAgent()
public void setUserAgent(String userAgent)
public String getRealIpForConsole()
public void setRealIpForConsole(String realIpForConsole)
public boolean isUseSSLForConsole()
public void setUseSSLForConsole(boolean useSSLForConsole)
public void ClearConsoleResources()
public void EnableUUIDTag()
public void DisableUUIDTag()
@Deprecated public void EnableDirectMode()
@Deprecated public void DisableDirectMode()
public void setUseDirectMode(boolean useDirectMode)
public boolean isUseDirectMode()
public String getResourceOwnerAccount()
public void setResourceOwnerAccount(String resourceOwnerAccount)
public void setEndpoint(String endpoint)
public String getAccessId()
public void setAccessId(String accessId)
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecurityToken()
public void setSecurityToken(String securityToken)
public void shutdown()
public GetLogtailProfileResponse ExtractLogtailProfile(Map<String,String> resHeaders, com.alibaba.fastjson.JSONObject object) throws LogException
LogExceptionpublic GetLogtailProfileResponse GetLogtailProfile(String project, String logstore, String source, int line, int offset) throws LogException
LogExceptionpublic GetLogtailProfileResponse GetLogtailProfile(GetLogtailProfileRequest request) throws LogException
LogExceptionpublic GetHistogramsResponse GetHistograms(String project, String logStore, int from, int to, String topic, String query) throws LogException
LogServiceGetHistograms 在接口中 LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
other wise logs contain any key in query are matched logs.LogException - if any error happen when get the data from log service serverpublic GetHistogramsResponse GetHistograms(GetHistogramsRequest request) throws LogException
LogServiceGetHistograms 在接口中 LogServicerequest - the get histogram requestLogException - if any error happen when get the data from log service serverpublic PutLogsResponse PutLogs(String project, String logStore, byte[] logGroupBytes, String compressType, String shardHash) throws LogException
LogExceptionpublic PutLogsResponse PutLogs(String project, String logStore, String topic, List<LogItem> logItems, String source, String shardHash) throws LogException
LogServicePutLogs 在接口中 LogServiceproject - the project namelogStore - the log store where the source data should be puttopic - source data topiclogItems - the log data to sendsource - the source of the data, if the source is empty, it will be
reset to the host ipshardHash - the hash key md5value (00000000000000000000000000000000 ~
ffffffffffffffffffffffffffffffff)LogException - if any error happen when send data to the serverpublic PutLogsResponse PutLogs(String project, String logStore, String topic, List<LogItem> logItems, String source) throws LogException
LogServicePutLogs 在接口中 LogServiceproject - the project namelogStore - the log store where the source data should be puttopic - source data topiclogItems - the log data to sendsource - the source of the data, if the source is empty, it will be
reset to the host ipLogException - if any error happen when send data to the serverpublic PutLogsResponse PutLogs(PutLogsRequest request) throws LogException
LogServicePutLogs 在接口中 LogServicerequest - the put log requestLogException - if any error happen when send data to the serverpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query) throws LogException
LogServiceGetLogs 在接口中 LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
other wise logs contain any key in query are matched logsLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetLogs(String project, String logStore, int from, int to, String topic, String query, int line, int offset, boolean reverse) throws LogException
LogServiceGetLogs 在接口中 LogServiceproject - the project namelogStore - the result data logstorefrom - the begin time of the result data to getto - the end time of the result data to gettopic - the result data topicquery - If the query is not empty, it will return the logs contain the
keys in query, if "all_hit" is contained in the query, only
the logs contains all the keys in query are matched logs,
other wise logs contain any key in query are matched logs.line - how many lines to get, the max lines is decided by the sls
backend serveroffset - the start log index in all the matched logs.reverse - a flag to determine the return data order, if reverse is set
to false, the return logs is ascending order by time, other
wise, it's descending orderLogException - if any error happen when get the data from log service serverpublic GetContextLogsResponse getContextLogs(String project, String logstore, String packID, String packMeta, int backLines, int forwardLines) throws LogException
packID - package ID of the start log, such as 895CEA449A52FE-1 ({hex prefix}-{hex sequence number}).packMeta - package meta of the start log, such as 0|MTU1OTI4NTExMjg3NTQ2MjQ3MQ==|2|1.backLines - the number of logs to request backward, at most 100.forwardLines - the number of logs to request forward, at most 100.LogExceptionpublic GetLogsResponse GetProjectLogs(String project, String query) throws LogException
LogServiceGetProjectLogs 在接口中 LogServiceproject - the project namequery - stardard sql query, compute from the whole projectLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetProjectLogs(GetProjectLogsRequest request) throws LogException
LogServiceGetProjectLogs 在接口中 LogServicerequest - the get project logs requestLogException - if any error happen when get the data from log service serverpublic GetLogsResponse GetLogs(GetLogsRequest request) throws LogException
LogServiceGetLogs 在接口中 LogServicerequest - the get logs requestLogException - if any error happen when get the data from log service serverpublic GetContextLogsResponse getContextLogs(GetContextLogsRequest request) throws LogException
LogExceptionpublic ListLogStoresResponse ListLogStores(String project, int offset, int size, String logstoreName) throws LogException
LogServiceListLogStores 在接口中 LogServiceproject - the project nameoffset - the begin offsetsize - the query logstore name countlogstoreName - part name of the logstore, only return the logstores which
contains the input nameLogException - if any error happen when get the data from log service serverpublic ListLogStoresResponse ListLogStores(ListLogStoresRequest request) throws LogException
LogServiceListLogStores 在接口中 LogServicerequest - the list log store requestLogException - if any error happen when get the data from log service serverpublic ListTopicsResponse ListTopics(String project, String logStore, String token, int line) throws LogException
ListTopics 在接口中 LogServiceLogExceptionpublic ListTopicsResponse ListTopics(ListTopicsRequest request) throws LogException
LogServiceListTopics 在接口中 LogServicerequest - the list topics requestLogException - if any error happen when get the data from log service serverpublic GetCursorResponse GetCursor(String project, String logStore, int shardId, long fromTime) throws LogException
LogServiceGetCursor 在接口中 LogServiceproject - the project namelogStore - the log store nameshardId - the shard where the cursor should be getfromTime - the from time of log data in unix time stamp secLogException - if any error happen when get cursor from the serverpublic GetCursorResponse GetCursor(String project, String logStore, int shardId, Date fromTime) throws LogException
LogServiceGetCursor 在接口中 LogServiceproject - the project namelogStore - the log store nameshardId - the shard where the cursor should be getfromTime - the from time of log data in java DateLogException - if any error happen when get cursor from the serverpublic GetCursorResponse GetCursor(String project, String logStream, int shardId, Consts.CursorMode mode) throws LogException
LogServiceGetCursor 在接口中 LogServiceproject - the project namelogStream - the log store nameshardId - the shard where the cursor should be getmode - the mode to get cursor, include BEGIN and ENDLogException - if any error happen when get cursor from the serverpublic GetCursorResponse GetCursor(GetCursorRequest request) throws LogException
LogServiceGetCursor 在接口中 LogServicerequest - the get cursor requestLogException - if any error happen when get cursor from the serverpublic GetCursorTimeResponse GetCursorTime(GetCursorTimeRequest request) throws LogException
LogServiceGetCursorTime 在接口中 LogServicerequest - the requestLogExceptionpublic GetCursorTimeResponse GetPrevCursorTime(String project, String logStore, int shardId, String cursor) throws LogException
LogExceptionpublic GetCursorTimeResponse GetCursorTime(String project, String logStore, int shardId, String cursor) throws LogException
LogServiceGetCursorTime 在接口中 LogServiceproject - the project namelogStore - the logstore nameshardId - shard idcursor - cursor of a shardLogException - if any error happen when get cursor from the serverpublic ListShardResponse SplitShard(String project, String logStore, int shardId, String midHash) throws LogException
LogServiceSplitShard 在接口中 LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard id to splitmidHash - the middle md5 hash string to split the shardLogException - if any error happen when get the data from log service serverpublic ListShardResponse SplitShard(SplitShardRequest request) throws LogException
LogServiceSplitShard 在接口中 LogServicerequest - split shard requestLogException - if any error happen when get the data from log service serverpublic ListShardResponse MergeShards(String project, String logStore, int shardId) throws LogException
LogServiceMergeShards 在接口中 LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard id to merge with right adjacent shardLogException - if any error happen when get the data from log service serverpublic ListShardResponse MergeShards(MergeShardsRequest request) throws LogException
LogServiceMergeShards 在接口中 LogServicerequest - the project nameLogException - if any error happen when get the data from log service serverpublic ListShardResponse ListShard(String project, String logStore) throws LogException
LogServiceListShard 在接口中 LogServiceproject - the project namelogStore - where the shard belongs toLogException - if any error happen when get the data from log service serverpublic ListShardResponse ListShard(ListShardRequest request) throws LogException
LogServiceListShard 在接口中 LogServicerequest - the get cursor requestLogException - if any error happen when get the data from log service server@Deprecated public BatchGetLogResponse BatchGetLog(String project, String logStore, int shardId, int count, String cursor) throws LogException
LogServiceBatchGetLog 在接口中 LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard to batch get logcount - the logrgroup numcursor - the cursor to batch get logLogException - if any error happen when get the data from log service server@Deprecated public BatchGetLogResponse BatchGetLog(String project, String logStore, int shardId, int count, String cursor, String end_cursor) throws LogException
LogServiceBatchGetLog 在接口中 LogServiceproject - the project namelogStore - where the shard belongs toshardId - the shard to batch get logcount - the logrgroup numcursor - the cursor to batch get logend_cursor - the end cursor to batch get logLogException - if any error happen when get the data from log service server@Deprecated public BatchGetLogResponse BatchGetLog(BatchGetLogRequest request) throws LogException
LogServiceBatchGetLog 在接口中 LogServicerequest - the batch get log requestLogException - if any error happen when get the data from log service serverpublic PullLogsResponse pullLogs(PullLogsRequest request) throws LogException
LogServicepullLogs 在接口中 LogServicerequest - The pull logs request.LogExceptionpublic CreateConfigResponse CreateConfig(String project, Config config) throws LogException
LogServiceCreateConfig 在接口中 LogServiceproject - the project nameconfig - the full config resourceLogException - if any error happen when creating logtail configpublic CreateConfigResponse CreateConfig(CreateConfigRequest request) throws LogException
LogServiceCreateConfig 在接口中 LogServicerequest - the create config requestLogException - if any error happen when creating logtail configpublic UpdateConfigResponse UpdateConfig(String project, Config config) throws LogException
LogServiceUpdateConfig 在接口中 LogServiceproject - the project nameconfig - the full config resourceLogException - if any error happen when updating logtail configpublic UpdateConfigResponse UpdateConfig(UpdateConfigRequest request) throws LogException
LogServiceUpdateConfig 在接口中 LogServicerequest - the update config requestLogException - if any error happen when updating logtail configprotected Config ExtractConfigFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetConfigResponse GetConfig(String project, String configName) throws LogException
LogServiceGetConfig 在接口中 LogServiceproject - the project nameconfigName - the config nameLogException - if any error happen when getting logtail configpublic GetConfigResponse GetConfig(GetConfigRequest request) throws LogException
LogServiceGetConfig 在接口中 LogServicerequest - the get config requestLogException - if any error happen when getting logtail configpublic DeleteConfigResponse DeleteConfig(String project, String configName) throws LogException
LogServiceDeleteConfig 在接口中 LogServiceproject - the project nameconfigName - the config nameLogException - if any error happen when deleting logtail configpublic DeleteConfigResponse DeleteConfig(DeleteConfigRequest request) throws LogException
LogServiceDeleteConfig 在接口中 LogServicerequest - the delete config requestLogException - if any error happen when deleting logtail configprotected List<String> ExtractConfigs(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListConfigResponse ListConfig(String project) throws LogException
LogServiceListConfig 在接口中 LogServiceproject - the project nameLogException - if any error happen when listing logtail configspublic ListConfigResponse ListConfig(String project, int offset, int size) throws LogException
LogServiceListConfig 在接口中 LogServiceproject - the project nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing logtail configspublic ListConfigResponse ListConfig(String project, String configName, int offset, int size) throws LogException
LogServiceListConfig 在接口中 LogServiceproject - the project nameconfigName - the config nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing logtail configspublic ListConfigResponse ListConfig(String project, String configName, String logstoreName, int offset, int size) throws LogException
LogExceptionpublic ListConfigResponse ListConfig(ListConfigRequest request) throws LogException
LogServiceListConfig 在接口中 LogServicerequest - the list configs requestLogException - if any error happen when listing logtail configspublic CreateMachineGroupResponse CreateMachineGroup(String project, MachineGroup group) throws LogException
LogServiceCreateMachineGroup 在接口中 LogServiceproject - the project namegroup - the full machine group resourceLogException - if any error happen when creating machine grouppublic CreateMachineGroupResponse CreateMachineGroup(CreateMachineGroupRequest request) throws LogException
LogServiceCreateMachineGroup 在接口中 LogServicerequest - the create machine group requestLogException - if any error happen when creating machine grouppublic UpdateMachineGroupResponse UpdateMachineGroup(String project, MachineGroup group) throws LogException
LogServiceUpdateMachineGroup 在接口中 LogServiceproject - the project namegroup - the full machine group resourceLogException - if any error happen when updating machine grouppublic UpdateMachineGroupResponse UpdateMachineGroup(UpdateMachineGroupRequest request) throws LogException
LogServiceUpdateMachineGroup 在接口中 LogServicerequest - the update machine group requestLogException - if any error happen when updating machine groupprotected MachineGroup ExtractMachineGroupFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetAppliedConfigResponse GetAppliedConfig(String project, String groupName) throws LogException
LogServiceGetAppliedConfig 在接口中 LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when get applied config configspublic GetAppliedConfigResponse GetAppliedConfig(GetAppliedConfigsRequest request) throws LogException
LogServiceGetAppliedConfig 在接口中 LogServicerequest - get applied config requestLogException - if any error happen when get applied config configspublic GetAppliedMachineGroupsResponse GetAppliedMachineGroups(String project, String configName) throws LogException
LogServiceGetAppliedMachineGroups 在接口中 LogServiceproject - the project nameconfigName - the config nameLogException - if any error happen when get applied config configspublic GetAppliedMachineGroupsResponse GetAppliedMachineGroups(GetAppliedMachineGroupRequest request) throws LogException
LogServiceGetAppliedMachineGroups 在接口中 LogServicerequest - get applied machine group requestLogException - if any error happen when get applied config configspublic GetMachineGroupResponse GetMachineGroup(String project, String groupName) throws LogException
LogServiceGetMachineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when getting machine grouppublic GetMachineGroupResponse GetMachineGroup(GetMachineGroupRequest request) throws LogException
LogServiceGetMachineGroup 在接口中 LogServicerequest - the get machine group requestLogException - if any error happen when getting machine grouppublic ListMachinesResponse ListMachines(String project, String machineGroup, int offset, int size) throws LogException
LogServiceListMachines 在接口中 LogServiceproject - the project namemachineGroup - the machine group nameoffset - the offset in the machine groupsize - the size to getLogException - if any error happen when listing machinespublic ApproveMachineGroupResponse ApproveMachineGroup(String project, String groupName) throws LogException
LogServiceApproveMachineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when deleting machine grouppublic ApproveMachineGroupResponse ApproveMachineGroup(ApproveMachineGroupRequest request) throws LogException
LogServiceApproveMachineGroup 在接口中 LogServicerequest - the approve machine group requestLogException - if any error happen when deleting machine grouppublic DeleteMachineGroupResponse DeleteMachineGroup(String project, String groupName) throws LogException
LogServiceDeleteMachineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group nameLogException - if any error happen when deleting machine grouppublic DeleteMachineGroupResponse DeleteMachineGroup(DeleteMachineGroupRequest request) throws LogException
LogServiceDeleteMachineGroup 在接口中 LogServicerequest - the delete machine group requestLogException - if any error happen when deleting machine groupprotected List<String> ExtractMachineGroups(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListMachineGroupResponse ListMachineGroup(String project) throws LogException
LogServiceListMachineGroup 在接口中 LogServiceproject - the project nameLogException - if any error happen when listing machine groupspublic ListMachineGroupResponse ListMachineGroup(String project, int offset, int size) throws LogException
LogServiceListMachineGroup 在接口中 LogServiceproject - the project nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing machine groupspublic ListMachineGroupResponse ListMachineGroup(String project, String groupName, int offset, int size) throws LogException
LogServiceListMachineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing machine groupspublic ListMachineGroupResponse ListMachineGroup(ListMachineGroupRequest request) throws LogException
LogServiceListMachineGroup 在接口中 LogServicerequest - the list machine groups requestLogException - if any error happen when listing machine grouppublic ApplyConfigToMachineGroupResponse ApplyConfigToMachineGroup(String project, String groupName, String configName) throws LogException
LogServiceApplyConfigToMachineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group nameconfigName - the logtail config nameLogException - if any error happen when applying config to machine grouppublic ApplyConfigToMachineGroupResponse ApplyConfigToMachineGroup(ApplyConfigToMachineGroupRequest request) throws LogException
LogServiceApplyConfigToMachineGroup 在接口中 LogServicerequest - apply config to machine group requestLogException - if any error happen when applying config to machine grouppublic RemoveConfigFromMachineGroupResponse RemoveConfigFromMachineGroup(String project, String groupName, String configName) throws LogException
LogServiceRemoveConfigFromMachineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group nameconfigName - the logtail config nameLogException - if any error happen when removing config from machine grouppublic RemoveConfigFromMachineGroupResponse RemoveConfigFromMachineGroup(RemoveConfigFromMachineGroupRequest request) throws LogException
LogServiceRemoveConfigFromMachineGroup 在接口中 LogServicerequest - remove config from machine group requestLogException - if any error happen when removing config from machine grouppublic UpdateACLResponse UpdateACL(String project, ACL acl) throws LogException
LogServiceUpdateACL 在接口中 LogServiceproject - the project nameacl - the full acl resource with aclIdLogException - if any error happen when updating aclpublic UpdateACLResponse UpdateACL(String project, String logStore, ACL acl) throws LogException
LogServiceUpdateACL 在接口中 LogServiceproject - project namelogStore - log store nameacl - acl configLogException - if any error happenpublic UpdateACLResponse UpdateACL(UpdateACLRequest request) throws LogException
LogServiceUpdateACL 在接口中 LogServicerequest - the update acl requestLogException - if any error happen when updating aclpublic ListACLResponse ListACL(String project) throws LogException
LogServiceListACL 在接口中 LogServiceproject - the project nameLogException - if any error happen when listing aclpublic ListACLResponse ListACL(String project, int offset, int size) throws LogException
LogServiceListACL 在接口中 LogServiceproject - the project nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing aclpublic ListACLResponse ListACL(String project, String logStore) throws LogException
LogServiceListACL 在接口中 LogServiceproject - the project namelogStore - the logstore nameLogException - if any error happen when listing aclpublic ListACLResponse ListACL(String project, String logStore, int offset, int size) throws LogException
LogServiceListACL 在接口中 LogServiceproject - the project namelogStore - the logstore nameoffset - the list offsetsize - the query sizeLogException - if any error happen when listing aclprotected ACL ExtractACLFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionprotected List<ACL> ExtractACLs(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListACLResponse ListACL(ListACLRequest request) throws LogException
LogServiceListACL 在接口中 LogServicerequest - the list acl requestLogException - if any error happen when listing aclprotected com.aliyun.openservices.log.http.comm.ResponseMessage SendData(String project, com.aliyun.openservices.log.http.client.HttpMethod method, String resourceUri, Map<String,String> parameters, Map<String,String> headers, String requestBody) throws LogException
LogExceptionprotected com.aliyun.openservices.log.http.comm.ResponseMessage SendData(String project, com.aliyun.openservices.log.http.client.HttpMethod method, String resourceUri, Map<String,String> parameters, Map<String,String> headers, byte[] body) throws LogException
LogExceptionpublic UpdateLogStoreInternalResponse UpdateLogStoreInternal(String project, InternalLogStore internalLogStore) throws LogException
LogServiceUpdateLogStoreInternal 在接口中 LogServiceproject - the project nameinternalLogStore - the logsotre configLogException - if any error happen when updating logstorepublic CreateLogStoreInternalResponse CreateLogStoreInternal(String project, InternalLogStore internalLogStore) throws LogException
LogServiceCreateLogStoreInternal 在接口中 LogServiceproject - the project nameinternalLogStore - the configLogException - if any error happen when creasting logstorepublic CreateLogStoreResponse CreateLogStore(String project, LogStore logStore) throws LogException
LogServiceCreateLogStore 在接口中 LogServiceproject - the project namelogStore - the configLogException - if any error happen when creasting logstorepublic CreateLogStoreResponse CreateLogStore(CreateLogStoreRequest request) throws LogException
LogServiceCreateLogStore 在接口中 LogServicerequest - logstore create requestLogException - if any error happen when creasting logstorepublic DeleteLogStoreResponse DeleteLogStore(String project, String logStoreName) throws LogException
LogServiceDeleteLogStore 在接口中 LogServiceproject - the project namelogStoreName - the lostore to deleteLogException - if any error happen when deleting logstorepublic DeleteLogStoreResponse DeleteLogStore(DeleteLogStoreRequest request) throws LogException
LogServiceDeleteLogStore 在接口中 LogServicerequest - delete logstore requestLogException - if any error happen when deleting logstorepublic ClearLogStoreStorageResponse ClearLogStoreStorage(String project, String logStoreName) throws LogException
LogServiceClearLogStoreStorage 在接口中 LogServiceproject - namelogStoreName - nameClearLogStoreStorageResponseLogException - if any error occurspublic ClearLogStoreStorageResponse ClearLogStoreStorage(ClearLogStoreStorageRequest request) throws LogException
LogServiceClearLogStoreStorage 在接口中 LogServicerequest - An instance of ClearLogStoreStorageRequestClearLogStoreStorageResponseLogException - if any error occurspublic UpdateLogStoreResponse UpdateLogStore(String project, LogStore logStore) throws LogException
LogServiceUpdateLogStore 在接口中 LogServiceproject - the project namelogStore - the logsotre configLogException - if any error happen when updating logstorepublic UpdateLogStoreResponse UpdateLogStore(UpdateLogStoreRequest request) throws LogException
LogServiceUpdateLogStore 在接口中 LogServicerequest - update logstore requstLogException - if any error happen when updating logstorepublic GetLogStoreResponse GetLogStore(String project, String logStoreName) throws LogException
LogServiceGetLogStore 在接口中 LogServiceproject - the project namelogStoreName - the logstore nameLogException - if any error happen when getting logstore configpublic GetLogStoreResponse GetLogStore(GetLogStoreRequest request) throws LogException
LogServiceGetLogStore 在接口中 LogServicerequest - the get logstore config requestLogException - if any error happen when getting logstore configpublic ListSubStoreResponse listSubStore(String project, String logstore) throws LogException
listSubStore 在接口中 LogServiceproject - namelogstore - nameListSubStoreResponseLogException - if any error occurspublic ListSubStoreResponse listSubStore(ListSubStoreRequest request) throws LogException
listSubStore 在接口中 LogServicerequest - An instance of ListSubStoreRequestListSubStoreResponseLogException - if any error occurspublic GetSubStoreResponse getSubStore(String project, String logstore, String subStoreName) throws LogException
getSubStore 在接口中 LogServiceproject - namelogstore - namesubStoreName - substore nameGetSubStoreResponseLogException - if any error occurspublic GetSubStoreResponse getSubStore(GetSubStoreRequest request) throws LogException
getSubStore 在接口中 LogServicerequest - An instance of GetSubStoreRequestGetSubStoreResponseLogException - if any error occurspublic CreateSubStoreResponse createSubStore(String project, String logStoreName, SubStore subStore) throws LogException
createSubStore 在接口中 LogServiceproject - namelogStoreName - namesubStore - An instance of SubStoreCreateSubStoreResponseLogException - if any error occurspublic CreateSubStoreResponse createSubStore(CreateSubStoreRequest request) throws LogException
createSubStore 在接口中 LogServicerequest - An instance of CreateSubStoreRequestCreateSubStoreResponseLogException - if any error occurspublic UpdateSubStoreResponse updateSubStore(String project, String logStoreName, SubStore subStore) throws LogException
updateSubStore 在接口中 LogServiceproject - namelogStoreName - namesubStore - An instance of SubStoreUpdateSubStoreResponseLogException - if any error occurspublic UpdateSubStoreResponse updateSubStore(UpdateSubStoreRequest request) throws LogException
updateSubStore 在接口中 LogServicerequest - An instance of UpdateSubStoreRequestUpdateSubStoreResponseLogException - if any error occurspublic DeleteSubStoreResponse deleteSubStore(String project, String logStoreName, String subStoreName) throws LogException
deleteSubStore 在接口中 LogServiceproject - namelogStoreName - namesubStoreName - subStore nameDeleteSubStoreResponseLogException - if any error occurspublic DeleteSubStoreResponse deleteSubStore(DeleteSubStoreRequest request) throws LogException
deleteSubStore 在接口中 LogServicerequest - An instance of DeleteSubStoreRequestDeleteSubStoreResponseLogException - if any error occurspublic GetSubStoreTTLResponse getSubStoreTTL(String project, String logstoreName) throws LogException
getSubStoreTTL 在接口中 LogServiceproject - namelogstoreName - nameGetSubStoreTTLResponseLogException - if any error occurspublic GetSubStoreTTLResponse getSubStoreTTL(GetSubStoreTTLResquest request) throws LogException
getSubStoreTTL 在接口中 LogServicerequest - An instance of GetSubStoreTTLResquestGetSubStoreTTLResponseLogException - if any error occurspublic UpdateSubStoreTTLResponse updateSubStoreTTL(String project, String logstore, int ttl) throws LogException
updateSubStoreTTL 在接口中 LogServiceproject - namelogstore - namettl - ttlUpdateSubStoreTTLResponseLogException - if any error occurspublic UpdateSubStoreTTLResponse updateSubStoreTTL(UpdateSubStoreTTLRequest request) throws LogException
updateSubStoreTTL 在接口中 LogServicerequest - An instance of UpdateSubStoreTTLRequestUpdateSubStoreTTLResponseLogException - if any error occurspublic ListLogStoresResponse listLogStores(String project, int offset, int size, String logstoreName, String telemetryType) throws LogException
listLogStores 在接口中 LogServiceproject - nameoffset - offsetsize - sizelogstoreName - logstore nametelemetryType - telemetry typeListLogStoresResponseLogException - if any error occurspublic CreateExternalStoreResponse createExternalStore(CreateExternalStoreRequest request) throws LogException
LogExceptionpublic DeleteExternalStoreResponse deleteExternalStore(DeleteExternalStoreRequest request) throws LogException
LogExceptionpublic UpdateExternalStoreResponse updateExternalStore(UpdateExternalStoreRequest request) throws LogException
LogExceptionpublic GetExternalStoreResponse getExternalStore(GetExternalStoreRequest request) throws LogException
LogExceptionpublic ListExternalStroesResponse listExternalStores(ListExternalStoresRequest request) throws LogException
LogExceptionpublic CreateIndexResponse CreateIndex(String project, String logStore, String indexJsonString) throws LogException
LogServiceCreateIndex 在接口中 LogServiceproject - the project namelogStore - the logstore nameindexJsonString - logstore indexJsonStringLogException - if any error happen when creating indexpublic CreateIndexResponse CreateIndex(String project, String logStore, Index index) throws LogException
LogServiceCreateIndex 在接口中 LogServiceproject - the project namelogStore - the logstore nameindex - logstore index configLogException - if any error happen when creating indexpublic CreateIndexResponse CreateIndex(CreateIndexRequest request) throws LogException
LogServiceCreateIndex 在接口中 LogServicerequest - the create logstore index requestLogException - if any error happen when creating indexpublic UpdateIndexResponse UpdateIndex(String project, String logStore, String indexJsonString) throws LogException
LogServiceUpdateIndex 在接口中 LogServiceproject - project namelogStore - logstore nameindexJsonString - logstore indexJsonStringLogException - if any error happen when updating logstore index configpublic UpdateIndexResponse UpdateIndex(String project, String logStore, Index index) throws LogException
LogServiceUpdateIndex 在接口中 LogServiceproject - project namelogStore - logstore nameindex - logstore index configLogException - if any error happen when updating logstore index configpublic UpdateIndexResponse UpdateIndex(UpdateIndexRequest request) throws LogException
LogServiceUpdateIndex 在接口中 LogServicerequest - update logstore index requestLogException - if any error happen when update logstore index configpublic DeleteIndexResponse DeleteIndex(String project, String logStore) throws LogException
LogServiceDeleteIndex 在接口中 LogServiceproject - project namelogStore - store nameLogException - if any error happen when deleting logstore index configpublic DeleteIndexResponse DeleteIndex(DeleteIndexRequest request) throws LogException
LogServiceDeleteIndex 在接口中 LogServicerequest - delete logstore index configLogException - if any error happen when deleting logstore index configpublic GetIndexResponse GetIndex(String project, String logStore) throws LogException
LogServiceGetIndex 在接口中 LogServiceproject - project namelogStore - logstore nameLogException - if any error happen when get index configpublic GetIndexStringResponse GetIndexString(String project, String logStore) throws LogException
GetIndexString 在接口中 LogServiceLogExceptionpublic GetIndexResponse GetIndex(GetIndexRequest request) throws LogException
LogServiceGetIndex 在接口中 LogServicerequest - get logstore index requestLogException - if any error happen when getting index configpublic GetIndexStringResponse GetIndexString(GetIndexRequest request) throws LogException
GetIndexString 在接口中 LogServiceLogExceptionpublic CreateShipperResponse CreateShipper(String project, String logStore, String shipperName, ShipperConfig shipConfig) throws LogException
LogServiceCreateShipper 在接口中 LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameshipConfig - the OssShipperConfigLogException - if any error happenedpublic UpdateShipperResponse UpdateShipper(String project, String logStore, String shipperName, ShipperConfig shipConfig) throws LogException
LogServiceUpdateShipper 在接口中 LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameshipConfig - the OssShipperConfig or OdpsShipperConfigLogException - if any error happenedpublic DeleteShipperResponse DeleteShipper(String project, String logStore, String shipperName) throws LogException
LogServiceDeleteShipper 在接口中 LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameLogException - if any error happenedpublic GetShipperResponse GetShipperConfig(String project, String logStore, String shipperName) throws LogException
LogServiceGetShipperConfig 在接口中 LogServiceproject - project namelogStore - logstore nameshipperName - shipper nameLogException - if any error happenedpublic ListShipperResponse ListShipper(String project, String logStore) throws LogException
LogServiceListShipper 在接口中 LogServiceproject - project namelogStore - logstore nameLogException - if any error happenedpublic GetShipperTasksResponse GetShipperTasks(String project, String logStore, String shipperName, int startTime, int endTime, String statusType, int offset, int size) throws LogException
LogServiceGetShipperTasks 在接口中 LogServiceproject - project namelogStore - logstore nameshipperName - shipper namestartTime - the start time in timestamp (from 1970.1.1)endTime - the end timestatusType - one of ['', 'success', 'running', 'fail'], if statusType is
'', return all tasksoffset - the offsetsize - the task countLogException - if any error happenedpublic RetryShipperTasksResponse RetryShipperTasks(String project, String logStore, String shipperName, List<String> taskList) throws LogException
LogServiceRetryShipperTasks 在接口中 LogServiceproject - project namelogStore - logstore nameshipperName - shipper nametaskList - failed task id listLogException - if any error happenedpublic CreateConsumerGroupResponse CreateConsumerGroup(String project, String logStore, ConsumerGroup consumerGroup) throws LogException
LogServiceCreateConsumerGroup 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - contains all of the parameters needed by consumer groupLogException - if any error happenedpublic CreateConsumerGroupResponse CreateConsumerGroup(CreateConsumerGroupRequest request) throws LogException
LogServiceCreateConsumerGroup 在接口中 LogServicerequest - contains all of the parameters neededLogException - if any error happenedprotected UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, Boolean inOrder, Integer timeoutInSec) throws LogException
LogExceptionpublic UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, boolean inOrder, int timeoutInSec) throws LogException
LogServiceUpdateConsumerGroup 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameinOrder - consume data in oder or nottimeoutInSec - if the time interval of a consumer's heartbeat exceed this
value in second, the consumer will be deleted.LogException - if any error happenedpublic UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, boolean inOrder) throws LogException
LogServiceUpdateConsumerGroup 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameinOrder - consume data in oder or notLogException - if any error happenedpublic UpdateConsumerGroupResponse UpdateConsumerGroup(String project, String logStore, String consumerGroup, int timeoutInSec) throws LogException
LogServiceUpdateConsumerGroup 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nametimeoutInSec - if the time interval of a consumer's heartbeat exceed this
value in second, the consumer will be deleted.LogException - if any error happenedpublic DeleteConsumerGroupResponse DeleteConsumerGroup(String project, String logStore, String consumerGroup) throws LogException
LogServiceDeleteConsumerGroup 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameLogException - if any error happenedpublic ListConsumerGroupResponse ListConsumerGroup(String project, String logStore) throws LogException
LogServiceListConsumerGroup 在接口中 LogServiceproject - project namelogStore - logstore nameLogException - if any error happenedpublic ConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, String consumer, int shard, String checkpoint) throws LogException
LogServiceUpdateCheckPoint 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameconsumer - consumer nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedpublic ConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, int shard, String checkpoint) throws LogException
LogServiceUpdateCheckPoint 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameshard - shard idcheckpoint - shard cursorLogException - if any error happenedprotected ConsumerGroupUpdateCheckPointResponse UpdateCheckPoint(String project, String logStore, String consumerGroup, String consumer, int shard, String checkpoint, boolean forceSuccess) throws LogException
LogExceptionpublic ConsumerGroupHeartBeatResponse HeartBeat(String project, String logStore, String consumerGroup, String consumer, List<Integer> shards) throws LogException
LogServiceHeartBeat 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameconsumer - consumer nameshards - shards hold by the consumerLogException - if any error happenedprotected void ExtractShards(com.alibaba.fastjson.JSONArray array,
String requestId,
List<Integer> shards)
throws LogException
LogExceptionpublic GetCheckPointResponse getCheckpoint(String project, String logstore, String consumerGroup, int shard) throws LogException
getCheckpoint 在接口中 LogServiceLogExceptionpublic ConsumerGroupCheckPointResponse GetCheckPoint(String project, String logStore, String consumerGroup) throws LogException
LogServiceGetCheckPoint 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameLogException - if any error happened@Deprecated public ConsumerGroupCheckPointResponse GetCheckPoint(String project, String logStore, String consumerGroup, int shard) throws LogException
LogServiceGetCheckPoint 在接口中 LogServiceproject - project namelogStore - logstore nameconsumerGroup - consumer group nameshard - shard idLogException - if any error happenedpublic CreateProjectResponse CreateProject(String project, String projectDescription) throws LogException
LogServiceCreateProject 在接口中 LogServiceproject - project nameprojectDescription - project descriptionLogException - if any error happenedpublic GetProjectResponse GetProject(String project) throws LogException
LogServiceGetProject 在接口中 LogServiceproject - project nameLogException - if any error happenedpublic DeleteProjectResponse DeleteProject(String project) throws LogException
LogServiceDeleteProject 在接口中 LogServiceproject - project nameLogException - if any error happenedpublic UpdateProjectResponse updateProject(UpdateProjectRequest request) throws LogException
LogServiceupdateProject 在接口中 LogServicerequest - The parameters used to update project.UpdateProjectResponseLogExceptionpublic UpdateMachineGroupMachineResponse AddMachineIntoMahineGroup(String project, String groupName, MachineList machineList) throws LogException
LogServiceAddMachineIntoMahineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group namemachineList - machine id listLogException - if any error happen when adding machine into machine grouppublic UpdateMachineGroupMachineResponse AddMachineIntoMachineGroup(UpdateMachineGroupMachineRequest request) throws LogException
LogServiceAddMachineIntoMachineGroup 在接口中 LogServicerequest - update machine group resourceLogException - if any error happen when adding machine into machine grouppublic UpdateMachineGroupMachineResponse DeleteMachineFromMachineGroup(String project, String groupName, MachineList machineList) throws LogException
LogServiceDeleteMachineFromMachineGroup 在接口中 LogServiceproject - the project namegroupName - the machine group namemachineList - machine id listLogException - if any error happen when adding machine into machine grouppublic UpdateMachineGroupMachineResponse DeleteMachineFromMachineGroup(UpdateMachineGroupMachineRequest request) throws LogException
LogServiceDeleteMachineFromMachineGroup 在接口中 LogServicerequest - update machine group machine resourceLogException - if any error happen when adding machine into machine groupprotected UpdateMachineGroupMachineResponse UpdateMachineGroupMachine(String project, String groupName, MachineList machineList, boolean isDelete) throws LogException
LogExceptionpublic ListProjectResponse ListProject() throws LogException
LogServiceListProject 在接口中 LogServiceLogException - if any error happenedpublic ListProjectResponse ListProject(String projectName, int offset, int size) throws LogException
LogServiceListProject 在接口中 LogServiceprojectName - project nameoffset - offsetsize - sizeLogException - if any error happenedprotected List<Project> ExtractProjects(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListProjectResponse ListProject(ListProjectRequest request) throws LogException
LogServiceListProject 在接口中 LogServicerequest - request classLogException - if any error happenedpublic CreateChartResponse createChart(CreateChartRequest request) throws LogException
createChart 在接口中 LogServiceLogExceptionpublic UpdateChartResponse updateChart(UpdateChartRequest request) throws LogException
updateChart 在接口中 LogServiceLogExceptionpublic DeleteChartResponse deleteChart(DeleteChartRequest request) throws LogException
deleteChart 在接口中 LogServiceLogExceptionprotected Chart ExtractChartFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetChartResponse getChart(GetChartRequest request) throws LogException
getChart 在接口中 LogServiceLogExceptionpublic CreateDashboardResponse createDashboard(CreateDashboardRequest request) throws LogException
createDashboard 在接口中 LogServiceLogExceptionpublic UpdateDashboardResponse updateDashboard(UpdateDashboardRequest request) throws LogException
updateDashboard 在接口中 LogServiceLogExceptionpublic DeleteDashboardResponse deleteDashboard(DeleteDashboardRequest request) throws LogException
deleteDashboard 在接口中 LogServiceLogExceptionprotected Dashboard ExtractDashboardFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetDashboardResponse getDashboard(GetDashboardRequest request) throws LogException
getDashboard 在接口中 LogServiceLogExceptionprotected List<Dashboard> ExtractDashboards(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListDashboardResponse listDashboard(ListDashboardRequest request) throws LogException
listDashboard 在接口中 LogServiceLogExceptionpublic CreateSavedSearchResponse createSavedSearch(CreateSavedSearchRequest request) throws LogException
LogServicecreateSavedSearch 在接口中 LogServicerequest - request classLogException - if any error happenedpublic UpdateSavedSearchResponse updateSavedSearch(UpdateSavedSearchRequest request) throws LogException
LogServiceupdateSavedSearch 在接口中 LogServicerequest - request classLogException - if any error happenedpublic DeleteSavedSearchResponse deleteSavedSearch(DeleteSavedSearchRequest request) throws LogException
LogServicedeleteSavedSearch 在接口中 LogServicerequest - request classLogException - if any error happenedprotected SavedSearch ExtractSavedSearchFromResponse(com.alibaba.fastjson.JSONObject dict, String requestId) throws LogException
LogExceptionpublic GetSavedSearchResponse getSavedSearch(GetSavedSearchRequest request) throws LogException
LogServicegetSavedSearch 在接口中 LogServicerequest - request classLogException - if any error happenedprotected List<SavedSearch> ExtractSavedSearches(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListSavedSearchResponse listSavedSearch(ListSavedSearchRequest request) throws LogException
LogServicelistSavedSearch 在接口中 LogServicerequest - request classLogException - if any error happenedpublic CreateDomainResponse createDomain(String project, Domain domain) throws LogException
createDomain 在接口中 LogServiceLogExceptionpublic CreateDomainResponse createDomain(CreateDomainRequest request) throws LogException
createDomain 在接口中 LogServiceLogExceptionpublic DeleteDomainResponse deleteDomain(String project, String domainName) throws LogException
deleteDomain 在接口中 LogServiceLogExceptionpublic DeleteDomainResponse deleteDomain(DeleteDomainRequest request) throws LogException
deleteDomain 在接口中 LogServiceLogExceptionpublic ListDomainsResponse listDomains(String project, String domainName, int offset, int size) throws LogException
listDomains 在接口中 LogServiceLogExceptionprotected List<Domain> ExtractDomains(com.alibaba.fastjson.JSONObject object, String requestId) throws LogException
LogExceptionpublic ListDomainsResponse listDomains(ListDomainsRequest request) throws LogException
listDomains 在接口中 LogServiceLogExceptionpublic CreateIngestionResponse createIngestion(CreateIngestionRequest request) throws LogException
createIngestion 在接口中 LogServiceLogExceptionpublic UpdateIngestionResponse updateIngestion(UpdateIngestionRequest request) throws LogException
updateIngestion 在接口中 LogServiceLogExceptionpublic DeleteIngestionResponse deleteIngestion(DeleteIngestionRequest request) throws LogException
deleteIngestion 在接口中 LogServiceLogExceptionpublic GetIngestionResponse getIngestion(GetIngestionRequest request) throws LogException
getIngestion 在接口中 LogServiceLogExceptionpublic ListIngestionResponse listIngestion(ListIngestionRequest request) throws LogException
listIngestion 在接口中 LogServiceLogExceptionpublic StopIngestionResponse stopIngestion(StopIngestionRequest request) throws LogException
stopIngestion 在接口中 LogServiceLogExceptionpublic StartIngestionResponse startIngestion(StartIngestionRequest request) throws LogException
startIngestion 在接口中 LogServiceLogExceptionpublic CreateRebuildIndexResponse createRebuildIndex(CreateRebuildIndexRequest request) throws LogException
createRebuildIndex 在接口中 LogServiceLogExceptionpublic GetRebuildIndexResponse getRebuildIndex(GetRebuildIndexRequest request) throws LogException
getRebuildIndex 在接口中 LogServiceLogExceptionpublic DeleteRebuildIndexResponse deleteRebuildIndex(DeleteRebuildIndexRequest request) throws LogException
deleteRebuildIndex 在接口中 LogServiceLogExceptionpublic ListRebuildIndexResponse listRebuildIndex(ListRebuildIndexRequest request) throws LogException
listRebuildIndex 在接口中 LogServiceLogExceptionpublic StopRebuildIndexResponse stopRebuildIndex(StopRebuildIndexRequest request) throws LogException
stopRebuildIndex 在接口中 LogServiceLogExceptionpublic CreateAuditJobResponse createAuditJob(CreateAuditJobRequest request) throws LogException
createAuditJob 在接口中 LogServiceLogExceptionpublic UpdateAuditJobResponse updateAuditJob(UpdateAuditJobRequest request) throws LogException
updateAuditJob 在接口中 LogServiceLogExceptionpublic GetAuditJobResponse getAuditJob(GetAuditJobRequest request) throws LogException
getAuditJob 在接口中 LogServiceLogExceptionpublic DeleteAuditJobResponse deleteAuditJob(DeleteAuditJobRequest request) throws LogException
deleteAuditJob 在接口中 LogServiceLogExceptionpublic ListAuditJobResponse listAuditJob(ListAuditJobRequest request) throws LogException
listAuditJob 在接口中 LogServiceLogExceptionpublic StopAuditJobResponse stopAuditJob(StopAuditJobRequest request) throws LogException
stopAuditJob 在接口中 LogServiceLogExceptionpublic StartAuditJobResponse startAuditJob(StartAuditJobRequest request) throws LogException
startAuditJob 在接口中 LogServiceLogExceptionpublic UpdateAlertResponse updateAlert(UpdateAlertRequest request) throws LogException
LogServiceupdateAlert 在接口中 LogServicerequest - request classLogException - if any error happenedpublic DeleteAlertResponse deleteAlert(DeleteAlertRequest request) throws LogException
LogServicedeleteAlert 在接口中 LogServicerequest - request classLogException - if any error happenedpublic DeleteJobScheduleResponse deleteJobSchedule(DeleteJobScheduleRequest request) throws LogException
deleteJobSchedule 在接口中 LogServiceLogExceptionpublic DeleteETLResponse deleteETL(DeleteETLRequest request) throws LogException
deleteETL 在接口中 LogServiceLogExceptionpublic GetAlertResponse getAlert(GetAlertRequest request) throws LogException
LogServicegetAlert 在接口中 LogServicerequest - request classLogException - if any error happenedpublic GetJobScheduleResponse getJobSchedule(GetJobScheduleRequest request) throws LogException
LogServicegetJobSchedule 在接口中 LogServiceLogExceptionpublic GetETLResponse getETL(GetETLRequest request) throws LogException
getETL 在接口中 LogServiceLogExceptionpublic ListAlertResponse listAlert(ListAlertRequest request) throws LogException
LogServicelistAlert 在接口中 LogServicerequest - request classLogException - if any error happenedpublic ListETLResponse listETL(ListETLRequest request) throws LogException
listETL 在接口中 LogServiceLogExceptionpublic CreateReportResponse createReport(CreateReportRequest request) throws LogException
createReport 在接口中 LogServiceLogExceptionpublic GetReportResponse getReport(GetReportRequest request) throws LogException
getReport 在接口中 LogServiceLogExceptionpublic UpdateReportResponse updateReport(UpdateReportRequest request) throws LogException
updateReport 在接口中 LogServiceLogExceptionpublic UpdateETLResponse updateETL(UpdateETLRequest request) throws LogException
updateETL 在接口中 LogServiceLogExceptionpublic DeleteReportResponse deleteReport(DeleteReportRequest request) throws LogException
deleteReport 在接口中 LogServiceLogExceptionpublic ListReportResponse listReport(ListReportRequest request) throws LogException
listReport 在接口中 LogServiceLogExceptionpublic EnableReportResponse enableReport(EnableReportRequest request) throws LogException
enableReport 在接口中 LogServiceLogExceptionpublic DisableReportResponse disableReport(DisableReportRequest request) throws LogException
disableReport 在接口中 LogServiceLogExceptionpublic CreateEtlJobResponse createEtlJob(CreateEtlJobRequest request) throws LogException
createEtlJob 在接口中 LogServicerequest - CreateEtlJobRequestLogExceptionpublic DeleteEtlJobResponse deleteEtlJob(DeleteEtlJobRequest request) throws LogException
deleteEtlJob 在接口中 LogServicerequest - DeleteEtlJobRequestLogExceptionpublic UpdateEtlJobResponse updateEtlJob(UpdateEtlJobRequest request) throws LogException
updateEtlJob 在接口中 LogServicerequest - UpdateEtlJobRequestLogExceptionpublic GetEtlJobResponse getEtlJob(GetEtlJobRequest request) throws LogException
getEtlJob 在接口中 LogServicerequest - GetEtlJobRequestLogExceptionpublic ListEtlJobResponse listEtlJob(ListEtlJobRequest request) throws LogException
listEtlJob 在接口中 LogServicerequest - ListEtlJobRequestLogExceptionpublic CreateEtlMetaResponse createEtlMeta(String project, EtlMeta etlMeta) throws LogException
createEtlMeta 在接口中 LogServiceproject - project nameetlMeta - etlMeta which contains the metaName/metaKey/metaTag/metaValueLogException - if any error happenedpublic CreateEtlMetaResponse batchCreateEtlMeta(String project, ArrayList<EtlMeta> etlMetaList) throws LogException
batchCreateEtlMeta 在接口中 LogServiceproject - project nameetlMetaList - List of etlMeta which contains the metaName/metaKey/metaTag/metaValue, List size shoud be [1, 50]LogException - if any error happenedpublic DeleteEtlMetaResponse deleteEtlMeta(String project, String etlMetaName, String etlMetaKey) throws LogException
LogServicedeleteEtlMeta 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyLogException - if any error happenedpublic DeleteEtlMetaResponse deleteEtlMeta(String project, String etlMetaName, String etlMetaKey, String etlMetaTag) throws LogException
LogServicedeleteEtlMeta 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyetlMetaTag - etl meta tagLogException - if any error happenedpublic BatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, String etlMetaTag, Consts.BatchModifyEtlMetaType type) throws LogException
LogServicebatchModifyEtlMetaStatus 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameetlMetaTag - etl meta tagtype - delete/enable/disableLogException - if any error happenedpublic BatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, ArrayList<String> etlMetaKeyList, Consts.BatchModifyEtlMetaType type) throws LogException
LogServicebatchModifyEtlMetaStatus 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKeyList - List of etl meta keytype - delete/enable/disableLogException - if any error happenedpublic BatchModifyEtlMetaStatusResponse batchModifyEtlMetaStatus(String project, String etlMetaName, ArrayList<String> etlMetaKeyList, String etlMetaTag, Consts.BatchModifyEtlMetaType type) throws LogException
LogServicebatchModifyEtlMetaStatus 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKeyList - List of etl meta keyetlMetaTag - etl meta tagtype - delete/enable/disableLogException - if any error happenedpublic UpdateEtlMetaResponse updateEtlMeta(String project, EtlMeta etlMeta) throws LogException
updateEtlMeta 在接口中 LogServiceproject - project nameetlMeta - etlMeta which contains the metaName/metaKey/metaTag/metaValueLogException - if any error happenedpublic UpdateEtlMetaResponse batchUpdateEtlMeta(String project, ArrayList<EtlMeta> etlMetaList) throws LogException
batchUpdateEtlMeta 在接口中 LogServiceproject - project nameetlMetaList - List of etlMeta which contains the metaName/metaKey/metaTag/metaValue, List size should be [1, 50]LogException - if any error happenedpublic ListEtlMetaNameResponse listEtlMetaName(String project, int offset, int size) throws LogException
listEtlMetaName 在接口中 LogServiceproject - project nameoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse listEtlMeta(String project, String etlMetaName, int offset, int size) throws LogException
listEtlMeta 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse listEtlMeta(String project, String etlMetaName, String etlMetaTag, int offset, int size) throws LogException
listEtlMeta 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameetlMetaTag - etl meta tag, useful to filter lots of meta keysoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse listEtlMeta(String project, String etlMetaName, String dispatchProject, String dispatchLogstore, int offset, int size) throws LogException
listEtlMeta 在接口中 LogServiceproject - project nameetlMetaName - etl meta namedispatchProject - project name in meta value, only used by sls.console.aliyun.comdispatchLogstore - logstore name in meta value, only used by sls.console.aliyun.comoffset - should greater than 0size - [1, 200]LogException - if any error happenedpublic ListEtlMetaResponse getEtlMeta(String project, String etlMetaName, String etlMetaKey) throws LogException
getEtlMeta 在接口中 LogServiceproject - project nameetlMetaName - etl meta nameetlMetaKey - etl meta keyLogException - if any error happenedpublic CreateLoggingResponse createLogging(CreateLoggingRequest request) throws LogException
LogServicecreateLogging 在接口中 LogServicerequest - An instance of CreateLoggingRequestCreateLoggingResponseLogException - if any error occurspublic UpdateLoggingResponse updateLogging(UpdateLoggingRequest request) throws LogException
LogServiceupdateLogging 在接口中 LogServicerequest - An instance of UpdateLoggingRequestUpdateLoggingResponseLogException - if any error occurspublic GetLoggingResponse getLogging(GetLoggingRequest request) throws LogException
LogServicegetLogging 在接口中 LogServicerequest - An instance of GetLoggingRequestGetLoggingResponseLogException - if any error occurspublic DeleteLoggingResponse deleteLogging(DeleteLoggingRequest request) throws LogException
LogServicedeleteLogging 在接口中 LogServicerequest - An instance of DeleteLoggingRequestDeleteLoggingResponseLogException - if any error occurspublic CreateJobResponse createJob(CreateJobRequest request) throws LogException
LogServicecreateJob 在接口中 LogServicerequest - An instance of CreateJobRequestCreateJobResponse if successLogException - if any error occurspublic CreateAlertResponse createAlert(CreateAlertRequest request) throws LogException
LogServicecreateAlert 在接口中 LogServicerequest - An instance of CreateAlertRequestLogExceptionpublic CreateETLResponse createETL(CreateETLRequest request) throws LogException
createETL 在接口中 LogServiceLogExceptionpublic CreateJobScheduleResponse createJobSchedule(CreateJobScheduleRequest request) throws LogException
createJobSchedule 在接口中 LogServiceLogExceptionpublic UpdateJobScheduleResponse updateJobSchedule(UpdateJobScheduleRequest request) throws LogException
updateJobSchedule 在接口中 LogServiceLogExceptionpublic StartJobScheduleResponse startJobSchedule(StartJobScheduleRequest request) throws LogException
startJobSchedule 在接口中 LogServiceLogExceptionpublic StopJobScheduleResponse stopJobSchedule(StopJobScheduleRequest request) throws LogException
stopJobSchedule 在接口中 LogServiceLogExceptionpublic GetJobResponse getJob(GetJobRequest request) throws LogException
LogServicegetJob 在接口中 LogServicerequest - An instance of GetJobRequestGetJobResponseLogException - if any error occurspublic UpdateJobResponse updateJob(UpdateJobRequest request) throws LogException
LogServiceupdateJob 在接口中 LogServicerequest - An instance of UpdateJobRequestUpdateJobResponseLogException - if any error occurspublic DeleteJobResponse deleteJob(DeleteJobRequest request) throws LogException
LogServicedeleteJob 在接口中 LogServicerequest - An instance of DeleteJobRequestDeleteJobResponseLogException - if any error occurspublic EnableJobResponse enableJob(EnableJobRequest request) throws LogException
LogServiceenableJob 在接口中 LogServicerequest - An instance of EnableJobRequestEnableJobResponseLogException - if any error occurspublic EnableAlertResponse enableAlert(EnableAlertRequest request) throws LogException
LogServiceenableAlert 在接口中 LogServiceLogExceptionpublic DisableJobResponse disableJob(DisableJobRequest request) throws LogException
LogServicedisableJob 在接口中 LogServicerequest - An instance of DisableJobRequestDisableJobResponseLogException - if any error occurspublic DisableAlertResponse disableAlert(DisableAlertRequest request) throws LogException
disableAlert 在接口中 LogServiceLogExceptionpublic ListJobsResponse listJobs(ListJobsRequest request) throws LogException
LogServicelistJobs 在接口中 LogServicerequest - An instance of ListJobsRequestListJobsResponseLogException - if any error occurspublic ListJobSchedulesResponse listJobSchedules(ListJobSchedulesRequest request) throws LogException
LogServicelistJobSchedules 在接口中 LogServiceJobSchedule objects.LogExceptionpublic CreateExportResponse createExport(CreateExportRequest request) throws LogException
createExport 在接口中 LogServiceLogExceptionpublic UpdateExportResponse updateExport(UpdateExportRequest request) throws LogException
updateExport 在接口中 LogServiceLogExceptionpublic DeleteExportResponse deleteExport(DeleteExportRequest request) throws LogException
deleteExport 在接口中 LogServiceLogExceptionpublic GetExportResponse getExport(GetExportRequest request) throws LogException
getExport 在接口中 LogServiceLogExceptionpublic ListExportResponse listExport(ListExportRequest request) throws LogException
listExport 在接口中 LogServiceLogExceptionpublic StopExportResponse stopExport(StopExportRequest request) throws LogException
stopExport 在接口中 LogServiceLogExceptionpublic StartExportResponse startExport(StartExportRequest request) throws LogException
startExport 在接口中 LogServiceLogExceptionpublic String getRealServerIP()
public void setRealServerIP(String realServerIP)
Copyright © 2020. All Rights Reserved.