Class: Azure::Hdinsight::Mgmt::V2015_03_01_preview::Models::VmSizeCompatibilityFilter

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb

Overview

The virtual machine type compatibility filter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cluster_flavorsArray<String>



22
23
24
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb', line 22

def cluster_flavors
  @cluster_flavors
end

#cluster_versionsArray<String>



28
29
30
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb', line 28

def cluster_versions
  @cluster_versions
end

#filter_modeString



16
17
18
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb', line 16

def filter_mode
  @filter_mode
end

#node_typesArray<String>



25
26
27
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb', line 25

def node_types
  @node_types
end

#regionsArray<String>



19
20
21
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb', line 19

def regions
  @regions
end

#vmsizesArray<String>



31
32
33
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb', line 31

def vmsizes
  @vmsizes
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# File 'lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VmSizeCompatibilityFilter',
    type: {
      name: 'Composite',
      class_name: 'VmSizeCompatibilityFilter',
      model_properties: {
        filter_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FilterMode',
          type: {
            name: 'String'
          }
        },
        regions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Regions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        cluster_flavors: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterFlavors',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        node_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeTypes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        cluster_versions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterVersions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        vmsizes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmsizes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end