azure_mgmt_hanaonazure 0.17.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_instances.rb +0 -139
- data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_management_client.rb +1 -1
- data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_size_names_enum.rb +7 -5
- data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hardware_profile.rb +3 -3
- data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/sap_monitor.rb +96 -0
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c63866a73bcaf0e06b5a90de91a7a95dd105d9ce716320d2e19fe7b8ea3405e
|
4
|
+
data.tar.gz: 4b8be66762c522e936b60bbb8c699096ef4ec6c84031eed0624622fa9360a799
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 714466cbe0213f84b9d95bf7872956ca356a2ac6db3b64aae3505890f3616f381c3d0179e8be5f29c9c55e3d10053831cb23804cbd4e191a96ab5338a123106c
|
7
|
+
data.tar.gz: 2e282f0551a106f238eeb0611922603864d3d232d9912dbda5c8a78c62eaeaad57a6462ca5040aed351d3eed64ae83eee836234bd7c4d31f6db7004c11049b6e
|
@@ -645,48 +645,6 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
645
645
|
promise
|
646
646
|
end
|
647
647
|
|
648
|
-
#
|
649
|
-
# The operation to add a monitor to an SAP HANA instance.
|
650
|
-
#
|
651
|
-
# @param resource_group_name [String] Name of the resource group.
|
652
|
-
# @param hana_instance_name [String] Name of the SAP HANA on Azure instance.
|
653
|
-
# @param monitoring_parameter [MonitoringDetails] Request body that only
|
654
|
-
# contains monitoring attributes
|
655
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
656
|
-
# will be added to the HTTP request.
|
657
|
-
#
|
658
|
-
def enable_monitoring(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:nil)
|
659
|
-
response = enable_monitoring_async(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:custom_headers).value!
|
660
|
-
nil
|
661
|
-
end
|
662
|
-
|
663
|
-
#
|
664
|
-
# @param resource_group_name [String] Name of the resource group.
|
665
|
-
# @param hana_instance_name [String] Name of the SAP HANA on Azure instance.
|
666
|
-
# @param monitoring_parameter [MonitoringDetails] Request body that only
|
667
|
-
# contains monitoring attributes
|
668
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
669
|
-
# will be added to the HTTP request.
|
670
|
-
#
|
671
|
-
# @return [Concurrent::Promise] promise which provides async access to http
|
672
|
-
# response.
|
673
|
-
#
|
674
|
-
def enable_monitoring_async(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:nil)
|
675
|
-
# Send request
|
676
|
-
promise = begin_enable_monitoring_async(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:custom_headers)
|
677
|
-
|
678
|
-
promise = promise.then do |response|
|
679
|
-
# Defining deserialization method.
|
680
|
-
deserialize_method = lambda do |parsed_response|
|
681
|
-
end
|
682
|
-
|
683
|
-
# Waiting for response.
|
684
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
685
|
-
end
|
686
|
-
|
687
|
-
promise
|
688
|
-
end
|
689
|
-
|
690
648
|
#
|
691
649
|
# Creates a SAP HANA instance.
|
692
650
|
#
|
@@ -1155,103 +1113,6 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
1155
1113
|
promise.execute
|
1156
1114
|
end
|
1157
1115
|
|
1158
|
-
#
|
1159
|
-
# The operation to add a monitor to an SAP HANA instance.
|
1160
|
-
#
|
1161
|
-
# @param resource_group_name [String] Name of the resource group.
|
1162
|
-
# @param hana_instance_name [String] Name of the SAP HANA on Azure instance.
|
1163
|
-
# @param monitoring_parameter [MonitoringDetails] Request body that only
|
1164
|
-
# contains monitoring attributes
|
1165
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1166
|
-
# will be added to the HTTP request.
|
1167
|
-
#
|
1168
|
-
#
|
1169
|
-
def begin_enable_monitoring(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:nil)
|
1170
|
-
response = begin_enable_monitoring_async(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:custom_headers).value!
|
1171
|
-
nil
|
1172
|
-
end
|
1173
|
-
|
1174
|
-
#
|
1175
|
-
# The operation to add a monitor to an SAP HANA instance.
|
1176
|
-
#
|
1177
|
-
# @param resource_group_name [String] Name of the resource group.
|
1178
|
-
# @param hana_instance_name [String] Name of the SAP HANA on Azure instance.
|
1179
|
-
# @param monitoring_parameter [MonitoringDetails] Request body that only
|
1180
|
-
# contains monitoring attributes
|
1181
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1182
|
-
# will be added to the HTTP request.
|
1183
|
-
#
|
1184
|
-
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1185
|
-
#
|
1186
|
-
def begin_enable_monitoring_with_http_info(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:nil)
|
1187
|
-
begin_enable_monitoring_async(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:custom_headers).value!
|
1188
|
-
end
|
1189
|
-
|
1190
|
-
#
|
1191
|
-
# The operation to add a monitor to an SAP HANA instance.
|
1192
|
-
#
|
1193
|
-
# @param resource_group_name [String] Name of the resource group.
|
1194
|
-
# @param hana_instance_name [String] Name of the SAP HANA on Azure instance.
|
1195
|
-
# @param monitoring_parameter [MonitoringDetails] Request body that only
|
1196
|
-
# contains monitoring attributes
|
1197
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1198
|
-
# to the HTTP request.
|
1199
|
-
#
|
1200
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1201
|
-
#
|
1202
|
-
def begin_enable_monitoring_async(resource_group_name, hana_instance_name, monitoring_parameter, custom_headers:nil)
|
1203
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1204
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1205
|
-
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1206
|
-
fail ArgumentError, 'hana_instance_name is nil' if hana_instance_name.nil?
|
1207
|
-
fail ArgumentError, 'monitoring_parameter is nil' if monitoring_parameter.nil?
|
1208
|
-
|
1209
|
-
|
1210
|
-
request_headers = {}
|
1211
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1212
|
-
|
1213
|
-
# Set Headers
|
1214
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1215
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1216
|
-
|
1217
|
-
# Serialize Request
|
1218
|
-
request_mapper = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::MonitoringDetails.mapper()
|
1219
|
-
request_content = @client.serialize(request_mapper, monitoring_parameter)
|
1220
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1221
|
-
|
1222
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/monitoring'
|
1223
|
-
|
1224
|
-
request_url = @base_url || @client.base_url
|
1225
|
-
|
1226
|
-
options = {
|
1227
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1228
|
-
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'hanaInstanceName' => hana_instance_name},
|
1229
|
-
query_params: {'api-version' => @client.api_version},
|
1230
|
-
body: request_content,
|
1231
|
-
headers: request_headers.merge(custom_headers || {}),
|
1232
|
-
base_url: request_url
|
1233
|
-
}
|
1234
|
-
promise = @client.make_request_async(:post, path_template, options)
|
1235
|
-
|
1236
|
-
promise = promise.then do |result|
|
1237
|
-
http_response = result.response
|
1238
|
-
status_code = http_response.status
|
1239
|
-
response_content = http_response.body
|
1240
|
-
unless status_code == 200 || status_code == 202
|
1241
|
-
error_model = JSON.load(response_content)
|
1242
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1243
|
-
end
|
1244
|
-
|
1245
|
-
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1246
|
-
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1247
|
-
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1248
|
-
|
1249
|
-
result
|
1250
|
-
end
|
1251
|
-
|
1252
|
-
promise.execute
|
1253
|
-
end
|
1254
|
-
|
1255
1116
|
#
|
1256
1117
|
# Gets a list of SAP HANA instances in the specified subscription.
|
1257
1118
|
#
|
@@ -134,7 +134,7 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
134
134
|
#
|
135
135
|
def add_telemetry
|
136
136
|
sdk_information = 'azure_mgmt_hanaonazure'
|
137
|
-
sdk_information = "#{sdk_information}/0.
|
137
|
+
sdk_information = "#{sdk_information}/0.18.0"
|
138
138
|
add_user_agent_information(sdk_information)
|
139
139
|
end
|
140
140
|
end
|
data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_size_names_enum.rb
CHANGED
@@ -17,6 +17,13 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
17
17
|
S192m = "S192m"
|
18
18
|
S192xm = "S192xm"
|
19
19
|
S96 = "S96"
|
20
|
+
S112 = "S112"
|
21
|
+
S224 = "S224"
|
22
|
+
S224m = "S224m"
|
23
|
+
S224om = "S224om"
|
24
|
+
S224oo = "S224oo"
|
25
|
+
S224oom = "S224oom"
|
26
|
+
S224ooo = "S224ooo"
|
20
27
|
S384 = "S384"
|
21
28
|
S384m = "S384m"
|
22
29
|
S384xm = "S384xm"
|
@@ -27,11 +34,6 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
27
34
|
S768m = "S768m"
|
28
35
|
S768xm = "S768xm"
|
29
36
|
S960m = "S960m"
|
30
|
-
S224o = "S224o"
|
31
|
-
S224m = "S224m"
|
32
|
-
S224om = "S224om"
|
33
|
-
S224oxm = "S224oxm"
|
34
|
-
S224oxxm = "S224oxxm"
|
35
37
|
end
|
36
38
|
end
|
37
39
|
end
|
@@ -18,9 +18,9 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
18
18
|
|
19
19
|
# @return [HanaInstanceSizeNamesEnum] Specifies the HANA instance SKU.
|
20
20
|
# Possible values include: 'S72m', 'S144m', 'S72', 'S144', 'S192',
|
21
|
-
# 'S192m', 'S192xm', 'S96', '
|
22
|
-
# '
|
23
|
-
# '
|
21
|
+
# 'S192m', 'S192xm', 'S96', 'S112', 'S224', 'S224m', 'S224om', 'S224oo',
|
22
|
+
# 'S224oom', 'S224ooo', 'S384', 'S384m', 'S384xm', 'S384xxm', 'S576m',
|
23
|
+
# 'S576xm', 'S768', 'S768m', 'S768xm', 'S960m'
|
24
24
|
attr_accessor :hana_instance_size
|
25
25
|
|
26
26
|
|
@@ -30,11 +30,42 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
30
30
|
# @return [String] Database password of the HANA instance.
|
31
31
|
attr_accessor :hana_db_password
|
32
32
|
|
33
|
+
# @return [String] KeyVault URL link to the password for the HANA
|
34
|
+
# database.
|
35
|
+
attr_accessor :hana_db_password_key_vault_url
|
36
|
+
|
37
|
+
# @return [String] MSI ID passed by customer which has access to
|
38
|
+
# customer's KeyVault and to be assigned to the Collector VM.
|
39
|
+
attr_accessor :hana_db_credentials_msi_id
|
40
|
+
|
41
|
+
# @return [String] Key Vault ID containing customer's HANA credentials.
|
42
|
+
attr_accessor :key_vault_id
|
43
|
+
|
33
44
|
# @return [HanaProvisioningStatesEnum] State of provisioning of the
|
34
45
|
# HanaInstance. Possible values include: 'Accepted', 'Creating',
|
35
46
|
# 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'
|
36
47
|
attr_accessor :provisioning_state
|
37
48
|
|
49
|
+
# @return [String] The name of the resource group the SAP Monitor
|
50
|
+
# resources get deployed into.
|
51
|
+
attr_accessor :managed_resource_group_name
|
52
|
+
|
53
|
+
# @return [String] The ARM ID of the Log Analytics Workspace that is used
|
54
|
+
# for monitoring
|
55
|
+
attr_accessor :log_analytics_workspace_arm_id
|
56
|
+
|
57
|
+
# @return [Boolean] The value indicating whether to send analytics to
|
58
|
+
# Microsoft
|
59
|
+
attr_accessor :enable_customer_analytics
|
60
|
+
|
61
|
+
# @return [String] The workspace ID of the log analytics workspace to be
|
62
|
+
# used for monitoring
|
63
|
+
attr_accessor :log_analytics_workspace_id
|
64
|
+
|
65
|
+
# @return [String] The shared key of the log analytics workspace that is
|
66
|
+
# used for monitoring
|
67
|
+
attr_accessor :log_analytics_workspace_shared_key
|
68
|
+
|
38
69
|
|
39
70
|
#
|
40
71
|
# Mapper for SapMonitor class as Ruby Hash.
|
@@ -149,6 +180,30 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
149
180
|
name: 'String'
|
150
181
|
}
|
151
182
|
},
|
183
|
+
hana_db_password_key_vault_url: {
|
184
|
+
client_side_validation: true,
|
185
|
+
required: false,
|
186
|
+
serialized_name: 'properties.hanaDbPasswordKeyVaultUrl',
|
187
|
+
type: {
|
188
|
+
name: 'String'
|
189
|
+
}
|
190
|
+
},
|
191
|
+
hana_db_credentials_msi_id: {
|
192
|
+
client_side_validation: true,
|
193
|
+
required: false,
|
194
|
+
serialized_name: 'properties.hanaDbCredentialsMsiId',
|
195
|
+
type: {
|
196
|
+
name: 'String'
|
197
|
+
}
|
198
|
+
},
|
199
|
+
key_vault_id: {
|
200
|
+
client_side_validation: true,
|
201
|
+
required: false,
|
202
|
+
serialized_name: 'properties.keyVaultId',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
},
|
152
207
|
provisioning_state: {
|
153
208
|
client_side_validation: true,
|
154
209
|
required: false,
|
@@ -157,6 +212,47 @@ module Azure::Hanaonazure::Mgmt::V2017_11_03_preview
|
|
157
212
|
type: {
|
158
213
|
name: 'String'
|
159
214
|
}
|
215
|
+
},
|
216
|
+
managed_resource_group_name: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
read_only: true,
|
220
|
+
serialized_name: 'properties.managedResourceGroupName',
|
221
|
+
type: {
|
222
|
+
name: 'String'
|
223
|
+
}
|
224
|
+
},
|
225
|
+
log_analytics_workspace_arm_id: {
|
226
|
+
client_side_validation: true,
|
227
|
+
required: false,
|
228
|
+
serialized_name: 'properties.logAnalyticsWorkspaceArmId',
|
229
|
+
type: {
|
230
|
+
name: 'String'
|
231
|
+
}
|
232
|
+
},
|
233
|
+
enable_customer_analytics: {
|
234
|
+
client_side_validation: true,
|
235
|
+
required: false,
|
236
|
+
serialized_name: 'properties.enableCustomerAnalytics',
|
237
|
+
type: {
|
238
|
+
name: 'Boolean'
|
239
|
+
}
|
240
|
+
},
|
241
|
+
log_analytics_workspace_id: {
|
242
|
+
client_side_validation: true,
|
243
|
+
required: false,
|
244
|
+
serialized_name: 'properties.logAnalyticsWorkspaceId',
|
245
|
+
type: {
|
246
|
+
name: 'String'
|
247
|
+
}
|
248
|
+
},
|
249
|
+
log_analytics_workspace_shared_key: {
|
250
|
+
client_side_validation: true,
|
251
|
+
required: false,
|
252
|
+
serialized_name: 'properties.logAnalyticsWorkspaceSharedKey',
|
253
|
+
type: {
|
254
|
+
name: 'String'
|
255
|
+
}
|
160
256
|
}
|
161
257
|
}
|
162
258
|
}
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_hanaonazure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.7.
|
147
|
+
rubygems_version: 2.7.8
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Official Ruby client library to consume Hanaonazure
|