addNetworkInterfaceAccessControlGroup
- Print
- PDF
addNetworkInterfaceAccessControlGroup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
This adds the list of ACG to be applied to the network interface. Up to 3 ACG per network interface can be applied.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of the network interface in which the ACG will be added. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
networkInterfaceNo | Yes | String | The number of network interface to which ACG will be added networkInterfaceNo can be obtained through the getNetworkInterfaceList action. | |
accessControlGroupNoList.N | Yes | String | List of ACG numbers to be added accessControlGroupNo can be obtained through the getAccessControlGroupList action. ex) accessControlGroupNoList.1=1234&accessControlGroupNoList.2=2345 | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/addNetworkInterfaceAccessControlGroup
?regionCode=KR
&networkInterfaceNo=***87
&accessControlGroupNoList.1=***64
Response Example
<addNetworkInterfaceAccessControlGroupResponse>
<requestId>6fb2dc37-4505-4dc0-aad3-481d3a6a6434</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>
<accessControlGroupNo>***64</accessControlGroupNo>
</accessControlGroupNoList>
<networkInterfaceDescription></networkInterfaceDescription>
<secondaryIpList></secondaryIpList>
</networkInterface>
</networkInterfaceList>
</addNetworkInterfaceAccessControlGroupResponse>
Was this article helpful?