lib/ionoscloud/api/labels_api.rb in ionoscloud-6.0.0 vs lib/ionoscloud/api/labels_api.rb in ionoscloud-6.0.1
- old
+ new
@@ -24,11 +24,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param key [String] The label key
# @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_labels_delete(datacenter_id, key, opts = {})
datacenters_labels_delete_with_http_info(datacenter_id, key, opts)
nil
end
@@ -38,11 +38,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param key [String] The label key
# @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_labels_delete_with_http_info(datacenter_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_delete ...'
end
@@ -110,11 +110,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param key [String] The label key
# @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 [LabelResource]
def datacenters_labels_find_by_key(datacenter_id, key, opts = {})
data, _status_code, _headers = datacenters_labels_find_by_key_with_http_info(datacenter_id, key, opts)
data
end
@@ -124,11 +124,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param key [String] The label key
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_labels_find_by_key_with_http_info(datacenter_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_find_by_key ...'
end
@@ -195,11 +195,11 @@
# List all the the labels for the specified 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] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [LabelResources]
def datacenters_labels_get(datacenter_id, opts = {})
data, _status_code, _headers = datacenters_labels_get_with_http_info(datacenter_id, opts)
data
end
@@ -208,11 +208,11 @@
# List all the the labels for the specified 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] :x_contract_number Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
# @return [Array<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
def datacenters_labels_get_with_http_info(datacenter_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_get ...'
end
@@ -276,11 +276,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param label [LabelResource] The label 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 [LabelResource]
def datacenters_labels_post(datacenter_id, label, opts = {})
data, _status_code, _headers = datacenters_labels_post_with_http_info(datacenter_id, label, opts)
data
end
@@ -290,11 +290,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param label [LabelResource] The label 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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_labels_post_with_http_info(datacenter_id, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_post ...'
end
@@ -365,11 +365,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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 [LabelResource]
def datacenters_labels_put(datacenter_id, key, label, opts = {})
data, _status_code, _headers = datacenters_labels_put_with_http_info(datacenter_id, key, label, opts)
data
end
@@ -380,11 +380,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_labels_put_with_http_info(datacenter_id, key, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_labels_put ...'
end
@@ -459,11 +459,11 @@
# @param server_id [String] The unique ID of the server.
# @param key [String] The label key
# @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_servers_labels_delete(datacenter_id, server_id, key, opts = {})
datacenters_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts)
nil
end
@@ -474,11 +474,11 @@
# @param server_id [String] The unique ID of the server.
# @param key [String] The label key
# @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_servers_labels_delete_with_http_info(datacenter_id, server_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_delete ...'
end
@@ -551,11 +551,11 @@
# @param server_id [String] The unique ID of the server.
# @param key [String] The label key
# @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 [LabelResource]
def datacenters_servers_labels_find_by_key(datacenter_id, server_id, key, opts = {})
data, _status_code, _headers = datacenters_servers_labels_find_by_key_with_http_info(datacenter_id, server_id, key, opts)
data
end
@@ -566,11 +566,11 @@
# @param server_id [String] The unique ID of the server.
# @param key [String] The label key
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_servers_labels_find_by_key_with_http_info(datacenter_id, server_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_find_by_key ...'
end
@@ -642,11 +642,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param server_id [String] The unique ID of the server.
# @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 [LabelResources]
def datacenters_servers_labels_get(datacenter_id, server_id, opts = {})
data, _status_code, _headers = datacenters_servers_labels_get_with_http_info(datacenter_id, server_id, opts)
data
end
@@ -656,11 +656,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param server_id [String] The unique ID of the server.
# @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<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
def datacenters_servers_labels_get_with_http_info(datacenter_id, server_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_get ...'
end
@@ -729,11 +729,11 @@
# @param server_id [String] The unique ID of the server.
# @param label [LabelResource] The label 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 [LabelResource]
def datacenters_servers_labels_post(datacenter_id, server_id, label, opts = {})
data, _status_code, _headers = datacenters_servers_labels_post_with_http_info(datacenter_id, server_id, label, opts)
data
end
@@ -744,11 +744,11 @@
# @param server_id [String] The unique ID of the server.
# @param label [LabelResource] The label 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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_servers_labels_post_with_http_info(datacenter_id, server_id, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_post ...'
end
@@ -824,11 +824,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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 [LabelResource]
def datacenters_servers_labels_put(datacenter_id, server_id, key, label, opts = {})
data, _status_code, _headers = datacenters_servers_labels_put_with_http_info(datacenter_id, server_id, key, label, opts)
data
end
@@ -840,11 +840,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_servers_labels_put_with_http_info(datacenter_id, server_id, key, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_servers_labels_put ...'
end
@@ -923,11 +923,11 @@
# @param volume_id [String] The unique ID of the volume.
# @param key [String] The label key
# @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_volumes_labels_delete(datacenter_id, volume_id, key, opts = {})
datacenters_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts)
nil
end
@@ -938,11 +938,11 @@
# @param volume_id [String] The unique ID of the volume.
# @param key [String] The label key
# @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_volumes_labels_delete_with_http_info(datacenter_id, volume_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_delete ...'
end
@@ -1015,11 +1015,11 @@
# @param volume_id [String] The unique ID of the volume.
# @param key [String] The label key
# @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 [LabelResource]
def datacenters_volumes_labels_find_by_key(datacenter_id, volume_id, key, opts = {})
data, _status_code, _headers = datacenters_volumes_labels_find_by_key_with_http_info(datacenter_id, volume_id, key, opts)
data
end
@@ -1030,11 +1030,11 @@
# @param volume_id [String] The unique ID of the volume.
# @param key [String] The label key
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_volumes_labels_find_by_key_with_http_info(datacenter_id, volume_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_find_by_key ...'
end
@@ -1106,11 +1106,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param volume_id [String] The unique ID of the volume.
# @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 [LabelResources]
def datacenters_volumes_labels_get(datacenter_id, volume_id, opts = {})
data, _status_code, _headers = datacenters_volumes_labels_get_with_http_info(datacenter_id, volume_id, opts)
data
end
@@ -1120,11 +1120,11 @@
# @param datacenter_id [String] The unique ID of the data center.
# @param volume_id [String] The unique ID of the volume.
# @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<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
def datacenters_volumes_labels_get_with_http_info(datacenter_id, volume_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_get ...'
end
@@ -1193,11 +1193,11 @@
# @param volume_id [String] The unique ID of the volume.
# @param label [LabelResource] The label 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 [LabelResource]
def datacenters_volumes_labels_post(datacenter_id, volume_id, label, opts = {})
data, _status_code, _headers = datacenters_volumes_labels_post_with_http_info(datacenter_id, volume_id, label, opts)
data
end
@@ -1208,11 +1208,11 @@
# @param volume_id [String] The unique ID of the volume.
# @param label [LabelResource] The label 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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_volumes_labels_post_with_http_info(datacenter_id, volume_id, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_post ...'
end
@@ -1288,11 +1288,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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 [LabelResource]
def datacenters_volumes_labels_put(datacenter_id, volume_id, key, label, opts = {})
data, _status_code, _headers = datacenters_volumes_labels_put_with_http_info(datacenter_id, volume_id, key, label, opts)
data
end
@@ -1304,11 +1304,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def datacenters_volumes_labels_put_with_http_info(datacenter_id, volume_id, key, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.datacenters_volumes_labels_put ...'
end
@@ -1386,11 +1386,11 @@
# @param ipblock_id [String] The unique ID of the IP block.
# @param key [String] The label key
# @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 ipblocks_labels_delete(ipblock_id, key, opts = {})
ipblocks_labels_delete_with_http_info(ipblock_id, key, opts)
nil
end
@@ -1400,11 +1400,11 @@
# @param ipblock_id [String] The unique ID of the IP block.
# @param key [String] The label key
# @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 ipblocks_labels_delete_with_http_info(ipblock_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_delete ...'
end
@@ -1472,11 +1472,11 @@
# @param ipblock_id [String] The unique ID of the IP block.
# @param key [String] The label key
# @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 [LabelResource]
def ipblocks_labels_find_by_key(ipblock_id, key, opts = {})
data, _status_code, _headers = ipblocks_labels_find_by_key_with_http_info(ipblock_id, key, opts)
data
end
@@ -1486,11 +1486,11 @@
# @param ipblock_id [String] The unique ID of the IP block.
# @param key [String] The label key
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def ipblocks_labels_find_by_key_with_http_info(ipblock_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_find_by_key ...'
end
@@ -1557,11 +1557,11 @@
# List all the the labels for the specified IP block.
# @param ipblock_id [String] The unique ID of the IP block.
# @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 [LabelResources]
def ipblocks_labels_get(ipblock_id, opts = {})
data, _status_code, _headers = ipblocks_labels_get_with_http_info(ipblock_id, opts)
data
end
@@ -1570,11 +1570,11 @@
# List all the the labels for the specified IP block.
# @param ipblock_id [String] The unique ID of the IP block.
# @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<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
def ipblocks_labels_get_with_http_info(ipblock_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_get ...'
end
@@ -1638,11 +1638,11 @@
# @param ipblock_id [String] The unique ID of the IP block.
# @param label [LabelResource] The label 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 [LabelResource]
def ipblocks_labels_post(ipblock_id, label, opts = {})
data, _status_code, _headers = ipblocks_labels_post_with_http_info(ipblock_id, label, opts)
data
end
@@ -1652,11 +1652,11 @@
# @param ipblock_id [String] The unique ID of the IP block.
# @param label [LabelResource] The label 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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def ipblocks_labels_post_with_http_info(ipblock_id, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_post ...'
end
@@ -1727,11 +1727,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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 [LabelResource]
def ipblocks_labels_put(ipblock_id, key, label, opts = {})
data, _status_code, _headers = ipblocks_labels_put_with_http_info(ipblock_id, key, label, opts)
data
end
@@ -1742,11 +1742,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def ipblocks_labels_put_with_http_info(ipblock_id, key, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.ipblocks_labels_put ...'
end
@@ -1819,11 +1819,11 @@
# Retrieve a label by label URN. The URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key>
# @param labelurn [String] The label URN; URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key><key>
# @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 [Label]
def labels_find_by_urn(labelurn, opts = {})
data, _status_code, _headers = labels_find_by_urn_with_http_info(labelurn, opts)
data
end
@@ -1832,11 +1832,11 @@
# Retrieve a label by label URN. The URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key>
# @param labelurn [String] The label URN; URN is unique for each label, and consists of: urn:label:<resource_type>:<resource_uuid>:<key><key>
# @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<(Label, Integer, Hash)>] Label data, response status code and response headers
def labels_find_by_urn_with_http_info(labelurn, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.labels_find_by_urn ...'
end
@@ -1898,11 +1898,11 @@
# List labels
# List all available labels.
# @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 [Labels]
def labels_get(opts = {})
data, _status_code, _headers = labels_get_with_http_info(opts)
data
end
@@ -1910,11 +1910,11 @@
# List labels
# List all available labels.
# @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<(Labels, Integer, Hash)>] Labels data, response status code and response headers
def labels_get_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.labels_get ...'
end
@@ -1974,11 +1974,11 @@
# @param snapshot_id [String] The unique ID of the snapshot.
# @param key [String] The label key
# @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 snapshots_labels_delete(snapshot_id, key, opts = {})
snapshots_labels_delete_with_http_info(snapshot_id, key, opts)
nil
end
@@ -1988,11 +1988,11 @@
# @param snapshot_id [String] The unique ID of the snapshot.
# @param key [String] The label key
# @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 snapshots_labels_delete_with_http_info(snapshot_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_delete ...'
end
@@ -2060,11 +2060,11 @@
# @param snapshot_id [String] The unique ID of the snapshot.
# @param key [String] The label key
# @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 [LabelResource]
def snapshots_labels_find_by_key(snapshot_id, key, opts = {})
data, _status_code, _headers = snapshots_labels_find_by_key_with_http_info(snapshot_id, key, opts)
data
end
@@ -2074,11 +2074,11 @@
# @param snapshot_id [String] The unique ID of the snapshot.
# @param key [String] The label key
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def snapshots_labels_find_by_key_with_http_info(snapshot_id, key, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_find_by_key ...'
end
@@ -2145,11 +2145,11 @@
# List all the the labels for the specified snapshot.
# @param snapshot_id [String] The unique ID of the snapshot.
# @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 [LabelResources]
def snapshots_labels_get(snapshot_id, opts = {})
data, _status_code, _headers = snapshots_labels_get_with_http_info(snapshot_id, opts)
data
end
@@ -2158,11 +2158,11 @@
# List all the the labels for the specified snapshot.
# @param snapshot_id [String] The unique ID of the snapshot.
# @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<(LabelResources, Integer, Hash)>] LabelResources data, response status code and response headers
def snapshots_labels_get_with_http_info(snapshot_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_get ...'
end
@@ -2226,11 +2226,11 @@
# @param snapshot_id [String] The unique ID of the snapshot.
# @param label [LabelResource] The label 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 [LabelResource]
def snapshots_labels_post(snapshot_id, label, opts = {})
data, _status_code, _headers = snapshots_labels_post_with_http_info(snapshot_id, label, opts)
data
end
@@ -2240,11 +2240,11 @@
# @param snapshot_id [String] The unique ID of the snapshot.
# @param label [LabelResource] The label 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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def snapshots_labels_post_with_http_info(snapshot_id, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_post ...'
end
@@ -2315,11 +2315,11 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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 [LabelResource]
def snapshots_labels_put(snapshot_id, key, label, opts = {})
data, _status_code, _headers = snapshots_labels_put_with_http_info(snapshot_id, key, label, opts)
data
end
@@ -2330,10 +2330,10 @@
# @param key [String] The label key
# @param label [LabelResource] The modified label
# @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<(LabelResource, Integer, Hash)>] LabelResource data, response status code and response headers
def snapshots_labels_put_with_http_info(snapshot_id, key, label, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: LabelsApi.snapshots_labels_put ...'
end