azure_mgmt_hdinsight 0.17.3 → 0.17.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight.rb +44 -30
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb +10 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/clusters.rb +26 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/configurations.rb +6 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/extension_operations.rb +12 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +1 -1
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/locations.rb +109 -6
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb +22 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale.rb +59 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_capacity.rb +57 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_recurrence.rb +67 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_schedule.rb +70 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb +68 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_meters.rb +68 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_resources.rb +87 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_response_list_result.rb +99 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/client_group_info.rb +57 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb +24 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb +24 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/days_of_week.rb +21 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/disk_billing_meters.rb +70 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/filter_mode.rb +16 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/kafka_rest_properties.rb +48 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/quota_capability.rb +22 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb +1 -1
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/role.rb +12 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter_v2.rb +172 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/operations.rb +4 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/script_actions.rb +8 -0
- data/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/script_execution_history.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight.rb +61 -36
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/applications.rb +10 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb +26 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/configurations.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb +5 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/locations.rb +194 -3
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb +22 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale.rb +59 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_capacity.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_recurrence.rb +67 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_schedule.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_meters.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_resources.rb +87 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/billing_response_list_result.rb +99 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/capabilities_result.rb +148 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/client_group_info.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb +24 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb +24 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/days_of_week.rb +21 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/disk_billing_meters.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/filter_mode.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/host_info.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/host_info_list_result.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/kafka_rest_properties.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_capability.rb +78 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regions_capability.rb +54 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb +87 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/versions_capability.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb +141 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter_v2.rb +172 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/vm_sizes_capability.rb +54 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/operations.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/script_actions.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/script_execution_history.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/virtual_machines.rb +268 -0
- data/lib/azure_mgmt_hdinsight.rb +1 -1
- data/lib/profiles/latest/modules/hdinsight_profile_module.rb +219 -121
- data/lib/version.rb +1 -1
- metadata +44 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b7b2e2b2c0faec59f7fcb0221e79bd1967ee123fefc4aecd29c5338246c56ba1
|
4
|
+
data.tar.gz: a8c01467e92e2f6adc7aee6e10cab47f7bd29eaf59c60e49c4a9ac82787d8140
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 927d952527d7c71285e8f8a86a001da1adaeec51aaf07c816157df0c31b3095ead38f4a2b228ff69bfd261b6ccdc68acebea4667f19562c58546fc44ee714244
|
7
|
+
data.tar.gz: 74235cba28f0c07d4370fca50c142fcb328a7e1d0a8d59cc478756fe6b8136d846cf9b5e11e363d57349b457c4a9288602431bf5d79625500d00633186d7c32f
|
@@ -31,67 +31,79 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
31
31
|
autoload :HDInsightManagementClient, '2015-03-01-preview/generated/azure_mgmt_hdinsight/hdinsight_management_client.rb'
|
32
32
|
|
33
33
|
module Models
|
34
|
+
autoload :ClusterResizeParameters, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_resize_parameters.rb'
|
34
35
|
autoload :ClusterDiskEncryptionParameters, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_disk_encryption_parameters.rb'
|
36
|
+
autoload :ClientGroupInfo, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/client_group_info.rb'
|
35
37
|
autoload :UpdateGatewaySettingsParameters, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/update_gateway_settings_parameters.rb'
|
36
38
|
autoload :SecurityProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/security_profile.rb'
|
37
39
|
autoload :GatewaySettings, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/gateway_settings.rb'
|
38
|
-
autoload :
|
40
|
+
autoload :AutoscaleSchedule, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_schedule.rb'
|
39
41
|
autoload :OperationResource, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_resource.rb'
|
40
|
-
autoload :
|
42
|
+
autoload :AutoscaleRecurrence, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_recurrence.rb'
|
41
43
|
autoload :Resource, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/resource.rb'
|
42
|
-
autoload :
|
44
|
+
autoload :HardwareProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/hardware_profile.rb'
|
45
|
+
autoload :Autoscale, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale.rb'
|
46
|
+
autoload :DataDisksGroups, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/data_disks_groups.rb'
|
47
|
+
autoload :VirtualNetworkProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/virtual_network_profile.rb'
|
43
48
|
autoload :SshProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ssh_profile.rb'
|
44
|
-
autoload :ScriptAction, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb'
|
45
|
-
autoload :OsProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb'
|
46
|
-
autoload :ComputeProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb'
|
47
49
|
autoload :OperationListResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_list_result.rb'
|
48
|
-
autoload :
|
50
|
+
autoload :OsProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/os_profile.rb'
|
49
51
|
autoload :Operation, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation.rb'
|
50
|
-
autoload :
|
52
|
+
autoload :Role, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/role.rb'
|
51
53
|
autoload :ErrorResponse, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/error_response.rb'
|
52
|
-
autoload :
|
54
|
+
autoload :StorageAccount, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/storage_account.rb'
|
53
55
|
autoload :ApplicationGetHttpsEndpoint, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_get_https_endpoint.rb'
|
54
|
-
autoload :
|
56
|
+
autoload :DiskEncryptionProperties, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/disk_encryption_properties.rb'
|
55
57
|
autoload :ApplicationGetEndpoint, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_get_endpoint.rb'
|
56
|
-
autoload :
|
58
|
+
autoload :ClusterIdentityUserAssignedIdentitiesValue, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity_user_assigned_identities_value.rb'
|
57
59
|
autoload :ApplicationProperties, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_properties.rb'
|
58
|
-
autoload :
|
60
|
+
autoload :ClusterCreateParametersExtended, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_parameters_extended.rb'
|
59
61
|
autoload :OperationDisplay, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/operation_display.rb'
|
60
|
-
autoload :
|
62
|
+
autoload :QuotaInfo, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb'
|
61
63
|
autoload :ApplicationListResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application_list_result.rb'
|
62
|
-
autoload :
|
64
|
+
autoload :ConnectivityEndpoint, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/connectivity_endpoint.rb'
|
63
65
|
autoload :VersionSpec, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb'
|
64
|
-
autoload :ScriptActionsList, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_actions_list.rb'
|
65
|
-
autoload :ClusterListRuntimeScriptActionDetailResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb'
|
66
66
|
autoload :VersionsCapability, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/versions_capability.rb'
|
67
|
-
autoload :
|
67
|
+
autoload :ExecuteScriptActionParameters, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb'
|
68
68
|
autoload :RegionsCapability, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/regions_capability.rb'
|
69
|
-
autoload :
|
69
|
+
autoload :ScriptActionExecutionSummary, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_summary.rb'
|
70
70
|
autoload :VmSizesCapability, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_sizes_capability.rb'
|
71
|
-
autoload :
|
71
|
+
autoload :ClusterListRuntimeScriptActionDetailResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_runtime_script_action_detail_result.rb'
|
72
72
|
autoload :VmSizeCompatibilityFilter, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter.rb'
|
73
|
-
autoload :
|
73
|
+
autoload :ClusterDefinition, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb'
|
74
74
|
autoload :RegionalQuotaCapability, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb'
|
75
|
-
autoload :
|
75
|
+
autoload :AutoscaleTimeAndCapacity, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_time_and_capacity.rb'
|
76
76
|
autoload :QuotaCapability, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/quota_capability.rb'
|
77
|
-
autoload :
|
77
|
+
autoload :SshPublicKey, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ssh_public_key.rb'
|
78
78
|
autoload :CapabilitiesResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/capabilities_result.rb'
|
79
|
-
autoload :
|
79
|
+
autoload :ScriptAction, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action.rb'
|
80
80
|
autoload :LocalizedName, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/localized_name.rb'
|
81
|
-
autoload :
|
81
|
+
autoload :StorageProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/storage_profile.rb'
|
82
82
|
autoload :Usage, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/usage.rb'
|
83
|
-
autoload :
|
83
|
+
autoload :ClusterIdentity, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_identity.rb'
|
84
84
|
autoload :UsagesListResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/usages_list_result.rb'
|
85
|
-
autoload :
|
85
|
+
autoload :Errors, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/errors.rb'
|
86
|
+
autoload :VmSizeCompatibilityFilterV2, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/vm_size_compatibility_filter_v2.rb'
|
87
|
+
autoload :RuntimeScriptAction, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb'
|
88
|
+
autoload :BillingMeters, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_meters.rb'
|
89
|
+
autoload :ScriptActionsList, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_actions_list.rb'
|
90
|
+
autoload :ClusterListResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_result.rb'
|
91
|
+
autoload :DiskBillingMeters, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/disk_billing_meters.rb'
|
92
|
+
autoload :AutoscaleCapacity, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/autoscale_capacity.rb'
|
93
|
+
autoload :BillingResources, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_resources.rb'
|
94
|
+
autoload :ComputeProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb'
|
95
|
+
autoload :BillingResponseListResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/billing_response_list_result.rb'
|
96
|
+
autoload :ClusterPatchParameters, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_patch_parameters.rb'
|
86
97
|
autoload :ClusterConfigurations, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_configurations.rb'
|
98
|
+
autoload :ClusterListPersistedScriptActionsResult, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_list_persisted_script_actions_result.rb'
|
87
99
|
autoload :Extension, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/extension.rb'
|
88
|
-
autoload :
|
100
|
+
autoload :LinuxOperatingSystemProfile, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/linux_operating_system_profile.rb'
|
89
101
|
autoload :ClusterMonitoringResponse, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_response.rb'
|
90
|
-
autoload :
|
102
|
+
autoload :ClusterGetProperties, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_get_properties.rb'
|
91
103
|
autoload :ClusterMonitoringRequest, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_monitoring_request.rb'
|
92
|
-
autoload :
|
104
|
+
autoload :ClusterCreateProperties, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/cluster_create_properties.rb'
|
93
105
|
autoload :ScriptActionExecutionHistoryList, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_execution_history_list.rb'
|
94
|
-
autoload :
|
106
|
+
autoload :KafkaRestProperties, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/kafka_rest_properties.rb'
|
95
107
|
autoload :ScriptActionPersistedGetResponseSpec, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/script_action_persisted_get_response_spec.rb'
|
96
108
|
autoload :RuntimeScriptActionDetail, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action_detail.rb'
|
97
109
|
autoload :TrackedResource, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/tracked_resource.rb'
|
@@ -99,11 +111,13 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
99
111
|
autoload :ProxyResource, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/proxy_resource.rb'
|
100
112
|
autoload :Application, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/application.rb'
|
101
113
|
autoload :DirectoryType, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/directory_type.rb'
|
114
|
+
autoload :DaysOfWeek, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/days_of_week.rb'
|
102
115
|
autoload :OSType, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/ostype.rb'
|
103
116
|
autoload :Tier, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/tier.rb'
|
104
117
|
autoload :JsonWebKeyEncryptionAlgorithm, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/json_web_key_encryption_algorithm.rb'
|
105
118
|
autoload :ResourceIdentityType, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/resource_identity_type.rb'
|
106
119
|
autoload :HDInsightClusterProvisioningState, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/hdinsight_cluster_provisioning_state.rb'
|
107
120
|
autoload :AsyncOperationState, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/async_operation_state.rb'
|
121
|
+
autoload :FilterMode, '2015-03-01-preview/generated/azure_mgmt_hdinsight/models/filter_mode.rb'
|
108
122
|
end
|
109
123
|
end
|
@@ -96,6 +96,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
96
96
|
end
|
97
97
|
|
98
98
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
99
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
100
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
99
101
|
# Deserialize Response
|
100
102
|
if status_code == 200
|
101
103
|
begin
|
@@ -192,6 +194,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
192
194
|
end
|
193
195
|
|
194
196
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
197
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
198
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
195
199
|
# Deserialize Response
|
196
200
|
if status_code == 200
|
197
201
|
begin
|
@@ -385,6 +389,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
385
389
|
end
|
386
390
|
|
387
391
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
392
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
393
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
388
394
|
# Deserialize Response
|
389
395
|
if status_code == 200
|
390
396
|
begin
|
@@ -480,6 +486,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
480
486
|
end
|
481
487
|
|
482
488
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
489
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
490
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
483
491
|
|
484
492
|
result
|
485
493
|
end
|
@@ -558,6 +566,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
558
566
|
end
|
559
567
|
|
560
568
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
569
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
570
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
561
571
|
# Deserialize Response
|
562
572
|
if status_code == 200
|
563
573
|
begin
|
@@ -153,6 +153,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
153
153
|
end
|
154
154
|
|
155
155
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
156
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
157
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
156
158
|
# Deserialize Response
|
157
159
|
if status_code == 200
|
158
160
|
begin
|
@@ -283,6 +285,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
283
285
|
end
|
284
286
|
|
285
287
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
288
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
289
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
286
290
|
# Deserialize Response
|
287
291
|
if status_code == 200
|
288
292
|
begin
|
@@ -371,6 +375,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
371
375
|
end
|
372
376
|
|
373
377
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
378
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
379
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
374
380
|
# Deserialize Response
|
375
381
|
if status_code == 200
|
376
382
|
begin
|
@@ -497,6 +503,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
497
503
|
end
|
498
504
|
|
499
505
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
506
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
507
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
500
508
|
# Deserialize Response
|
501
509
|
if status_code == 200
|
502
510
|
begin
|
@@ -631,6 +639,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
631
639
|
end
|
632
640
|
|
633
641
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
642
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
643
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
634
644
|
# Deserialize Response
|
635
645
|
if status_code == 200
|
636
646
|
begin
|
@@ -821,6 +831,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
821
831
|
end
|
822
832
|
|
823
833
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
834
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
835
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
824
836
|
# Deserialize Response
|
825
837
|
if status_code == 200
|
826
838
|
begin
|
@@ -912,6 +924,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
912
924
|
end
|
913
925
|
|
914
926
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
927
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
928
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
915
929
|
|
916
930
|
result
|
917
931
|
end
|
@@ -1008,6 +1022,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
1008
1022
|
end
|
1009
1023
|
|
1010
1024
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1025
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1026
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1011
1027
|
|
1012
1028
|
result
|
1013
1029
|
end
|
@@ -1103,6 +1119,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
1103
1119
|
end
|
1104
1120
|
|
1105
1121
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1122
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1123
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1106
1124
|
|
1107
1125
|
result
|
1108
1126
|
end
|
@@ -1198,6 +1216,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
1198
1216
|
end
|
1199
1217
|
|
1200
1218
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1219
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1220
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1201
1221
|
|
1202
1222
|
result
|
1203
1223
|
end
|
@@ -1293,6 +1313,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
1293
1313
|
end
|
1294
1314
|
|
1295
1315
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1316
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1317
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1296
1318
|
|
1297
1319
|
result
|
1298
1320
|
end
|
@@ -1371,6 +1393,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
1371
1393
|
end
|
1372
1394
|
|
1373
1395
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1396
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1397
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1374
1398
|
# Deserialize Response
|
1375
1399
|
if status_code == 200
|
1376
1400
|
begin
|
@@ -1459,6 +1483,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
1459
1483
|
end
|
1460
1484
|
|
1461
1485
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1486
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1487
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1462
1488
|
# Deserialize Response
|
1463
1489
|
if status_code == 200
|
1464
1490
|
begin
|
@@ -96,6 +96,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
96
96
|
end
|
97
97
|
|
98
98
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
99
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
100
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
99
101
|
# Deserialize Response
|
100
102
|
if status_code == 200
|
101
103
|
begin
|
@@ -241,6 +243,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
241
243
|
end
|
242
244
|
|
243
245
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
246
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
247
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
244
248
|
# Deserialize Response
|
245
249
|
if status_code == 200
|
246
250
|
begin
|
@@ -380,6 +384,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
380
384
|
end
|
381
385
|
|
382
386
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
387
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
388
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
383
389
|
|
384
390
|
result
|
385
391
|
end
|
@@ -141,6 +141,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
141
141
|
end
|
142
142
|
|
143
143
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
144
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
145
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
144
146
|
# Deserialize Response
|
145
147
|
if status_code == 200
|
146
148
|
begin
|
@@ -285,6 +287,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
285
287
|
end
|
286
288
|
|
287
289
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
290
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
291
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
288
292
|
|
289
293
|
result
|
290
294
|
end
|
@@ -371,6 +375,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
371
375
|
end
|
372
376
|
|
373
377
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
378
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
379
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
374
380
|
# Deserialize Response
|
375
381
|
if status_code == 200
|
376
382
|
begin
|
@@ -466,6 +472,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
466
472
|
end
|
467
473
|
|
468
474
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
475
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
476
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
469
477
|
|
470
478
|
result
|
471
479
|
end
|
@@ -561,6 +569,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
561
569
|
end
|
562
570
|
|
563
571
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
572
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
573
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
564
574
|
|
565
575
|
result
|
566
576
|
end
|
@@ -642,6 +652,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
642
652
|
end
|
643
653
|
|
644
654
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
655
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
656
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
645
657
|
|
646
658
|
result
|
647
659
|
end
|
@@ -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.17.
|
157
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
158
158
|
add_user_agent_information(sdk_information)
|
159
159
|
end
|
160
160
|
end
|
@@ -24,7 +24,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
24
24
|
#
|
25
25
|
# Gets the capabilities for the specified location.
|
26
26
|
#
|
27
|
-
# @param location [String] The location
|
27
|
+
# @param location [String] The Azure location (region) for which to make the
|
28
|
+
# request.
|
28
29
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
29
30
|
# will be added to the HTTP request.
|
30
31
|
#
|
@@ -38,7 +39,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
38
39
|
#
|
39
40
|
# Gets the capabilities for the specified location.
|
40
41
|
#
|
41
|
-
# @param location [String] The location
|
42
|
+
# @param location [String] The Azure location (region) for which to make the
|
43
|
+
# request.
|
42
44
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
43
45
|
# will be added to the HTTP request.
|
44
46
|
#
|
@@ -51,7 +53,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
51
53
|
#
|
52
54
|
# Gets the capabilities for the specified location.
|
53
55
|
#
|
54
|
-
# @param location [String] The location
|
56
|
+
# @param location [String] The Azure location (region) for which to make the
|
57
|
+
# request.
|
55
58
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
56
59
|
# to the HTTP request.
|
57
60
|
#
|
@@ -92,6 +95,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
92
95
|
end
|
93
96
|
|
94
97
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
98
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
99
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
95
100
|
# Deserialize Response
|
96
101
|
if status_code == 200
|
97
102
|
begin
|
@@ -112,7 +117,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
112
117
|
#
|
113
118
|
# Lists the usages for the specified location.
|
114
119
|
#
|
115
|
-
# @param location [String] The location
|
120
|
+
# @param location [String] The Azure location (region) for which to make the
|
121
|
+
# request.
|
116
122
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
117
123
|
# will be added to the HTTP request.
|
118
124
|
#
|
@@ -126,7 +132,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
126
132
|
#
|
127
133
|
# Lists the usages for the specified location.
|
128
134
|
#
|
129
|
-
# @param location [String] The location
|
135
|
+
# @param location [String] The Azure location (region) for which to make the
|
136
|
+
# request.
|
130
137
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
131
138
|
# will be added to the HTTP request.
|
132
139
|
#
|
@@ -139,7 +146,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
139
146
|
#
|
140
147
|
# Lists the usages for the specified location.
|
141
148
|
#
|
142
|
-
# @param location [String] The location
|
149
|
+
# @param location [String] The Azure location (region) for which to make the
|
150
|
+
# request.
|
143
151
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
144
152
|
# to the HTTP request.
|
145
153
|
#
|
@@ -180,6 +188,8 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
180
188
|
end
|
181
189
|
|
182
190
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
191
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
192
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
183
193
|
# Deserialize Response
|
184
194
|
if status_code == 200
|
185
195
|
begin
|
@@ -197,5 +207,98 @@ module Azure::Hdinsight::Mgmt::V2015_03_01_preview
|
|
197
207
|
promise.execute
|
198
208
|
end
|
199
209
|
|
210
|
+
#
|
211
|
+
# Lists the billingSpecs for the specified subscription and location.
|
212
|
+
#
|
213
|
+
# @param location [String] The Azure location (region) for which to make the
|
214
|
+
# request.
|
215
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
216
|
+
# will be added to the HTTP request.
|
217
|
+
#
|
218
|
+
# @return [BillingResponseListResult] operation results.
|
219
|
+
#
|
220
|
+
def list_billing_specs(location, custom_headers:nil)
|
221
|
+
response = list_billing_specs_async(location, custom_headers:custom_headers).value!
|
222
|
+
response.body unless response.nil?
|
223
|
+
end
|
224
|
+
|
225
|
+
#
|
226
|
+
# Lists the billingSpecs for the specified subscription and location.
|
227
|
+
#
|
228
|
+
# @param location [String] The Azure location (region) for which to make the
|
229
|
+
# request.
|
230
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
231
|
+
# will be added to the HTTP request.
|
232
|
+
#
|
233
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
234
|
+
#
|
235
|
+
def list_billing_specs_with_http_info(location, custom_headers:nil)
|
236
|
+
list_billing_specs_async(location, custom_headers:custom_headers).value!
|
237
|
+
end
|
238
|
+
|
239
|
+
#
|
240
|
+
# Lists the billingSpecs for the specified subscription and location.
|
241
|
+
#
|
242
|
+
# @param location [String] The Azure location (region) for which to make the
|
243
|
+
# request.
|
244
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
245
|
+
# to the HTTP request.
|
246
|
+
#
|
247
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
248
|
+
#
|
249
|
+
def list_billing_specs_async(location, custom_headers:nil)
|
250
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
251
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
252
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
253
|
+
|
254
|
+
|
255
|
+
request_headers = {}
|
256
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
257
|
+
|
258
|
+
# Set Headers
|
259
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
260
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
261
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs'
|
262
|
+
|
263
|
+
request_url = @base_url || @client.base_url
|
264
|
+
|
265
|
+
options = {
|
266
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
267
|
+
path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
|
268
|
+
query_params: {'api-version' => @client.api_version},
|
269
|
+
headers: request_headers.merge(custom_headers || {}),
|
270
|
+
base_url: request_url
|
271
|
+
}
|
272
|
+
promise = @client.make_request_async(:get, path_template, options)
|
273
|
+
|
274
|
+
promise = promise.then do |result|
|
275
|
+
http_response = result.response
|
276
|
+
status_code = http_response.status
|
277
|
+
response_content = http_response.body
|
278
|
+
unless status_code == 200
|
279
|
+
error_model = JSON.load(response_content)
|
280
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
281
|
+
end
|
282
|
+
|
283
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
284
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
285
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
286
|
+
# Deserialize Response
|
287
|
+
if status_code == 200
|
288
|
+
begin
|
289
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
290
|
+
result_mapper = Azure::Hdinsight::Mgmt::V2015_03_01_preview::Models::BillingResponseListResult.mapper()
|
291
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
292
|
+
rescue Exception => e
|
293
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
result
|
298
|
+
end
|
299
|
+
|
300
|
+
promise.execute
|
301
|
+
end
|
302
|
+
|
200
303
|
end
|
201
304
|
end
|