azure_mgmt_hdinsight 0.18.4 → 0.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +1 -1
  3. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight.rb +47 -41
  4. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/applications.rb +1 -1
  5. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb +99 -1
  6. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb +4 -4
  7. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +1 -1
  8. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/locations.rb +97 -0
  9. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb +11 -0
  10. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb +11 -0
  11. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/{operation_resource.rb → async_operation_result.rb} +4 -4
  12. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_response_list_result.rb +40 -0
  13. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/capabilities_result.rb +6 -6
  14. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb +35 -0
  15. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb +11 -0
  16. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_request.rb +3 -3
  17. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb +4 -5
  18. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb +11 -0
  19. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/dimension.rb +80 -0
  20. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/excluded_services_config.rb +57 -0
  21. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/extension.rb +1 -1
  22. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/filter_mode.rb +2 -0
  23. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb +251 -0
  24. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation.rb +12 -0
  25. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb +11 -0
  26. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_properties.rb +47 -0
  27. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb +22 -0
  28. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/service_specification.rb +55 -0
  29. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb +22 -0
  30. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb +2 -2
  31. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter_v2.rb +1 -1
  32. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_property.rb +149 -0
  33. data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/script_actions.rb +1 -1
  34. data/lib/profiles/latest/modules/hdinsight_profile_module.rb +153 -129
  35. data/lib/version.rb +1 -1
  36. metadata +9 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a46a53506110b95efa0559dd5dc75d970916a3af4afc9bcf033fb818fa813737
4
- data.tar.gz: 9ee84be3e234916d8012f664920112c2af0378e0e1a670fff12e75e53ff0d95d
3
+ metadata.gz: 9fabac40c4cd27384a1df9ecbeb40ef1fdb6ec5fe02ac97bd1a5e255b2a6af10
4
+ data.tar.gz: 0eefa3183c542de47af3e88c947872705fda84ce123efff3c1bb53c248346977
5
5
  SHA512:
6
- metadata.gz: 8952f039d044a8b043667430678488552e7371c52f9e1816f41b11c4d1b05eb2446b4ba48d457262214ee39a57612ce18b2be320060a1b490a04dd9247a7021b
7
- data.tar.gz: 281ee738d89a264c09270c75533df5e71dd9e976ca1227047ae457a7b4986b9ecbb86fa75dd2b3216cbe02d5ded3446652f11101a3967fbd1fff7509c63ae401
6
+ metadata.gz: 3f583fee24ce084feea8dd3813f349c70b0883e8573fbcb728b982eab8da5bd7786ba1557774752309f6c38e519bfe10b3c7a2e6312d59c3badd552729e339c6
7
+ data.tar.gz: 13eed80238a008520abd6d912321d4e4b20483162797fbf27cd9b9df27e01cc1e9a7308d49799773c9d113657a7bf69c53354a05e333234a276d56c122a4c1c6
@@ -154,7 +154,7 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
154
154
  #
155
155
  def add_telemetry
156
156
  sdk_information = 'azure_mgmt_hdinsight'
157
- sdk_information = "#{sdk_information}/0.18.4"
157
+ sdk_information = "#{sdk_information}/0.18.5"
158
158
  add_user_agent_information(sdk_information)
159
159
  end
160
160
  end
@@ -32,85 +32,91 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
32
32
  autoload :HDInsightManagementClient, '2018-06-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb'
33
33
 
34
34
  module Models
35
- autoload :ClusterListResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_result.rb'
35
+ autoload :ClusterDiskEncryptionParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_disk_encryption_parameters.rb'
36
36
  autoload :ClusterDefinition, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb'
37
- autoload :ClusterResizeParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_resize_parameters.rb'
37
+ autoload :UpdateGatewaySettingsParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/update_gateway_settings_parameters.rb'
38
38
  autoload :KafkaRestProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/kafka_rest_properties.rb'
39
- autoload :ClusterDiskEncryptionParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_disk_encryption_parameters.rb'
39
+ autoload :GatewaySettings, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/gateway_settings.rb'
40
40
  autoload :AutoscaleTimeAndCapacity, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb'
41
- autoload :UpdateGatewaySettingsParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/update_gateway_settings_parameters.rb'
41
+ autoload :AsyncOperationResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/async_operation_result.rb'
42
42
  autoload :AutoscaleCapacity, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_capacity.rb'
43
- autoload :GatewaySettings, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/gateway_settings.rb'
43
+ autoload :Resource, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/resource.rb'
44
44
  autoload :Autoscale, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale.rb'
45
- autoload :OperationResource, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb'
45
+ autoload :AutoscaleRecurrence, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_recurrence.rb'
46
46
  autoload :HardwareProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb'
47
- autoload :Resource, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/resource.rb'
47
+ autoload :AutoscaleConfigurationUpdateParameter, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_configuration_update_parameter.rb'
48
48
  autoload :DataDisksGroups, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/data_disks_groups.rb'
49
- autoload :VirtualNetworkProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/virtual_network_profile.rb'
50
- autoload :SshProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_profile.rb'
51
- autoload :SshPublicKey, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_public_key.rb'
52
- autoload :OsProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb'
53
49
  autoload :HostInfo, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/host_info.rb'
54
- autoload :Role, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb'
50
+ autoload :SshProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_profile.rb'
55
51
  autoload :OperationListResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_list_result.rb'
56
- autoload :StorageAccount, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb'
52
+ autoload :OsProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb'
57
53
  autoload :ErrorResponse, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/error_response.rb'
58
- autoload :NetworkProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/network_properties.rb'
54
+ autoload :Role, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb'
59
55
  autoload :ApplicationGetHttpsEndpoint, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb'
60
- autoload :DiskEncryptionProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb'
56
+ autoload :StorageAccount, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb'
61
57
  autoload :ApplicationGetEndpoint, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb'
62
- autoload :ClusterCreateProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb'
58
+ autoload :ExcludedServicesConfig, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/excluded_services_config.rb'
63
59
  autoload :ApplicationProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_properties.rb'
64
- autoload :ClusterIdentity, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity.rb'
60
+ autoload :ComputeIsolationProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_isolation_properties.rb'
65
61
  autoload :Operation, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation.rb'
66
- autoload :ClusterPatchParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_patch_parameters.rb'
62
+ autoload :EncryptionInTransitProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/encryption_in_transit_properties.rb'
67
63
  autoload :ApplicationListResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_list_result.rb'
68
- autoload :Errors, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/errors.rb'
64
+ autoload :ClusterIdentityUserAssignedIdentitiesValue, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb'
69
65
  autoload :VersionSpec, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb'
70
- autoload :ClusterGetProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb'
66
+ autoload :ClusterCreateParametersExtended, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_parameters_extended.rb'
71
67
  autoload :VersionsCapability, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/versions_capability.rb'
72
- autoload :RuntimeScriptAction, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb'
68
+ autoload :QuotaInfo, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb'
73
69
  autoload :RegionsCapability, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regions_capability.rb'
74
- autoload :ClusterListPersistedScriptActionsResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_persisted_script_actions_result.rb'
70
+ autoload :ConnectivityEndpoint, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb'
75
71
  autoload :VmSizesCapability, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_sizes_capability.rb'
76
- autoload :OperationDisplay, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb'
77
- autoload :ClusterListRuntimeScriptActionDetailResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb'
78
72
  autoload :VmSizeCompatibilityFilter, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb'
79
- autoload :SecurityProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb'
73
+ autoload :ExecuteScriptActionParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb'
80
74
  autoload :RegionalQuotaCapability, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb'
81
- autoload :AutoscaleRecurrence, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_recurrence.rb'
75
+ autoload :ScriptActionExecutionSummary, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_summary.rb'
82
76
  autoload :QuotaCapability, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_capability.rb'
83
- autoload :LinuxOperatingSystemProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/linux_operating_system_profile.rb'
77
+ autoload :ClusterListRuntimeScriptActionDetailResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb'
84
78
  autoload :CapabilitiesResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/capabilities_result.rb'
85
- autoload :ComputeProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb'
79
+ autoload :ClusterResizeParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_resize_parameters.rb'
86
80
  autoload :LocalizedName, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/localized_name.rb'
87
- autoload :ComputeIsolationProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_isolation_properties.rb'
81
+ autoload :SecurityProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb'
88
82
  autoload :Usage, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/usage.rb'
89
- autoload :ClusterIdentityUserAssignedIdentitiesValue, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb'
83
+ autoload :VirtualNetworkProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/virtual_network_profile.rb'
90
84
  autoload :UsagesListResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/usages_list_result.rb'
91
- autoload :QuotaInfo, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb'
85
+ autoload :LinuxOperatingSystemProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/linux_operating_system_profile.rb'
92
86
  autoload :VmSizeCompatibilityFilterV2, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter_v2.rb'
87
+ autoload :ComputeProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb'
88
+ autoload :VmSizeProperty, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_property.rb'
89
+ autoload :NetworkProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/network_properties.rb'
93
90
  autoload :BillingMeters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_meters.rb'
94
- autoload :ScriptActionExecutionSummary, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_summary.rb'
91
+ autoload :ClusterCreateProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb'
95
92
  autoload :DiskBillingMeters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_billing_meters.rb'
96
- autoload :AutoscaleSchedule, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_schedule.rb'
93
+ autoload :ClusterPatchParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_patch_parameters.rb'
97
94
  autoload :BillingResources, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_resources.rb'
98
- autoload :ScriptAction, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb'
95
+ autoload :ClusterGetProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb'
99
96
  autoload :BillingResponseListResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_response_list_result.rb'
100
- autoload :EncryptionInTransitProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/encryption_in_transit_properties.rb'
97
+ autoload :ClusterListPersistedScriptActionsResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_persisted_script_actions_result.rb'
101
98
  autoload :ClusterConfigurations, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_configurations.rb'
102
- autoload :ConnectivityEndpoint, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb'
99
+ autoload :ClusterListResult, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_result.rb'
103
100
  autoload :Extension, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/extension.rb'
104
- autoload :ClientGroupInfo, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/client_group_info.rb'
101
+ autoload :AutoscaleSchedule, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_schedule.rb'
105
102
  autoload :ClusterMonitoringResponse, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb'
106
- autoload :StorageProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_profile.rb'
103
+ autoload :ScriptAction, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb'
107
104
  autoload :ClusterMonitoringRequest, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_request.rb'
108
- autoload :ExecuteScriptActionParameters, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb'
105
+ autoload :DiskEncryptionProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb'
109
106
  autoload :ScriptActionExecutionHistoryList, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_history_list.rb'
110
- autoload :ClusterCreateParametersExtended, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_parameters_extended.rb'
107
+ autoload :Errors, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/errors.rb'
111
108
  autoload :ScriptActionPersistedGetResponseSpec, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_action_persisted_get_response_spec.rb'
112
- autoload :AutoscaleConfigurationUpdateParameter, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_configuration_update_parameter.rb'
109
+ autoload :OperationProperties, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_properties.rb'
110
+ autoload :ClientGroupInfo, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/client_group_info.rb'
113
111
  autoload :ScriptActionsList, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/script_actions_list.rb'
112
+ autoload :StorageProfile, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_profile.rb'
113
+ autoload :OperationDisplay, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb'
114
+ autoload :RuntimeScriptAction, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb'
115
+ autoload :Dimension, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/dimension.rb'
116
+ autoload :ClusterIdentity, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity.rb'
117
+ autoload :MetricSpecifications, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/metric_specifications.rb'
118
+ autoload :SshPublicKey, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/ssh_public_key.rb'
119
+ autoload :ServiceSpecification, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/service_specification.rb'
114
120
  autoload :RuntimeScriptActionDetail, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb'
115
121
  autoload :TrackedResource, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/tracked_resource.rb'
116
122
  autoload :Cluster, '2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster.rb'
@@ -480,7 +480,7 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
480
480
  http_response = result.response
481
481
  status_code = http_response.status
482
482
  response_content = http_response.body
483
- unless status_code == 200 || status_code == 202
483
+ unless status_code == 200 || status_code == 202 || status_code == 204
484
484
  error_model = JSON.load(response_content)
485
485
  fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
486
486
  end
@@ -742,6 +742,104 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
742
742
  promise
743
743
  end
744
744
 
745
+ #
746
+ # The the async operation status.
747
+ #
748
+ # @param resource_group_name [String] The name of the resource group.
749
+ # @param cluster_name [String] The name of the cluster.
750
+ # @param operation_id [String] The long running operation id.
751
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
752
+ # will be added to the HTTP request.
753
+ #
754
+ # @return [AsyncOperationResult] operation results.
755
+ #
756
+ def get_azure_async_operation_status(resource_group_name, cluster_name, operation_id, custom_headers:nil)
757
+ response = get_azure_async_operation_status_async(resource_group_name, cluster_name, operation_id, custom_headers:custom_headers).value!
758
+ response.body unless response.nil?
759
+ end
760
+
761
+ #
762
+ # The the async operation status.
763
+ #
764
+ # @param resource_group_name [String] The name of the resource group.
765
+ # @param cluster_name [String] The name of the cluster.
766
+ # @param operation_id [String] The long running operation id.
767
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
768
+ # will be added to the HTTP request.
769
+ #
770
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
771
+ #
772
+ def get_azure_async_operation_status_with_http_info(resource_group_name, cluster_name, operation_id, custom_headers:nil)
773
+ get_azure_async_operation_status_async(resource_group_name, cluster_name, operation_id, custom_headers:custom_headers).value!
774
+ end
775
+
776
+ #
777
+ # The the async operation status.
778
+ #
779
+ # @param resource_group_name [String] The name of the resource group.
780
+ # @param cluster_name [String] The name of the cluster.
781
+ # @param operation_id [String] The long running operation id.
782
+ # @param [Hash{String => String}] A hash of custom headers that will be added
783
+ # to the HTTP request.
784
+ #
785
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
786
+ #
787
+ def get_azure_async_operation_status_async(resource_group_name, cluster_name, operation_id, custom_headers:nil)
788
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
789
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
790
+ fail ArgumentError, 'cluster_name is nil' if cluster_name.nil?
791
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
792
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
793
+
794
+
795
+ request_headers = {}
796
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
797
+
798
+ # Set Headers
799
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
800
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
801
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/azureasyncoperations/{operationId}'
802
+
803
+ request_url = @base_url || @client.base_url
804
+
805
+ options = {
806
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
807
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'clusterName' => cluster_name,'operationId' => operation_id},
808
+ query_params: {'api-version' => @client.api_version},
809
+ headers: request_headers.merge(custom_headers || {}),
810
+ base_url: request_url
811
+ }
812
+ promise = @client.make_request_async(:get, path_template, options)
813
+
814
+ promise = promise.then do |result|
815
+ http_response = result.response
816
+ status_code = http_response.status
817
+ response_content = http_response.body
818
+ unless status_code == 200
819
+ error_model = JSON.load(response_content)
820
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
821
+ end
822
+
823
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
824
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
825
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
826
+ # Deserialize Response
827
+ if status_code == 200
828
+ begin
829
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
830
+ result_mapper = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AsyncOperationResult.mapper()
831
+ result.body = @client.deserialize(result_mapper, parsed_response)
832
+ rescue Exception => e
833
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
834
+ end
835
+ end
836
+
837
+ result
838
+ end
839
+
840
+ promise.execute
841
+ end
842
+
745
843
  #
746
844
  # Executes script actions on the specified HDInsight cluster.
747
845
  #
@@ -960,7 +1058,7 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
960
1058
  http_response = result.response
961
1059
  status_code = http_response.status
962
1060
  response_content = http_response.body
963
- unless status_code == 202 || status_code == 200
1061
+ unless status_code == 202 || status_code == 200 || status_code == 204
964
1062
  error_model = JSON.load(response_content)
965
1063
  fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
966
1064
  end
@@ -249,7 +249,7 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
249
249
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
250
250
  # will be added to the HTTP request.
251
251
  #
252
- # @return [Extension] operation results.
252
+ # @return [ClusterMonitoringResponse] operation results.
253
253
  #
254
254
  def get(resource_group_name, cluster_name, extension_name, custom_headers:nil)
255
255
  response = get_async(resource_group_name, cluster_name, extension_name, custom_headers:custom_headers).value!
@@ -325,7 +325,7 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
325
325
  if status_code == 200
326
326
  begin
327
327
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
328
- result_mapper = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Extension.mapper()
328
+ result_mapper = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterMonitoringResponse.mapper()
329
329
  result.body = @client.deserialize(result_mapper, parsed_response)
330
330
  rescue Exception => e
331
331
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -543,7 +543,7 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
543
543
  http_response = result.response
544
544
  status_code = http_response.status
545
545
  response_content = http_response.body
546
- unless status_code == 200 || status_code == 202
546
+ unless status_code == 200 || status_code == 202 || status_code == 204
547
547
  error_model = JSON.load(response_content)
548
548
  fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
549
549
  end
@@ -728,7 +728,7 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
728
728
  http_response = result.response
729
729
  status_code = http_response.status
730
730
  response_content = http_response.body
731
- unless status_code == 200 || status_code == 202
731
+ unless status_code == 200 || status_code == 202 || status_code == 204
732
732
  error_model = JSON.load(response_content)
733
733
  fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
734
734
  end
@@ -158,7 +158,7 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
158
158
  #
159
159
  def add_telemetry
160
160
  sdk_information = 'azure_mgmt_hdinsight'
161
- sdk_information = "#{sdk_information}/0.18.4"
161
+ sdk_information = "#{sdk_information}/0.18.5"
162
162
  add_user_agent_information(sdk_information)
163
163
  end
164
164
  end
@@ -300,5 +300,102 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
300
300
  promise.execute
301
301
  end
302
302
 
303
+ #
304
+ # Get the async operation status.
305
+ #
306
+ # @param location [String] The Azure location (region) for which to make the
307
+ # request.
308
+ # @param operation_id [String] The long running operation id.
309
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
310
+ # will be added to the HTTP request.
311
+ #
312
+ # @return [AsyncOperationResult] operation results.
313
+ #
314
+ def get_azure_async_operation_status(location, operation_id, custom_headers:nil)
315
+ response = get_azure_async_operation_status_async(location, operation_id, custom_headers:custom_headers).value!
316
+ response.body unless response.nil?
317
+ end
318
+
319
+ #
320
+ # Get the async operation status.
321
+ #
322
+ # @param location [String] The Azure location (region) for which to make the
323
+ # request.
324
+ # @param operation_id [String] The long running operation id.
325
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
326
+ # will be added to the HTTP request.
327
+ #
328
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
329
+ #
330
+ def get_azure_async_operation_status_with_http_info(location, operation_id, custom_headers:nil)
331
+ get_azure_async_operation_status_async(location, operation_id, custom_headers:custom_headers).value!
332
+ end
333
+
334
+ #
335
+ # Get the async operation status.
336
+ #
337
+ # @param location [String] The Azure location (region) for which to make the
338
+ # request.
339
+ # @param operation_id [String] The long running operation id.
340
+ # @param [Hash{String => String}] A hash of custom headers that will be added
341
+ # to the HTTP request.
342
+ #
343
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
344
+ #
345
+ def get_azure_async_operation_status_async(location, operation_id, custom_headers:nil)
346
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
347
+ fail ArgumentError, 'location is nil' if location.nil?
348
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
349
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
350
+
351
+
352
+ request_headers = {}
353
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
354
+
355
+ # Set Headers
356
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
357
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
358
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/azureasyncoperations/{operationId}'
359
+
360
+ request_url = @base_url || @client.base_url
361
+
362
+ options = {
363
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
364
+ path_params: {'subscriptionId' => @client.subscription_id,'location' => location,'operationId' => operation_id},
365
+ query_params: {'api-version' => @client.api_version},
366
+ headers: request_headers.merge(custom_headers || {}),
367
+ base_url: request_url
368
+ }
369
+ promise = @client.make_request_async(:get, path_template, options)
370
+
371
+ promise = promise.then do |result|
372
+ http_response = result.response
373
+ status_code = http_response.status
374
+ response_content = http_response.body
375
+ unless status_code == 200
376
+ error_model = JSON.load(response_content)
377
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
378
+ end
379
+
380
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
381
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
382
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
383
+ # Deserialize Response
384
+ if status_code == 200
385
+ begin
386
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
387
+ result_mapper = Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::AsyncOperationResult.mapper()
388
+ result.body = @client.deserialize(result_mapper, parsed_response)
389
+ rescue Exception => e
390
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
391
+ end
392
+ end
393
+
394
+ result
395
+ end
396
+
397
+ promise.execute
398
+ end
399
+
303
400
  end
304
401
  end
@@ -21,6 +21,9 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
21
21
  # @return [Integer] The public port to connect to.
22
22
  attr_accessor :public_port
23
23
 
24
+ # @return [String] The private ip address of the endpoint.
25
+ attr_accessor :private_ipaddress
26
+
24
27
 
25
28
  #
26
29
  # Mapper for ApplicationGetEndpoint class as Ruby Hash.
@@ -58,6 +61,14 @@ module Azure::Hdinsight::Mgmt::V2018_06_01_preview
58
61
  type: {
59
62
  name: 'Number'
60
63
  }
64
+ },
65
+ private_ipaddress: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'privateIPAddress',
69
+ type: {
70
+ name: 'String'
71
+ }
61
72
  }
62
73
  }
63
74
  }