Method: OneviewSDK::ImageStreamer::API500::DeploymentPlan#get_used_by

Defined in:
lib/oneview-sdk/image-streamer/resource/api500/deployment_plan.rb

#get_used_byHash

Retrieves the Deployment Plan details as per the selected attributes.

Returns:

  • (Hash)

    The OS Deployment Plan.



33
34
35
36
37
38
# File 'lib/oneview-sdk/image-streamer/resource/api500/deployment_plan.rb', line 33

def get_used_by
  ensure_client && ensure_uri
  path = "#{BASE_URI}/#{@data['uri'].split('/').last}/usedby/"
  response = @client.rest_get(path, { 'Content-Type' => 'none' }, @api_version)
  @client.response_handler(response)
end