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,61 @@
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::V2019_05_01
7
+ module Models
8
+ #
9
+ # Secrets related to a Machine Learning compute based on Databricks.
10
+ #
11
+ class DatabricksComputeSecrets < ComputeSecrets
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @computeType = "Databricks"
18
+ end
19
+
20
+ attr_accessor :computeType
21
+
22
+ # @return [String] access token for databricks account.
23
+ attr_accessor :databricks_access_token
24
+
25
+
26
+ #
27
+ # Mapper for DatabricksComputeSecrets class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'Databricks',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'DatabricksComputeSecrets',
38
+ model_properties: {
39
+ computeType: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'computeType',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ databricks_access_token: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'databricksAccessToken',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,47 @@
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::V2019_05_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class DatabricksProperties
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Databricks access token
17
+ attr_accessor :databricks_access_token
18
+
19
+
20
+ #
21
+ # Mapper for DatabricksProperties 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: 'Databricks_properties',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DatabricksProperties',
32
+ model_properties: {
33
+ databricks_access_token: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'databricksAccessToken',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,57 @@
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::V2019_05_01
7
+ module Models
8
+ #
9
+ # Error detail information.
10
+ #
11
+ class ErrorDetail
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] Error message.
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for ErrorDetail class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ErrorDetail',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ErrorDetail',
34
+ model_properties: {
35
+ code: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'code',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ message: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'message',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,80 @@
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::V2019_05_01
7
+ module Models
8
+ #
9
+ # Error response information.
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] Error message.
19
+ attr_accessor :message
20
+
21
+ # @return [Array<ErrorDetail>] An array of error detail objects.
22
+ attr_accessor :details
23
+
24
+
25
+ #
26
+ # Mapper for ErrorResponse class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'ErrorResponse',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ErrorResponse',
37
+ model_properties: {
38
+ code: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'code',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ message: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'message',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ details: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'details',
61
+ type: {
62
+ name: 'Sequence',
63
+ element: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'ErrorDetailElementType',
67
+ type: {
68
+ name: 'Composite',
69
+ class_name: 'ErrorDetail'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,140 @@
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::V2019_05_01
7
+ module Models
8
+ #
9
+ # A HDInsight compute.
10
+ #
11
+ class HDInsight < Compute
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @computeType = "HDInsight"
18
+ end
19
+
20
+ attr_accessor :computeType
21
+
22
+ # @return [HDInsightProperties]
23
+ attr_accessor :properties
24
+
25
+
26
+ #
27
+ # Mapper for HDInsight class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'HDInsight',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'HDInsight',
38
+ model_properties: {
39
+ compute_location: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'computeLocation',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ provisioning_state: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'provisioningState',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ description: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'description',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ created_on: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'createdOn',
69
+ type: {
70
+ name: 'DateTime'
71
+ }
72
+ },
73
+ modified_on: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ read_only: true,
77
+ serialized_name: 'modifiedOn',
78
+ type: {
79
+ name: 'DateTime'
80
+ }
81
+ },
82
+ resource_id: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'resourceId',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ provisioning_errors: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'provisioningErrors',
95
+ type: {
96
+ name: 'Sequence',
97
+ element: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'MachineLearningServiceErrorElementType',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'MachineLearningServiceError'
104
+ }
105
+ }
106
+ }
107
+ },
108
+ is_attached_compute: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'isAttachedCompute',
113
+ type: {
114
+ name: 'Boolean'
115
+ }
116
+ },
117
+ computeType: {
118
+ client_side_validation: true,
119
+ required: true,
120
+ serialized_name: 'computeType',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ },
125
+ properties: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'properties',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'HDInsightProperties'
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ end
138
+ end
139
+ end
140
+ end
@@ -0,0 +1,72 @@
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::V2019_05_01
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class HDInsightProperties
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Integer] Port open for ssh connections on the master node of
17
+ # the cluster.
18
+ attr_accessor :ssh_port
19
+
20
+ # @return [String] Public IP address of the master node of the cluster.
21
+ attr_accessor :address
22
+
23
+ # @return [VirtualMachineSshCredentials] Admin credentials for master
24
+ # node of the cluster
25
+ attr_accessor :administrator_account
26
+
27
+
28
+ #
29
+ # Mapper for HDInsightProperties class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'HDInsight_properties',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'HDInsightProperties',
40
+ model_properties: {
41
+ ssh_port: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'sshPort',
45
+ type: {
46
+ name: 'Number'
47
+ }
48
+ },
49
+ address: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'address',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ administrator_account: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'administratorAccount',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'VirtualMachineSshCredentials'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end