Sha256: 48a79666cfbc27fbe7876912afa75b79af9a57d06655bfce0c4f8fc8e59e5178

Contents?: true

Size: 1.59 KB

Versions: 2

Compression:

Stored size: 1.59 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::Compute::Mgmt::V2015_06_15
  module Models
    #
    # The instance view of the disk.
    #
    class DiskInstanceView

      include MsRestAzure

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

      # @return [Array<InstanceViewStatus>] The resource status information.
      attr_accessor :statuses


      #
      # Mapper for DiskInstanceView class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DiskInstanceView',
          type: {
            name: 'Composite',
            class_name: 'DiskInstanceView',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              statuses: {
                required: false,
                serialized_name: 'statuses',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'InstanceViewStatusElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'InstanceViewStatus'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.15.1 lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb
azure_mgmt_compute-0.15.0 lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb