azure_mgmt_signalr 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb +11 -1
  3. data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
  4. data/lib/2018-10-01/generated/azure_mgmt_signalr.rb +13 -9
  5. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/error_response.rb +48 -0
  6. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/error_response_body.rb +93 -0
  7. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/feature_flags.rb +16 -0
  8. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/log_specification.rb +57 -0
  9. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb +21 -0
  10. data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +12 -6
  11. data/lib/2018-10-01/generated/azure_mgmt_signalr/operations.rb +2 -2
  12. data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_r.rb +23 -13
  13. data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
  14. data/lib/2018-10-01/generated/azure_mgmt_signalr/usages.rb +2 -2
  15. data/lib/2020-05-01/generated/azure_mgmt_signalr.rb +76 -0
  16. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/aclaction.rb +16 -0
  17. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/dimension.rb +80 -0
  18. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/error_response.rb +48 -0
  19. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/error_response_body.rb +93 -0
  20. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/feature_flags.rb +17 -0
  21. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/key_type.rb +16 -0
  22. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/log_specification.rb +57 -0
  23. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/metric_specification.rb +139 -0
  24. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/name_availability.rb +70 -0
  25. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb +59 -0
  26. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/network_acl.rb +75 -0
  27. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb +96 -0
  28. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation_display.rb +79 -0
  29. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation_list.rb +102 -0
  30. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/operation_properties.rb +47 -0
  31. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint.rb +46 -0
  32. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint_acl.rb +78 -0
  33. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_endpoint_connection.rb +101 -0
  34. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_resource.rb +111 -0
  35. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_resource_list.rb +102 -0
  36. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_state.rb +72 -0
  37. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/private_link_service_connection_status.rb +18 -0
  38. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/provisioning_state.rb +23 -0
  39. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/proxy_resource.rb +63 -0
  40. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb +48 -0
  41. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/resource.rb +81 -0
  42. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/resource_sku.rb +101 -0
  43. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/serverless_upstream_settings.rb +58 -0
  44. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/service_kind.rb +16 -0
  45. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/service_specification.rb +77 -0
  46. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb +57 -0
  47. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb +117 -0
  48. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +93 -0
  49. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb +81 -0
  50. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rnetwork_acls.rb +80 -0
  51. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rrequest_type.rb +17 -0
  52. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rresource.rb +294 -0
  53. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +101 -0
  54. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb +18 -0
  55. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage.rb +95 -0
  56. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb +101 -0
  57. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +57 -0
  58. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/tracked_resource.rb +94 -0
  59. data/lib/2020-05-01/generated/azure_mgmt_signalr/models/upstream_template.rb +109 -0
  60. data/lib/2020-05-01/generated/azure_mgmt_signalr/module_definition.rb +9 -0
  61. data/lib/2020-05-01/generated/azure_mgmt_signalr/operations.rb +225 -0
  62. data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_r.rb +1493 -0
  63. data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +150 -0
  64. data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_rprivate_endpoint_connections.rb +404 -0
  65. data/lib/2020-05-01/generated/azure_mgmt_signalr/signal_rprivate_link_resources.rb +246 -0
  66. data/lib/2020-05-01/generated/azure_mgmt_signalr/usages.rb +226 -0
  67. data/lib/azure_mgmt_signalr.rb +1 -0
  68. data/lib/profiles/latest/modules/signalr_profile_module.rb +143 -71
  69. data/lib/version.rb +1 -1
  70. metadata +60 -4
@@ -0,0 +1,17 @@
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::V2020_05_01
7
+ module Models
8
+ #
9
+ # Defines values for SignalRRequestType
10
+ #
11
+ module SignalRRequestType
12
+ ClientConnection = "ClientConnection"
13
+ ServerConnection = "ServerConnection"
14
+ RESTAPI = "RESTAPI"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,294 @@
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::V2020_05_01
7
+ module Models
8
+ #
9
+ # A class represent a SignalR service resource.
10
+ #
11
+ class SignalRResource < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ResourceSku] The billing information of the resource.(e.g.
16
+ # Free, Standard)
17
+ attr_accessor :sku
18
+
19
+ # @return [String] Prefix for the hostName of the SignalR service.
20
+ # Retained for future use.
21
+ # The hostname will be of format:
22
+ # &lt;hostNamePrefix&gt;.service.signalr.net.
23
+ attr_accessor :host_name_prefix
24
+
25
+ # @return [Array<SignalRFeature>] List of SignalR featureFlags. e.g.
26
+ # ServiceMode.
27
+ #
28
+ # FeatureFlags that are not included in the parameters for the update
29
+ # operation will not be modified.
30
+ # And the response will only include featureFlags that are explicitly
31
+ # set.
32
+ # When a featureFlag is not explicitly set, SignalR service will use its
33
+ # globally default value.
34
+ # But keep in mind, the default value doesn't mean "false". It varies in
35
+ # terms of different FeatureFlags.
36
+ attr_accessor :features
37
+
38
+ # @return [SignalRCorsSettings] Cross-Origin Resource Sharing (CORS)
39
+ # settings.
40
+ attr_accessor :cors
41
+
42
+ # @return [ServerlessUpstreamSettings] Upstream settings when the Azure
43
+ # SignalR is in server-less mode.
44
+ attr_accessor :upstream
45
+
46
+ # @return [SignalRNetworkACLs] Network ACLs
47
+ attr_accessor :network_acls
48
+
49
+ # @return [ProvisioningState] Provisioning state of the resource.
50
+ # Possible values include: 'Unknown', 'Succeeded', 'Failed', 'Canceled',
51
+ # 'Running', 'Creating', 'Updating', 'Deleting', 'Moving'
52
+ attr_accessor :provisioning_state
53
+
54
+ # @return [String] The publicly accessible IP of the SignalR service.
55
+ attr_accessor :external_ip
56
+
57
+ # @return [String] FQDN of the SignalR service instance. Format:
58
+ # xxx.service.signalr.net
59
+ attr_accessor :host_name
60
+
61
+ # @return [Integer] The publicly accessible port of the SignalR service
62
+ # which is designed for browser/client side usage.
63
+ attr_accessor :public_port
64
+
65
+ # @return [Integer] The publicly accessible port of the SignalR service
66
+ # which is designed for customer server side usage.
67
+ attr_accessor :server_port
68
+
69
+ # @return [String] Version of the SignalR resource. Probably you need the
70
+ # same or higher version of client SDKs.
71
+ attr_accessor :version
72
+
73
+ # @return [Array<PrivateEndpointConnection>] Private endpoint connections
74
+ # to the SignalR resource.
75
+ attr_accessor :private_endpoint_connections
76
+
77
+ # @return [ServiceKind] The kind of the service - e.g. "SignalR", or
78
+ # "RawWebSockets" for "Microsoft.SignalRService/SignalR". Possible values
79
+ # include: 'SignalR', 'RawWebSockets'
80
+ attr_accessor :kind
81
+
82
+
83
+ #
84
+ # Mapper for SignalRResource class as Ruby Hash.
85
+ # This will be used for serialization/deserialization.
86
+ #
87
+ def self.mapper()
88
+ {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'SignalRResource',
92
+ type: {
93
+ name: 'Composite',
94
+ class_name: 'SignalRResource',
95
+ model_properties: {
96
+ id: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ read_only: true,
100
+ serialized_name: 'id',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ name: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ read_only: true,
109
+ serialized_name: 'name',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ type: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ read_only: true,
118
+ serialized_name: 'type',
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ location: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'location',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ tags: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'tags',
135
+ type: {
136
+ name: 'Dictionary',
137
+ value: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'StringElementType',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ }
145
+ }
146
+ },
147
+ sku: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ serialized_name: 'sku',
151
+ type: {
152
+ name: 'Composite',
153
+ class_name: 'ResourceSku'
154
+ }
155
+ },
156
+ host_name_prefix: {
157
+ client_side_validation: true,
158
+ required: false,
159
+ serialized_name: 'properties.hostNamePrefix',
160
+ type: {
161
+ name: 'String'
162
+ }
163
+ },
164
+ features: {
165
+ client_side_validation: true,
166
+ required: false,
167
+ serialized_name: 'properties.features',
168
+ type: {
169
+ name: 'Sequence',
170
+ element: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ serialized_name: 'SignalRFeatureElementType',
174
+ type: {
175
+ name: 'Composite',
176
+ class_name: 'SignalRFeature'
177
+ }
178
+ }
179
+ }
180
+ },
181
+ cors: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ serialized_name: 'properties.cors',
185
+ type: {
186
+ name: 'Composite',
187
+ class_name: 'SignalRCorsSettings'
188
+ }
189
+ },
190
+ upstream: {
191
+ client_side_validation: true,
192
+ required: false,
193
+ serialized_name: 'properties.upstream',
194
+ type: {
195
+ name: 'Composite',
196
+ class_name: 'ServerlessUpstreamSettings'
197
+ }
198
+ },
199
+ network_acls: {
200
+ client_side_validation: true,
201
+ required: false,
202
+ serialized_name: 'properties.networkACLs',
203
+ type: {
204
+ name: 'Composite',
205
+ class_name: 'SignalRNetworkACLs'
206
+ }
207
+ },
208
+ provisioning_state: {
209
+ client_side_validation: true,
210
+ required: false,
211
+ read_only: true,
212
+ serialized_name: 'properties.provisioningState',
213
+ type: {
214
+ name: 'String'
215
+ }
216
+ },
217
+ external_ip: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ read_only: true,
221
+ serialized_name: 'properties.externalIP',
222
+ type: {
223
+ name: 'String'
224
+ }
225
+ },
226
+ host_name: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ read_only: true,
230
+ serialized_name: 'properties.hostName',
231
+ type: {
232
+ name: 'String'
233
+ }
234
+ },
235
+ public_port: {
236
+ client_side_validation: true,
237
+ required: false,
238
+ read_only: true,
239
+ serialized_name: 'properties.publicPort',
240
+ type: {
241
+ name: 'Number'
242
+ }
243
+ },
244
+ server_port: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ read_only: true,
248
+ serialized_name: 'properties.serverPort',
249
+ type: {
250
+ name: 'Number'
251
+ }
252
+ },
253
+ version: {
254
+ client_side_validation: true,
255
+ required: false,
256
+ read_only: true,
257
+ serialized_name: 'properties.version',
258
+ type: {
259
+ name: 'String'
260
+ }
261
+ },
262
+ private_endpoint_connections: {
263
+ client_side_validation: true,
264
+ required: false,
265
+ read_only: true,
266
+ serialized_name: 'properties.privateEndpointConnections',
267
+ type: {
268
+ name: 'Sequence',
269
+ element: {
270
+ client_side_validation: true,
271
+ required: false,
272
+ serialized_name: 'PrivateEndpointConnectionElementType',
273
+ type: {
274
+ name: 'Composite',
275
+ class_name: 'PrivateEndpointConnection'
276
+ }
277
+ }
278
+ }
279
+ },
280
+ kind: {
281
+ client_side_validation: true,
282
+ required: false,
283
+ serialized_name: 'kind',
284
+ type: {
285
+ name: 'String'
286
+ }
287
+ }
288
+ }
289
+ }
290
+ }
291
+ end
292
+ end
293
+ end
294
+ end
@@ -0,0 +1,101 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Signalr::Mgmt::V2020_05_01
7
+ module Models
8
+ #
9
+ # Object that includes an array of SignalR services and a possible link for
10
+ # next set.
11
+ #
12
+ class SignalRResourceList
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<SignalRResource>] List of SignalR services
18
+ attr_accessor :value
19
+
20
+ # @return [String] The URL the client should use to fetch the next page
21
+ # (per server side paging).
22
+ # It's null for now, added for future use.
23
+ attr_accessor :next_link
24
+
25
+ # return [Proc] with next page method call.
26
+ attr_accessor :next_method
27
+
28
+ #
29
+ # Gets the rest of the items for the request, enabling auto-pagination.
30
+ #
31
+ # @return [Array<SignalRResource>] operation results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil && !page.next_link.strip.empty? do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [SignalRResourceList] with next page content.
47
+ #
48
+ def get_next_page
49
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
50
+ unless response.nil?
51
+ @next_link = response.body.next_link
52
+ @value = response.body.value
53
+ self
54
+ end
55
+ end
56
+
57
+ #
58
+ # Mapper for SignalRResourceList class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'SignalRResourceList',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'SignalRResourceList',
69
+ model_properties: {
70
+ value: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'value',
74
+ type: {
75
+ name: 'Sequence',
76
+ element: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'SignalRResourceElementType',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'SignalRResource'
83
+ }
84
+ }
85
+ }
86
+ },
87
+ next_link: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'nextLink',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,18 @@
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::V2020_05_01
7
+ module Models
8
+ #
9
+ # Defines values for SignalRSkuTier
10
+ #
11
+ module SignalRSkuTier
12
+ Free = "Free"
13
+ Basic = "Basic"
14
+ Standard = "Standard"
15
+ Premium = "Premium"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,95 @@
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::V2020_05_01
7
+ module Models
8
+ #
9
+ # Object that describes a specific usage of SignalR resources.
10
+ #
11
+ class SignalRUsage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Fully qualified ARM resource id
16
+ attr_accessor :id
17
+
18
+ # @return [Integer] Current value for the usage quota.
19
+ attr_accessor :current_value
20
+
21
+ # @return [Integer] The maximum permitted value for the usage quota. If
22
+ # there is no limit, this value will be -1.
23
+ attr_accessor :limit
24
+
25
+ # @return [SignalRUsageName] Localizable String object containing the
26
+ # name and a localized value.
27
+ attr_accessor :name
28
+
29
+ # @return [String] Representing the units of the usage quota. Possible
30
+ # values are: Count, Bytes, Seconds, Percent, CountPerSecond,
31
+ # BytesPerSecond.
32
+ attr_accessor :unit
33
+
34
+
35
+ #
36
+ # Mapper for SignalRUsage class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'SignalRUsage',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'SignalRUsage',
47
+ model_properties: {
48
+ id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ current_value: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'currentValue',
60
+ type: {
61
+ name: 'Number'
62
+ }
63
+ },
64
+ limit: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'limit',
68
+ type: {
69
+ name: 'Number'
70
+ }
71
+ },
72
+ name: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'name',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'SignalRUsageName'
79
+ }
80
+ },
81
+ unit: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'unit',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end