removeTarget
    • PDF

    removeTarget

    • PDF

    Article summary

    Can be used in a VPC environment.

    Summary

    Remove targets applied to the target group.
    A list of specified target numbers will be removed from the list of previously applied targets.
    It is not changed if you specify a target number not applied previously.

    Request

    Request Parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region of a target group where the target will be removed.
    You can obtain the regionCode through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    targetGroupNoYesStringTarget group number
    You can obtain the targetGroupNo through the getTargetGroupList action.
    targetNoList.NYesList<String>List of target numbers to remove
    You can obtain the targetNo previously bound through the getTargetList action.
    ex) targetNoList.1=1234&targetNoList.2=2345
    responseFormatTypeNoStringFormat type of the response results
    Options : xml | json
    Default : xml

    Response

    Response data type

    • TargetList type
    TargetList extends CommonResponse
    private Integer totalRows;
    private List targetList = new ArrayList<>();
    Target
    private String targetNo;
    private String targetName;
    private String targetIp;
    private CommonCode healthCheckStatus;
    private String healthCheckResponse;

    Example

    Request example

    ncloud vloadbalancer removeTarget --regionCode KR --targetGroupNo ***095 --targetNoList ***4299
    

    Response example

    List of targets bound to the corresponding target group after executing the request

    <removeTargetResponse>
      <requestId>a4f8aa8d-aab1-4bb8-bad6-1d9006453945</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>0</totalRows>
      <targetList/>
    </removeTargetResponse>
    

    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.