Class: Fog::Compute::Azure::StorageAccount
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::Azure::StorageAccount
- Defined in:
- lib/fog/azure/models/compute/storage_account.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
63 64 65 66 |
# File 'lib/fog/azure/models/compute/storage_account.rb', line 63 def destroy requires :name service.delete_storage_account(name) end |
#save ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/fog/azure/models/compute/storage_account.rb', line 47 def save requires :name requires_one :location, :affinity_group = { :label => label, :location => location, :description => description, :affinity_group_name => affinity_group, :geo_replication_enabled => geo_replication_enabled, :extended_properties => extended_properties, } service.create_storage_account(name, ) end |