|
|
%!s(int64=7) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| aliyun-php-sdk-core | %!s(int64=7) %!d(string=hai) anos | |
| aliyun-php-sdk-live | %!s(int64=7) %!d(string=hai) anos | |
| .gitignore | %!s(int64=7) %!d(string=hai) anos | |
| License | %!s(int64=7) %!d(string=hai) anos | |
| README.md | %!s(int64=7) %!d(string=hai) anos | |
include_once '../aliyun-php-sdk-core/Config.php';
use Ecs\Request\V20140526 as Ecs;
$iClientProfile = DefaultProfile::getProfile("cn-hangzhou", "<your accessKey>", "<your accessSecret>");
$client = new DefaultAcsClient($iClientProfile);
$request = new Ecs\DescribeRegionsRequest();
$request->setMethod("GET");
$response = $client->getAcsResponse($request);
print_r($response);
licensed under the Apache License 2.0