Aliyun_Log_Models_GetCursorRequest

Extends \Aliyun_Log_Models_Request

The request used to get cursor by fromTime or begin/end mode

author

log service dev

package

LOG_PHP_SDK

Methods

Aliyun_Log_Models_Request constructor

__construct(string $project) 
inherited

Arguments

$project

string

project name

Get from time

getFromTime() : \integer(unix_timestamp)

Response

\integer(unix_timestamp)

from time

Get logstore name

getLogstore() : string

Response

string

logstore name

Get mode

getMode() : string

Response

string

mode

Get project name

getProject() : string
inherited

Response

string

project name

Get shard id

getShardId() : string

Response

string

shard id

Set from time

setFromTime(integer $fromTime) 

Arguments

$fromTime

integer

from time (unix_timestamp)

Set logstore name

setLogstore(string $logstore) 

Arguments

$logstore

string

logstore name

Set mode

setMode(string $mode) 

Arguments

$mode

string

value must be 'begin' or 'end'

Set project name

setProject(string $project) 
inherited

Arguments

$project

string

project name

Set shard id

setShardId(string $shardId) 

Arguments

$shardId

string

shard id

Properties

logstore name

logstore : string
var

logstore name

Type(s)

string

shard id

shardId : string
var

shard id

Type(s)

string

value should be 'begin' or 'end' begin:return cursor point to first loggroup end:return cursor point to position after last loggroup if $mode is set to not null,$fromTime must be set null

mode : string
var

value should be 'begin' or 'end' begin:return cursor point to first loggroup end:return cursor point to position after last loggroup if $mode is set to not null,$fromTime must be set null

Type(s)

string

unix_timestamp return cursor point to first loggroup whose time after $fromTime

fromTime : integer
var

unix_timestamp return cursor point to first loggroup whose time after $fromTime

Type(s)

integer

project name

project : string
inherited
var

project name

Type(s)

string