class OneviewSDK::ImageStreamer::API600::PlanScript

Plan Script resource implementation for Image Streamer

Public Instance Methods

retrieve_read_only() click to toggle source

Retrieves the read only artifacts of the selected Plan Script as per the selected attributes. @return [Hash] The readonly artifacts of the selected Plan Script.

# File lib/oneview-sdk/image-streamer/resource/api600/plan_script.rb, line 22
def retrieve_read_only
  ensure_client && ensure_uri
  path = "#{BASE_URI}/#{@data['uri'].split('/').last}/usedby/readonly"
  response = @client.rest_get(path, { 'Content-Type' => 'none' }, @api_version)
  @client.response_handler(response)
end