Sha256: e6f92287084b949ac8534f9a2d4fec334b9cc894787085fb379322adc74c70e9

Contents?: true

Size: 1.93 KB

Versions: 1

Compression:

Stored size: 1.93 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::ARM::RecoveryServicesSiteRecovery
  module Models
    #
    # The retention details of the MT.
    #
    class RetentionVolume

      include MsRestAzure

      # @return [String] The volume name.
      attr_accessor :volume_name

      # @return [Integer] The volume capacity.
      attr_accessor :capacity_in_bytes

      # @return [Integer] The free space available in this volume.
      attr_accessor :free_space_in_bytes

      # @return [Integer] The threshold percentage.
      attr_accessor :threshold_percentage


      #
      # Mapper for RetentionVolume class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'RetentionVolume',
          type: {
            name: 'Composite',
            class_name: 'RetentionVolume',
            model_properties: {
              volume_name: {
                required: false,
                serialized_name: 'volumeName',
                type: {
                  name: 'String'
                }
              },
              capacity_in_bytes: {
                required: false,
                serialized_name: 'capacityInBytes',
                type: {
                  name: 'Number'
                }
              },
              free_space_in_bytes: {
                required: false,
                serialized_name: 'freeSpaceInBytes',
                type: {
                  name: 'Number'
                }
              },
              threshold_percentage: {
                required: false,
                serialized_name: 'thresholdPercentage',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.14.0 lib/generated/azure_mgmt_recovery_services_site_recovery/models/retention_volume.rb