小編給大家分享一下怎么使用DescribeCommands查詢已經創(chuàng)建的云助手命令,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
專注于為中小企業(yè)提供網站設計、成都網站建設服務,電腦端+手機端+微信端的三站合一,更高效的管理,為中小企業(yè)塔什庫爾干塔吉克免費做網站提供優(yōu)質的服務。我們立足成都,凝聚了一批互聯(lián)網行業(yè)人才,有力地推動了千余家企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網站建設實現(xiàn)規(guī)模擴充和轉變。
DescribeCommands
請求參數(shù)
返回參數(shù)
數(shù)據(jù)集類型 CommandSetType
命令類型 CommandType
示例
請求示例
https://ecs.aliyuncs.com/?Action=DescribeCommands &RegionId=cn-hangzhou &<公共請求參數(shù)>
正常返回示例
XML 格式
<DescribeCommandsResponse> <TotalCount>5</TotalCount> <Commands> <Command> <Name>Test</Name> <WorkingDir></WorkingDir> <CommandContent>ZWNobyAxMjM=</CommandContent> <Timeout>3600</Timeout> <Type>RunShellScript</Type> <CommandId>c-7d2a745b412b4601b2d47f6a768d3a14</CommandId> <Description>test</Description> </Command> <Command> <Name>Test1</Name> <WorkingDir></WorkingDir> <CommandContent>Y2QgL3Jvb3Q=</CommandContent> <Timeout>3600</Timeout> <Type>RunShellScript</Type> <CommandId>c-7d2a745b412b4601b2d47f6a768d3a15</CommandId> <Description>test1</Description> </Command> <Command> <Name>Test2</Name> <WorkingDir></WorkingDir> <CommandContent>eXVtIHVwZGF0ZQ==</CommandContent> <Timeout>3600</Timeout> <Type>RunShellScript</Type> <CommandId>c-7d2a745b412b4601b2d47f6a768d3a16</CommandId> <Description>test2</Description> </Command> <Command> <Name>Test3</Name> <WorkingDir></WorkingDir> <CommandContent>c2VydmljZSBuZ2lueCByZWxvYWQ=</CommandContent> <Timeout>3600</Timeout> <Type>RunShellScript</Type> <CommandId>c-7d2a745b412b4601b2d47f6a768d3a17</CommandId> <Description>test3</Description> </Command> <Command> <Name>Test4</Name> <WorkingDir></WorkingDir> <CommandContent>bHM=</CommandContent> <Timeout>120</Timeout> <Type>RunShellScript</Type> <CommandId>c-7d2a745b412b4601b2d47f6a768d3a18</CommandId> <Description>test4</Description> </Command> <PageNumber>1</PageNumber> <RequestId>E69EF3CC-94CD-42E7-8926-F133B86387C0</RequestId> <PageSize>10</PageSize> </DescribeCommandsResponse>
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 格式
<Error> <RequestId>E69EF3CC-94CD-42E7-8926-F133B86387C0</RequestId> <HostId>ecs.aliyuncs.com</HostId> <Code>MissingParameter.RegionId</Code> <Message>The input parameter “RegionId” that is mandatory for processing this request is not supplied.</Message> </Error>
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." }
錯誤碼
以下為本接口特有的錯誤碼。更多錯誤碼,請訪問 API 錯誤中心。
以上是怎么使用DescribeCommands查詢已經創(chuàng)建的云助手命令的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注創(chuàng)新互聯(lián)行業(yè)資訊頻道!
分享名稱:怎么使用DescribeCommands查詢已經創(chuàng)建的云助手命令
文章鏈接:http://jinyejixie.com/article22/ggecjc.html
成都網站建設公司_創(chuàng)新互聯(lián),為您提供商城網站、Google、軟件開發(fā)、App開發(fā)、、小程序開發(fā)
聲明:本網站發(fā)布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)