Method: Ionoscloud::LocationApi#locations_find_by_region_id_and_id

Defined in:
lib/ionoscloud/api/location_api.rb

#locations_find_by_region_id_and_id(region_id, location_id, opts = {}) ⇒ Location

Retrieve a Location Retrieves the attributes of a given location

Options Hash (opts):

  • :pretty (Boolean)

    Controls whether response is pretty-printed (with indentation and new lines) (default to true)

  • :depth (Integer)

    Controls the details depth of response objects. Eg. GET /datacenters/ - depth=0: only direct properties are included. Children (servers etc.) 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)

  • :x_contract_number (Integer)

    Users having more than 1 contract need to provide contract number, against which all API requests should be executed



111
112
113
114
# File 'lib/ionoscloud/api/location_api.rb', line 111

def locations_find_by_region_id_and_id(region_id, location_id, opts = {})
  data, _status_code, _headers = locations_find_by_region_id_and_id_with_http_info(region_id, location_id, opts)
  data
end