Class: Azure::Armrest::StorageAccountKey

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

Instance Attribute Summary

Attributes inherited from StorageAccount

#proxy, #ssl_verify, #ssl_version, #storage_api_version

Attributes inherited from BaseModel

#resource_group, #response_code, #response_headers

Instance Method Summary collapse

Methods inherited from StorageAccount

#all_blobs, #blob_metadata, #blob_properties, #blob_service_properties, #blob_service_stats, #blobs, #container_acl, #container_properties, #containers, #copy_blob, #create_blob, #create_blob_snapshot, #delete_blob, #get_blob_raw, #initialize, #table_data, #table_info, #tables

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



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

def key; key1 || key2; end

#key1Object



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

def key1; key_name == 'key1' ? value : nil; end

#key2Object



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

def key2; key_name == 'key2' ? value : nil; end