Sha256: eede4115390ed50df331e99dc3fa4f232b4c47a9e8f93d3a890198c73d18a4cf

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10
  module Models
    #
    # Details of the OS Disk.
    #
    class OSDiskDetails

      include MsRestAzure

      # @return [String] The id of the disk containing the OS.
      attr_accessor :os_vhd_id

      # @return [String] The type of the OS on the VM.
      attr_accessor :os_type

      # @return [String] The OS disk VHD name.
      attr_accessor :vhd_name


      #
      # Mapper for OSDiskDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'OSDiskDetails',
          type: {
            name: 'Composite',
            class_name: 'OSDiskDetails',
            model_properties: {
              os_vhd_id: {
                required: false,
                serialized_name: 'osVhdId',
                type: {
                  name: 'String'
                }
              },
              os_type: {
                required: false,
                serialized_name: 'osType',
                type: {
                  name: 'String'
                }
              },
              vhd_name: {
                required: false,
                serialized_name: 'vhdName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.15.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb