京东云
This commit is contained in:
108
vendor/jdcloud-api/jdcloud-sdk-php/src/Ag/AgClient.php
vendored
Normal file
108
vendor/jdcloud-api/jdcloud-sdk-php/src/Ag/AgClient.php
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
/**
|
||||
* Ag
|
||||
*
|
||||
* @category Jdcloud
|
||||
* @package Jdcloud\Ag
|
||||
* @author Jdcloud <jdcloud-api@jd.com>
|
||||
* @license Apache-2.0 http://www.apache.org/licenses/LICENSE-2.0
|
||||
* @link https://www.jdcloud.com/help/faq
|
||||
*/
|
||||
|
||||
namespace Jdcloud\Ag;
|
||||
|
||||
use Jdcloud\JdCloudClient;
|
||||
use Jdcloud\Api\Service;
|
||||
use Jdcloud\Api\DocModel;
|
||||
use Jdcloud\Api\ApiProvider;
|
||||
use Jdcloud\PresignUrlMiddleware;
|
||||
|
||||
/**
|
||||
* Client used to interact with ag.
|
||||
*
|
||||
* @method \Jdcloud\Result describeScalingActivities(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeScalingActivitiesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeAsAlarms(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAsAlarmsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createAsAlarm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAsAlarmAsync(array $args = [])
|
||||
* @method \Jdcloud\Result updateAsAlarm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAsAlarmAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteAsAlarm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAsAlarmAsync(array $args = [])
|
||||
* @method \Jdcloud\Result disableAsAlarm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disableAsAlarmAsync(array $args = [])
|
||||
* @method \Jdcloud\Result enableAsAlarm(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise enableAsAlarmAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeAsCrons(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAsCronsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createAsCron(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAsCronAsync(array $args = [])
|
||||
* @method \Jdcloud\Result updateAsCron(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAsCronAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteAsCron(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAsCronAsync(array $args = [])
|
||||
* @method \Jdcloud\Result disableAsCron(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disableAsCronAsync(array $args = [])
|
||||
* @method \Jdcloud\Result enableAsCron(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise enableAsCronAsync(array $args = [])
|
||||
* @method \Jdcloud\Result enableAutoScaling(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise enableAutoScalingAsync(array $args = [])
|
||||
* @method \Jdcloud\Result disableAutoScaling(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disableAutoScalingAsync(array $args = [])
|
||||
* @method \Jdcloud\Result updateAutoScaling(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAutoScalingAsync(array $args = [])
|
||||
* @method \Jdcloud\Result modifyInstancesManaged(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyInstancesManagedAsync(array $args = [])
|
||||
* @method \Jdcloud\Result modifyInstancesProtected(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyInstancesProtectedAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeAsRules(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAsRulesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createAsRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAsRuleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result updateAsRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAsRuleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteAsRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAsRuleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result executeAsRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise executeAsRuleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeAgs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAgsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createAg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createAgAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeAg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeAgAsync(array $args = [])
|
||||
* @method \Jdcloud\Result updateAg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAgAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteAg(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAgAsync(array $args = [])
|
||||
* @method \Jdcloud\Result abandonInstances(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise abandonInstancesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result setInstanceTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise setInstanceTemplateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeQuotas(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeQuotasAsync(array $args = [])
|
||||
*/
|
||||
class AgClient extends JdCloudClient
|
||||
{
|
||||
public function __construct(array $args)
|
||||
{
|
||||
$args['with_resolved'] = function (array $args) {
|
||||
$this->getHandlerList()->appendInit(
|
||||
PresignUrlMiddleware::wrap(
|
||||
$this,
|
||||
$args['endpoint_provider'],
|
||||
[
|
||||
'operations' => [
|
||||
],
|
||||
'service' => 'ag',
|
||||
'presign_param' => 'PresignedUrl',
|
||||
]
|
||||
),
|
||||
'ag'
|
||||
);
|
||||
};
|
||||
|
||||
parent::__construct($args);
|
||||
}
|
||||
}
|
||||
18
vendor/jdcloud-api/jdcloud-sdk-php/src/Ag/ChangeLog.md
vendored
Normal file
18
vendor/jdcloud-api/jdcloud-sdk-php/src/Ag/ChangeLog.md
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# 更新历史 #
|
||||
API版本:0.8.5
|
||||
|
||||
| 发布时间 | 版本号 | 更新 | 说明 |
|
||||
|------------|-------|----------|-------------------|
|
||||
| 2023-12-08 | 0.8.5 | 功能完善 | 支持保护设置对外发布 |
|
||||
| 2023-12-07 | 0.8.4 | 功能完善 | 支持托管设置对外发布 |
|
||||
| 2023-12-06 | 0.8.3 | 功能完善 | 弹性伸缩组内支持实例维度保护设置 |
|
||||
| 2023-11-22 | 0.8.2 | 功能完善 | 弹性伸缩组内支持实例维度保护设置 |
|
||||
| 2023-11-08 | 0.8.1 | 功能完善 | 弹性伸缩组内支持实例维度托管设置 |
|
||||
| 2023-04-06 | 0.8.0 | 弹性伸缩重构更新 | 弹性伸缩重构更新 |
|
||||
| 2022-07-21 | 0.7.0 | 功能完善 | ag增加资源放置策略 |
|
||||
| 2022-07-15 | 0.6.0 | 功能完善 | 修复自定义配置类型模版必传的问题 |
|
||||
| 2022-07-08 | 0.5.0 | 功能完善 | 新增自定义配置类型 |
|
||||
| 2019-05-29 | 0.4.0 | 功能完善 | 修正必传的参数为未设置为必传的问题 |
|
||||
| 2019-05-28 | 0.3.0 | 功能完善 | 创建ag的资源类型修改为vm |
|
||||
| 2018-05-10 | 0.2.0 | 接口完善 | 内网提供全部接口的 SDK |
|
||||
| 2018-03-30 | 0.1.0 | 初始版本 | 提供 Quota 相关接口 |
|
||||
Reference in New Issue
Block a user