Sha256: 2573495ceb577ca1106c03927935b93d433ff1e811dc9f78f96344813663bb42

Contents?: true

Size: 1.74 KB

Versions: 6

Compression:

Stored size: 1.74 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()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'OSDiskDetails',
          type: {
            name: 'Composite',
            class_name: 'OSDiskDetails',
            model_properties: {
              os_vhd_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'osVhdId',
                type: {
                  name: 'String'
                }
              },
              os_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'osType',
                type: {
                  name: 'String'
                }
              },
              vhd_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vhdName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.17.3 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb
azure_mgmt_recovery_services_site_recovery-0.16.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb
azure_mgmt_recovery_services_site_recovery-0.15.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/osdisk_details.rb