Sha256: 851c94b06a33d210b162618b39261faf796ac31677f1d9fb5169586a30d95676
Contents?: true
Size: 729 Bytes
Versions: 2
Compression:
Stored size: 729 Bytes
Contents
module Fog module Storage class AzureRM # DataDisk Model for Storage Service class DataDisk < Fog::Model identity :name attribute :disk_size_gb attribute :lun attribute :vhd_uri attribute :caching attribute :create_option attribute :file_path def self.parse(disk) hash = {} hash['name'] = disk.name hash['disk_size_gb'] = disk.disk_size_gb hash['lun'] = disk.lun hash['vhd_uri'] = disk.vhd.uri hash['caching'] = disk.caching unless disk.caching.nil? hash['create_option'] = disk.create_option hash end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.1.1 | lib/fog/azurerm/models/storage/data_disk.rb |
fog-azure-rm-0.1.0 | lib/fog/azurerm/models/storage/data_disk.rb |