getLoadBalancerTargetServerInstanceList
- 印刷する
- PDF
getLoadBalancerTargetServerInstanceList
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
概要
ロードバランサに割り当てられるサーバインスタンスリスト照会
説明
ロードバランサステータスによって割り当てられるサーバインスタンスリストを照会します。
リクエストパラメータ
パラメータ名 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
networkUsageTypeCode | String | ネットワーク用途区分コード PBLIP(PublicIP) | PRVT(PrivateIP) Default: PBLIP | ||
regionNo | No | String | 入力できるステータスはgetRegionListアクションを通じて取得できます。 |
レスポンスデータタイプ
- ServerInstanceListタイプ
ServerInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List |
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 |
private List |
例示
呼び出し
ncloud loadbalancer getLoadBalancerTargetServerInstanceList --networkUsageTypeCode PBLIP
レスポンス
{
"getLoadBalancerTargetServerInstanceListResponse": {
"requestId": "309c2bc3-c477-4dd1-91d9-924a19dbdad0",
"returnCode": 0,
"returnMessage": "success",
"totalRows": 2,
"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"
}
]
},
{
"serverInstanceNo": 460370,
"serverName": "s-361oopnmo2nxoz001",
"serverDescription": "Auto scaling group \u0027secu\u0027 所属の自動作成されたサーバ",
"cpuCount": 2,
"memorySize": 4294967296,
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "beta-20",
"isFeeChargingMonitoring": false,
"publicIp": "",
"privateIp": "10.39.2.157",
"serverImageName": "centos-7.3-64",
"serverInstanceStatus": {
"code": "RUN",
"codeName": "Server run state"
},
"serverInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"serverInstanceStatusName": "running",
"createDate": "2017-12-03T18:27:43+0900",
"uptime": "2017-12-03T18:30:49+0900",
"serverImageProductCode": "SPSW0LINUX000046",
"serverProductCode": "SPSVRSTAND000004",
"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"?>
<getLoadBalancerTargetServerInstanceListResponse>
<requestId>71493679-3725-4565-8459-9c45e25fde68</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<serverInstanceList>
<serverInstance>
<serverInstanceNo>1289694</serverInstanceNo>
<serverName>ncloud-mktest</serverName>
<serverDescription></serverDescription>
<cpuCount>1</cpuCount>
<memorySize>2147483648</memorySize>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<loginKeyName>beagle</loginKeyName>
<isFeeChargingMonitoring>false</isFeeChargingMonitoring>
<publicIp></publicIp>
<privateIp>10.41.84.156</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>2019-02-22T15:03:49+0900</createDate>
<uptime>2019-02-22T15:07:30+0900</uptime>
<serverImageProductCode>SPSW0LINUX000046</serverImageProductCode>
<serverProductCode>SPSVRSTAND000003</serverProductCode>
<isProtectServerTermination>false</isProtectServerTermination>
<portForwardingPublicIp>106.10.59.225</portForwardingPublicIp>
<zone>
<zoneNo>3</zoneNo>
<zoneName>KR-2</zoneName>
<zoneCode>KR-2</zoneCode>
<zoneDescription>平村 zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<baseBlockStorageDiskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</baseBlockStorageDiskType>
<baseBlockStorageDiskDetailType>
<code>HDD</code>
<codeName>HDD</codeName>
</baseBlockStorageDiskDetailType>
<serverInstanceType>
<code>COMPT</code>
<codeName>Compact Server</codeName>
</serverInstanceType>
<userData></userData>
<accessControlGroupList>
<accessControlGroup>
<accessControlGroupConfigurationNo>4371</accessControlGroupConfigurationNo>
<accessControlGroupName>ncloud-default-acg</accessControlGroupName>
<accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
<isDefault>true</isDefault>
<createDate>2017-02-16T14:25:15+0900</createDate>
</accessControlGroup>
</accessControlGroupList>
<instanceTagList/>
</serverInstance>
</serverInstanceList>
</getLoadBalancerTargetServerInstanceListResponse>
この記事は役に立ちましたか?