Sha256: 662787d56e93aa293fd686a6ca81f021a18d77753842a701597825974c33401d
Contents?: true
Size: 720 Bytes
Versions: 1
Compression:
Stored size: 720 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 def self.parse(disk) hash = {} hash['name'] = disk['name'] hash['disk_size_gb'] = disk['diskSizeGB'] hash['lun'] = disk['lun'] hash['vhd_uri'] = disk['vhd']['uri'] hash['caching'] = disk['caching'] unless disk['caching'].nil? hash['create_option'] = disk['createOption'] hash end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.0.4 | lib/fog/azurerm/models/storage/data_disk.rb |