Skip to content

Operating qingcloud server, switch machine and testing status

Notifications You must be signed in to change notification settings

wangge/qingcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qingcloud

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

About

Operating qingcloud server, switch machine and testing status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages