addNetworkInterfaceAccessControlGroup
    • PDF

    addNetworkInterfaceAccessControlGroup

    • PDF

    Article summary

    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 nameRequiredTypeRestrictionsDescription
    regionCodeNoStringRegion 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
    networkInterfaceNoYesStringThe number of network interface to which ACG will be added
    networkInterfaceNo can be obtained through the getNetworkInterfaceList action.
    accessControlGroupNoList.NYesStringList of ACG numbers to be added
    accessControlGroupNo can be obtained through the getAccessControlGroupList action.
    ex) accessControlGroupNoList.1=1234&accessControlGroupNoList.2=2345
    responseFormatTypeNoStringFormat 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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.