Class: Armrest::CLI::BlobService

Inherits:
Armrest::Command show all
Defined in:
lib/armrest/cli/blob_service.rb

Instance Method Summary collapse

Methods inherited from Armrest::Command

alter_command_description, command_help, dispatch, exit_on_failure?, website

Instance Method Details

#get_propertiesObject



7
8
9
10
# File 'lib/armrest/cli/blob_service.rb', line 7

def get_properties
  result = Armrest::Services::BlobService.new(options).get_properties
  puts JSON.pretty_generate(result)
end

#set_propertiesObject



17
18
19
20
21
22
23
# File 'lib/armrest/cli/blob_service.rb', line 17

def set_properties
  props = options.dup
  props.delete(:storage_account)
  resp = Armrest::Services::BlobService.new(options).set_properties(props)
  puts "resp:"
  pp resp
end