Module: ViprStorageTier
- Included in:
- Vipr
- Defined in:
- lib/vipruby/objects/storagetier.rb
Overview
The following Storage Tier calls will get and execute Storage Tier items
Instance Method Summary collapse
-
#get_storage_tier(storage_tier_id, auth = nil, cert = nil) ⇒ JSON
Get Single Storage Tier information.
-
#get_storage_tiers(auth = nil, cert = nil) ⇒ json
Get Storage Tiers.
Instance Method Details
#get_storage_tier(storage_tier_id, auth = nil, cert = nil) ⇒ JSON
Get Single Storage Tier information
17 18 19 |
# File 'lib/vipruby/objects/storagetier.rb', line 17 def get_storage_tier(storage_tier_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/#{storage_tier_id}", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_storage_tiers(auth = nil, cert = nil) ⇒ json
Get Storage Tiers
8 9 10 |
# File 'lib/vipruby/objects/storagetier.rb', line 8 def get_storage_tiers(auth=nil, cert=nil) rest_get("#{@base_url}/vdc/storage-tiers", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |