Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Emon route-API support.
  • Loading branch information
sdk-team committed Dec 11, 2020
1 parent 504d49f commit 4f9f84f
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 1 deletion.
4 changes: 4 additions & 0 deletions 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.

Expand Down
123 changes: 123 additions & 0 deletions src/Elasticsearch/V20170613/ElasticsearchApiResolver.php
Expand Up @@ -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 = [])
Expand Down Expand Up @@ -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()
*/
Expand Down Expand Up @@ -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
*
Expand All @@ -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;
}
}

/**
Expand Down Expand Up @@ -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
*
Expand All @@ -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;
}
}

/**
Expand Down Expand Up @@ -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
{
Expand All @@ -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;
}
}

/**
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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;
}
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Release.php
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.727';
const VERSION = '1.8.728';

/**
* @param Event $event
Expand Down

0 comments on commit 4f9f84f

Please sign in to comment.