Skip to content

Commit

Permalink
Add status operation api.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 18, 2024
1 parent 0fa2e8e commit e475b6c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.8.2143 - 2024-6-18
- Add status operation api.


## 1.8.2142 - 2024-6-18
- Update to support new apis.

Expand Down
33 changes: 33 additions & 0 deletions src/ComputeNest/V20210601/ComputeNestApiResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* @method ListServiceInstanceLogs listServiceInstanceLogs(array $options = [])
* @method ListServiceInstanceResources listServiceInstanceResources(array $options = [])
* @method ListServiceInstances listServiceInstances(array $options = [])
* @method RestartServiceInstance restartServiceInstance(array $options = [])
* @method StartServiceInstance startServiceInstance(array $options = [])
* @method StopServiceInstance stopServiceInstance(array $options = [])
*/
class ComputeNestApiResolver extends ApiResolver
{
Expand Down Expand Up @@ -340,3 +343,33 @@ public function withFilter(array $filter)
return $this;
}
}

/**
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getServiceInstanceId()
* @method $this withServiceInstanceId($value)
*/
class RestartServiceInstance extends Rpc
{
}

/**
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getServiceInstanceId()
* @method $this withServiceInstanceId($value)
*/
class StartServiceInstance extends Rpc
{
}

/**
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getServiceInstanceId()
* @method $this withServiceInstanceId($value)
*/
class StopServiceInstance extends Rpc
{
}
2 changes: 1 addition & 1 deletion src/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.2142';
const VERSION = '1.8.2143';

/**
* @param Event $event
Expand Down
2 changes: 1 addition & 1 deletion src/endpoints.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"endpoint_map":{"cn-qingdao":"live.aliyuncs.com","cn-beijing":"live.aliyuncs.com","cn-hangzhou":"live.aliyuncs.com","cn-shanghai":"live.aliyuncs.com","cn-shenzhen":"live.aliyuncs.com","ap-southeast-1":"live.aliyuncs.com","ap-southeast-5":"live.aliyuncs.com","ap-northeast-1":"live.aliyuncs.com","eu-central-1":"live.aliyuncs.com","ap-south-1":"live.aliyuncs.com","ap-northeast-2-pop":"live.aliyuncs.com","ap-southeast-2":"live.aliyuncs.com","ap-southeast-3":"live.aliyuncs.com","cn-beijing-finance-1":"live.aliyuncs.com","cn-beijing-finance-pop":"live.aliyuncs.com","cn-beijing-gov-1":"live.aliyuncs.com","cn-beijing-nu16-b01":"live.aliyuncs.com","cn-chengdu":"live.aliyuncs.com","cn-edge-1":"live.aliyuncs.com","cn-fujian":"live.aliyuncs.com","cn-haidian-cm12-c01":"live.aliyuncs.com","cn-hangzhou-bj-b01":"live.aliyuncs.com","cn-hangzhou-finance":"live.aliyuncs.com","cn-hangzhou-internal-prod-1":"live.aliyuncs.com","cn-hangzhou-internal-test-1":"live.aliyuncs.com","cn-hangzhou-internal-test-2":"live.aliyuncs.com","cn-hangzhou-internal-test-3":"live.aliyuncs.com","cn-hangzhou-test-306":"live.aliyuncs.com","cn-hongkong":"live.aliyuncs.com","cn-hongkong-finance-pop":"live.aliyuncs.com","cn-huhehaote":"live.aliyuncs.com","cn-huhehaote-nebula-1":"live.aliyuncs.com","cn-north-2-gov-1":"live.aliyuncs.com","cn-qingdao-nebula":"live.aliyuncs.com","cn-shanghai-et15-b01":"live.aliyuncs.com","cn-shanghai-et2-b01":"live.aliyuncs.com","cn-shanghai-finance-1":"live.aliyuncs.com","cn-shanghai-inner":"live.aliyuncs.com","cn-shanghai-internal-test-1":"live.aliyuncs.com","cn-shenzhen-finance-1":"live.aliyuncs.com","cn-shenzhen-inner":"live.aliyuncs.com","cn-shenzhen-st4-d01":"live.aliyuncs.com","cn-shenzhen-su18-b01":"live.aliyuncs.com","cn-wuhan":"live.aliyuncs.com","cn-wulanchabu":"live.aliyuncs.com","cn-yushanfang":"live.aliyuncs.com","cn-zhangbei":"live.aliyuncs.com","cn-zhangbei-na61-b01":"live.aliyuncs.com","cn-zhangjiakou":"live.aliyuncs.com","cn-zhangjiakou-na62-a01":"live.aliyuncs.com","cn-zhengzhou-nebula-1":"live.aliyuncs.com","eu-west-1":"live.aliyuncs.com","eu-west-1-oxs":"live.aliyuncs.com","me-east-1":"live.aliyuncs.com","rus-west-1-pop":"live.aliyuncs.com","us-east-1":"live.aliyuncs.com","us-west-1":"live.aliyuncs.com"},"endpoint_regional":"regional","standard":[],"regions":["cn-qingdao","cn-beijing","cn-hangzhou","cn-shanghai","cn-shenzhen","ap-southeast-1","ap-southeast-5","ap-northeast-1","eu-central-1","ap-south-1","ap-northeast-2-pop","ap-southeast-2","ap-southeast-3","cn-beijing-finance-1","cn-beijing-finance-pop","cn-beijing-gov-1","cn-beijing-nu16-b01","cn-chengdu","cn-edge-1","cn-fujian","cn-haidian-cm12-c01","cn-hangzhou-bj-b01","cn-hangzhou-finance","cn-hangzhou-internal-prod-1","cn-hangzhou-internal-test-1","cn-hangzhou-internal-test-2","cn-hangzhou-internal-test-3","cn-hangzhou-test-306","cn-hongkong","cn-hongkong-finance-pop","cn-huhehaote","cn-huhehaote-nebula-1","cn-north-2-gov-1","cn-qingdao-nebula","cn-shanghai-et15-b01","cn-shanghai-et2-b01","cn-shanghai-finance-1","cn-shanghai-inner","cn-shanghai-internal-test-1","cn-shenzhen-finance-1","cn-shenzhen-inner","cn-shenzhen-st4-d01","cn-shenzhen-su18-b01","cn-wuhan","cn-wulanchabu","cn-yushanfang","cn-zhangbei","cn-zhangbei-na61-b01","cn-zhangjiakou","cn-zhangjiakou-na62-a01","cn-zhengzhou-nebula-1","eu-west-1","eu-west-1-oxs","me-east-1","rus-west-1-pop","us-east-1","us-west-1"],"endpoint_health":[]}
{"endpoint_map":{},"endpoint_regional":"regional","standard":{"cn-hangzhou":"computenest.cn-hangzhou.aliyuncs.com"},"regions":["cn-hangzhou"],"endpoint_health":[]}

0 comments on commit e475b6c

Please sign in to comment.