- HOME
- CLIの概要
- Compute
- Server (VPC)
- Server概要
- Server
- Login Key
- Placement Group
- getServerInstanceList
- getServerInstanceDetail
- createServerInstances
- startServerInstances
- stopServerInstances
- rebootServerInstances
- terminateServerInstances
- changeServerInstanceSpec
- getRootPassword
- getRootPasswordServerInstanceList
- setProtectServerTermination
- interruptServerInstance
- Server Image
- removeServerImageSharingPermission
- addServerImageSharingPermission
- getServerImageDetail
- getServerImageList
- createServerImageFromSnapshot
- createServerImage
- deleteServerImage
- getMemberServerImageInstanceList
- getMemberServerImageInstanceDetail
- createMemberServerImageInstance
- deleteMemberServerImageInstances
- setMemberServerImageSharingPermission
- addMemberServerImageSharingPermission
- removeMemberServerImageSharingPermission
- Storage
- Snapshot
- Public IP
- Init Script
- Network Interface
- getNetworkInterfaceList
- getNetworkInterfaceDetail
- createNetworkInterface
- deleteNetworkInterface
- attachNetworkInterface
- detachNetworkInterface
- addNetworkInterfaceAccessControlGroup
- removeNetworkInterfaceAccessControlGroup
- assignSecondaryIps
- unassignSecondaryIps
- enableFlowLog
- disableFlowLog
- getFlowLogConfigurationList
- ACG
- Common
- Server
- Server概要
- getServerImageProductList
- getServerProductList
- getRaidList
- getServerInstanceList
- createServerInstances
- recreateServerInstance
- terminateServerInstances
- changeServerInstanceSpec
- rebootServerInstances
- startServerInstances
- stopServerInstances
- getInitScriptList
- getRootPassword
- getRootPasswordServerInstanceList
- getMemberServerImageList
- createMemberServerImage
- deleteMemberServerImages
- getBlockStorageInstanceList
- createBlockStorageInstance
- deleteBlockStorageInstances
- attachBlockStorageInstance
- detachBlockStorageInstances
- changeBlockStorageVolumeSize
- getBlockStorageSnapshotInstanceList
- createBlockStorageSnapshotInstance
- deleteBlockStorageSnapshotInstances
- getPublicIpInstanceList
- getPublicIpTargetServerInstanceList
- createPublicIpInstance
- associatePublicIpWithServerInstance
- disassociatePublicIpFromServerInstance
- deletePublicIpInstances
- replaceServerInstanceAssociatedWithPublicIp
- getPortForwardingRuleList
- addPortForwardingRules
- deletePortForwardingRules
- getRegionList
- getZoneList
- getLoginKeyList
- createLoginKey
- importLoginKey
- deleteLoginKey
- createNasVolumeInstance
- deleteNasVolumeInstance
- getNasVolumeInstanceList
- changeNasVolumeSize
- getNasVolumeInstanceRatingList
- setNasVolumeAccessControl
- addNasVolumeAccessControl
- removeNasVolumeAccessControl
- getNasVolumeAccessControlRuleList
- getAccessControlGroupList
- getAccessControlGroupServerInstanceList
- getAccessControlRuleList
- createInstanceTags
- deleteInstanceTags
- getInstanceTagList
- getPortForwardingConfigurationList
- setMemberServerImageSharingPermission
- addMemberServerImageSharingPermission
- removeMemberServerImageSharingPermission
- setNasVolumeReturnProtection
- getNasVolumeSnapshotConfigurationHistoryList
- changeNasVolumeSnapshotConfiguration
- getNasVolumeSnapshotList
- createNasVolumeSnapshot
- deleteNasVolumeSnapshot
- restoreNasVolumeWithSnapshot
- setProtectServerTermination
- interruptServerInstance
- Auto Scaling (VPC)
- Auto Scaling概要
- Launch Configuration
- Auto Scaling Group
- getAutoScalingGroupList
- getAutoScalingGroupDetail
- createAutoScalingGroup
- updateAutoScalingGroup
- deleteAutoScalingGroup
- setDesiredCapacity
- getScheduledActionList
- putScheduledUpdateGroupAction
- deleteScheduledUpdateGroupAction
- getScalingProcessTypeList
- suspendProcesses
- resumeProcesses
- getAutoScalingActivityLogList
- getAutoScalingPolicyList
- getAdjustmentTypeList
- putScalingPolicy
- deleteScalingPolicy
- executePolicy
- Auto Scaling
- Auto Scaling概要
- getLaunchConfigurationList
- createLaunchConfiguration
- deleteAutoScalingLaunchConfiguration
- getAutoScalingGroupList
- createAutoScalingGroup
- updateAutoScalingGroup
- deleteAutoScalingGroup
- setDesiredCapacity
- terminateServerInstanceInAutoScalingGroup
- setServerInstanceHealth
- getScheduledActionList
- putScheduledUpdateGroupAction
- deleteScheduledAction
- suspendProcesses
- resumeProcesses
- getScalingProcessTypeList
- getAutoScalingActivityLogList
- getAutoScalingConfigurationLogList
- getAutoScalingPolicyList
- putScalingPolicy
- deletePolicy
- executePolicy
- getAdjustmentTypeList
- Server (VPC)
- Storage
- Networking
- VPC
- VPC概要
- VPC Management
- Subnet Management
- Network ACL
- getNetworkAclList
- getNetworkAclDetail
- createNetworkAcl
- deleteNetworkAcl
- setSubnetNetworkAcl
- getNetworkAclRuleList
- addNetworkAclInboundRule
- addNetworkAclOutboundRule
- removeNetworkAclInboundRule
- removeNetworkAclOutboundRule
- setNetworkAclDescription
- getNetworkAclDenyAllowGroupList
- getNetworkAclDenyAllowGroupDetail
- createNetworkAclDenyAllowGroup
- deleteNetworkAclDenyAllowGroup
- setNetworkAclDenyAllowGroupIpList
- setNetworkAclDenyAllowGroupDescription
- NAT Gateway
- VPC Peering
- Route Table
- Load Balancer (VPC)
- Load Balancer概要
- Load Balancer
- addLoadBalancerListenerCertificate
- getLoadBalancerInstanceList
- getLoadBalancerInstanceDetail
- createLoadBalancerInstance
- deleteLoadBalancerInstances
- changeLoadBalancerInstanceConfiguration
- setLoadBalancerInstanceSubnet
- setLoadBalancerDescription
- getLoadBalancerListenerList
- createLoadBalancerListener
- deleteLoadBalancerListeners
- changeLoadBalancerListenerConfiguration
- getLoadBalancerRuleList
- removeLoadBalancerListenerCertificate
- getLoadBalancerListenerCertificateList
- Target Group
- Load Balancer
- Load Balancer概要
- getLoadBalancerInstanceList
- createLoadBalancerInstance
- getLoadBalancerTargetServerInstanceList
- changeLoadBalancerInstanceConfiguration
- getLoadBalancedServerInstanceList
- changeLoadBalancedServerInstances
- deleteLoadBalancerInstances
- getLoadBalancerSslCertificateList
- addLoadBalancerSslCertificate
- deleteLoadBalancerSslCertificate
- VPC
- Database
- Cloud DB for PostgreSQL (VPC)
- Cloud DB for PostgreSQL (on VPC) の概要
- addCloudPostgresqlDatabaseList
- addCloudPostgresqlUserList
- changeCloudPostgresqlUserList
- createCloudPostgresqlInstance
- createCloudPostgresqlReadReplicaInstance
- deleteCloudPostgresqlDatabaseList
- deleteCloudPostgresqlInstance
- deleteCloudPostgresqlReadReplicaInstance
- deleteCloudPostgresqlUserList
- exportBackupToObjectStorage
- exportDbServerLogToObjectStorage
- getCloudPostgresqlBackupDetailList
- getCloudPostgresqlBackupList
- getCloudPostgresqlBucketList
- getCloudPostgresqlDatabaseList
- getCloudPostgresqlImageProductList
- getCloudPostgresqlInstanceDetail
- getCloudPostgresqlInstanceList
- getCloudPostgresqlProductList
- getCloudPostgresqlTargetSubnetList
- getCloudPostgresqlTargetVpcList
- getCloudPostgresqlUserList
- getDbServerLogList
- rebootCloudPostgresqlServerInstance
- Cloud DB for MySQL (VPC)
- Cloud DB for MySQL (VPC)の概要
- addCloudMysqlDatabaseList
- addCloudMysqlUserList
- changeCloudMysqlServerSpec
- changeCloudMysqlUserList
- createCloudMysqlInstance
- createCloudMysqlRecoveryInstance
- createCloudMysqlSlaveInstance
- deleteCloudMysqlDatabaseList
- deleteCloudMysqlInstance
- deleteCloudMysqlServerInstance
- deleteCloudMysqlUserList
- exportBackupToObjectStorage
- exportDbServerLogToObjectStorage
- getCloudMysqlBackupDetailList
- getCloudMysqlBackupList
- getCloudMysqlDatabaseList
- getCloudMysqlEventHistoryList
- getCloudMysqlImageProductList
- getCloudMysqlInstanceDetail
- getCloudMysqlInstanceList
- getCloudMysqlProductList
- getCloudMysqlRecoveryTime
- getCloudMysqlTargetSubnetList
- getCloudMysqlTargetVpcList
- getCloudMysqlUserList
- getDbServerLogList
- rebootCloudMysqlServerInstance
- Cloud DB for Redis (VPC)
- Cloud DB for Redis(VPC)の概要
- createCloudRedisConfigGroup
- createCloudRedisInstance
- deleteCloudRedisConfigGroup
- deleteCloudRedisInstance
- getCloudRedisBackupDetailList
- getCloudRedisBackupList
- getCloudRedisConfigGroupList
- getCloudRedisInstanceDetail
- getCloudRedisImageProductList
- getCloudRedisInstanceList
- getCloudRedisProductList
- rebootCloudRedisServerInstance
- flushAllCloudRedisServerInstance
- getCloudRedisManualBackupList
- getCloudRedisConfigGroupVersionList
- createCloudRedisManualBackup
- getCloudRedisTargetSubnetList
- exportBackupToObjectStorage
- getCloudRedisManualBackupDetailList
- deleteCloudRedisManualBackup
- getCloudRedisBucketList
- getCloudRedisTargetVpcList
- Cloud DB for MSSQL (VPC)
- Cloud DB for MSSQL (VPC)の概要
- createCloudMssqlInstance
- createCloudMssqlSlaveInstance
- deleteCloudMssqlInstance
- deleteCloudMssqlServerInstance
- exportDbServerLogsToObjectStorage
- exportBackupToObjectStorage
- getCloudMssqlLogBackupFileList
- getCloudMssqlBackupDetailList
- getCloudMssqlBackupList
- getCloudMssqlCharacterSetList
- getCloudMssqlConfigGroupList
- getCloudMssqlImageProductList
- getCloudMssqlInstanceDetail
- getCloudMssqlInstanceList
- getCloudMssqlProductList
- getCloudMssqlTargetSubnetList
- getCloudMssqlTargetVpcList
- getCloudMssqlLogFileList
- getCloudMssqlFolderList
- getCloudMssqlBucketList
- rebootCloudMssqlServerInstance
- Cloud DB for MongoDB (VPC)
- Cloud DB for MongoDB (VPC) の概要
- addCloudMongoDbUserList
- changeCloudMongoDbConfigCount
- changeCloudMongoDbMongosCount
- changeCloudMongoDbSecondaryCount
- changeCloudMongoDbShardCount
- changeCloudMongoDbUserList
- createCloudMongoDbInstance
- deleteCloudMongoDbInstance
- deleteCloudMongoDbUserList
- getCloudMongoDbBucketList
- exportBackupToObjectStorage
- getCloudMongoDbBackupDetailList
- getCloudMongoDbBackupList
- getCloudMongoDbImageProductList
- getCloudMongoDbInstanceDetail
- getCloudMongoDbInstanceList
- getCloudMongoDbProductList
- getCloudMongoDbTargetSubnetList
- getCloudMongoDbTargetVpcList
- getCloudMongoDbUserList
- rebootCloudMongoDbServerInstance
- getDbServerLogList
- exportDbServerLogToObjectStorage
- Cloud DB for PostgreSQL (VPC)
- Big Data & Analytics
- Cloud Hadoop (VPC)
- Cloud Hadoop (VPC) の概要
- backupClusterConfiguration
- changeCloudHadoopNodeCount
- changeCloudHadoopNodeSpec
- createCloudHadoopInstance
- createCloudHadoopNotebookInstance
- deleteCloudHadoopInstance
- deleteCloudHadoopNotebookInstance
- getCloudHadoopAddOnList
- getCloudHadoopBucketList
- getCloudHadoopClusterTypeList
- getCloudHadoopImageProductList
- getCloudHadoopInstanceDetail
- getCloudHadoopInstanceList
- getCloudHadoopLoginKeyList
- getCloudHadoopMysqlInstanceList
- getCloudHadoopMysqlUserList
- getCloudHadoopNotebookBucketList
- getCloudHadoopNotebookComponentList
- getCloudHadoopNotebookImageProductList
- getCloudHadoopNotebookInstanceDetail
- getCloudHadoopNotebookInstanceList
- getCloudHadoopNotebookProductList
- getCloudHadoopObjectList
- getCloudHadoopProductList
- getCloudHadoopTargetSubnetList
- getCloudHadoopTargetVpcList
- saveExternalHiveMetaStore
- testConnectExternalHiveMetaStore
- Cloud Hadoop (VPC)
- Content Delivery
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
概要
サーバインスタンスリスト照会
説明
サーバインスタンス(VM)リストを照会します。
ページング処理が可能であり、レスポンス項目の中、userDataの場合にはサーバインスタンス詳細照会時のみに提供されます。
リクエストパラメータ
パラメータ名 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
serverInstanceNoList | No | List | 照会するサーバインスタンス番号リスト | |
searchFilterName | No | String | サーバ名(serverName) | アイピ(ip) [大小文字区分なし] アイピ(ip)の場合にはプライベートIP、グローバルIPを全て検索できます。 | |
searchFilterValue | No | String | 検索する値 | |
pageNo | No | Integer | Min:0, Max:2147483647 | 件数が多い場合、ページサイズに該当するページ番号 |
pageSize | No | Integer | Min:0, Max:2147483647 | 一つのページで照会するページサイズ |
serverInstanceStatusCode | No | String | Min:0, Max:5 | 照会するサーバインスタンスステータスコード別サーバリスト 入力できるステータスはサーバインスタンスデータタイプ(ServerInstance)のサーバインスタンスステータス(serverInstanceStatus)値をご参考ください。 |
regionNo | No | String | 入力できるステータスはgetRegionListアクションを通じて取得できます。 | |
zoneNo | No | String | サーバリストが照会されるZONEを決定できます。 getZoneListアクションを通じて取得できます。 Default : 該当リージョンの1番目のZONEを選択 | |
baseBlockStorageDiskTypeCode | No | String | Min : 1, Max : 5 | サーバディスクタイプ区分コード NETWORK DISK(NET) | LOCAL DISK(LOCAL) |
baseBlockStorageDiskDetailTypeCode | No | String | Min : 1, Max : 5 | サーバディスク詳細タイプ区分コード ハードディスク(HDD) | SSD(SSD) |
sortedBy | No | String | サーバ名(serverName) | サーバインスタンス番号(serverInstanceNo) [大小文字区分なし]] Default : サーバインスタンス番号(serverInstanceNo) | |
sortingOrder | No | String | アセンディング(ascending) | ディセンディング(descending) [大小文字区分なし] Default : アセンディング(ascending) | |
serverInstanceTypeCodeList | No | List | 照会するサーバインスタンス区分コードリスト Micro(MICRO) | Compact(COMPT) | Standard(STAND) | High Memory(HIMEM) | GPU(GPU) | Virtual Dedicated Server(VDS) | |
tagKeyList | No | List | 照会するタグキーリスト | |
tagValueList | No | List | 照会するタグ値リスト |
レスポンスデータタイプ
- 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 String initScriptNo; |
private List |
private List |
private List |
例示
呼び出し
ncloud server getServerInstanceList --serverInstanceStatusCode NSTOP --regionNo 2
Plain text
レスポンス
{
"getServerInstanceListResponse": {
"requestId": "164236f2-effd-4103-96ef-5631de14f5fc",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 2,
"serverInstanceList": [
{
"serverInstanceNo": "324429",
"serverName": "test-muk",
"serverDescription": "",
"cpuCount": 1,
"memorySize": 2147483648,
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "yskey",
"isFeeChargingMonitoring": false,
"publicIp": "192.168.10.128",
"privateIp": "10.113.201.174",
"serverImageName": "centos-5.7-64",
"serverInstanceStatus": {
"code": "NSTOP",
"codeName": "Server normal stopped state"
},
"serverInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"serverInstanceStatusName": "stopped",
"createDate": "2017-05-19T12:07:12+0900",
"uptime": "2017-05-23T16:56:45+0900",
"serverImageProductCode": "SPSW0LINUX000010",
"serverProductCode": "SPSVRSTAND000003",
"isProtectServerTermination": false,
"portForwardingPublicIp": "192.168.10.100",
"zone": {
"zoneNo": "10",
"zoneName": "USW-1",
"zoneDescription": "1st zone"
},
"region": {
"regionNo": "2",
"regionCode": "USW",
"regionName": "US-West"
},
"baseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network Storage"
},
"baseBlockStroageDiskDetailType": {
"code": "HDD",
"codeName": "HDD"
},
"serverInstanceType": {
"code": "STAND"
"codeName": "Standard"
},
"userData": "",
"accessControlGroupList": [
{
"accessControlGroupConfigurationNo": "1038",
"accessControlGroupName": "ncloud-default-acg",
"accessControlGroupDescription": "Default AccessControlGroup",
"isDefault": true,
"createDate": "2013-12-03T10:37:39+0900"
}
]
},
{
"serverInstanceNo": "394180",
"serverName": "mssong-test",
"serverDescription": "",
"cpuCount": 2,
"memorySize": 4294967296,
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "redis-web",
"isFeeChargingMonitoring": false,
"publicIp": "",
"privateIp": "10.113.201.150",
"serverImageName": "centos-6.3-64",
"serverInstanceStatus": {
"code": "NSTOP",
"codeName": "Server normal stopped state"
},
"serverInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"serverInstanceStatusName": "stopped",
"createDate": "2017-12-27T23:56:58+0900",
"uptime": "2017-12-28T00:03:58+0900",
"serverImageProductCode": "SPSW0LINUX000031",
"serverProductCode": "SPSVRSTAND000004",
"isProtectServerTermination": false,
"portForwardingPublicIp": "192.168.10.100",
"zone": {
"zoneNo": "10",
"zoneName": "USW-1",
"zoneDescription": "1st zone"
},
"region": {
"regionNo": "2",
"regionCode": "USW",
"regionName": "US-West"
},
"baseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network Storage"
},
"baseBlockStroageDiskDetailType": {
"code": "HDD",
"codeName": "HDD"
},
"serverInstanceType": {
"code": "STAND"
"codeName": "Standard"
},
"userData": "",
"initScriptNo": "",
"accessControlGroupList": [
{
"accessControlGroupConfigurationNo": "1038",
"accessControlGroupName": "ncloud-default-acg",
"accessControlGroupDescription": "Default AccessControlGroup",
"isDefault": true,
"createDate": "2013-12-03T10:37:39+0900"
}
]
}
]
}
}
JSON
<?xml version="1.0" encoding="UTF-8"?>
<getServerInstanceListResponse>
<requestId>581b7b0d-2046-4222-ae16-1ffcfc166e79</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>
<initScriptNo></initScriptNo>
<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>
</getServerInstanceListResponse>
XML
この記事は役に立ちましたか?
あなたのフィードバックをありがとう!私たちのチームはあなたに戻って取得します
この記事をどのように改善できますか?
あなたのフィードバック
コメント
コメント (随意)
文字数制限 : 500
あなたのコメントを入力してください
電子メール (随意)
電子メール
有効なメールアドレスを入力してください