- 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
- getCloudRedisTargetVpcList
- getCloudRedisTargetSubnetList
- createCloudRedisManualBackup
- deleteCloudRedisManualBackup
- getCloudRedisManualBackupList
- getCloudRedisManualBackupDetailList
- getCloudRedisBucketList
- exportBackupToObjectStorage
- getCloudRedisConfigGroupVersionList
- 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 (on 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
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
블록 스토리지 인스턴스 할당
설명
블록 스토리지 인스턴스를 서버 인스턴스에 할당합니다.
요청 파라미터
파라미터 명 | 필수 여부 | 타입 | 제약사항 | 설명 |
---|---|---|---|---|
blockStorageInstanceNo | Yes | String | - 블록 스토리지 인스턴스 번호 서버 인스턴스에 할당할 블록 스토리지 인스턴스 번호 결정 blockStorageInstanceNo는 getBlockStorageInstanceList 액션을 통해서 획득 가능 | |
serverInstanceNo | Yes | String | - 서버 인스턴스 번호 블록 스토리지 인스턴스가 할당될 서버 인스턴스 결정 serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능 |
응답 데이터 타입
- BlockStorageInstanceList 타입
BlockStorageInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List |
BlockStorageInstance |
---|
private String blockStorageInstanceNo; |
private String serverInstanceNo; |
private String serverName; |
private CommonCode blockStorageType; |
private String blockStorageName; |
private Long blockStorageSize; |
private String deviceName; |
private String blockStorageProductCode; |
private CommonCode blockStorageInstanceStatus; |
private CommonCode blockStorageInstanceOperation; |
private String blockStorageInstanceStatusName; |
private Date createDate; |
private String blockStorageInstanceDescription; |
private CommonCode diskType; |
private CommonCode diskDetailType; |
private Integer maxIopsThroughput; |
private Region region; |
private Zone zone; |
예시
호출
ncloud server attachBlockStorageInstance --blockStorageInstanceNo ***1004 --serverInstanceNo ***1003
Plain text
응답
{
"attachBlockStorageInstanceResponse": {
"requestId": "c8172d4a-5486-4d34-9331-dfec6a747abf",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"blockStorageInstanceList": [
{
"blockStorageInstanceNo": "***1004",
"serverInstanceNo": "***1003",
"serverName": "test-***",
"blockStorageType": {
"code": "SVRBS",
"codeName": "Server BS"
},
"blockStorageName": "test-***",
"blockStorageSize": 53687091200,
"deviceName": "",
"blockStorageProductCode": "SPBSTBSTAD000006",
"blockStorageInstanceStatus": {
"code": "CREAT",
"codeName": "Block storage CREATED state"
},
"blockStorageInstanceOperation": {
"code": "ATTAC",
"codeName": "Block Storage STOP OP"
},
"blockStorageInstanceStatusName": "attaching",
"createDate": "2018-10-22T16:19:51+0900",
"blockStorageInstanceDescription": "",
"diskType": {
"code": "NET",
"codeName": "Network Storage"
},
"diskDetailType": {
"code": "SSD",
"codeName": "SSD"
},
"maxIopsThroughput": 4000,
"region": {
"regionNo": "1",
"regionCode": "KR",
"regionName": "Korea"
},
"zone": {
"zoneNo": "3",
"zoneName": "KR-2",
"zoneCode": "KR-2",
"zoneDescription": "평촌 zone",
"regionNo": "1"
}
}
]
}
}
JSON
<?xml version="1.0" encoding="UTF-8" ?>
<attachBlockStorageInstanceResponse>
<requestId>c8172d4a-5486-4d34-9331-dfec6a747abf</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<blockStorageInstanceList>
<blockStorageInstance>
<blockStorageInstanceNo>***1004</blockStorageInstanceNo>
<serverInstanceNo>***1003</serverInstanceNo>
<serverName>test-***</serverName>
<blockStorageType>
<code>SVRBS</code>
<codeName>Server BS</codeName>
</blockStorageType>
<blockStorageName>test-***</blockStorageName>
<blockStorageSize>53687091200</blockStorageSize>
<deviceName></deviceName>
<blockStorageProductCode>SPBSTBSTAD000006</blockStorageProductCode>
<blockStorageInstanceStatus>
<code>CREAT</code>
<codeName>Block storage CREATED state</codeName>
</blockStorageInstanceStatus>
<blockStorageInstanceOperation>
<code>ATTAC</code>
<codeName>Block Storage STOP OP</codeName>
</blockStorageInstanceOperation>
<blockStorageInstanceStatusName>attaching</blockStorageInstanceStatusName>
<createDate>2018-10-22T16:19:51+0900</createDate>
<blockStorageInstanceDescription></blockStorageInstanceDescription>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
<diskDetailType>
<code>SSD</code>
<codeName>SSD</codeName>
</diskDetailType>
<maxIopsThroughput>4000</maxIopsThroughput>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<zone>
<zoneNo>3</zoneNo>
<zoneName>KR-2</zoneName>
<zoneCode>KR-2</zoneCode>
<zoneDescription>평촌 zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
</blockStorageInstance>
</blockStorageInstanceList>
</attachBlockStorageInstanceResponse>
XML
이 문서가 도움이 되었습니까?
의견을 보내 주셔서 감사합니다! 우리 팀이 당신에게 돌아갈 것입니다.
이 기사를 어떻게 개선 할 수 있습니까?
귀하의 의견
주석
주석 (선택적)
문자 제한 : 500
의견을 입력하십시오.
이메일 (선택적)
이메일
유효한 이메일을 입력하십시오.