小編給大家分享一下怎么使用DescribeCommands查詢已經(jīng)創(chuàng)建的云助手命令,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
創(chuàng)新互聯(lián)建站不只是一家網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司;我們對營銷、技術(shù)、服務(wù)都有自己獨(dú)特見解,公司采取“創(chuàng)意+綜合+營銷”一體化的方式為您提供更專業(yè)的服務(wù)!我們經(jīng)歷的每一步也許不一定是最完美的,但每一步都有值得深思的意義。我們珍視每一份信任,關(guān)注我們的做網(wǎng)站、成都做網(wǎng)站質(zhì)量和服務(wù)品質(zhì),在得到用戶滿意的同時,也能得到同行業(yè)的專業(yè)認(rèn)可,能夠?yàn)樾袠I(yè)創(chuàng)新發(fā)展助力。未來將繼續(xù)專注于技術(shù)創(chuàng)新,服務(wù)升級,滿足企業(yè)一站式營銷型網(wǎng)站建設(shè)需求,讓再小的品牌網(wǎng)站建設(shè)也能產(chǎn)生價值!DescribeCommands
請求參數(shù)
返回參數(shù)
數(shù)據(jù)集類型 CommandSetType
命令類型 CommandType
示例
請求示例
https://ecs.aliyuncs.com/?Action=DescribeCommands &RegionId=cn-hangzhou &<公共請求參數(shù)>
正常返回示例
XML 格式
5 Test ZWNobyAxMjM= 3600 RunShellScript c-7d2a745b412b4601b2d47f6a768d3a14 test Test1 Y2QgL3Jvb3Q= 3600 RunShellScript c-7d2a745b412b4601b2d47f6a768d3a15 test1 Test2 eXVtIHVwZGF0ZQ== 3600 RunShellScript c-7d2a745b412b4601b2d47f6a768d3a16 test2 Test3 c2VydmljZSBuZ2lueCByZWxvYWQ= 3600 RunShellScript c-7d2a745b412b4601b2d47f6a768d3a17 test3 Test4 bHM= 120 RunShellScript c-7d2a745b412b4601b2d47f6a768d3a18 test4 1 E69EF3CC-94CD-42E7-8926-F133B86387C0 10
JSON 格式
{ "TotalCount": 5, "Commands": { "Command": [ { "Name": "Test", "WorkingDir": "", "CommandContent": "ZWNobyAxMjM=", "Timeout": 3600, "Type": "RunShellScript", "CommandId": "c-7d2a745b412b4601b2d47f6a768d3a14", "Description": "test" }, { "Name": "Test1", "WorkingDir": "", "CommandContent": "Y2QgL3Jvb3Q=", "Timeout": 3600, "Type": "RunShellScript", "CommandId": "c-7d2a745b412b4601b2d47f6a768d3a15", "Description": "test1" }, { "Name": "Test2", "WorkingDir": "", "CommandContent": "eXVtIHVwZGF0ZQ==", "Timeout": 3600, "Type": "RunShellScript", "CommandId": "c-7d2a745b412b4601b2d47f6a768d3a16", "Description": "test2" }, { "Name": "Test3", "WorkingDir": "", "CommandContent": "c2VydmljZSBuZ2lueCByZWxvYWQ=", "Timeout": 3600, "Type": "RunShellScript", "CommandId": "c-7d2a745b412b4601b2d47f6a768d3a17", "Description": "test3" }, { "Name": "Test4", "WorkingDir": "", "CommandContent": "bHM=", "Timeout": 3600, "Type": "RunShellScript", "CommandId": "c-7d2a745b412b4601b2d47f6a768d3a18", "Description": "test4" }, ] }, "PageNumber": 1, "RequestId": "E69EF3CC-94CD-42E7-8926-F133B86387C0", "PageSize": 10 }
異常返回示例
XML 格式
E69EF3CC-94CD-42E7-8926-F133B86387C0 ecs.aliyuncs.com MissingParameter.RegionId
The input parameter “RegionId” that is mandatory for processing this request is not supplied.
JSON 格式
{ "RequestId": "E69EF3CC-94CD-42E7-8926-F133B86387C0", "HostId": "ecs.aliyuncs.com" "Code": "MissingParameter.RegionId" "Message": "The input parameter “RegionId” that is mandatory for processing this request is not supplied." }
錯誤碼
以下為本接口特有的錯誤碼。更多錯誤碼,請?jiān)L問 API 錯誤中心。
以上是怎么使用DescribeCommands查詢已經(jīng)創(chuàng)建的云助手命令的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注創(chuàng)新互聯(lián)成都網(wǎng)站設(shè)計(jì)公司行業(yè)資訊頻道!
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點(diǎn)與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。