DetachLoadBalancerFromSubnets

Description

Detaches the specified subnets from the set of configured subnets for the specified load balancer.

After a subnet is detached, the load balancer balances the requests among the remaining subnets.

If the subnet does not exist or has already been deleted, the call to this API will still be successful.

Request Parameters

Refer to "Common Parameters" for details on standard parameter information used by all actions.

  • LoadBalancerName

    Name of the load balancer to detach from.

    • Type: String
    • Required: Yes
  • Subnets.member.N

    List of subnet IDs to detach from the load balancer.

    • Type: String list
    • Required: Yes

Response

The following status code is returned.

  • Normal response code

    This operation was accepted normally.

    • HTTP Status Code: 200

Response Elements

The following element is returned in a structure called the DetachLoadBalancerFromSubnetsResult.

  • Subnets

    List of subnet IDs attached to the load balancer.

    • Type: String list

Errors

Refer to "Common Errors" for details on error information common to all operations.

  • AccessPointNotFound

    The specified load balancer could not be found.

    • HTTP Status Code: 400
  • InvalidConfigurationRequest

    Requested configuration change is invalid.

    • HTTP Status Code: 409

Examples

Sample Request

The example below detaches the subnet with the ID MySubnet-XXXXX from the load balancer named MyLB01.


https://loadbalancing.(regionName).cloud.global.fujitsu.com/?Subnets.member.1=MySubnet-XXXXX
&LoadBalancerName=MyLB01
&Version=2014-11-01
&Action=DetachLoadBalancerFromSubnets    
     

Sample Response (XML)


<DetachLoadBalancerFromSubnetsResponse xmlns=" http://docs.cloudcommunity.global.fujitsu.com/loadbalancing/api/v1.0">
  <DetachLoadBalancerFromSubnetsResult>
    <Subnets>
      <member>subnet-159f007c</member>
      <member>subnet-3561b05e</member>
    </Subnets>
  </DetachLoadBalancerFromSubnetsResult>
  <ResponseMetadata>
     <RequestId>07b1ecbc-1100-11e3-acaf-dd7edEXAMPLE</RequestId>
  </ResponseMetadata>
</DetachLoadBalancerFromSubnetsResponse>   
     

Sample Response (JSON)


{
  "DetachLoadBalancerFromSubnetsResponse": {
    "DetachLoadBalancerFromSubnetsResult": {
      "Subnets": {
        "member": [
          "subnet-159f007c",
          "subnet-3561b05e"
        ]
      }
    },
   "ResponseMetadata": {
      "RequestId": "07b1ecbc-1100-11e3-acaf-dd7edEXAMPLE"
    }
  }
}