京东云

This commit is contained in:
“wanyongkang”
2024-05-28 17:04:50 +08:00
parent f644932afb
commit f3c7432100
672 changed files with 209344 additions and 6593 deletions

View File

@@ -0,0 +1,8 @@
# 更新历史
API版本1.0.0
| 发布时间 | 版本号 | 更新 | 说明 |
| ---------- | ------ | ---------- | -------------------------- |
| 2018-12-03 | 1.0.0 | 第一次发布 | * 更新接口的限制 |
| 2018-08-17 | 0.0.1 | 初始版本 | * HTTP DNS OpenAPI初始版本 |

View File

@@ -0,0 +1,60 @@
<?php
/**
* Httpdns
*
* @category Jdcloud
* @package Jdcloud\Httpdns
* @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\Httpdns;
use Jdcloud\JdCloudClient;
use Jdcloud\Api\Service;
use Jdcloud\Api\DocModel;
use Jdcloud\Api\ApiProvider;
use Jdcloud\PresignUrlMiddleware;
/**
* Client used to interact with httpdns.
*
* @method \Jdcloud\Result getAccountId(array $args = [])
* @method \GuzzleHttp\Promise\Promise getAccountIdAsync(array $args = [])
* @method \Jdcloud\Result createAccount(array $args = [])
* @method \GuzzleHttp\Promise\Promise createAccountAsync(array $args = [])
* @method \Jdcloud\Result getAccountInfo(array $args = [])
* @method \GuzzleHttp\Promise\Promise getAccountInfoAsync(array $args = [])
* @method \Jdcloud\Result operateKey(array $args = [])
* @method \GuzzleHttp\Promise\Promise operateKeyAsync(array $args = [])
* @method \Jdcloud\Result getDomains(array $args = [])
* @method \GuzzleHttp\Promise\Promise getDomainsAsync(array $args = [])
* @method \Jdcloud\Result addDomains(array $args = [])
* @method \GuzzleHttp\Promise\Promise addDomainsAsync(array $args = [])
* @method \Jdcloud\Result delDomains(array $args = [])
* @method \GuzzleHttp\Promise\Promise delDomainsAsync(array $args = [])
*/
class HttpdnsClient extends JdCloudClient
{
public function __construct(array $args)
{
$args['with_resolved'] = function (array $args) {
$this->getHandlerList()->appendInit(
PresignUrlMiddleware::wrap(
$this,
$args['endpoint_provider'],
[
'operations' => [
],
'service' => 'httpdns',
'presign_param' => 'PresignedUrl',
]
),
'httpdns'
);
};
parent::__construct($args);
}
}