Class: Azure::Labservices::Mgmt::V2018_10_15::Models::SizeAvailability

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-15/generated/azure_mgmt_labservices/models/size_availability.rb

Overview

Represents the size information

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#is_availableBoolean

Returns Whether or not this size category is available.

Returns:

  • (Boolean)

    Whether or not this size category is available


21
22
23
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/size_availability.rb', line 21

def is_available
  @is_available
end

#size_categoryManagedLabVmSize

Performance). Possible values include: ‘Basic’, ‘Standard’, ‘Performance’

Returns:


18
19
20
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/size_availability.rb', line 18

def size_category
  @size_category
end

Class Method Details

.mapperObject

Mapper for SizeAvailability class as Ruby Hash. This will be used for serialization/deserialization.

[View source]

28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/size_availability.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SizeAvailability',
    type: {
      name: 'Composite',
      class_name: 'SizeAvailability',
      model_properties: {
        size_category: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sizeCategory',
          type: {
            name: 'String'
          }
        },
        is_available: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isAvailable',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end