setLoadBalancerInstanceSubnet
    • PDF

    setLoadBalancerInstanceSubnet

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Set load balancer subnet.
    Set it by including the subnets already set. You can add subnets in different zones from the previous subnets.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    You can decide the region of the load balancer instance to change subnet settings.
    You can obtain regionCode through the getRegionList action.
    Default: Selects the first region of the getRegionList search results.
    loadBalancerInstanceNoYesString- Load balancer instance number to change subnet settings
    You can obtain loadBalancerInstanceNo through the getLoadBalancerInstanceList action.
    subnetNoList.NYesList- List of the subnet numbers
    Either subnetNoList or loadBalancerSubnetList, one of two must be entered.
    loadBalancerSubnetList is applied for both subnetNoList and loadBalancerSubnetList when they are delivered.
    Selects a subnet in the same VPC as the selected load balancer.
    You can select a subnet for load balancer per zone.
    Selects by including subnets previously set.
    You can obtain subnetNo through the getSubnetList action.
    E.g., subnetNoList.1=1234&subnetNoList.2=2345
    loadBalancerSubnetList.N.subnetNoConditionalString- Subnet number
    Either subnetNoList or loadBalancerSubnetList, one of two must be entered.
    loadBalancerSubnetList is applied for both subnetNoList and loadBalancerSubnetList when they are delivered.
    loadBalancerSubnetList.N.subnetNo is required when loadBalancerSubnetList is applied
    Selects a subnet in the same VPC as the selected load balancer.
    You can select a subnet for load balancer per zone.
    You can obtain subnetNo through the getSubnetList action.
    loadBalancerSubnetList.N.publicIpInstanceNoNoString- Public IP instance number
    It's only valid when loadBalancerNetworkTypeCode is PUBLIC.
    It can only be used in the SGN (Singapore) region.
    Default: A new public IP is created and assigned.
    responseFormatTypeNoString- Format type of the response result
    Options: xml | json
    Default: xml

    Response

    Response body

    Examples

    Request examples

    GET {API_URL}/setLoadBalancerInstanceSubnet
    ?regionCode=KR
    &loadBalancerInstanceNo=***887
    &subnetNoList.1=***43
    &subnetNoList.2=***44
    

    Response examples

    <setLoadBalancerInstanceSubnetResponse>
      <requestId>959a2fe5-fd1b-459a-9af3-df0e51b68e1d</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <loadBalancerInstanceList>
        <loadBalancerInstance>
          <loadBalancerInstanceNo>***887</loadBalancerInstanceNo>
          <loadBalancerInstanceStatus>
            <code>USED</code>
            <codeName>LB USED state</codeName>
          </loadBalancerInstanceStatus>
          <loadBalancerInstanceOperation>
            <code>CHANG</code>
            <codeName>LB CHANGE OP</codeName>
          </loadBalancerInstanceOperation>
          <loadBalancerInstanceStatusName>Changing</loadBalancerInstanceStatusName>
          <loadBalancerDescription></loadBalancerDescription>
          <createDate>2020-12-20T19:21:02+0900</createDate>
          <loadBalancerName>test-***</loadBalancerName>
          <loadBalancerDomain>test-***-***887-***.com</loadBalancerDomain>
          <loadBalancerIpList>
            <loadBalancerIp>***.***.5.6</loadBalancerIp>
          </loadBalancerIpList>
          <loadBalancerType>
            <code>APPLICATION</code>
            <codeName>Application Load Balancer</codeName>
          </loadBalancerType>
          <loadBalancerNetworkType>
            <code>PRIVATE</code>
            <codeName>Private</codeName>
          </loadBalancerNetworkType>
          <throughputType>
            <code>SMALL</code>
            <codeName>Small</codeName>
          </throughputType>
          <idleTimeout>60</idleTimeout>
          <vpcNo>***04</vpcNo>
          <regionCode>KR</regionCode>
          <subnetNoList>
            <subnetNo>***43</subnetNo>
            <subnetNo>***44</subnetNo>
          </subnetNoList>
          <loadBalancerSubnetList>
            <loadBalancerSubnet>
              <zoneCode>KR-1</zoneCode>
              <subnetNo>***43</subnetNo>
              <publicIpInstanceNo/>
            </loadBalancerSubnet>
            <loadBalancerSubnet>
              <zoneCode>KR-2</zoneCode>
              <subnetNo>***44</subnetNo>
              <publicIpInstanceNo/>
            </loadBalancerSubnet>
          </loadBalancerSubnetList>
          <loadBalancerListenerNoList>
            <loadBalancerListenerNo>***961</loadBalancerListenerNo>
          </loadBalancerListenerNoList>
        </loadBalancerInstance>
      </loadBalancerInstanceList>
    </setLoadBalancerInstanceSubnetResponse>
    

    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.