azure_mgmt_machine_learning_services 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb +14 -0
  3. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_services_client.rb +1 -1
  4. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/operations.rb +2 -0
  5. data/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/workspaces.rb +20 -0
  6. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services.rb +91 -0
  7. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb +1170 -0
  8. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/machine_learning_services_client.rb +147 -0
  9. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aks.rb +140 -0
  10. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aks_compute_secrets.rb +85 -0
  11. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aks_networking_configuration.rb +94 -0
  12. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aksproperties.rb +117 -0
  13. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/allocation_state.rb +16 -0
  14. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aml_compute.rb +140 -0
  15. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aml_compute_node_information.rb +71 -0
  16. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aml_compute_nodes_information.rb +106 -0
  17. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb +194 -0
  18. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/cluster_update_parameters.rb +48 -0
  19. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/compute.rb +160 -0
  20. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/compute_nodes_information.rb +59 -0
  21. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/compute_resource.rb +110 -0
  22. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/compute_secrets.rb +49 -0
  23. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/compute_type.rb +21 -0
  24. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/data_factory.rb +128 -0
  25. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/data_lake_analytics.rb +140 -0
  26. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/data_lake_analytics_properties.rb +47 -0
  27. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/databricks.rb +140 -0
  28. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/databricks_compute_secrets.rb +61 -0
  29. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/databricks_properties.rb +47 -0
  30. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/error_detail.rb +57 -0
  31. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/error_response.rb +80 -0
  32. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/hdinsight.rb +140 -0
  33. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/hdinsight_properties.rb +72 -0
  34. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/identity.rb +72 -0
  35. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/list_usages_result.rb +102 -0
  36. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/list_workspace_keys_result.rb +85 -0
  37. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/machine_learning_service_error.rb +48 -0
  38. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/node_state_counts.rb +113 -0
  39. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/operation.rb +58 -0
  40. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/operation_display.rb +80 -0
  41. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/operation_list_result.rb +56 -0
  42. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/paginated_compute_resources_list.rb +101 -0
  43. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/password.rb +60 -0
  44. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/provisioning_state.rb +21 -0
  45. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/registry_list_credentials_result.rb +80 -0
  46. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/resource.rb +124 -0
  47. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/resource_id.rb +47 -0
  48. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/resource_identity_type.rb +15 -0
  49. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/scale_settings.rb +69 -0
  50. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/service_principal_credentials.rb +57 -0
  51. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/ssl_configuration.rb +80 -0
  52. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/system_service.rb +71 -0
  53. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/underlying_resource_action.rb +16 -0
  54. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/usage.rb +85 -0
  55. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/usage_name.rb +59 -0
  56. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/usage_unit.rb +15 -0
  57. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/user_account_credentials.rb +71 -0
  58. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/virtual_machine.rb +140 -0
  59. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/virtual_machine_properties.rb +82 -0
  60. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/virtual_machine_secrets.rb +63 -0
  61. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/virtual_machine_size.rb +139 -0
  62. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/virtual_machine_size_list_result.rb +56 -0
  63. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/virtual_machine_ssh_credentials.rb +79 -0
  64. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/vm_priority.rb +16 -0
  65. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/workspace.rb +220 -0
  66. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/workspace_list_result.rb +101 -0
  67. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb +77 -0
  68. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/module_definition.rb +9 -0
  69. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/operations.rb +113 -0
  70. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/usages.rb +235 -0
  71. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/virtual_machine_sizes.rb +120 -0
  72. data/lib/2018-11-19/generated/azure_mgmt_machine_learning_services/workspaces.rb +1053 -0
  73. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services.rb +91 -0
  74. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb +1052 -0
  75. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/machine_learning_services_client.rb +147 -0
  76. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aks.rb +140 -0
  77. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aks_compute_secrets.rb +85 -0
  78. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aks_networking_configuration.rb +94 -0
  79. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aksproperties.rb +117 -0
  80. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/allocation_state.rb +16 -0
  81. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute.rb +140 -0
  82. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_node_information.rb +71 -0
  83. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_nodes_information.rb +81 -0
  84. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb +194 -0
  85. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/cluster_update_parameters.rb +48 -0
  86. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/compute.rb +160 -0
  87. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/compute_nodes_information.rb +59 -0
  88. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/compute_resource.rb +110 -0
  89. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/compute_secrets.rb +49 -0
  90. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/compute_type.rb +21 -0
  91. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/data_factory.rb +128 -0
  92. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/data_lake_analytics.rb +140 -0
  93. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/data_lake_analytics_properties.rb +47 -0
  94. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/databricks.rb +140 -0
  95. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/databricks_compute_secrets.rb +61 -0
  96. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/databricks_properties.rb +47 -0
  97. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/error_detail.rb +57 -0
  98. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/error_response.rb +80 -0
  99. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/hdinsight.rb +140 -0
  100. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/hdinsight_properties.rb +72 -0
  101. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/identity.rb +72 -0
  102. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/list_usages_result.rb +102 -0
  103. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/list_workspace_keys_result.rb +85 -0
  104. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/machine_learning_service_error.rb +48 -0
  105. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/node_state_counts.rb +113 -0
  106. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/operation.rb +58 -0
  107. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/operation_display.rb +80 -0
  108. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/operation_list_result.rb +56 -0
  109. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/paginated_compute_resources_list.rb +101 -0
  110. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/password.rb +60 -0
  111. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/provisioning_state.rb +21 -0
  112. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/registry_list_credentials_result.rb +80 -0
  113. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/resource.rb +124 -0
  114. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/resource_id.rb +47 -0
  115. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/resource_identity_type.rb +15 -0
  116. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/scale_settings.rb +69 -0
  117. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/service_principal_credentials.rb +57 -0
  118. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/ssl_configuration.rb +80 -0
  119. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/system_service.rb +71 -0
  120. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/underlying_resource_action.rb +16 -0
  121. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/usage.rb +109 -0
  122. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/usage_name.rb +59 -0
  123. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/usage_unit.rb +15 -0
  124. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/user_account_credentials.rb +71 -0
  125. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/virtual_machine.rb +140 -0
  126. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/virtual_machine_properties.rb +82 -0
  127. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/virtual_machine_secrets.rb +63 -0
  128. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/virtual_machine_size.rb +139 -0
  129. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/virtual_machine_size_list_result.rb +56 -0
  130. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/virtual_machine_ssh_credentials.rb +79 -0
  131. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/vm_priority.rb +16 -0
  132. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace.rb +220 -0
  133. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace_list_result.rb +101 -0
  134. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/workspace_update_parameters.rb +77 -0
  135. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/module_definition.rb +9 -0
  136. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/operations.rb +113 -0
  137. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/usages.rb +235 -0
  138. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/virtual_machine_sizes.rb +120 -0
  139. data/lib/2019-05-01/generated/azure_mgmt_machine_learning_services/workspaces.rb +1053 -0
  140. data/lib/azure_mgmt_machine_learning_services.rb +2 -0
  141. data/lib/profiles/latest/modules/machinelearningservices_profile_module.rb +189 -97
  142. data/lib/version.rb +1 -1
  143. metadata +138 -4
@@ -0,0 +1,194 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::MachineLearningServices::Mgmt::V2018_11_19
7
+ module Models
8
+ #
9
+ # AML Compute properties
10
+ #
11
+ class AmlComputeProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Virtual Machine Size
16
+ attr_accessor :vm_size
17
+
18
+ # @return [VmPriority] Virtual Machine priority. Possible values include:
19
+ # 'Dedicated', 'LowPriority'
20
+ attr_accessor :vm_priority
21
+
22
+ # @return [ScaleSettings] Scale settings for AML Compute
23
+ attr_accessor :scale_settings
24
+
25
+ # @return [UserAccountCredentials] User account credentials. Credentials
26
+ # for an administrator user account that will be created on each compute
27
+ # node.
28
+ attr_accessor :user_account_credentials
29
+
30
+ # @return [ResourceId] Subnet. Virtual network subnet resource ID the
31
+ # compute nodes belong to.
32
+ attr_accessor :subnet
33
+
34
+ # @return [AllocationState] Allocation state. Allocation state of the
35
+ # compute. Possible values are: steady - Indicates that the compute is
36
+ # not resizing. There are no changes to the number of compute nodes in
37
+ # the compute in progress. A compute enters this state when it is created
38
+ # and when no operations are being performed on the compute to change the
39
+ # number of compute nodes. resizing - Indicates that the compute is
40
+ # resizing; that is, compute nodes are being added to or removed from the
41
+ # compute. Possible values include: 'Steady', 'Resizing'
42
+ attr_accessor :allocation_state
43
+
44
+ # @return [DateTime] Allocation state transition time. The time at which
45
+ # the compute entered its current allocation state.
46
+ attr_accessor :allocation_state_transition_time
47
+
48
+ # @return [Array<MachineLearningServiceError>] Errors. Collection of
49
+ # errors encountered by various compute nodes during node setup.
50
+ attr_accessor :errors
51
+
52
+ # @return [Integer] Current node count. The number of compute nodes
53
+ # currently assigned to the compute.
54
+ attr_accessor :current_node_count
55
+
56
+ # @return [Integer] Target node count. The target number of compute nodes
57
+ # for the compute. If the allocationState is resizing, this property
58
+ # denotes the target node count for the ongoing resize operation. If the
59
+ # allocationState is steady, this property denotes the target node count
60
+ # for the previous resize operation.
61
+ attr_accessor :target_node_count
62
+
63
+ # @return [NodeStateCounts] Node state counts. Counts of various node
64
+ # states on the compute.
65
+ attr_accessor :node_state_counts
66
+
67
+
68
+ #
69
+ # Mapper for AmlComputeProperties class as Ruby Hash.
70
+ # This will be used for serialization/deserialization.
71
+ #
72
+ def self.mapper()
73
+ {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'AmlCompute_properties',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'AmlComputeProperties',
80
+ model_properties: {
81
+ vm_size: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'vmSize',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ vm_priority: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'vmPriority',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ scale_settings: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'scaleSettings',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'ScaleSettings'
104
+ }
105
+ },
106
+ user_account_credentials: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'userAccountCredentials',
110
+ type: {
111
+ name: 'Composite',
112
+ class_name: 'UserAccountCredentials'
113
+ }
114
+ },
115
+ subnet: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'subnet',
119
+ type: {
120
+ name: 'Composite',
121
+ class_name: 'ResourceId'
122
+ }
123
+ },
124
+ allocation_state: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'allocationState',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ allocation_state_transition_time: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ read_only: true,
137
+ serialized_name: 'allocationStateTransitionTime',
138
+ type: {
139
+ name: 'DateTime'
140
+ }
141
+ },
142
+ errors: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ read_only: true,
146
+ serialized_name: 'errors',
147
+ type: {
148
+ name: 'Sequence',
149
+ element: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ serialized_name: 'MachineLearningServiceErrorElementType',
153
+ type: {
154
+ name: 'Composite',
155
+ class_name: 'MachineLearningServiceError'
156
+ }
157
+ }
158
+ }
159
+ },
160
+ current_node_count: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ read_only: true,
164
+ serialized_name: 'currentNodeCount',
165
+ type: {
166
+ name: 'Number'
167
+ }
168
+ },
169
+ target_node_count: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ read_only: true,
173
+ serialized_name: 'targetNodeCount',
174
+ type: {
175
+ name: 'Number'
176
+ }
177
+ },
178
+ node_state_counts: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ read_only: true,
182
+ serialized_name: 'nodeStateCounts',
183
+ type: {
184
+ name: 'Composite',
185
+ class_name: 'NodeStateCounts'
186
+ }
187
+ }
188
+ }
189
+ }
190
+ }
191
+ end
192
+ end
193
+ end
194
+ end
@@ -0,0 +1,48 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::MachineLearningServices::Mgmt::V2018_11_19
7
+ module Models
8
+ #
9
+ # AmlCompute update parameters.
10
+ #
11
+ class ClusterUpdateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ScaleSettings] Scale settings. Desired scale settings for the
16
+ # amlCompute.
17
+ attr_accessor :scale_settings
18
+
19
+
20
+ #
21
+ # Mapper for ClusterUpdateParameters class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'ClusterUpdateParameters',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ClusterUpdateParameters',
32
+ model_properties: {
33
+ scale_settings: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'properties.scaleSettings',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ScaleSettings'
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,160 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::MachineLearningServices::Mgmt::V2018_11_19
7
+ module Models
8
+ #
9
+ # Machine Learning compute object.
10
+ #
11
+ class Compute
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["AKS"] = "AKS"
17
+ @@discriminatorMap["AmlCompute"] = "AmlCompute"
18
+ @@discriminatorMap["VirtualMachine"] = "VirtualMachine"
19
+ @@discriminatorMap["HDInsight"] = "HDInsight"
20
+ @@discriminatorMap["DataFactory"] = "DataFactory"
21
+ @@discriminatorMap["Databricks"] = "Databricks"
22
+ @@discriminatorMap["DataLakeAnalytics"] = "DataLakeAnalytics"
23
+
24
+ def initialize
25
+ @computeType = "Compute"
26
+ end
27
+
28
+ attr_accessor :computeType
29
+
30
+ # @return [String] Location for the underlying compute
31
+ attr_accessor :compute_location
32
+
33
+ # @return [ProvisioningState] The provision state of the cluster. Valid
34
+ # values are Unknown, Updating, Provisioning, Succeeded, and Failed.
35
+ # Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting',
36
+ # 'Succeeded', 'Failed', 'Canceled'
37
+ attr_accessor :provisioning_state
38
+
39
+ # @return [String] The description of the Machine Learning compute.
40
+ attr_accessor :description
41
+
42
+ # @return [DateTime] The date and time when the compute was created.
43
+ attr_accessor :created_on
44
+
45
+ # @return [DateTime] The date and time when the compute was last
46
+ # modified.
47
+ attr_accessor :modified_on
48
+
49
+ # @return [String] ARM resource id of the underlying compute
50
+ attr_accessor :resource_id
51
+
52
+ # @return [Array<MachineLearningServiceError>] Errors during provisioning
53
+ attr_accessor :provisioning_errors
54
+
55
+ # @return [Boolean] Indicating whether the compute was provisioned by
56
+ # user and brought from outside if true, or machine learning service
57
+ # provisioned it if false.
58
+ attr_accessor :is_attached_compute
59
+
60
+
61
+ #
62
+ # Mapper for Compute class as Ruby Hash.
63
+ # This will be used for serialization/deserialization.
64
+ #
65
+ def self.mapper()
66
+ {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'Compute',
70
+ type: {
71
+ name: 'Composite',
72
+ polymorphic_discriminator: 'computeType',
73
+ uber_parent: 'Compute',
74
+ class_name: 'Compute',
75
+ model_properties: {
76
+ compute_location: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'computeLocation',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ provisioning_state: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'provisioningState',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ description: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'description',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ created_on: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'createdOn',
106
+ type: {
107
+ name: 'DateTime'
108
+ }
109
+ },
110
+ modified_on: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ read_only: true,
114
+ serialized_name: 'modifiedOn',
115
+ type: {
116
+ name: 'DateTime'
117
+ }
118
+ },
119
+ resource_id: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'resourceId',
123
+ type: {
124
+ name: 'String'
125
+ }
126
+ },
127
+ provisioning_errors: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ read_only: true,
131
+ serialized_name: 'provisioningErrors',
132
+ type: {
133
+ name: 'Sequence',
134
+ element: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'MachineLearningServiceErrorElementType',
138
+ type: {
139
+ name: 'Composite',
140
+ class_name: 'MachineLearningServiceError'
141
+ }
142
+ }
143
+ }
144
+ },
145
+ is_attached_compute: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ read_only: true,
149
+ serialized_name: 'isAttachedCompute',
150
+ type: {
151
+ name: 'Boolean'
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ end
158
+ end
159
+ end
160
+ end
@@ -0,0 +1,59 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::MachineLearningServices::Mgmt::V2018_11_19
7
+ module Models
8
+ #
9
+ # Compute nodes information related to a Machine Learning compute. Might
10
+ # differ for every type of compute.
11
+ #
12
+ class ComputeNodesInformation
13
+
14
+ include MsRestAzure
15
+
16
+ @@discriminatorMap = Hash.new
17
+ @@discriminatorMap["AmlCompute"] = "AmlComputeNodesInformation"
18
+
19
+ def initialize
20
+ @computeType = "ComputeNodesInformation"
21
+ end
22
+
23
+ attr_accessor :computeType
24
+
25
+ # @return [String] The continuation token.
26
+ attr_accessor :next_link
27
+
28
+
29
+ #
30
+ # Mapper for ComputeNodesInformation class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'ComputeNodesInformation',
38
+ type: {
39
+ name: 'Composite',
40
+ polymorphic_discriminator: 'computeType',
41
+ uber_parent: 'ComputeNodesInformation',
42
+ class_name: 'ComputeNodesInformation',
43
+ model_properties: {
44
+ next_link: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'nextLink',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end