Update Load Balancer
Updated: July 10, 2015
The Update Load Balancer operation updates information about a load balancer that is associated with a deployment.
The Update Load Balancer request is specified as follows. Replace <subscription-id> with your subscription ID, <service-name> with the name of the cloud service, <deployment-name> with the name of the deployment, and <load-balancer-name> with the name of the load balancer to update.
The following table describes the request headers.
Required. Set this header to application/xml.
Required. Specifies the version of the operation to use for this request. The value of this header must be set to 2014-06-01 or higher.
The format of the request body is as follows:
<?xml version="1.0" encoding="utf-8"?> <LoadBalancer xmlns="http://schemas.microsoft.com/windowsazure"> <Name>name-of-internal-load-balancer</ServiceName> <FrontendIpConfiguration> <Type>type-of-ip-address</Type> <SubnetName>name-of-subnet</SubnetName> <StaticVirtualNetworkIPAddress>static-ip-address</StaticVirtualNetworkIPAddress> </FrontendIpConfiguration> </LoadBalancer>
The following table describes the elements of the request body.
Required. Specifies the name of the internal load balancer. This value is only provided to identify the load balancer to update and cannot be changed.
Required. Specifies the configuration for the virtual IP address that is provided by the load balancer.
Required. Specifies the type of virtual IP address that is provided by the load balancer. The only allowable value is Private.
Required. Specifies the subnet of the virtual network that the load balancer uses. The virtual IP address that is managed by the load balancer is contained in this subnet.
Required. Specifies a specific virtual IP address that the load balancer uses from the subnet in the virtual network.
The response includes an HTTP status code and a set of response headers.
A successful operation returns status code 201 (Created).
The response for this operation includes the following headers. The response may also include additional standard HTTP headers.
A value that uniquely identifies a request made against the management service. For an asynchronous operation, you can call Get Operation Status with the value of the header to determine whether the operation is complete, has failed, or is still in progress.