Class: Azure::Armrest::StorageAccountKey

Inherits:
StorageAccount show all
Defined in:
lib/azure/armrest/model/base_model.rb

Instance Attribute Summary

Attributes inherited from StorageAccount

#access_key, #configuration, #storage_api_version

Attributes inherited from BaseModel

#resource_group, #response_code, #response_headers, #subscription_id

Instance Method Summary collapse

Methods inherited from StorageAccount

#add_file_content, #all_blobs, #blob_metadata, #blob_properties, #blob_service_properties, #blob_service_stats, #blobs, #container_acl, #container_properties, #containers, #copy_blob, #copy_file, #create_blob, #create_blob_snapshot, #create_directory, #create_file, #delete_blob, #delete_directory, #delete_file, #directory_metadata, #directory_properties, #file_content, #file_properties, #files, #get_blob_raw, #initialize, #table_data, #table_info, #tables, #update_blob_properties

Methods inherited from BaseModel

#==, #[], #[]=, #eql?, #initialize, #pretty_print, #to_h, #to_hash, #to_json, #to_s, #to_str

Constructor Details

This class inherits a constructor from Azure::Armrest::StorageAccount

Instance Method Details

#keyObject



292
# File 'lib/azure/armrest/model/base_model.rb', line 292

def key; key1 || key2; end

#key1Object



290
# File 'lib/azure/armrest/model/base_model.rb', line 290

def key1; key_name_from_hash == 'key1' ? value_from_hash : nil; end

#key2Object



291
# File 'lib/azure/armrest/model/base_model.rb', line 291

def key2; key_name_from_hash == 'key2' ? value_from_hash : nil; end