diff --git a/CHANGELOG.md b/CHANGELOG.md index e7cc375ce..7f256836c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 1.8.728 - 2020-12-11 +- Add Emon route-API support. + + ## 1.8.727 - 2020-12-9 - Update SegmentCommodity. diff --git a/src/Elasticsearch/V20170613/ElasticsearchApiResolver.php b/src/Elasticsearch/V20170613/ElasticsearchApiResolver.php index 73d595bcf..a49743391 100644 --- a/src/Elasticsearch/V20170613/ElasticsearchApiResolver.php +++ b/src/Elasticsearch/V20170613/ElasticsearchApiResolver.php @@ -45,6 +45,7 @@ * @method EstimatedRestartTime estimatedRestartTime(array $options = []) * @method GetClusterDataInformation getClusterDataInformation(array $options = []) * @method GetElastictask getElastictask(array $options = []) + * @method GetEmonMonitorData getEmonMonitorData(array $options = []) * @method GetRegionConfiguration getRegionConfiguration(array $options = []) * @method GetSuggestShrinkableNodes getSuggestShrinkableNodes(array $options = []) * @method GetTransferableNodes getTransferableNodes(array $options = []) @@ -1112,6 +1113,16 @@ class GetElastictask extends Roa public $method = 'GET'; } +/** + * @method string getProjectId() + * @method $this withProjectId($value) + */ +class GetEmonMonitorData extends Roa +{ + /** @var string */ + public $pathPattern = '/openapi/emon/projects/[ProjectId]/metrics/query'; +} + /** * @method string getZoneId() */ @@ -2962,13 +2973,28 @@ public function withClientToken($value) /** * @method string getInstanceId() * @method $this withInstanceId($value) + * @method string getNodeType() * @method string getClientToken() + * @method string getNetworkType() */ class ModifyWhiteIps extends Roa { /** @var string */ public $pathPattern = '/openapi/instances/[InstanceId]/actions/modify-white-ips'; + /** + * @param string $value + * + * @return $this + */ + public function withNodeType($value) + { + $this->data['NodeType'] = $value; + $this->options['form_params']['nodeType'] = $value; + + return $this; + } + /** * @param string $value * @@ -2981,6 +3007,19 @@ public function withClientToken($value) return $this; } + + /** + * @param string $value + * + * @return $this + */ + public function withNetworkType($value) + { + $this->data['NetworkType'] = $value; + $this->options['form_params']['networkType'] = $value; + + return $this; + } } /** @@ -3482,15 +3521,44 @@ public function withClientToken($value) } /** + * @method string getActionType() * @method string getInstanceId() * @method $this withInstanceId($value) + * @method string getNodeType() * @method string getClientToken() + * @method string getNetworkType() */ class TriggerNetwork extends Roa { /** @var string */ public $pathPattern = '/openapi/instances/[InstanceId]/actions/network-trigger'; + /** + * @param string $value + * + * @return $this + */ + public function withActionType($value) + { + $this->data['ActionType'] = $value; + $this->options['form_params']['actionType'] = $value; + + return $this; + } + + /** + * @param string $value + * + * @return $this + */ + public function withNodeType($value) + { + $this->data['NodeType'] = $value; + $this->options['form_params']['nodeType'] = $value; + + return $this; + } + /** * @param string $value * @@ -3503,6 +3571,19 @@ public function withClientToken($value) return $this; } + + /** + * @param string $value + * + * @return $this + */ + public function withNetworkType($value) + { + $this->data['NetworkType'] = $value; + $this->options['form_params']['networkType'] = $value; + + return $this; + } } /** @@ -3798,6 +3879,7 @@ public function withClientToken($value) * @method string getInstanceId() * @method $this withInstanceId($value) * @method string getClientToken() + * @method string getDescription() */ class UpdateDescription extends Roa { @@ -3816,6 +3898,19 @@ public function withClientToken($value) return $this; } + + /** + * @param string $value + * + * @return $this + */ + public function withDescription($value) + { + $this->data['Description'] = $value; + $this->options['form_params']['description'] = $value; + + return $this; + } } /** @@ -4477,6 +4572,8 @@ public function withClientToken($value) * @method $this withInstanceId($value) * @method string getDryRun() * @method string getClientToken() + * @method string getType() + * @method string getVersion() */ class UpgradeEngineVersion extends Roa { @@ -4508,6 +4605,32 @@ public function withClientToken($value) return $this; } + + /** + * @param string $value + * + * @return $this + */ + public function withType($value) + { + $this->data['Type'] = $value; + $this->options['form_params']['type'] = $value; + + return $this; + } + + /** + * @param string $value + * + * @return $this + */ + public function withVersion($value) + { + $this->data['Version'] = $value; + $this->options['form_params']['version'] = $value; + + return $this; + } } /** diff --git a/src/Release.php b/src/Release.php index 8119d8cf1..470c0f29a 100644 --- a/src/Release.php +++ b/src/Release.php @@ -16,7 +16,7 @@ class Release /** * Version of the SDK */ - const VERSION = '1.8.727'; + const VERSION = '1.8.728'; /** * @param Event $event