removeNetworkInterfaceAccessControlGroup
- Print
- PDF
removeNetworkInterfaceAccessControlGroup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Remove the list of ACG applied to the network interface. At least 1 ACG must be applied per network interface.
Request
Request parameter
Parameter Name | Required Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region Code You can decide the region of the network interface that will remove an ACG. The regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList query results. | |
networkInterfaceNo | Yes | String | The number of the network interface that will remove the ACG The networkInterfaceNo can be obtained through the getNetworkInterfaceList action. | |
accessControlGroupNoList.N | Yes | List<String> | List of the ACG numbers to be removed The accessControlGroupNo can be obtained through the getAccessControlGroupList action. ex) --accessControlGroupNoList 1234 2345 |
Response
Response data type
- NetworkInterfaceList type
NetworkInterfaceList extends CommonResponse |
---|
private Integer totalRows; |
private List<NetworkInterface> networkInterfaceList = new ArrayList<>(); |
NetworkInterface |
---|
private String networkInterfaceNo; |
private String networkInterfaceName; |
private String subnetNo; |
private Boolean deleteOnTermination; |
private Boolean isDefault; |
private String deviceName; |
private CommonCode networkInterfaceStatus; |
private CommonCode instanceType; |
private String instanceNo; |
private String ip; |
private String macAddress; |
private AccessControlGroupNoList accessControlGroupNoList; |
private String networkInterfaceDescription; |
private SecondaryIpList secondaryIpList; |
SecondaryIpList |
---|
private List<String> secondaryIpList = new ArrayList<>(); |
Example
Request example
ncloud vserver removeNetworkInterfaceAccessControlGroup --regionCode KR --networkInterfaceNo ***87 --accessControlGroupNoList ***64 ***65
Response example
<removeNetworkInterfaceAccessControlGroupResponse>
<requestId>ee0c81c5-5d66-49df-857e-696619f1cf35</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<networkInterfaceList>
<networkInterface>
<networkInterfaceNo>***87</networkInterfaceNo>
<networkInterfaceName>test-***</networkInterfaceName>
<subnetNo>***43</subnetNo>
<deleteOnTermination>false</deleteOnTermination>
<isDefault>false</isDefault>
<deviceName>eth1</deviceName>
<networkInterfaceStatus>
<code>USED</code>
<codeName>used </codeName>
</networkInterfaceStatus>
<instanceType>
<code>VSVR</code>
<codeName>Server (VPC)</codeName>
</instanceType>
<instanceNo>***4299</instanceNo>
<ip>***.***.1.7</ip>
<macAddress>F2:20:***:***:8A:F5</macAddress>
<accessControlGroupNoList>
<accessControlGroupNo>***63</accessControlGroupNo>
</accessControlGroupNoList>
<networkInterfaceDescription></networkInterfaceDescription>
<secondaryIpList></secondaryIpList>
</networkInterface>
</networkInterfaceList>
</removeNetworkInterfaceAccessControlGroupResponse>
Was this article helpful?