Module: ViprVirtualArray
- Included in:
- Vipr
- Defined in:
- lib/vipruby/objects/virtualarray.rb
Overview
The following Virtual Array calls will get and execute virtual array items
Instance Method Summary collapse
-
#get_varray(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray information.
-
#get_varray_acl(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray ACL.
-
#get_varray_attributes(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray available attributes.
-
#get_varray_autotier_policy(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Auto-Tier Policy.
-
#get_varray_connectivity(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Connectivity.
-
#get_varray_networks(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Networks.
-
#get_varray_storage_pools(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Storage Pools.
-
#get_varray_storage_ports(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Storage Ports.
-
#get_varray_virtual_pools(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Virtual Pools.
-
#get_varrays(auth = nil, cert = nil) ⇒ json
Get/List VirtualArrays in zone.
-
#search_varrays(auth = nil, cert = nil) ⇒ json
Search VirtualArrays.
Instance Method Details
#get_varray(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray information
24 25 26 |
# File 'lib/vipruby/objects/virtualarray.rb', line 24 def get_varray(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_acl(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray ACL
78 79 80 |
# File 'lib/vipruby/objects/virtualarray.rb', line 78 def get_varray_acl(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/acl", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_attributes(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray available attributes
96 97 98 |
# File 'lib/vipruby/objects/virtualarray.rb', line 96 def get_varray_attributes(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/available-attributes", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_autotier_policy(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Auto-Tier Policy
33 34 35 |
# File 'lib/vipruby/objects/virtualarray.rb', line 33 def get_varray_autotier_policy(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/auto-tier-policies", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_connectivity(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Connectivity
87 88 89 |
# File 'lib/vipruby/objects/virtualarray.rb', line 87 def get_varray_connectivity(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/connectivity", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_networks(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Networks
69 70 71 |
# File 'lib/vipruby/objects/virtualarray.rb', line 69 def get_varray_networks(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/networks", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_storage_pools(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Storage Pools
42 43 44 |
# File 'lib/vipruby/objects/virtualarray.rb', line 42 def get_varray_storage_pools(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/storage-pools", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_storage_ports(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Storage Ports
51 52 53 |
# File 'lib/vipruby/objects/virtualarray.rb', line 51 def get_varray_storage_ports(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/storage-ports", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varray_virtual_pools(varray_id, auth = nil, cert = nil) ⇒ JSON
Get single VirtualArray Virtual Pools
60 61 62 |
# File 'lib/vipruby/objects/virtualarray.rb', line 60 def get_varray_virtual_pools(varray_id,auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/#{varray_id}/vpools", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#get_varrays(auth = nil, cert = nil) ⇒ json
Get/List VirtualArrays in zone
15 16 17 |
# File 'lib/vipruby/objects/virtualarray.rb', line 15 def get_varrays(auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |
#search_varrays(auth = nil, cert = nil) ⇒ json
Search VirtualArrays
8 9 10 |
# File 'lib/vipruby/objects/virtualarray.rb', line 8 def search_varrays(auth=nil, cert=nil) rest_get("#{@base_url}/vdc/varrays/search", auth.nil? ? @auth_token : auth, cert.nil? ? @verify_cert : cert) end |