LOGSDK Description of IRequestSigner. Signs a request. The request to sign. The credentials used to sign. Represents the credentials used to access Aliyun Open Services. Gets the access ID. Gets the access key. Initialize an new instance of . The access ID. The access key. Description of ExecutionContext. The default encoding (charset name). Gets or sets the charset. Gets or sets the request signer. Gets or sets the credentials. Gets the list of . Constructor. Represents a HTTP method. Represents HTTP GET. Default value. Represents HTTP DELETE. Represents HTTP HEAD. Represents HTTP POST. Represents HTTP PUT. Represents HTTP OPTIONS. Represent the channel that communicates with an Aliyun Open Service. Sends a request to the service. The request data. The execution context. The response data. The default implementation of . An default implementation that communicates with Aliyun Services over the HTTP protocol. Represents the async operation of requests in . Represents the response data of requests. Description of ServiceMessage. Gets the dictionary of HTTP headers. Gets or sets the content stream. Constructor. Represents the information for sending requests. Gets or sets the endpoint. Gets or sets the resource path of the request URI. Gets or sets the HTTP method. Gets the dictionary of the request parameters. Gets whether the request can be repeated. Constuctor. Build the request URI from the request message. Represents the data of the responses of requests. Throws the exception from communication if the status code is not 2xx. Constructor. Handles the response message from the services. Description of ResponseHandler. The implementation of that represents the status of an async operation. Gets a user-defined object that qualifies or contains information about an asynchronous operation. Gets a that is used to wait for an asynchronous operation to complete. Gets a value that indicates whether the asynchronous operation completed synchronously. Gets a value that indicates whether the asynchronous operation has completed. Initializes an instance of . The callback method when the async operation completes. A user-defined object that qualifies or contains information about an asynchronous operation. Completes the async operation with an exception. Exception from the async operation. When called in the dervied classes, wait for completion. It throws exception if the async operation ends with an exception. When called in the derived classes, notify operation completion by setting and calling the user callback. Disposes the object and release resource. When overrided in the derived classes, release resources. Whether the method is called Represents the status of an async operation. It also holds the result of the operation. Type of the operation result. The result of the async operation. Initializes an instance of . The callback method when the async operation completes. A user-defined object that qualifies or contains information about an asynchronous operation. Gets result and release resources. The instance of result. Sets result and notify completion. The instance of result. Description of DateUtils. Formats an instance of to a GMT string. The date time to format. Formats a GMT date string to an object of . Formats a date to a string in the format of ISO 8601 spec. convert time stamp to DateTime. seconds Description of EnumUtils. Description of HttpHeaders. Description of HttpUtils. Builds the URI parameter string from the request parameters. Encodes the URL. Description of IOUtils. Write a stream to another The stream you want to write from The stream written to The max length of the stream to write The actual length written to destStream The Attribute to mark a field that corresponds a string. The log status(histogram info) The begin timestamp of time range The end timestamp of time range The log count detect whether histogram is complete or not. true if return histogram is complete. otherwise return false default constructor This class presents one log content in logItem default constructor constructure with specified parameters log content's key log content's value the logcontent's key the logcontent's value QuriedLog used to present a log in query result. It contains log time, log source(ip/hostname,e.g), and multiple of key/value pairs to present the log content The log timestamp The log source List of key/value pair to present the log content default constructor This class presents one log event item that will put into SLS the log's timestamp logcontents in logs default constructor method to append log content by key/value pair user define field to name the value the value of field key method to append log content by key/value pair log content A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to 以前使用 asyncResult调用过此方法。. Looks up a localized string similar to 参数为空引用或值为长度是零的字符串。. Looks up a localized string similar to 返回结果无法解析。. Looks up a localized string similar to 服务器返回未知错误。. The Request used to get histograms of a query from sls server default constructor. please set required fileds(project, logstore, from, to) initialized by this default constructor before using it to send request. Otherwise, request will be failed with exception. constructor with all required fileds project name logstore name begin timestamp of time range to query end timestamp of time range to query constructor with all possible fileds project name logstore name begin timestamp of time range to query end timestamp of time range to query log topic to query query string to run The logstore name The log topic to query The begin timestamp of time range to query The end timestamp of time range to query The query string to run The Request used to get data of a query from sls server default constructor. please set required fileds(project, logstore, from, to) initialized by this default constructor before using it to send request. Otherwise, request will be failed with exception. constructor with all required fileds project name logstore name begin timestamp of time range to query end timestamp of time range to query constructor with all possible fileds project name logstore name begin timestamp of time range to query end timestamp of time range to query log topic to query query string to run count of logs to request offset of logs to request flag indicates whether logs in response are in reversed order The logstore name The log topic to query The begin timestamp of time range to query The end timestamp of time range to query The query string to run The count of logs to request The offset of logs to request flag of logs' order int response. If reverse is true, the query will return the latest logs. The request used to list log store from sls server default constructor constructor with project name project name The request used to list topic from sls server default constructor. please set required fileds(project, logstore) initialized by this default constructor before using it to send request. Otherwise, request will be failed with exception. constructor with all required fileds project name logstore name constructor with all possible fileds project name logstore name token to list more topics count of topics to request The logstore name The token to list more topics The count of topics to request The logstore name The request used to send data to sls server Note: if source is not set explicitly, machine's local private ip is used default constructor. please set required fileds(project, logstore) initialized by this default constructor before using it to send request. Otherwise, request will be failed with exception. constructor with all required fileds project name logstore name constructor with all possilbe fileds project name logstore name log topic log source log data The logstore name The log topic The log source List of logs Super class of all request default constructor of SLS Request. LogRequest constructor with project name. project name to do SLS Request project name of the request The response of the GetHistogram API from sls server constructor with http header and body from response http header from respsone http body (in json) from response detect whether response are complete or not. true if response is complete. otherwise return false The count of histograms All of histograms The response of the GetLog API from sls server constructor with http header and body from response http header from response http body (in json) from response The count of logs detect whether response are complete or not. true if response is complete. otherwise return false List of logs The response of the ListLogStore API from sls server constructor with http header and body from response http header from respsone http body (in json) from response Count of the logstores All of the logstores The response of the ListTopic API from sls server constructor with http header and body from response http header from respsone http body (in json) from response The count of log topics in the response The next token property in the response. It is used to list more topics in next ListTopics request. If there is no more topics to list, it will return an empty string. All log topics in the response The response of the PutLogs API from sls server default constructor for PutLogsResponse header information in http response Super class of SLS response LogResponse constructor with HTTP response headers HTTP response header from SLS server Get the value from the head of response using key Value of specified http header Get request Id for current response generated on server-side. it is useful to track any potential issues for this request. request Id generated on server-side Get all the http response headers Key-pair map for http headers 表示访问阿里云服务的配置信息。 获取设置访问请求的User-Agent。 获取或设置代理服务器的地址。 获取或设置代理服务器的端口。 获取或设置用户名。 获取或设置密码。 获取或设置代理服务器授权用户所在的域。 获取或设置连接的超时时间,单位为毫秒。 获取或设置请求发生错误时最大的重试次数。 初始化新的的实例。 获取该实例的拷贝。 该实例的拷贝。 This is the main class in the sdk. It can be used to communicate with sls server to put/get/query data. readonly property, AccessKeyId of LogClient readonly property, AccessKey of LogClient readonly property, Endpoint of LogClient Read/Write Timeouf for underlying HTTPWebRequest.ReadWriteTimeout Connection Timeout for underlying HttpWebRequest.Timeout Construct the sls client with accessId, accessKey and server address, all other parameters will be set to default value the sls server address(e.g.,http://cn-hangzhou.sls.aliyuncs.com) aliyun accessId aliyun accessKey Construct the sls client with accessId, accessKey and server address, all other parameters will be set to default value the sls server address(e.g.,http://cn-hangzhou.sls.aliyuncs.com) aliyun accessId aliyun accessKey List all of the logstores under specified project The request to list logstores LogException The response of list log logstores put logs into sls server The request to put logs LogException The response to put logs Get the topics in the logtstore The list topics request LogException The List topics response Get The sub set of logs data from sls server which match input parameters. The get logs request LogException The get Logs response Get The log status(histogram info) from sls server which match input parameters. All the logs with logstore and topic in [from, to) which contain the keys in query are the matched data. The get histograms request LogException The get histograms response The Exception of the sls request and response. Get Sls sever requestid. Get LogException error code. LogException constructor error code error message request identifier LogException constructor error code error message the inner exception wrapped by LogException get string presentation of LogException object in string