/**
  * Aliyun_Log_Models_UpdateLogstoreRequest constructor
  * 
  * @param string $project project name
  */
 public function __construct($project = null, $logstore = null, $ttl = null, $shardCount = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->ttl = $ttl;
     $this->shardCount = $shardCount;
 }
Exemple #2
0
 /**
  * Aliyun_Log_Models_ListTopicsRequest constructor
  * 
  * @param string $project project name
  * @param string $logstore logstore name
  * @param string $token the start token to list topics
  * @param integer $line max topic counts to return
  */
 public function __construct($project = null, $logstore = null, $token = null, $line = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->token = $token;
     $this->line = $line;
 }
Exemple #3
0
 /**
  * Aliyun_Log_Models_PutLogsRequest cnstructor
  *
  * @param string $project
  *            project name
  * @param string $logstore
  *            logstore name
  * @param string $topic
  *            topic name
  * @param string $source
  *            source of the log
  * @param array $logitems
  *            LogItem array,log data
  */
 public function __construct($project = null, $logstore = null, $topic = null, $source = null, $logitems = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->topic = $topic;
     $this->source = $source;
     $this->logitems = $logitems;
 }
 /**
  * Aliyun_Log_Models_BatchGetLogsRequest Constructor
  *
  * @param string $project
  *            project name
  * @param string $logStore
  *            logstore name
  * @param string $shardId
  *            shard ID
  * @param integer $count
  *            return max loggroup numbers
  * @param string $cursor
  *            start cursor
  */
 public function __construct($project = null, $logstore = null, $shardId = null, $count = null, $cursor = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->shardId = $shardId;
     $this->count = $count;
     $this->cursor = $cursor;
 }
Exemple #5
0
 /**
  * Aliyun_Log_Models_GetCursorRequest Constructor
  * @param string $project
  *            project name
  * @param string $logstore
  *            logstore name
  * @param string $shardId
  *            shard id
  * @param string $mode
  *            query mode,value must be 'begin' or 'end' 
  * @param string $fromTime
  *            query by from time,unix_timestamp
  */
 public function __construct($project, $logstore, $shardId, $mode = null, $fromTime = -1)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->shardId = $shardId;
     $this->mode = $mode;
     $this->fromTime = $fromTime;
 }
 /**
  * Aliyun_Log_Models_GetHistogramsRequest constructor
  *
  * @param string $project
  *            project name
  * @param string $logstore
  *            logstore name
  * @param integer $from
  *            the begin time
  * @param integer $to
  *            the end time
  * @param string $topic
  *            topic name of logs
  * @param string $query
  *            user defined query
  */
 public function __construct($project = null, $logstore = null, $from = null, $to = null, $topic = null, $query = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->from = $from;
     $this->to = $to;
     $this->topic = $topic;
     $this->query = $query;
 }
Exemple #7
0
 /**
  * Aliyun_Log_Models_GetLogsRequest Constructor
  *
  * @param string $project
  *            project name
  * @param string $logStore
  *            logstore name
  * @param integer $from
  *            the begin time
  * @param integer $to
  *            the end time
  * @param string $topic
  *            topic name of logs
  * @param string $query
  *            user defined query
  * @param integer $line
  *            query return line number
  * @param integer $offset
  *            the log offset to return
  * @param bool $reverse
  *            if reverse is set to true, the query will return the latest logs first
  */
 public function __construct($project = null, $logstore = null, $from = null, $to = null, $topic = null, $query = null, $line = null, $offset = null, $reverse = null)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
     $this->from = $from;
     $this->to = $to;
     $this->topic = $topic;
     $this->query = $query;
     $this->line = $line;
     $this->offset = $offset;
     $this->reverse = $reverse;
 }
Exemple #8
0
 /**
  * Aliyun_Log_Models_ListShardsRequest Constructor
  *
  */
 public function __construct($project, $logstore)
 {
     parent::__construct($project);
     $this->logstore = $logstore;
 }
 /**
  * Aliyun_Log_Models_ListLogstoresRequest constructor
  * 
  * @param string $project project name
  */
 public function __construct($project = null)
 {
     parent::__construct($project);
 }