久久96国产精品久久久-久久发布国产伦子伦精品-久久精品国产精品青草-久久天天躁夜夜躁狠狠85麻豆

技術員聯盟提供win764位系統下載,win10,win7,xp,裝機純凈版,64位旗艦版,綠色軟件,免費軟件下載基地!

當前位置:主頁 > 教程 > 服務器類 >

阿里云如何使用修改實例管理終端口令接口

來源:技術員聯盟┆發布時間:2017-12-05 18:12┆點擊:

  修改實例管理終端口令

  描述

  修改 ECS 實例的 Web 管理終端口令

  密碼長度必須是 6 個字符,可以包含大小寫字母和數字,不支持特殊字符

  修改密碼后,需要在控制臺或者 API 重啟實例

  請求參數

名稱 類型 是否必須 描述
Action   String     系統規定參數,取值:ModifyInstanceVncPasswd  
RegionId   String     ECS 實例所在的 Region  
InstanceId   String     ECS 實例  
VncPassword   String     ECS 實例的 VNC 口令  

  返回參數

  全是公共返回參數,詳見公共返回參數

  錯誤碼

錯誤代碼 描述 Http 狀態碼
InvalidRegionId.NotFound   The RegionId provided does not exist in our records.   404  
MissingParameter   The input parameter "InstanceId" that is mandatory for processing this request is not supplied.   400  
IncorrectInstanceStatus   The current status of the resource does not support this operation.   403  
InternalError   The request processing has failed due to some unknown error.   500  
IncorrectVncPassword.Malformed   The specified parameter "VncPassword" is not valid.      

  示例

  請求示例

  https://ecs.aliyuncs.com/?Action=ModifyInstanceVncPasswd

  &DescribeInstanceVncUrl

  &InstanceId=AY121018033933eae8689

  &VncPassword=123456

  &<公共請求參數>

  返回示例

  XML格式

  

  FDB6C963-9CE8-4B7F-BCA3-845F6BD29AFC

  

  JSON格式

  {

  "RequestId": "FDB6C963-9CE8-4B7F-BCA3-845F6BD29AFC",