Operating qingcloud server, switch machine and testing status
composer require wangge/qingcloud dev-master
在根目录下 config下新建qingcloud.php,配置相关信息 return [ 'access_key_id'=> '', 'secret_access_key' => '', 'zone'=> '', ];
describeInstances(['status.0'=>'pending']); array (size=3) 'status' => boolean true 'msg' => string '请求成功' (length=12) 'data' => array (size=4) 'action' => string 'DescribeInstancesResponse' (length=25) 'instance_set' =>// 青云返回的主要数据 array (size=0) empty 'total_count' => int 0 //总条数 'ret_code' => int 0 状态码 # data 部分的详细 请见:https://docs.qingcloud.com/api/common/action.html