getRootPasswordServerInstanceList
    • PDF

    getRootPasswordServerInstanceList

    • PDF

    Article Summary

    概要

    サーバrootアカウントのパスワードサーバインスタンスリスト照会

    説明

    サーバ(VM)のログインキーでrootアカウントのパスワードを照会します。

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    rootPasswordServerInstanceList.serverInstanceNoYesStringサーバインスタンス番号
    rootPasswordServerInstanceList.privateKeyYesStringサーバを作成する時、適用したログインキー (認証キーが保存された経路を貰います。)
    - 入力されたKey値はネットワークに伝送されません。
    - ex) file://directory1/directory2/*.pem
    - ex) https://kr.objectstorage.ncloud.com/bucket/penguin.pem

    レスポンスデータタイプ

    • RootPasswordServerInstanceタイプ
    RootPasswordServerInstance extends CommonResponse
    private String serverInstanceNo;
    private String rootPassword;

    例示

    呼び出し

    ncloud server getRootPasswordServerInstanceList --rootPasswordServerInstanceList "serverInstanceNo=886621, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'" "serverInstanceNo=886624, privateKey='file:///C:/Users/USER/Desktop/private/key/penguin-beta.pem'"
    

    レスポンス

    {
      "getRootPasswordServerInstanceListResponse": {
        "requestId": "20bb8687-5f38-40be-bea3-03adab55f069",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 2,
        "rootPasswordServerInstanceList": [
          {
            "serverInstanceNo": "886621",
            "rootPassword": "N2T!FH93*hd"
          },
          {
            "serverInstanceNo": "886624",
            "rootPassword": "R78D55h9J#"
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getRootPasswordServerInstanceListResponse>
      <requestId>20bb8687-5f38-40be-bea3-03adab55f069</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <rootPasswordServerInstanceList>
        <serverInstanceNo>886621</serverInstanceNo>
        <rootPassword>N2T!FH93*hd</rootPassword>
      </rootPasswordServerInstanceList>
      <rootPasswordServerInstanceList>
        <serverInstanceNo>886624</serverInstanceNo>
        <rootPassword>R78D55h9J#</rootPassword>
      </rootPasswordServerInstanceList>
    </getRootPasswordServerInstanceListResponse>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.