class OneviewSDK::API200::ManagedSAN
Managed SAN resource implementation
Constants
- BASE_URI
Public Instance Methods
Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 22 def create(*) unavailable_method end
Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 28 def delete(*) unavailable_method end
Retrieves a list of endpoints @return [Array] List of endpoints
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 40 def get_endpoints response = @client.rest_get(@data['uri'] + '/endpoints') @client.response_handler(response)['members'] end
Creates unexpected zoning report for a SAN
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 77 def get_zoning_report response = @client.rest_post(@data['uri'] + '/issues', 'body' => {}) @client.response_handler(response) end
Set public attributes @param [Hash] attributes Public attributes @option attributes [String] :name @option attributes [String] :value @option attributes [String] :valueType @option attributes [String] :valueFormat
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 58 def set_public_attributes(attributes) response = @client.rest_put(@data['uri'], 'body' => { publicAttributes: attributes }) @client.response_handler(response) end
Set refresh state for managed SAN @param [String] state Desired refresh state
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 47 def set_refresh_state(state) response = @client.rest_put(@data['uri'], 'body' => { refreshState: state }) @client.response_handler(response) end
Set public attributes @param [Hash] policy SAN policy @option attributes [String] :zoningPolicy @option attributes [String] :zoneNameFormat @option attributes [String] :enableAliasing @option attributes [String] :initiatorNameFormat @option attributes [String] :targetNameFormat @option attributes [String] :targetGroupNameFormat
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 71 def set_san_policy(policy) response = @client.rest_put(@data['uri'], 'body' => { sanPolicy: policy }) @client.response_handler(response) end
Method is not available @raise [OneviewSDK::MethodUnavailable] method is not available
# File lib/oneview-sdk/resource/api200/managed_san.rb, line 34 def update(*) unavailable_method end