azure_mgmt_hdinsight 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight.rb +106 -0
  4. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb +601 -0
  5. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/clusters.rb +1292 -0
  6. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/configurations.rb +289 -0
  7. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/extension_operations.rb +653 -0
  8. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +161 -0
  9. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/locations.rb +201 -0
  10. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application.rb +104 -0
  11. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb +68 -0
  12. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb +87 -0
  13. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_list_result.rb +102 -0
  14. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_properties.rb +210 -0
  15. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/async_operation_state.rb +17 -0
  16. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/capabilities_result.rb +148 -0
  17. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster.rb +121 -0
  18. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_parameters_extended.rb +89 -0
  19. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb +132 -0
  20. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb +88 -0
  21. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_disk_encryption_parameters.rb +70 -0
  22. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb +209 -0
  23. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity.rb +101 -0
  24. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb +61 -0
  25. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_persisted_script_actions_result.rb +68 -0
  26. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_result.rb +99 -0
  27. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb +70 -0
  28. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_request.rb +57 -0
  29. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb +59 -0
  30. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_patch_parameters.rb +54 -0
  31. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_resize_parameters.rb +46 -0
  32. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb +55 -0
  33. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb +79 -0
  34. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/data_disks_groups.rb +71 -0
  35. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/directory_type.rb +15 -0
  36. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb +95 -0
  37. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/error_response.rb +57 -0
  38. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/errors.rb +57 -0
  39. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb +67 -0
  40. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/extension.rb +57 -0
  41. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb +46 -0
  42. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/hdinsight_cluster_provisioning_state.rb +19 -0
  43. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/json_web_key_encryption_algorithm.rb +17 -0
  44. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/linux_operating_system_profile.rb +69 -0
  45. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/localized_name.rb +57 -0
  46. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation.rb +58 -0
  47. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb +69 -0
  48. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_list_result.rb +101 -0
  49. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb +60 -0
  50. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb +47 -0
  51. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ostype.rb +16 -0
  52. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/proxy_resource.rb +63 -0
  53. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/quota_capability.rb +56 -0
  54. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb +46 -0
  55. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb +68 -0
  56. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/regions_capability.rb +54 -0
  57. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/resource.rb +80 -0
  58. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/resource_identity_type.rb +18 -0
  59. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/role.rb +144 -0
  60. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb +100 -0
  61. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb +178 -0
  62. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb +68 -0
  63. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_history_list.rb +101 -0
  64. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_summary.rb +60 -0
  65. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_persisted_get_response_spec.rb +99 -0
  66. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_actions_list.rb +100 -0
  67. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb +159 -0
  68. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ssh_profile.rb +55 -0
  69. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ssh_public_key.rb +46 -0
  70. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb +93 -0
  71. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/storage_profile.rb +56 -0
  72. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/tier.rb +16 -0
  73. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/tracked_resource.rb +92 -0
  74. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/usage.rb +81 -0
  75. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/usages_list_result.rb +55 -0
  76. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb +87 -0
  77. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/versions_capability.rb +55 -0
  78. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/virtual_network_profile.rb +57 -0
  79. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb +141 -0
  80. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_sizes_capability.rb +54 -0
  81. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/module_definition.rb +9 -0
  82. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/operations.rb +215 -0
  83. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/script_actions.rb +408 -0
  84. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/script_execution_history.rb +312 -0
  85. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight.rb +98 -0
  86. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/applications.rb +601 -0
  87. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb +1292 -0
  88. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/configurations.rb +289 -0
  89. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb +735 -0
  90. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +161 -0
  91. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/locations.rb +113 -0
  92. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application.rb +104 -0
  93. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb +68 -0
  94. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb +87 -0
  95. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_list_result.rb +102 -0
  96. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_properties.rb +210 -0
  97. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/async_operation_state.rb +17 -0
  98. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster.rb +121 -0
  99. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_parameters_extended.rb +89 -0
  100. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb +132 -0
  101. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb +88 -0
  102. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_disk_encryption_parameters.rb +70 -0
  103. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb +209 -0
  104. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity.rb +101 -0
  105. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb +61 -0
  106. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_persisted_script_actions_result.rb +68 -0
  107. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_result.rb +99 -0
  108. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb +70 -0
  109. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_request.rb +57 -0
  110. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb +59 -0
  111. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_patch_parameters.rb +54 -0
  112. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_resize_parameters.rb +46 -0
  113. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb +55 -0
  114. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb +79 -0
  115. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/data_disks_groups.rb +71 -0
  116. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/directory_type.rb +15 -0
  117. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb +95 -0
  118. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/error_response.rb +57 -0
  119. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/errors.rb +57 -0
  120. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb +67 -0
  121. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/extension.rb +57 -0
  122. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb +46 -0
  123. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hdinsight_cluster_provisioning_state.rb +19 -0
  124. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/json_web_key_encryption_algorithm.rb +17 -0
  125. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/linux_operating_system_profile.rb +69 -0
  126. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/localized_name.rb +57 -0
  127. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation.rb +58 -0
  128. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb +69 -0
  129. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_list_result.rb +101 -0
  130. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb +60 -0
  131. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb +47 -0
  132. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ostype.rb +16 -0
  133. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/proxy_resource.rb +63 -0
  134. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb +46 -0
  135. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/resource.rb +80 -0
  136. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/resource_identity_type.rb +18 -0
  137. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb +144 -0
  138. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb +100 -0
  139. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb +178 -0
  140. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb +68 -0
  141. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_history_list.rb +101 -0
  142. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_summary.rb +60 -0
  143. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_persisted_get_response_spec.rb +99 -0
  144. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_actions_list.rb +100 -0
  145. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb +159 -0
  146. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_profile.rb +55 -0
  147. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_public_key.rb +46 -0
  148. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb +93 -0
  149. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_profile.rb +56 -0
  150. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/tier.rb +16 -0
  151. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/tracked_resource.rb +92 -0
  152. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/usage.rb +81 -0
  153. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/usages_list_result.rb +55 -0
  154. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/virtual_network_profile.rb +57 -0
  155. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/module_definition.rb +9 -0
  156. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/operations.rb +215 -0
  157. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/script_actions.rb +408 -0
  158. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/script_execution_history.rb +312 -0
  159. data/lib/azure_mgmt_hdinsight.rb +7 -0
  160. data/lib/module_definition.rb +8 -0
  161. data/lib/profiles/latest/hdinsight_latest_profile_client.rb +40 -0
  162. data/lib/profiles/latest/hdinsight_module_definition.rb +8 -0
  163. data/lib/profiles/latest/modules/hdinsight_profile_module.rb +327 -0
  164. data/lib/version.rb +7 -0
  165. metadata +282 -0
@@ -0,0 +1,88 @@
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::Hdinsight::Mgmt::V2015_03_01_preview
7
+ module Models
8
+ #
9
+ # The cluster definition.
10
+ #
11
+ class ClusterDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The link to the blueprint.
16
+ attr_accessor :blueprint
17
+
18
+ # @return [String] The type of cluster.
19
+ attr_accessor :kind
20
+
21
+ # @return [Hash{String => String}] The versions of different services in
22
+ # the cluster.
23
+ attr_accessor :component_version
24
+
25
+ # @return The cluster configurations.
26
+ attr_accessor :configurations
27
+
28
+
29
+ #
30
+ # Mapper for ClusterDefinition 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: 'ClusterDefinition',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ClusterDefinition',
41
+ model_properties: {
42
+ blueprint: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'blueprint',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ kind: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'kind',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ component_version: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'componentVersion',
62
+ type: {
63
+ name: 'Dictionary',
64
+ value: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'StringElementType',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ },
74
+ configurations: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'configurations',
78
+ type: {
79
+ name: 'Object'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ end
86
+ end
87
+ end
88
+ end
@@ -0,0 +1,70 @@
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::Hdinsight::Mgmt::V2015_03_01_preview
7
+ module Models
8
+ #
9
+ # The Disk Encryption Cluster request parameters.
10
+ #
11
+ class ClusterDiskEncryptionParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Base key vault URI where the customers key is located
16
+ # eg. https://myvault.vault.azure.net
17
+ attr_accessor :vault_uri
18
+
19
+ # @return [String] Key name that is used for enabling disk encryption.
20
+ attr_accessor :key_name
21
+
22
+ # @return [String] Specific key version that is used for enabling disk
23
+ # encryption.
24
+ attr_accessor :key_version
25
+
26
+
27
+ #
28
+ # Mapper for ClusterDiskEncryptionParameters class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ClusterDiskEncryptionParameters',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ClusterDiskEncryptionParameters',
39
+ model_properties: {
40
+ vault_uri: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'vaultUri',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ key_name: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'keyName',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ key_version: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'keyVersion',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,209 @@
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::Hdinsight::Mgmt::V2015_03_01_preview
7
+ module Models
8
+ #
9
+ # The properties of cluster.
10
+ #
11
+ class ClusterGetProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The version of the cluster.
16
+ attr_accessor :cluster_version
17
+
18
+ # @return [OSType] The type of operating system. Possible values include:
19
+ # 'Windows', 'Linux'
20
+ attr_accessor :os_type
21
+
22
+ # @return [Tier] The cluster tier. Possible values include: 'Standard',
23
+ # 'Premium'
24
+ attr_accessor :tier
25
+
26
+ # @return [ClusterDefinition] The cluster definition.
27
+ attr_accessor :cluster_definition
28
+
29
+ # @return [SecurityProfile] The security profile.
30
+ attr_accessor :security_profile
31
+
32
+ # @return [ComputeProfile] The compute profile.
33
+ attr_accessor :compute_profile
34
+
35
+ # @return [HDInsightClusterProvisioningState] The provisioning state,
36
+ # which only appears in the response. Possible values include:
37
+ # 'InProgress', 'Failed', 'Succeeded', 'Canceled', 'Deleting'
38
+ attr_accessor :provisioning_state
39
+
40
+ # @return [String] The date on which the cluster was created.
41
+ attr_accessor :created_date
42
+
43
+ # @return [String] The state of the cluster.
44
+ attr_accessor :cluster_state
45
+
46
+ # @return [QuotaInfo] The quota information.
47
+ attr_accessor :quota_info
48
+
49
+ # @return [Array<Errors>] The list of errors.
50
+ attr_accessor :errors
51
+
52
+ # @return [Array<ConnectivityEndpoint>] The list of connectivity
53
+ # endpoints.
54
+ attr_accessor :connectivity_endpoints
55
+
56
+ # @return [DiskEncryptionProperties] The disk encryption properties.
57
+ attr_accessor :disk_encryption_properties
58
+
59
+
60
+ #
61
+ # Mapper for ClusterGetProperties class as Ruby Hash.
62
+ # This will be used for serialization/deserialization.
63
+ #
64
+ def self.mapper()
65
+ {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'ClusterGetProperties',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'ClusterGetProperties',
72
+ model_properties: {
73
+ cluster_version: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'clusterVersion',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ os_type: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'osType',
85
+ type: {
86
+ name: 'Enum',
87
+ module: 'OSType'
88
+ }
89
+ },
90
+ tier: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'tier',
94
+ type: {
95
+ name: 'Enum',
96
+ module: 'Tier'
97
+ }
98
+ },
99
+ cluster_definition: {
100
+ client_side_validation: true,
101
+ required: true,
102
+ serialized_name: 'clusterDefinition',
103
+ type: {
104
+ name: 'Composite',
105
+ class_name: 'ClusterDefinition'
106
+ }
107
+ },
108
+ security_profile: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'securityProfile',
112
+ type: {
113
+ name: 'Composite',
114
+ class_name: 'SecurityProfile'
115
+ }
116
+ },
117
+ compute_profile: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'computeProfile',
121
+ type: {
122
+ name: 'Composite',
123
+ class_name: 'ComputeProfile'
124
+ }
125
+ },
126
+ provisioning_state: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'provisioningState',
130
+ type: {
131
+ name: 'Enum',
132
+ module: 'HDInsightClusterProvisioningState'
133
+ }
134
+ },
135
+ created_date: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ serialized_name: 'createdDate',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ cluster_state: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'clusterState',
147
+ type: {
148
+ name: 'String'
149
+ }
150
+ },
151
+ quota_info: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ serialized_name: 'quotaInfo',
155
+ type: {
156
+ name: 'Composite',
157
+ class_name: 'QuotaInfo'
158
+ }
159
+ },
160
+ errors: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ serialized_name: 'errors',
164
+ type: {
165
+ name: 'Sequence',
166
+ element: {
167
+ client_side_validation: true,
168
+ required: false,
169
+ serialized_name: 'ErrorsElementType',
170
+ type: {
171
+ name: 'Composite',
172
+ class_name: 'Errors'
173
+ }
174
+ }
175
+ }
176
+ },
177
+ connectivity_endpoints: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ serialized_name: 'connectivityEndpoints',
181
+ type: {
182
+ name: 'Sequence',
183
+ element: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ serialized_name: 'ConnectivityEndpointElementType',
187
+ type: {
188
+ name: 'Composite',
189
+ class_name: 'ConnectivityEndpoint'
190
+ }
191
+ }
192
+ }
193
+ },
194
+ disk_encryption_properties: {
195
+ client_side_validation: true,
196
+ required: false,
197
+ serialized_name: 'diskEncryptionProperties',
198
+ type: {
199
+ name: 'Composite',
200
+ class_name: 'DiskEncryptionProperties'
201
+ }
202
+ }
203
+ }
204
+ }
205
+ }
206
+ end
207
+ end
208
+ end
209
+ end
@@ -0,0 +1,101 @@
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::Hdinsight::Mgmt::V2015_03_01_preview
7
+ module Models
8
+ #
9
+ # Identity for the cluster.
10
+ #
11
+ class ClusterIdentity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal id of cluster identity. This property
16
+ # will only be provided for a system assigned identity.
17
+ attr_accessor :principal_id
18
+
19
+ # @return [String] The tenant id associated with the cluster. This
20
+ # property will only be provided for a system assigned identity.
21
+ attr_accessor :tenant_id
22
+
23
+ # @return [ResourceIdentityType] The type of identity used for the
24
+ # cluster. The type 'SystemAssigned, UserAssigned' includes both an
25
+ # implicitly created identity and a set of user assigned identities.
26
+ # Possible values include: 'SystemAssigned', 'UserAssigned',
27
+ # 'SystemAssigned, UserAssigned', 'None'
28
+ attr_accessor :type
29
+
30
+ # @return [Hash{String => ClusterIdentityUserAssignedIdentitiesValue}]
31
+ # The list of user identities associated with the cluster. The user
32
+ # identity dictionary key references will be ARM resource ids in the
33
+ # form:
34
+ # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
35
+ attr_accessor :user_assigned_identities
36
+
37
+
38
+ #
39
+ # Mapper for ClusterIdentity class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'ClusterIdentity',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'ClusterIdentity',
50
+ model_properties: {
51
+ principal_id: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'principalId',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ tenant_id: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'tenantId',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ type: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'type',
73
+ type: {
74
+ name: 'Enum',
75
+ module: 'ResourceIdentityType'
76
+ }
77
+ },
78
+ user_assigned_identities: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'userAssignedIdentities',
82
+ type: {
83
+ name: 'Dictionary',
84
+ value: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'ClusterIdentityUserAssignedIdentitiesValueElementType',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'ClusterIdentityUserAssignedIdentitiesValue'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end