京东云
This commit is contained in:
11
vendor/jdcloud-api/jdcloud-sdk-php/src/Lavm/ChangeLog.md
vendored
Normal file
11
vendor/jdcloud-api/jdcloud-sdk-php/src/Lavm/ChangeLog.md
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# 更新历史 #
|
||||
API版本:1.3.1
|
||||
|
||||
| 发布时间 | 版本号 | 更新 | 说明 |
|
||||
|------------|-------|------|---------------------------------------------------------------------------------------------------------------|
|
||||
| 2024-03-05 | 1.3.1 | 新增接口 | 新增镜像复制接口
|
||||
| 2023-10-24 | 1.2.1 | 新增接口 | 修改轻量ID映射端口 |
|
||||
| 2023-02-21 | 1.2.0 | 新增接口 | 镜像属性修改,支持域名 |
|
||||
| 2023-01-09 | 0.1.2 | 新增接口 | 套餐支持分类标签,镜像接口扩展平台类型,下线查询盘接口,配额支持修改 |
|
||||
| 2023-01-03 | 0.1.1 | 新增接口 | 新增轻量防火墙支持ICMP协议 |
|
||||
| 2022-6-10 | 0.1.0 | 新增接口 | *增加对轻量应用云主机的支持 |
|
||||
112
vendor/jdcloud-api/jdcloud-sdk-php/src/Lavm/LavmClient.php
vendored
Normal file
112
vendor/jdcloud-api/jdcloud-sdk-php/src/Lavm/LavmClient.php
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
<?php
|
||||
/**
|
||||
* Lavm
|
||||
*
|
||||
* @category Jdcloud
|
||||
* @package Jdcloud\Lavm
|
||||
* @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\Lavm;
|
||||
|
||||
use Jdcloud\JdCloudClient;
|
||||
use Jdcloud\Api\Service;
|
||||
use Jdcloud\Api\DocModel;
|
||||
use Jdcloud\Api\ApiProvider;
|
||||
use Jdcloud\PresignUrlMiddleware;
|
||||
|
||||
/**
|
||||
* Client used to interact with lavm.
|
||||
*
|
||||
* @method \Jdcloud\Result describeDisks(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeDisksAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeFirewallRules(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeFirewallRulesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createFirewallRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createFirewallRuleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result modifyFirewallRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyFirewallRuleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteFirewallRule(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteFirewallRuleAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeImages(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeImagesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createCustomImage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createCustomImageAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteCustomImage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCustomImageAsync(array $args = [])
|
||||
* @method \Jdcloud\Result modifyImageAttribute(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyImageAttributeAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeInstances(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeInstancesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createInstances(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createInstancesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result startInstance(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startInstanceAsync(array $args = [])
|
||||
* @method \Jdcloud\Result stopInstance(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopInstanceAsync(array $args = [])
|
||||
* @method \Jdcloud\Result rebootInstance(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise rebootInstanceAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeInstanceVncUrl(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeInstanceVncUrlAsync(array $args = [])
|
||||
* @method \Jdcloud\Result resetSystem(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resetSystemAsync(array $args = [])
|
||||
* @method \Jdcloud\Result updateInstanceAttribute(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateInstanceAttributeAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describePlansCanUpgrade(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describePlansCanUpgradeAsync(array $args = [])
|
||||
* @method \Jdcloud\Result upgradeInstance(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise upgradeInstanceAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeInstance(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeInstanceAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeInstancesTrafficPackages(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeInstancesTrafficPackagesAsync(array $args = [])
|
||||
* @method \Jdcloud\Result associateDomains(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise associateDomainsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result disassociateDomains(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disassociateDomainsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeDomains(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeDomainsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describeKeypairs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeKeypairsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createKeypair(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createKeypairAsync(array $args = [])
|
||||
* @method \Jdcloud\Result importKeypair(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise importKeypairAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteKeypair(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteKeypairAsync(array $args = [])
|
||||
* @method \Jdcloud\Result attachKeypair(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise attachKeypairAsync(array $args = [])
|
||||
* @method \Jdcloud\Result detachKeypair(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise detachKeypairAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describePlans(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describePlansAsync(array $args = [])
|
||||
* @method \Jdcloud\Result describePlansSoldOutStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describePlansSoldOutStatusAsync(array $args = [])
|
||||
* @method \Jdcloud\Result queryQuota(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryQuotaAsync(array $args = [])
|
||||
*/
|
||||
class LavmClient extends JdCloudClient
|
||||
{
|
||||
public function __construct(array $args)
|
||||
{
|
||||
$args['with_resolved'] = function (array $args) {
|
||||
$this->getHandlerList()->appendInit(
|
||||
PresignUrlMiddleware::wrap(
|
||||
$this,
|
||||
$args['endpoint_provider'],
|
||||
[
|
||||
'operations' => [
|
||||
],
|
||||
'service' => 'lavm',
|
||||
'presign_param' => 'PresignedUrl',
|
||||
]
|
||||
),
|
||||
'lavm'
|
||||
);
|
||||
};
|
||||
|
||||
parent::__construct($args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user