Skip to content

Commit 38134c0

Browse files
committed
Modify desribeInstance return dict item.
1 parent 0e4d468 commit 38134c0

File tree

3 files changed

+190
-1
lines changed

3 files changed

+190
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.8.49 - 2020-1-7
4+
- Modify desribeInstance return dict item.
5+
6+
37
## 1.8.48 - 2020-1-7
48
- Supported AAA for BBB.
59
- Fixed bugs for CCC.

src/Elasticsearch/V20170613/ElasticsearchApiResolver.php

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @method InterruptLogstashTask interruptLogstashTask(array $options = [])
3838
* @method ListAllNode listAllNode(array $options = [])
3939
* @method ListAlternativeSnapshotRepos listAlternativeSnapshotRepos(array $options = [])
40+
* @method ListConnectedClusters listConnectedClusters(array $options = [])
4041
* @method ListInstance listInstance(array $options = [])
4142
* @method ListKibanaPlugins listKibanaPlugins(array $options = [])
4243
* @method ListLogstash listLogstash(array $options = [])
@@ -45,6 +46,7 @@
4546
* @method ListPlugins listPlugins(array $options = [])
4647
* @method ListSearchLog listSearchLog(array $options = [])
4748
* @method ListSnapshotReposByInstanceId listSnapshotReposByInstanceId(array $options = [])
49+
* @method ListTagResources listTagResources(array $options = [])
4850
* @method MoveResourceGroup moveResourceGroup(array $options = [])
4951
* @method OpenHttps openHttps(array $options = [])
5052
* @method RenewInstance renewInstance(array $options = [])
@@ -55,11 +57,13 @@
5557
* @method ResumeLogstashTask resumeLogstashTask(array $options = [])
5658
* @method RollbackInstance rollbackInstance(array $options = [])
5759
* @method ShrinkNode shrinkNode(array $options = [])
60+
* @method TagResources tagResources(array $options = [])
5861
* @method TransferNode transferNode(array $options = [])
5962
* @method TriggerNetwork triggerNetwork(array $options = [])
6063
* @method UninstallKibanaPlugin uninstallKibanaPlugin(array $options = [])
6164
* @method UninstallLogstashPlugin uninstallLogstashPlugin(array $options = [])
6265
* @method UninstallPlugin uninstallPlugin(array $options = [])
66+
* @method UntagResources untagResources(array $options = [])
6367
* @method UpdateAdminPassword updateAdminPassword(array $options = [])
6468
* @method UpdateAdvancedSetting updateAdvancedSetting(array $options = [])
6569
* @method UpdateAliwsDict updateAliwsDict(array $options = [])
@@ -840,6 +844,19 @@ public function withAlreadySetItems($value)
840844
}
841845
}
842846

847+
/**
848+
* @method string getInstanceId()
849+
* @method $this withInstanceId($value)
850+
*/
851+
class ListConnectedClusters extends Roa
852+
{
853+
/** @var string */
854+
public $pathPattern = '/openapi/instances/[InstanceId]/connected-clusters';
855+
856+
/** @var string */
857+
public $method = 'GET';
858+
}
859+
843860
/**
844861
* @method string getResourceGroupId()
845862
* @method string getInstanceId()
@@ -1444,6 +1461,101 @@ class ListSnapshotReposByInstanceId extends Roa
14441461
public $method = 'GET';
14451462
}
14461463

1464+
/**
1465+
* @method string getSize()
1466+
* @method string getNextToken()
1467+
* @method string getPage()
1468+
* @method string getResourceType()
1469+
* @method string getResourceIds()
1470+
* @method string getTags()
1471+
*/
1472+
class ListTagResources extends Roa
1473+
{
1474+
/** @var string */
1475+
public $pathPattern = '/openapi/tags';
1476+
1477+
/** @var string */
1478+
public $method = 'GET';
1479+
1480+
/**
1481+
* @param string $value
1482+
*
1483+
* @return $this
1484+
*/
1485+
public function withSize($value)
1486+
{
1487+
$this->data['Size'] = $value;
1488+
$this->options['query']['Size'] = $value;
1489+
1490+
return $this;
1491+
}
1492+
1493+
/**
1494+
* @param string $value
1495+
*
1496+
* @return $this
1497+
*/
1498+
public function withNextToken($value)
1499+
{
1500+
$this->data['NextToken'] = $value;
1501+
$this->options['query']['NextToken'] = $value;
1502+
1503+
return $this;
1504+
}
1505+
1506+
/**
1507+
* @param string $value
1508+
*
1509+
* @return $this
1510+
*/
1511+
public function withPage($value)
1512+
{
1513+
$this->data['Page'] = $value;
1514+
$this->options['query']['Page'] = $value;
1515+
1516+
return $this;
1517+
}
1518+
1519+
/**
1520+
* @param string $value
1521+
*
1522+
* @return $this
1523+
*/
1524+
public function withResourceType($value)
1525+
{
1526+
$this->data['ResourceType'] = $value;
1527+
$this->options['query']['ResourceType'] = $value;
1528+
1529+
return $this;
1530+
}
1531+
1532+
/**
1533+
* @param string $value
1534+
*
1535+
* @return $this
1536+
*/
1537+
public function withResourceIds($value)
1538+
{
1539+
$this->data['ResourceIds'] = $value;
1540+
$this->options['query']['ResourceIds'] = $value;
1541+
1542+
return $this;
1543+
}
1544+
1545+
/**
1546+
* @param string $value
1547+
*
1548+
* @return $this
1549+
*/
1550+
public function withTags($value)
1551+
{
1552+
$this->data['Tags'] = $value;
1553+
$this->options['query']['Tags'] = $value;
1554+
1555+
return $this;
1556+
}
1557+
}
1558+
14471559
/**
14481560
* @method string getInstanceId()
14491561
* @method $this withInstanceId($value)
@@ -1726,6 +1838,12 @@ public function withClientToken($value)
17261838
}
17271839
}
17281840

1841+
class TagResources extends Roa
1842+
{
1843+
/** @var string */
1844+
public $pathPattern = '/openapi/tags';
1845+
}
1846+
17291847
/**
17301848
* @method string getInstanceId()
17311849
* @method $this withInstanceId($value)
@@ -1860,6 +1978,73 @@ public function withClientToken($value)
18601978
}
18611979
}
18621980

1981+
/**
1982+
* @method string getAll()
1983+
* @method string getTagKeys()
1984+
* @method string getResourceType()
1985+
* @method string getResourceIds()
1986+
*/
1987+
class UntagResources extends Roa
1988+
{
1989+
/** @var string */
1990+
public $pathPattern = '/openapi/tags';
1991+
1992+
/** @var string */
1993+
public $method = 'DELETE';
1994+
1995+
/**
1996+
* @param string $value
1997+
*
1998+
* @return $this
1999+
*/
2000+
public function withAll($value)
2001+
{
2002+
$this->data['All'] = $value;
2003+
$this->options['query']['All'] = $value;
2004+
2005+
return $this;
2006+
}
2007+
2008+
/**
2009+
* @param string $value
2010+
*
2011+
* @return $this
2012+
*/
2013+
public function withTagKeys($value)
2014+
{
2015+
$this->data['TagKeys'] = $value;
2016+
$this->options['query']['TagKeys'] = $value;
2017+
2018+
return $this;
2019+
}
2020+
2021+
/**
2022+
* @param string $value
2023+
*
2024+
* @return $this
2025+
*/
2026+
public function withResourceType($value)
2027+
{
2028+
$this->data['ResourceType'] = $value;
2029+
$this->options['query']['ResourceType'] = $value;
2030+
2031+
return $this;
2032+
}
2033+
2034+
/**
2035+
* @param string $value
2036+
*
2037+
* @return $this
2038+
*/
2039+
public function withResourceIds($value)
2040+
{
2041+
$this->data['ResourceIds'] = $value;
2042+
$this->options['query']['ResourceIds'] = $value;
2043+
2044+
return $this;
2045+
}
2046+
}
2047+
18632048
/**
18642049
* @method string getInstanceId()
18652050
* @method $this withInstanceId($value)

src/Release.php

Lines changed: 1 addition & 1 deletion
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.48';
19+
const VERSION = '1.8.49';
2020

2121
/**
2222
* @param Event $event

0 commit comments

Comments
 (0)