azure_mgmt_signalr 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb +4 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb +22 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/usages.rb +4 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/dimension.rb +80 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/key_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb +139 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability.rb +70 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation.rb +84 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_display.rb +79 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_list.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_properties.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/provisioning_state.rb +23 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource_sku.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb +92 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb +85 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +87 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource.rb +232 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage.rb +95 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/tracked_resource.rb +94 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/module_definition.rb +9 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/operations.rb +225 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_r.rb +1488 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +141 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/usages.rb +226 -0
- data/lib/azure_mgmt_signalr.rb +1 -0
- data/lib/profiles/latest/modules/signalr_profile_module.rb +71 -63
- data/lib/version.rb +1 -1
- metadata +38 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e3807cdf9796e5c149f474cb3322343a061350609fd67182d6a61e31761865a
|
4
|
+
data.tar.gz: e62607a2aee59529cd88e83495abb4637fca76bed0b58325b9caa93698bd4061
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c747e1fed509acc215a7ed724d39ea4f04857596b2b3238a9a37a3ed291c232e74cbaa68122fdbed425ec084563cc6117d6be472a4a1635229015810dcc2531f
|
7
|
+
data.tar.gz: c9a9064f5401394e6f646c29998ed9e5d48fd443b23c9274edc6200ed85dc6f855d2352013169af34b24f181b006a7df6438abd7876b10a36ec0abe61c0248bc
|
@@ -15,7 +15,7 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
15
15
|
# @return [String] Fully qualified resource Id for the resource.
|
16
16
|
attr_accessor :id
|
17
17
|
|
18
|
-
# @return [String] The name of the
|
18
|
+
# @return [String] The name of the resource.
|
19
19
|
attr_accessor :name
|
20
20
|
|
21
21
|
# @return [String] The type of the service - e.g.
|
@@ -89,6 +89,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
89
89
|
end
|
90
90
|
|
91
91
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
92
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
93
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
92
94
|
# Deserialize Response
|
93
95
|
if status_code == 200
|
94
96
|
begin
|
@@ -180,6 +182,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
180
182
|
end
|
181
183
|
|
182
184
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
185
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
186
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
183
187
|
# Deserialize Response
|
184
188
|
if status_code == 200
|
185
189
|
begin
|
@@ -105,6 +105,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
105
105
|
end
|
106
106
|
|
107
107
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
108
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
109
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
108
110
|
# Deserialize Response
|
109
111
|
if status_code == 200
|
110
112
|
begin
|
@@ -189,6 +191,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
189
191
|
end
|
190
192
|
|
191
193
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
194
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
195
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
192
196
|
# Deserialize Response
|
193
197
|
if status_code == 200
|
194
198
|
begin
|
@@ -283,6 +287,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
283
287
|
end
|
284
288
|
|
285
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?
|
286
292
|
# Deserialize Response
|
287
293
|
if status_code == 200
|
288
294
|
begin
|
@@ -381,6 +387,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
381
387
|
end
|
382
388
|
|
383
389
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
390
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
391
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
384
392
|
# Deserialize Response
|
385
393
|
if status_code == 200
|
386
394
|
begin
|
@@ -530,6 +538,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
530
538
|
end
|
531
539
|
|
532
540
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
541
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
542
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
533
543
|
# Deserialize Response
|
534
544
|
if status_code == 200
|
535
545
|
begin
|
@@ -786,6 +796,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
786
796
|
end
|
787
797
|
|
788
798
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
799
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
800
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
789
801
|
# Deserialize Response
|
790
802
|
if status_code == 201
|
791
803
|
begin
|
@@ -897,6 +909,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
897
909
|
end
|
898
910
|
|
899
911
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
912
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
913
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
900
914
|
# Deserialize Response
|
901
915
|
if status_code == 201
|
902
916
|
begin
|
@@ -994,6 +1008,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
994
1008
|
end
|
995
1009
|
|
996
1010
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1011
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1012
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
997
1013
|
|
998
1014
|
result
|
999
1015
|
end
|
@@ -1095,6 +1111,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
1095
1111
|
end
|
1096
1112
|
|
1097
1113
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1114
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1115
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1098
1116
|
# Deserialize Response
|
1099
1117
|
if status_code == 200
|
1100
1118
|
begin
|
@@ -1183,6 +1201,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
1183
1201
|
end
|
1184
1202
|
|
1185
1203
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1204
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1205
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1186
1206
|
# Deserialize Response
|
1187
1207
|
if status_code == 200
|
1188
1208
|
begin
|
@@ -1271,6 +1291,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
1271
1291
|
end
|
1272
1292
|
|
1273
1293
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1294
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1295
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1274
1296
|
# Deserialize Response
|
1275
1297
|
if status_code == 200
|
1276
1298
|
begin
|
@@ -134,7 +134,7 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
134
134
|
#
|
135
135
|
def add_telemetry
|
136
136
|
sdk_information = 'azure_mgmt_signalr'
|
137
|
-
sdk_information = "#{sdk_information}/0.17.
|
137
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
138
138
|
add_user_agent_information(sdk_information)
|
139
139
|
end
|
140
140
|
end
|
@@ -92,6 +92,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
92
92
|
end
|
93
93
|
|
94
94
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
95
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
96
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
95
97
|
# Deserialize Response
|
96
98
|
if status_code == 200
|
97
99
|
begin
|
@@ -180,6 +182,8 @@ module Azure::Signalr::Mgmt::V2018_03_01_preview
|
|
180
182
|
end
|
181
183
|
|
182
184
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
185
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
186
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
183
187
|
# Deserialize Response
|
184
188
|
if status_code == 200
|
185
189
|
begin
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2018-10-01/generated/azure_mgmt_signalr/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Signalr::Mgmt::V2018_10_01
|
23
|
+
autoload :Operations, '2018-10-01/generated/azure_mgmt_signalr/operations.rb'
|
24
|
+
autoload :SignalR, '2018-10-01/generated/azure_mgmt_signalr/signal_r.rb'
|
25
|
+
autoload :Usages, '2018-10-01/generated/azure_mgmt_signalr/usages.rb'
|
26
|
+
autoload :SignalRManagementClient, '2018-10-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb'
|
27
|
+
|
28
|
+
module Models
|
29
|
+
autoload :SignalRResourceList, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb'
|
30
|
+
autoload :Dimension, '2018-10-01/generated/azure_mgmt_signalr/models/dimension.rb'
|
31
|
+
autoload :SignalRUsageList, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb'
|
32
|
+
autoload :ServiceSpecification, '2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb'
|
33
|
+
autoload :Resource, '2018-10-01/generated/azure_mgmt_signalr/models/resource.rb'
|
34
|
+
autoload :Operation, '2018-10-01/generated/azure_mgmt_signalr/models/operation.rb'
|
35
|
+
autoload :SignalRFeature, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb'
|
36
|
+
autoload :NameAvailabilityParameters, '2018-10-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb'
|
37
|
+
autoload :SignalRCorsSettings, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb'
|
38
|
+
autoload :ResourceSku, '2018-10-01/generated/azure_mgmt_signalr/models/resource_sku.rb'
|
39
|
+
autoload :SignalRCreateOrUpdateProperties, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb'
|
40
|
+
autoload :MetricSpecification, '2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb'
|
41
|
+
autoload :SignalRKeys, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb'
|
42
|
+
autoload :OperationList, '2018-10-01/generated/azure_mgmt_signalr/models/operation_list.rb'
|
43
|
+
autoload :RegenerateKeyParameters, '2018-10-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb'
|
44
|
+
autoload :OperationDisplay, '2018-10-01/generated/azure_mgmt_signalr/models/operation_display.rb'
|
45
|
+
autoload :SignalRUsage, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage.rb'
|
46
|
+
autoload :NameAvailability, '2018-10-01/generated/azure_mgmt_signalr/models/name_availability.rb'
|
47
|
+
autoload :SignalRUpdateParameters, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb'
|
48
|
+
autoload :OperationProperties, '2018-10-01/generated/azure_mgmt_signalr/models/operation_properties.rb'
|
49
|
+
autoload :SignalRUsageName, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb'
|
50
|
+
autoload :TrackedResource, '2018-10-01/generated/azure_mgmt_signalr/models/tracked_resource.rb'
|
51
|
+
autoload :SignalRResource, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource.rb'
|
52
|
+
autoload :SignalRCreateParameters, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb'
|
53
|
+
autoload :SignalRSkuTier, '2018-10-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb'
|
54
|
+
autoload :ProvisioningState, '2018-10-01/generated/azure_mgmt_signalr/models/provisioning_state.rb'
|
55
|
+
autoload :KeyType, '2018-10-01/generated/azure_mgmt_signalr/models/key_type.rb'
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Signalr::Mgmt::V2018_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifications of the Dimension of metrics.
|
10
|
+
#
|
11
|
+
class Dimension
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The public facing name of the dimension.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Localized friendly display name of the dimension.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
# @return [String] Name of the dimension as it appears in MDM.
|
22
|
+
attr_accessor :internal_name
|
23
|
+
|
24
|
+
# @return [Boolean] A Boolean flag indicating whether this dimension
|
25
|
+
# should be included for the shoebox export scenario.
|
26
|
+
attr_accessor :to_be_exported_for_shoebox
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for Dimension class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'Dimension',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'Dimension',
|
41
|
+
model_properties: {
|
42
|
+
name: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
display_name: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'displayName',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
internal_name: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'internalName',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
to_be_exported_for_shoebox: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'toBeExportedForShoebox',
|
70
|
+
type: {
|
71
|
+
name: 'Boolean'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Signalr::Mgmt::V2018_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for KeyType
|
10
|
+
#
|
11
|
+
module KeyType
|
12
|
+
Primary = "Primary"
|
13
|
+
Secondary = "Secondary"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,139 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Signalr::Mgmt::V2018_10_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifications of the Metrics for Azure Monitoring.
|
10
|
+
#
|
11
|
+
class MetricSpecification
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the metric.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] Localized friendly display name of the metric.
|
19
|
+
attr_accessor :display_name
|
20
|
+
|
21
|
+
# @return [String] Localized friendly description of the metric.
|
22
|
+
attr_accessor :display_description
|
23
|
+
|
24
|
+
# @return [String] The unit that makes sense for the metric.
|
25
|
+
attr_accessor :unit
|
26
|
+
|
27
|
+
# @return [String] Only provide one value for this field. Valid values:
|
28
|
+
# Average, Minimum, Maximum, Total, Count.
|
29
|
+
attr_accessor :aggregation_type
|
30
|
+
|
31
|
+
# @return [String] Optional. If set to true, then zero will be returned
|
32
|
+
# for time duration where no metric is emitted/published.
|
33
|
+
# Ex. a metric that returns the number of times a particular error code
|
34
|
+
# was emitted. The error code may not appear
|
35
|
+
# often, instead of the RP publishing 0, Shoebox can auto fill in 0s for
|
36
|
+
# time periods where nothing was emitted.
|
37
|
+
attr_accessor :fill_gap_with_zero
|
38
|
+
|
39
|
+
# @return [String] The name of the metric category that the metric
|
40
|
+
# belongs to. A metric can only belong to a single category.
|
41
|
+
attr_accessor :category
|
42
|
+
|
43
|
+
# @return [Array<Dimension>] The dimensions of the metrics.
|
44
|
+
attr_accessor :dimensions
|
45
|
+
|
46
|
+
|
47
|
+
#
|
48
|
+
# Mapper for MetricSpecification class as Ruby Hash.
|
49
|
+
# This will be used for serialization/deserialization.
|
50
|
+
#
|
51
|
+
def self.mapper()
|
52
|
+
{
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'MetricSpecification',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'MetricSpecification',
|
59
|
+
model_properties: {
|
60
|
+
name: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
display_name: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'displayName',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
display_description: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'displayDescription',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
unit: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'unit',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
aggregation_type: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'aggregationType',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
fill_gap_with_zero: {
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'fillGapWithZero',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
category: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'category',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
dimensions: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'dimensions',
|
120
|
+
type: {
|
121
|
+
name: 'Sequence',
|
122
|
+
element: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'DimensionElementType',
|
126
|
+
type: {
|
127
|
+
name: 'Composite',
|
128
|
+
class_name: 'Dimension'
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|