lib/ionoscloud/api/templates_api.rb in ionoscloud-6.1.1 vs lib/ionoscloud/api/templates_api.rb in ionoscloud-6.1.2

- old
+ new

@@ -17,24 +17,24 @@ attr_accessor :api_client def initialize(api_client = ApiClient.default) @api_client = api_client end - # Retrieve Cubes Templates - # Retrieve the properties of the specified Cubes Template. This operation is only supported for the Cubes. - # @param template_id [String] The unique Template ID. + # Get Cubes Template by ID + # Retrieves the properties of the Cubes template specified by its ID. + # @param template_id [String] The unique template ID. # @param [Hash] opts the optional parameters # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @return [Template] def templates_find_by_id(template_id, opts = {}) data, _status_code, _headers = templates_find_by_id_with_http_info(template_id, opts) data end - # Retrieve Cubes Templates - # Retrieve the properties of the specified Cubes Template. This operation is only supported for the Cubes. - # @param template_id [String] The unique Template ID. + # Get Cubes Template by ID + # Retrieves the properties of the Cubes template specified by its ID. + # @param template_id [String] The unique template ID. # @param [Hash] opts the optional parameters # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @return [Array<(Template, Integer, Hash)>] Template data, response status code and response headers def templates_find_by_id_with_http_info(template_id, opts = {}) if @api_client.config.debugging @@ -91,21 +91,21 @@ @api_client.config.logger.debug "API called: TemplatesApi#templates_find_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # List Cubes Templates - # List all of the available Cubes Templates. This operation is only supported for the Cubes. + # Get Cubes Templates + # Retrieves all available templates. Templates provide a pre-defined configuration for Cube servers. >Templates are read-only and cannot be created, modified, or deleted by users. # @param [Hash] opts the optional parameters # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) # @return [Templates] def templates_get(opts = {}) data, _status_code, _headers = templates_get_with_http_info(opts) data end - # List Cubes Templates - # List all of the available Cubes Templates. This operation is only supported for the Cubes. + # Get Cubes Templates + # Retrieves all available templates. Templates provide a pre-defined configuration for Cube servers. &gt;Templates are read-only and cannot be created, modified, or deleted by users. # @param [Hash] opts the optional parameters # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on # @return [Array<(Templates, Integer, Hash)>] Templates data, response status code and response headers def templates_get_with_http_info(opts = {}) if @api_client.config.debugging