lib/ionoscloud/api/load_balancers_api.rb in ionoscloud-6.0.0 vs lib/ionoscloud/api/load_balancers_api.rb in ionoscloud-6.0.1
- old
+ new
@@ -25,11 +25,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -40,11 +40,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def datacenters_loadbalancers_balancednics_delete_with_http_info(datacenter_id, loadbalancer_id, nic_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_balancednics_delete ...'
end
@@ -117,11 +117,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -132,11 +132,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(Nic, Integer, Hash)>] Nic data, response status code and response headers
def datacenters_loadbalancers_balancednics_find_by_nic_id_with_http_info(datacenter_id, loadbalancer_id, nic_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_balancednics_find_by_nic_id ...'
end
@@ -208,11 +208,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -222,11 +222,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(BalancedNics, Integer, Hash)>] BalancedNics data, response status code and response headers
def datacenters_loadbalancers_balancednics_get_with_http_info(datacenter_id, loadbalancer_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_balancednics_get ...'
end
@@ -295,11 +295,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -310,11 +310,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(Nic, Integer, Hash)>] Nic data, response status code and response headers
def datacenters_loadbalancers_balancednics_post_with_http_info(datacenter_id, loadbalancer_id, nic, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_balancednics_post ...'
end
@@ -388,11 +388,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -402,11 +402,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def datacenters_loadbalancers_delete_with_http_info(datacenter_id, loadbalancer_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_delete ...'
end
@@ -474,11 +474,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -488,11 +488,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers
def datacenters_loadbalancers_find_by_id_with_http_info(datacenter_id, loadbalancer_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_find_by_id ...'
end
@@ -559,12 +559,12 @@
# 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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
- # @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). (default to 0)
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
+ # @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination). (default to 0)
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination). (default to 1000)
# @return [Loadbalancers]
def datacenters_loadbalancers_get(datacenter_id, opts = {})
data, _status_code, _headers = datacenters_loadbalancers_get_with_http_info(datacenter_id, opts)
data
@@ -574,12 +574,12 @@
# 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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
- # @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination).
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
+ # @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (used together with <b><i>limit</i></b> for pagination).
# @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination).
# @return [Array<(Loadbalancers, Integer, Hash)>] Loadbalancers data, response status code and response headers
def datacenters_loadbalancers_get_with_http_info(datacenter_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_get ...'
@@ -659,11 +659,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -674,11 +674,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers
def datacenters_loadbalancers_patch_with_http_info(datacenter_id, loadbalancer_id, loadbalancer, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_patch ...'
end
@@ -752,11 +752,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -766,11 +766,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers
def datacenters_loadbalancers_post_with_http_info(datacenter_id, loadbalancer, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_post ...'
end
@@ -841,11 +841,11 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for 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
@@ -856,10 +856,10 @@
# @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=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... 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.
+ # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(Loadbalancer, Integer, Hash)>] Loadbalancer data, response status code and response headers
def datacenters_loadbalancers_put_with_http_info(datacenter_id, loadbalancer_id, loadbalancer, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LoadBalancersApi.datacenters_loadbalancers_put ...'
end