getLoadBalancedServerInstanceList
    • PDF

    getLoadBalancedServerInstanceList

    • PDF

    記事の要約

    概要

    ロードバランサにバインドされたサーバインスタンスリスト照会

    説明

    ロードバランサにバインドされたサーバインスタンスリストを照会します。

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    loadBalancerInstanceNoYesListバインドの対象になるロードバランサインスタンス番号
    getLoadBalancerInstanceListアクションを通じてインスタンス番号を確認できます。

    レスポンスデータタイプ

    • ServerInstanceListタイプ
    ServerInstanceList extends CommonResponse
    private Integer totalRows;
    private List serverInstanceList = new ArrayList();
    ServerInstance
    private String serverInstanceNo;
    private String serverName;
    private String serverDescription;
    private Integer cpuCount;
    private Long memorySize;
    private Long baseBlockStorageSize;
    private CommonCode platformType;
    private String loginKeyName;
    private Boolean isFeeChargingMonitoring;
    private String publicIp;
    private String privateIp;
    private String serverImageName;
    private CommonCode serverInstanceStatus;
    private CommonCode serverInstanceOperation;
    private String serverInstanceStatusName;
    private Date createDate;
    private Date uptime;
    private String serverImageProductCode;
    private String serverProductCode;
    private Boolean isProtectServerTermination;
    private String portForwardingPublicIp;
    private Integer portForwardingExternalPort;
    private Integer portForwardingInternalPort;
    private Zone zone;
    private Region region;
    private CommonCode baseBlockStorageDiskType;
    private CommonCode baseBlockStorageDiskDetailType;
    private CommonCode serverInstanceType
    private String userData;
    private List accessControlGroupList;
    private List instanceTagList;

    例示

    呼び出し

    ncloud loadbalancer getLoadBalancedServerInstanceList --loadBalancerInstanceNo 465900
    

    レスポンス

    {
      "getLoadBalancedServerInstanceListResponse": {
        "requestId": "fdfc70bd-0733-4628-9c04-4a43f41e462d",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "serverInstanceList": [
          {
              "serverInstanceNo": 463086,
              "serverName": "penguin",
              "serverDescription": "",
              "cpuCount": 2,
              "memorySize": 2147483648,
              "baseBlockStorageSize": 53687091200,
              "platformType": {
                "code": "LNX64",
                "codeName": "Linux 64 Bit"
              },
              "loginKeyName": "ncloud",
              "isFeeChargingMonitoring": false,
              "publicIp": "",
              "privateIp": "10.39.3.139",
              "serverImageName": "centos-7.3-64",
              "serverInstanceStatus": {
                "code": "RUN",
                "codeName": "Server run state"
              },
              "serverInstanceOperation": {
                "code": "NULL",
                "codeName": "Server NULL OP"
              },
              "serverInstanceStatusName": "running",
              "createDate": "2017-12-04T16:26:54+0900",
              "uptime": "2017-12-04T17:33:16+0900",
              "serverImageProductCode": "SPSW0LINUX000046",
              "serverProductCode": "SPSVRSTAND000049",
              "isProtectServerTermination": false,
              "portForwardingPublicIp": "49.236.160.9",
              "zone": {
                "zoneNo": 2,
                "zoneName": "KR-1",
                "zoneDescription": "カサン NANG zone"
              },
              "region": {
                "regionNo": 1,
                "regionCode": "KR",
                "regionName": "Korea"
              },
              "baseBlockStorageDiskType": {
                "code": "NET",
                "codeName": "Network Storage"
              },
              "baseBlockStroageDiskDetailType": {
                "code": "HDD",
                "codeName": "HDD"
              },
              "userData": "",
              "accessControlGroupList": [
                {
                    "accessControlGroupConfigurationNo": 17759,
                    "accessControlGroupName": "ncloud-default-acg",
                    "accessControlGroupDescription": "Default AccessControlGroup",
                    "isDefault": true,
                    "createDate": "2013-12-03T10:37:43+0900"
                }
              ]
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getLoadBalancedServerInstanceListResponse>
      <requestId>fdfc70bd-0733-4628-9c04-4a43f41e462d</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <serverInstanceList>
        <serverInstanceNo>463086</serverInstanceNo>
        <serverName>penguin</serverName>
        <serverDescription></serverDescription>
        <cpuCount>2</cpuCount>
        <memorySize>2147483648</memorySize>
        <baseBlockStorageSize>53687091200</baseBlockStorageSize>
        <platformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </platformType>
        <loginKeyName>ncloud</loginKeyName>
        <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
        <publicIp></publicIp>
        <privateIp>10.39.3.139</privateIp>
        <serverImageName>centos-7.3-64</serverImageName>
        <serverInstanceStatus>
          <code>RUN</code>
          <codeName>Server run state</codeName>
        </serverInstanceStatus>
        <serverInstanceOperation>
          <code>NULL</code>
          <codeName>Server NULL OP</codeName>
        </serverInstanceOperation>
        <serverInstanceStatusName>running</serverInstanceStatusName>
        <createDate>2017-12-04T16:26:54+0900</createDate>
        <uptime>2017-12-04T17:33:16+0900</uptime>
        <serverImageProductCode>SPSW0LINUX000046</serverImageProductCode>
        <serverProductCode>SPSVRSTAND000049</serverProductCode>
        <isProtectServerTermination>false</isProtectServerTermination>
        <portForwardingPublicIp>49.236.160.9</portForwardingPublicIp>
        <zone>
          <zoneNo>2</zoneNo>
          <zoneName>KR-1</zoneName>
          <zoneDescription>カサン NANG zone</zoneDescription>
        </zone>
        <region>
          <regionNo>1</regionNo>
          <regionCode>KR</regionCode>
          <regionName>Korea</regionName>
        </region>
        <baseBlockStorageDiskType>
          <code>NET</code>
          <codeName>Network Storage</codeName>
        </baseBlockStorageDiskType>
        <baseBlockStroageDiskDetailType>
          <code>HDD</code>
          <codeName>HDD</codeName>
        </baseBlockStroageDiskDetailType>
        <userData></userData>
        <accessControlGroupList>
          <accessControlGroupConfigurationNo>17759</accessControlGroupConfigurationNo>
          <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
          <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
          <isDefault>true</isDefault>
          <createDate>2013-12-03T10:37:43+0900</createDate>
        </accessControlGroupList>
      </serverInstanceList>
    </getLoadBalancedServerInstanceListResponse>
    

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

    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.