京东云
This commit is contained in:
9
vendor/jdcloud-api/jdcloud-sdk-php/src/Domain/ChangeLog.md
vendored
Normal file
9
vendor/jdcloud-api/jdcloud-sdk-php/src/Domain/ChangeLog.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# 更新历史 #
|
||||
API版本:1.0.0
|
||||
|
||||
|发布时间|版本号|更新|说明|
|
||||
|---|---|---|---|
|
||||
2020-10-26 |0.1.0 |新增接口 | * 增加基本操作
|
||||
2020-10-26 |0.1.1 |修改接口title | * 改为英文名称 空格用横线替换;拆分template返回对象
|
||||
2020-10-26 |0.1.1 |修改接口 | * 修改查询转入状态接口
|
||||
2020-11-16 |1.0.0 |修改版本号 | * 准备上线,版本号修改为1.0.0
|
||||
82
vendor/jdcloud-api/jdcloud-sdk-php/src/Domain/DomainClient.php
vendored
Normal file
82
vendor/jdcloud-api/jdcloud-sdk-php/src/Domain/DomainClient.php
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
/**
|
||||
* Domain
|
||||
*
|
||||
* @category Jdcloud
|
||||
* @package Jdcloud\Domain
|
||||
* @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\Domain;
|
||||
|
||||
use Jdcloud\JdCloudClient;
|
||||
use Jdcloud\Api\Service;
|
||||
use Jdcloud\Api\DocModel;
|
||||
use Jdcloud\Api\ApiProvider;
|
||||
use Jdcloud\PresignUrlMiddleware;
|
||||
|
||||
/**
|
||||
* Client used to interact with domain.
|
||||
*
|
||||
* @method \Jdcloud\Result checkDomain(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise checkDomainAsync(array $args = [])
|
||||
* @method \Jdcloud\Result queryWhoisInfo(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryWhoisInfoAsync(array $args = [])
|
||||
* @method \Jdcloud\Result domainInfo(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise domainInfoAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createDomain(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createDomainAsync(array $args = [])
|
||||
* @method \Jdcloud\Result renewDomain(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise renewDomainAsync(array $args = [])
|
||||
* @method \Jdcloud\Result transferinDomainState(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise transferinDomainStateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result transferinDomain(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise transferinDomainAsync(array $args = [])
|
||||
* @method \Jdcloud\Result modifyDns(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDnsAsync(array $args = [])
|
||||
* @method \Jdcloud\Result domainTemplateAssigned(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise domainTemplateAssignedAsync(array $args = [])
|
||||
* @method \Jdcloud\Result domainLock(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise domainLockAsync(array $args = [])
|
||||
* @method \Jdcloud\Result domainUnLock(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise domainUnLockAsync(array $args = [])
|
||||
* @method \Jdcloud\Result getDomainTransferOutPassWord(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getDomainTransferOutPassWordAsync(array $args = [])
|
||||
* @method \Jdcloud\Result createTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createTemplateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result queryTemplateInfo(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise queryTemplateInfoAsync(array $args = [])
|
||||
* @method \Jdcloud\Result modifyTemplateInfo(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyTemplateInfoAsync(array $args = [])
|
||||
* @method \Jdcloud\Result deleteTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteTemplateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result certificateTemplateState(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise certificateTemplateStateAsync(array $args = [])
|
||||
* @method \Jdcloud\Result certificateTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise certificateTemplateAsync(array $args = [])
|
||||
*/
|
||||
class DomainClient extends JdCloudClient
|
||||
{
|
||||
public function __construct(array $args)
|
||||
{
|
||||
$args['with_resolved'] = function (array $args) {
|
||||
$this->getHandlerList()->appendInit(
|
||||
PresignUrlMiddleware::wrap(
|
||||
$this,
|
||||
$args['endpoint_provider'],
|
||||
[
|
||||
'operations' => [
|
||||
],
|
||||
'service' => 'domain',
|
||||
'presign_param' => 'PresignedUrl',
|
||||
]
|
||||
),
|
||||
'domain'
|
||||
);
|
||||
};
|
||||
|
||||
parent::__construct($args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user