Skip to content

Commit ac1ed00

Browse files
committed
Add DescribeSlowLogRecords,DescribeSlowLogs for SlowLog.
1 parent 57de198 commit ac1ed00

File tree

3 files changed

+121
-1
lines changed

3 files changed

+121
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.8.14 - 2019-12-19
4+
- Add DescribeSlowLogRecords,DescribeSlowLogs for SlowLog.
5+
6+
37
## 1.8.13 - 2019-12-19
48
- Generated 2019-09-28 for `reid`.
59

src/Polardb/V20170801/PolardbApiResolver.php

+116
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@
3434
* @method DescribeDBClusters describeDBClusters(array $options = [])
3535
* @method DescribeDBNodePerformance describeDBNodePerformance(array $options = [])
3636
* @method DescribeRegions describeRegions(array $options = [])
37+
* @method DescribeSlowLogRecords describeSlowLogRecords(array $options = [])
38+
* @method DescribeSlowLogs describeSlowLogs(array $options = [])
3739
* @method FailoverDBCluster failoverDBCluster(array $options = [])
3840
* @method GrantAccountPrivilege grantAccountPrivilege(array $options = [])
41+
* @method ListTagResources listTagResources(array $options = [])
3942
* @method ModifyAccountDescription modifyAccountDescription(array $options = [])
4043
* @method ModifyAccountPassword modifyAccountPassword(array $options = [])
4144
* @method ModifyAutoRenewAttribute modifyAutoRenewAttribute(array $options = [])
@@ -175,6 +178,8 @@ class CreateDatabase extends Rpc
175178
* @method $this withClientToken($value)
176179
* @method string getClusterNetworkType()
177180
* @method $this withClusterNetworkType($value)
181+
* @method string getResourceGroupId()
182+
* @method $this withResourceGroupId($value)
178183
* @method string getDBNodeClass()
179184
* @method $this withDBNodeClass($value)
180185
* @method string getEngine()
@@ -658,6 +663,8 @@ class DescribeDBClusterPerformance extends Rpc
658663
* @method $this withDBClusterStatus($value)
659664
* @method string getPageNumber()
660665
* @method $this withPageNumber($value)
666+
* @method string getResourceGroupId()
667+
* @method $this withResourceGroupId($value)
661668
* @method string getPageSize()
662669
* @method $this withPageSize($value)
663670
* @method array getTag()
@@ -730,6 +737,60 @@ class DescribeRegions extends Rpc
730737
{
731738
}
732739

740+
/**
741+
* @method string getResourceOwnerId()
742+
* @method $this withResourceOwnerId($value)
743+
* @method string getStartTime()
744+
* @method $this withStartTime($value)
745+
* @method string getPageNumber()
746+
* @method $this withPageNumber($value)
747+
* @method string getPageSize()
748+
* @method $this withPageSize($value)
749+
* @method string getResourceOwnerAccount()
750+
* @method $this withResourceOwnerAccount($value)
751+
* @method string getDBClusterId()
752+
* @method $this withDBClusterId($value)
753+
* @method string getOwnerAccount()
754+
* @method $this withOwnerAccount($value)
755+
* @method string getEndTime()
756+
* @method $this withEndTime($value)
757+
* @method string getOwnerId()
758+
* @method $this withOwnerId($value)
759+
* @method string getDBName()
760+
* @method $this withDBName($value)
761+
* @method string getSQLHASH()
762+
* @method $this withSQLHASH($value)
763+
*/
764+
class DescribeSlowLogRecords extends Rpc
765+
{
766+
}
767+
768+
/**
769+
* @method string getResourceOwnerId()
770+
* @method $this withResourceOwnerId($value)
771+
* @method string getStartTime()
772+
* @method $this withStartTime($value)
773+
* @method string getPageNumber()
774+
* @method $this withPageNumber($value)
775+
* @method string getPageSize()
776+
* @method $this withPageSize($value)
777+
* @method string getResourceOwnerAccount()
778+
* @method $this withResourceOwnerAccount($value)
779+
* @method string getDBClusterId()
780+
* @method $this withDBClusterId($value)
781+
* @method string getOwnerAccount()
782+
* @method $this withOwnerAccount($value)
783+
* @method string getEndTime()
784+
* @method $this withEndTime($value)
785+
* @method string getOwnerId()
786+
* @method $this withOwnerId($value)
787+
* @method string getDBName()
788+
* @method $this withDBName($value)
789+
*/
790+
class DescribeSlowLogs extends Rpc
791+
{
792+
}
793+
733794
/**
734795
* @method string getResourceOwnerId()
735796
* @method $this withResourceOwnerId($value)
@@ -772,6 +833,57 @@ class GrantAccountPrivilege extends Rpc
772833
{
773834
}
774835

836+
/**
837+
* @method string getResourceOwnerId()
838+
* @method $this withResourceOwnerId($value)
839+
* @method string getNextToken()
840+
* @method $this withNextToken($value)
841+
* @method array getTag()
842+
* @method array getResourceId()
843+
* @method string getResourceOwnerAccount()
844+
* @method $this withResourceOwnerAccount($value)
845+
* @method string getOwnerAccount()
846+
* @method $this withOwnerAccount($value)
847+
* @method string getOwnerId()
848+
* @method $this withOwnerId($value)
849+
* @method string getResourceType()
850+
* @method $this withResourceType($value)
851+
*/
852+
class ListTagResources extends Rpc
853+
{
854+
855+
/**
856+
* @param array $tag
857+
*
858+
* @return $this
859+
*/
860+
public function withTag(array $tag)
861+
{
862+
$this->data['Tag'] = $tag;
863+
foreach ($tag as $depth1 => $depth1Value) {
864+
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
865+
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
866+
}
867+
868+
return $this;
869+
}
870+
871+
/**
872+
* @param array $resourceId
873+
*
874+
* @return $this
875+
*/
876+
public function withResourceId(array $resourceId)
877+
{
878+
$this->data['ResourceId'] = $resourceId;
879+
foreach ($resourceId as $i => $iValue) {
880+
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
881+
}
882+
883+
return $this;
884+
}
885+
}
886+
775887
/**
776888
* @method string getResourceOwnerId()
777889
* @method $this withResourceOwnerId($value)
@@ -869,8 +981,12 @@ class ModifyBackupPolicy extends Rpc
869981
* @method $this withDBClusterId($value)
870982
* @method string getOwnerAccount()
871983
* @method $this withOwnerAccount($value)
984+
* @method string getWhiteListType()
985+
* @method $this withWhiteListType($value)
872986
* @method string getOwnerId()
873987
* @method $this withOwnerId($value)
988+
* @method string getSecurityGroupIds()
989+
* @method $this withSecurityGroupIds($value)
874990
* @method string getDBClusterIPArrayName()
875991
* @method $this withDBClusterIPArrayName($value)
876992
*/

src/Release.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Release
1616
/**
1717
* Version of the SDK
1818
*/
19-
const VERSION = '1.8.13';
19+
const VERSION = '1.8.14';
2020

2121
/**
2222
* @param Event $event

0 commit comments

Comments
 (0)