func (r Network_LoadBalancer_Global_Account) EditObject(templateObject *datatypes.Network_LoadBalancer_Global_Account) (resp bool, err error) {
	params := []interface{}{
		templateObject,
	}
	err = r.Session.DoRequest("SoftLayer_Network_LoadBalancer_Global_Account", "editObject", params, &r.Options, &resp)
	return
}
// Edit the properties of a global load balancer account by passing in a modified instance of the object. The global load balancer account properties you are able to edit are: fallback ip, load balance type id, and notes. Hosts that belong to your SoftLayer global load balancer account are created and modified through this method. An example templateObject that updates global load balancer account properties, updates the properties of a host, and adds a new host is shown below:
//
//
// * id: 2
// * loadBalanceTypeId: 2
// * notes: Notes updated
// * fallbackIp: 1.1.1.1
// * hosts:
// ** id: 19
// ** destinationIp: 2.2.2.2
// ** weight: 25
// ** healthCheck: http
// ** destinationPort: 80
// ** enabled: 1<br /><br />
// ** destinationIp: 3.3.3.3
// ** weight: 25
// ** healthCheck: http
// ** destinationPort: 80
// ** enabled: 1
//
//
//
//
// The first section contains the properties of the global load balancer account that will be updated, while the second section contains the elements of the 'hosts' property of the global load balancer account.  The first host listed will have its properties updated because the 'id' property of the host is set, meaning the global load balancer host with an id of 19 will be updated. The second host listed will be created because it lacks the 'id' property.
//
// There is a limit to the maximum number of hosts that you are allowed to add, and is defined by the allowedNumberOfHosts property on the global load balancer account.  The destination IP address of a host must be an IP address that belongs to your SoftLayer Account, or a local load balancer virtual IP address that belongs to your account.  The destination IP address and destination port are required and must be provided when creating a host.
Edit the properties of a global load balancer account by passing in a modified instance of the object. The global load balancer account properties you are able to edit are: fallback ip, load balance type id, and notes. Hosts that belong to your SoftLayer global load balancer account are created and modified through this method. An example templateObject that updates global load balancer account properties, updates the properties of a host, and adds a new host is shown below.

2
loadBalanceTypeId: 2
notes: Notes updated
fallbackIp: 1.1.1.1
hosts:
id: 19
destinationIp: 2.2.2.2
weight: 25
healthCheck: http
destinationPort: 80
enabled: 1
destinationIp: 3.3.3.3
weight: 25
healthCheck: http
destinationPort: 80
enabled: 1



The first section contains the properties of the global load balancer account that will be updated, while the second section contains the elements of the 'hosts' property of the global load balancer account.  The first host listed will have its properties updated because the 'id' property of the host is set, meaning the global load balancer host with an id of 19 will be updated. The second host listed will be created because it lacks the 'id' property.

There is a limit to the maximum number of hosts that you are allowed to add, and is defined by the allowedNumberOfHosts property on the global load balancer account.  The destination IP address of a host must be an IP address that belongs to your SoftLayer Account, or a local load balancer virtual IP address that belongs to your account.  The destination IP address and destination port are required and must be provided when creating a host.
// Edit the properties of a global load balancer account by passing in a modified instance of the object . The global load balancer account properties you are able to edit are : fallback ip load balance type id and notes . Hosts that belong to your SoftLayer global load balancer account are created and modified through this method . An example templateObject that updates global load balancer account properties updates the properties of a host and adds a new host is shown below : // // // * id : 2 // * loadBalanceTypeId : 2 // * notes : Notes updated // * fallbackIp : 1 . 1 . 1 . 1 // * hosts : // ** id : 19 // ** destinationIp : 2 . 2 . 2 . 2 // ** weight : 25 // ** healthCheck : http // ** destinationPort : 80 // ** enabled : 1<br / > <br / > // ** destinationIp : 3 . 3 . 3 . 3 // ** weight : 25 // ** healthCheck : http // ** destinationPort : 80 // ** enabled : 1 // // // // // The first section contains the properties of the global load balancer account that will be updated while the second section contains the elements of the ' hosts ' property of the global load balancer account . The first host listed will have its properties updated because the ' id ' property of the host is set meaning the global load balancer host with an id of 19 will be updated . The second host listed will be created because it lacks the ' id ' property . // // There is a limit to the maximum number of hosts that you are allowed to add and is defined by the allowedNumberOfHosts property on the global load balancer account . The destination IP address of a host must be an IP address that belongs to your SoftLayer Account or a local load balancer virtual IP address that belongs to your account . The destination IP address and destination port are required and must be provided when creating a host .
func (r Network_LoadBalancer_Global_Account) EditObject(templateObject *datatypes.Network_LoadBalancer_Global_Account) (resp bool, err error) {
	params := []interface{}{
		templateObject,
	}
	err = r.Session.DoRequest("SoftLayer_Network_LoadBalancer_Global_Account", "editObject", params, &r.Options, &resp)
	return
}
func ( r Network_LoadBalancer_Global_Account ) EditObject ( templateObject * datatypes . Network_LoadBalancer_Global_Account ) ( resp bool , err error ) { params := [ ] interface { } { templateObject , } err = r . Session . DoRequest ( " " , " " , params , & r . Options , & resp ) return }
Edit the properties of a global load balancer account by passing in a modified instance of the object.
Edit the properties of a global load balancer account by passing in a modified instance of the object .