Sha256: 89dcdf79ccce72f23b5e54a1b1b8cd30daf8d884caa414c1fabcda2d5dd8984d

Contents?: true

Size: 1.37 KB

Versions: 6

Compression:

Stored size: 1.37 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::Reservations::Mgmt::V2019_04_01_preview
  module Models
    #
    # Properties specific to each reserved resource type. Not required if not
    # applicable.
    #
    class PurchaseRequestPropertiesReservedResourceProperties

      include MsRestAzure

      # @return [InstanceFlexibility] Possible values include: 'On', 'Off'
      attr_accessor :instance_flexibility


      #
      # Mapper for PurchaseRequestPropertiesReservedResourceProperties class as
      # Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PurchaseRequestProperties_reservedResourceProperties',
          type: {
            name: 'Composite',
            class_name: 'PurchaseRequestPropertiesReservedResourceProperties',
            model_properties: {
              instance_flexibility: {
                client_side_validation: true,
                required: false,
                serialized_name: 'instanceFlexibility',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_reservations-0.20.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request_properties_reserved_resource_properties.rb
azure_mgmt_reservations-0.19.2 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request_properties_reserved_resource_properties.rb
azure_mgmt_reservations-0.19.1 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request_properties_reserved_resource_properties.rb
azure_mgmt_reservations-0.19.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request_properties_reserved_resource_properties.rb
azure_mgmt_reservations-0.18.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request_properties_reserved_resource_properties.rb
azure_mgmt_reservations-0.17.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/purchase_request_properties_reserved_resource_properties.rb