lib/ionoscloud/api/load_balancers_api.rb in ionoscloud-6.0.0.beta.4 vs lib/ionoscloud/api/load_balancers_api.rb in ionoscloud-6.0.0

- old
+ new

@@ -1,11 +1,11 @@ =begin #CLOUD API #IONOS Enterprise-grade Infrastructure as a Service (IaaS) solutions can be managed through the Cloud API, in addition or as an alternative to the \"Data Center Designer\" (DCD) browser-based tool. Both methods employ consistent concepts and features, deliver similar power and flexibility, and can be used to perform a multitude of management tasks, including adding servers, volumes, configuring networks, and so on. -The version of the OpenAPI document: 6.0-SDK.3 +The version of the OpenAPI document: 6.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.2.1-SNAPSHOT =end @@ -17,30 +17,30 @@ attr_accessor :api_client def initialize(api_client = ApiClient.default) @api_client = api_client end - # Detach a nic from loadbalancer - # This will remove a network interface from load balancer. + # Detach balanced NICs + # Detach the specified NIC from the Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param nic_id [String] The unique ID of the NIC + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param nic_id [String] The unique ID of the NIC. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [nil] def datacenters_loadbalancers_balancednics_delete(datacenter_id, loadbalancer_id, nic_id, opts = {}) datacenters_loadbalancers_balancednics_delete_with_http_info(datacenter_id, loadbalancer_id, nic_id, opts) nil end - # Detach a nic from loadbalancer - # This will remove a network interface from load balancer. + # Detach balanced NICs + # Detach the specified NIC from the Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param nic_id [String] The unique ID of the NIC + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param nic_id [String] The unique ID of the NIC. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers @@ -109,30 +109,30 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_balancednics_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Retrieve a network interface attached to Load Balancer - # This will retrieve the properties of an attached network interface. + # Retrieve balanced NICs + # Retrieve the properties of the specified NIC, attached to the Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param nic_id [String] The unique ID of the NIC + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param nic_id [String] The unique ID of the NIC. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Nic] def datacenters_loadbalancers_balancednics_find_by_nic_id(datacenter_id, loadbalancer_id, nic_id, opts = {}) data, _status_code, _headers = datacenters_loadbalancers_balancednics_find_by_nic_id_with_http_info(datacenter_id, loadbalancer_id, nic_id, opts) data end - # Retrieve a network interface attached to Load Balancer - # This will retrieve the properties of an attached network interface. + # Retrieve balanced NICs + # Retrieve the properties of the specified NIC, attached to the Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param nic_id [String] The unique ID of the NIC + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param nic_id [String] The unique ID of the NIC. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(Nic, Integer, Hash)>] Nic data, response status code and response headers @@ -201,28 +201,28 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_balancednics_find_by_nic_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # List Load Balancer balaced NICs - # You can retrieve a list of nics attached to a load balancer. + # List balanced NICs + # List all NICs, attached to the specified Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [BalancedNics] def datacenters_loadbalancers_balancednics_get(datacenter_id, loadbalancer_id, opts = {}) data, _status_code, _headers = datacenters_loadbalancers_balancednics_get_with_http_info(datacenter_id, loadbalancer_id, opts) data end - # List Load Balancer balaced NICs - # You can retrieve a list of nics attached to a load balancer. + # List balanced NICs + # List all NICs, attached to the specified Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(BalancedNics, Integer, Hash)>] BalancedNics data, response status code and response headers @@ -287,30 +287,30 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_balancednics_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Attach a nic to Load Balancer - # This will attach a pre-existing nic to a load balancer. + # Attach balanced NICs + # Attach an existing NIC to the specified Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param nic [Nic] Nic id to be attached + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param nic [Nic] The NIC to be attached. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Nic] def datacenters_loadbalancers_balancednics_post(datacenter_id, loadbalancer_id, nic, opts = {}) data, _status_code, _headers = datacenters_loadbalancers_balancednics_post_with_http_info(datacenter_id, loadbalancer_id, nic, opts) data end - # Attach a nic to Load Balancer - # This will attach a pre-existing nic to a load balancer. + # Attach balanced NICs + # Attach an existing NIC to the specified Load Balancer. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param nic [Nic] Nic id to be attached + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param nic [Nic] The NIC to be attached. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(Nic, Integer, Hash)>] Nic data, response status code and response headers @@ -381,28 +381,28 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_balancednics_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Delete a Loadbalancer. - # Removes the specified load balancer. + # Delete Load Balancers + # Remove the specified Load Balancer from the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [nil] def datacenters_loadbalancers_delete(datacenter_id, loadbalancer_id, opts = {}) datacenters_loadbalancers_delete_with_http_info(datacenter_id, loadbalancer_id, opts) nil end - # Delete a Loadbalancer. - # Removes the specified load balancer. + # Delete Load Balancers + # Remove the specified Load Balancer from the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers @@ -467,28 +467,28 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Retrieve a loadbalancer - # Retrieves the attributes of a given load balancer. + # Retrieve Load Balancers + # Retrieve the properties of the specified Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Loadbalancer] def datacenters_loadbalancers_find_by_id(datacenter_id, loadbalancer_id, opts = {}) data, _status_code, _headers = datacenters_loadbalancers_find_by_id_with_http_info(datacenter_id, loadbalancer_id, opts) data end - # Retrieve a loadbalancer - # Retrieves the attributes of a given load balancer. + # Retrieve Load Balancers + # Retrieve the properties of the specified Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers @@ -554,11 +554,11 @@ end return data, status_code, headers end # List Load Balancers - # Retrieve a list of Load Balancers within the datacenter. + # List all the Load Balancers within the data center. # @param datacenter_id [String] The unique ID of the data center. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. @@ -569,11 +569,11 @@ data, _status_code, _headers = datacenters_loadbalancers_get_with_http_info(datacenter_id, opts) data end # List Load Balancers - # Retrieve a list of Load Balancers within the datacenter. + # List all the Load Balancers within the data center. # @param datacenter_id [String] The unique ID of the data center. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. @@ -651,30 +651,30 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Partially modify a Loadbalancer - # You can use update attributes of a resource. + # Partially modify Load Balancers + # Update the properties of the specified Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param loadbalancer [LoadbalancerProperties] Modified Loadbalancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param loadbalancer [LoadbalancerProperties] The properties of the Load Balancer to be updated. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Loadbalancer] def datacenters_loadbalancers_patch(datacenter_id, loadbalancer_id, loadbalancer, opts = {}) data, _status_code, _headers = datacenters_loadbalancers_patch_with_http_info(datacenter_id, loadbalancer_id, loadbalancer, opts) data end - # Partially modify a Loadbalancer - # You can use update attributes of a resource. + # Partially modify Load Balancers + # Update the properties of the specified Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param loadbalancer [LoadbalancerProperties] Modified Loadbalancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param loadbalancer [LoadbalancerProperties] The properties of the Load Balancer to be updated. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers @@ -745,28 +745,28 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Create a Load Balancer - # Creates a Loadbalancer within the datacenter. + # Create Load Balancers + # Create a Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer [Loadbalancer] Loadbalancer to be created + # @param loadbalancer [Loadbalancer] The Load Balancer to create. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Loadbalancer] def datacenters_loadbalancers_post(datacenter_id, loadbalancer, opts = {}) data, _status_code, _headers = datacenters_loadbalancers_post_with_http_info(datacenter_id, loadbalancer, opts) data end - # Create a Load Balancer - # Creates a Loadbalancer within the datacenter. + # Create Load Balancers + # Create a Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer [Loadbalancer] Loadbalancer to be created + # @param loadbalancer [Loadbalancer] The Load Balancer to create. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers @@ -833,29 +833,29 @@ @api_client.config.logger.debug "API called: LoadBalancersApi#datacenters_loadbalancers_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Modify a Load Balancer - # You can use update attributes of a resource. + # Modify Load Balancers + # Modify the properties of the specified Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param loadbalancer [Loadbalancer] Modified Loadbalancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param loadbalancer [Loadbalancer] The modified Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Loadbalancer] def datacenters_loadbalancers_put(datacenter_id, loadbalancer_id, loadbalancer, opts = {}) data, _status_code, _headers = datacenters_loadbalancers_put_with_http_info(datacenter_id, loadbalancer_id, loadbalancer, opts) data end - # Modify a Load Balancer - # You can use update attributes of a resource. + # Modify Load Balancers + # Modify the properties of the specified Load Balancer within the data center. # @param datacenter_id [String] The unique ID of the data center. - # @param loadbalancer_id [String] The unique ID of the Load Balancer - # @param loadbalancer [Loadbalancer] Modified Loadbalancer + # @param loadbalancer_id [String] The unique ID of the Load Balancer. + # @param loadbalancer [Loadbalancer] The modified Load Balancer. # @param [Hash] opts the optional parameters # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers