removeNasVolumeAccessControl
- 인쇄
- PDF
removeNasVolumeAccessControl
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
Classic 환경에서 이용 가능합니다.
개요
NAS 볼륨 인스턴스 접근 제어 제거
설명
NAS의 접근 제어를 제거합니다.
설정된 접근제어 권한은 getNasVolumeAccessControlRuleList 액션을 통해 확인 가능합니다.
요청 파라미터
파라미터 명 | 필수 여부 | 타입 | 제약사항 | 설명 |
---|---|---|---|---|
nasVolumeInstanceNo | Yes | String | - NAS 볼륨 인스턴스 번호 nasVolumeInstanceNo는 getNasVolumeInstanceList 액션을 통해 획득 가능 | |
serverInstanceNoList | Conditional | List<String> | 중복 불가 | 중복 불가, 사용자가 소유하고 있는 서버의 인스턴스 번호만 입력 가능 |
customIpList | Conditional | List<String> | 중복 불가 | 중복 불가, 사설 IP만 설정 가능 (공인 IP 설정 불가) |
응답 데이터 타입
- NasVolumeInstanceList 타입
NasVolumeInstanceList extends CommonResponse |
---|
private int totalRows; |
private List<NasVolumeInstance> nasVolumeInstanceList = new ArrayList<NasVolumeInstance>(); |
NasVolumeInstance |
---|
private String nasVolumeInstanceNo; |
private CommonCode nasVolumeInstanceStatus; |
private CommonCode nasVolumeInstanceOperation; |
private String nasVolumeInstanceStatusName; |
private Date createDate; |
private String nasVolumeInstanceDescription; |
private String mountInformation; |
private CommonCode volumeAllotmentProtocolType; |
private String volumeName; |
private long volumeTotalSize; |
private long volumeSize; |
private float snapshotVolumeConfigurationRatio; |
private CommonCode snapshotVolumeConfigPeriodType; |
private CommonCode snapshotVolumeConfigDayOfWeekType; |
private Integer snapshotVolumeConfigTime; |
private long snapshotVolumeSize; |
private Boolean isSnapshotConfiguration; |
private Boolean isEventConfiguration; |
private Region region; |
private Zone zone; |
private Boolean isReturnProtection; |
private List<NasVolumeInstanceCustomIp> nasVolumeInstanceCustomIpList = new ArrayList<NasVolumeInstanceCustomIp>(); |
private List<ServerInstance> nasVolumeServerInstanceList = new ArrayList<ServerInstance>(); |
예시
호출
ncloud server removeNasVolumeAccessControl --nasVolumeInstanceNo ***7034 --serverInstanceNoList ***7322
응답
{
"removeNasVolumeAccessControlResponse": {
"requestId": "a066eadf-5bc7-4acf-bb4e-94a4bd3af66e",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"nasVolumeInstanceList": [
{
"nasVolumeInstanceNo": "***7034",
"nasVolumeInstanceStatus": {
"code": "CREAT",
"codeName": "NAS create"
},
"nasVolumeInstanceOperation": {
"code": "NULL",
"codeName": "NAS NULL OP"
},
"nasVolumeInstanceStatusName": "created",
"createDate": "2018-02-20T22:48:49+0900",
"nasVolumeInstanceDescription": "",
"mountInformation": "***.***.84.81:/n***212_bongnas",
"volumeAllotmentProtocolType": {
"code": "NFS",
"codeName": "NFS"
},
"volumeName": "n***212_bongnas",
"volumeTotalSize": 10737418240,
"volumeSize": 10200547328,
"snapshotVolumeConfigurationRatio": 5.0,
"snapshotVolumeSize": 536870912,
"isSnapshotConfiguration": true,
"isEventConfiguration": false,
"region": {
"regionNo": "1",
"regionCode": "KR",
"regionName": "KOREA"
},
"zone": {
"zoneNo": "2",
"zoneName": "KR-1",
"zoneCode": "KR-1",
"zoneDescription": "KR-1 zone",
"regionNo": "1"
},
"isReturnProtection": false,
"nasVolumeInstanceCustomIpList": [
{
"customIp": "***.***.240.110"
}
],
"nasVolumeServerInstanceList": [
{
"serverInstanceNo": "***6704",
"serverName": "***svr-kr-1",
"serverDescription": "",
"cpuCount": 2,
"memorySize": 4294967296,
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"loginKeyName": "***-test",
"isFeeChargingMonitoring": false,
"publicIp": "",
"privateIp": "***.***.245.109",
"serverImageName": "centos-7.3-64",
"serverInstanceStatus": {
"code": "RUN",
"codeName": "Server RUN State"
},
"serverInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"serverInstanceStatusName": "running",
"createDate": "2018-02-19T13:23:36+0900",
"uptime": "2018-02-19T13:26:33+0900",
"serverImageProductCode": "SPSW0LINUX000046",
"serverProductCode": "SPSVRSSD00000003",
"isProtectServerTermination": false,
"portForwardingPublicIp": "***.***.120.111",
"zone": {
"zoneNo": "2",
"zoneName": "KR-1",
"zoneCode": "KR-1",
"zoneDescription": "KR-1 zone",
"regionNo": "1"
},
"region": {
"regionNo": "1",
"regionCode": "KR",
"regionName": "KOREA"
},
"baseBlockStorageDiskType": {
"code": "NET",
"codeName": "Network Storage"
},
"baseBlockStroageDiskDetailType": {
"code": "SSD",
"codeName": "SSD"
},
"userData": "",
"accessControlGroupList": [
{
"accessControlGroupConfigurationNo": "***1038",
"accessControlGroupName": "ncloud-default-acg",
"accessControlGroupDescription": "Default AccessControlGroup",
"isDefault": true,
"createDate": "2013-12-03T10:37:39+0900"
}
]
}
]
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<removeNasVolumeAccessControlResponse>
<requestId>a066eadf-5bc7-4acf-bb4e-94a4bd3af66e</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<nasVolumeInstanceList>
<nasVolumeInstanceNo>***7034</nasVolumeInstanceNo>
<nasVolumeInstanceStatus>
<code>CREAT</code>
<codeName>NAS create</codeName>
</nasVolumeInstanceStatus>
<nasVolumeInstanceOperation>
<code>NULL</code>
<codeName>NAS NULL OP</codeName>
</nasVolumeInstanceOperation>
<nasVolumeInstanceStatusName>created</nasVolumeInstanceStatusName>
<createDate>2018-02-20T22:48:49+0900</createDate>
<nasVolumeInstanceDescription></nasVolumeInstanceDescription>
<mountInformation>***.***.84.81:/n***212_bongnas</mountInformation>
<volumeAllotmentProtocolType>
<code>NFS</code>
<codeName>NFS</codeName>
</volumeAllotmentProtocolType>
<volumeName>n***212_bongnas</volumeName>
<volumeTotalSize>10737418240</volumeTotalSize>
<volumeSize>10737418240</volumeSize>
<snapshotVolumeConfigurationRatio>5</snapshotVolumeConfigurationRatio>
<snapshotVolumeSize>536870912</snapshotVolumeSize>
<isSnapshotConfiguration>true</isSnapshotConfiguration>
<isEventConfiguration>false</isEventConfiguration>
<region>
<regionNo>1</regionNo>
<regionCode>KR</regionCode>
<regionName>Korea</regionName>
</region>
<zone>
<zoneNo>2</zoneNo>
<zoneName>KR-1</zoneName>
<zoneCode>KR-1</zoneCode>
<zoneDescription>KR-1 zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
<isReturnProtection>false</isReturnProtection>
<nasVolumeInstanceCustomIpList>
<customIp>***.***.240.110</customIp>
</nasVolumeInstanceCustomIpList>
<nasVolumeServerInstanceList>
<serverInstanceNo>***6704</serverInstanceNo>
<serverName>***svr-kr-1</serverName>
<serverDescription></serverDescription>
<cpuCount>2</cpuCount>
<memorySize>4294967296</memorySize>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<loginKeyName>***-test</loginKeyName>
<isFeeChargingMonitoring>false</isFeeChargingMonitoring>
<publicIp></publicIp>
<privateIp>***.***.245.109</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>2018-02-19T13:23:36+0900</createDate>
<uptime>2018-02-19T13:26:33+0900</uptime>
<serverImageProductCode>SPSW0LINUX000046</serverImageProductCode>
<serverProductCode>SPSVRSSD00000003</serverProductCode>
<isProtectServerTermination>false</isProtectServerTermination>
<portForwardingPublicIp>***.***.120.111</portForwardingPublicIp>
<zone>
<zoneNo>2</zoneNo>
<zoneName>KR-1</zoneName>
<zoneCode>KR-1</zoneCode>
<zoneDescription>KR-1 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>
<baseBlockStroageDiskDetailType>
<code>SSD</code>
<codeName>SSD</codeName>
</baseBlockStroageDiskDetailType>
<userData></userData>
<accessControlGroupList>
<accessControlGroupConfigurationNo>***1038</accessControlGroupConfigurationNo>
<accessControlGroupName>ncloud-default-acg</accessControlGroupName>
<accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
<isDefault>true</isDefault>
<createDate>2013-12-03T10:37:39+0900</createDate>
</accessControlGroupList>
</nasVolumeServerInstanceList>
</nasVolumeInstanceList>
</removeNasVolumeAccessControlResponse>
이 문서가 도움이 되었습니까?