Array ( [RequestId] => 745A729A-BB80-5A32-9AD9-FA8322BEA132 [Message] => The input parameter "InstanceId" that is mandatory for processing this request is not supplied.
我用 $InstanceId = "["i-wz97fy4b6bcixy618ogb","i-wz9ipw515phhyy0pi0sw","i-wz9fy3e213ujdnx7651"]" ;也是报错 用JSON格式 {"i-wz97fy4b6bcixy618ogb","i-wz9ipw515phhyy0pi0sw","i-wz9fy3e213ujdnx7651"} 一样报错,请问多个实例ID要怎么弄? 哪位大哥指点一下,谢谢。
调用DescribeInstances查询ECS实例的详细信息,请参考此文档:https://help.aliyun.com/document_detail/25506.html
global $db;$ar=explode(',',$CD_ID);foreach($ar as $CD_ID){ $sql='Select * from '.tname('dj').' where CD_ID='.$CD_ID.''; $row=$db->getrow($sql); $server=$db->getrow('select * from '.tname('server').' where CD_ID='.$row['CD_Server'].''); if($row){ $CD_Url=$row['CD_Url']; $playurl=$server['CD_Url'].$CD_Url; echo '';}}
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。