azure_mgmt_event_hub 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2014-09-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  3. data/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +1 -1
  4. data/lib/2017-04-01/generated/azure_mgmt_event_hub.rb +15 -28
  5. data/lib/2017-04-01/generated/azure_mgmt_event_hub/consumer_groups.rb +5 -5
  6. data/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb +239 -239
  7. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hub_management_client.rb +5 -5
  8. data/lib/2017-04-01/generated/azure_mgmt_event_hub/event_hubs.rb +278 -272
  9. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  10. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions.rb +1 -1
  11. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_properties.rb +1 -2
  12. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb +4 -4
  13. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb +3 -3
  14. data/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb +198 -1678
  15. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub.rb +24 -18
  16. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb +74 -56
  17. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/configuration.rb +7 -7
  18. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/{event_hub2018preview_management_client.rb → event_hub_management_client.rb} +18 -14
  19. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster.rb +6 -6
  20. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/{operation.rb → connection_state.rb} +16 -16
  21. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb +12 -12
  22. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/encryption.rb +11 -3
  23. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/end_point_provisioning_state.rb +20 -0
  24. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/error_response.rb +1 -1
  25. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/key_vault_properties.rb +11 -0
  26. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_set.rb +12 -0
  27. data/lib/{2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb → 2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint.rb} +8 -8
  28. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint_connection.rb +100 -0
  29. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/{operation_list_result.rb → private_endpoint_connection_list_result.rb} +13 -16
  30. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_connection_status.rb +18 -0
  31. data/lib/{2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb → 2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resource.rb} +55 -50
  32. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resources_list_result.rb +67 -0
  33. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/resource.rb +4 -4
  34. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/tracked_resource.rb +3 -3
  35. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb +395 -395
  36. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_endpoint_connections.rb +625 -0
  37. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_link_resources.rb +127 -0
  38. data/lib/azure_mgmt_event_hub.rb +2 -2
  39. data/lib/profiles/latest/modules/eventhub_profile_module.rb +211 -63
  40. data/lib/version.rb +1 -1
  41. metadata +14 -21
  42. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb +0 -16
  43. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb +0 -200
  44. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb +0 -99
  45. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_plan.rb +0 -134
  46. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb +0 -15
  47. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set_list_result.rb +0 -100
  48. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb +0 -59
  49. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb +0 -59
  50. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb +0 -75
  51. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku_name.rb +0 -16
  52. data/lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku_tier.rb +0 -16
  53. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/operation_display.rb +0 -72
  54. data/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/operations.rb +0 -220
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::EventHub::Mgmt
6
- VERSION = '0.18.1'
6
+ VERSION = '0.18.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_event_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-02 00:00:00.000000000 Z
11
+ date: 2020-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -175,25 +175,16 @@ files:
175
175
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/check_name_availability_result.rb
176
176
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group.rb
177
177
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/consumer_group_list_result.rb
178
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/default_action.rb
179
178
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/destination.rb
180
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace.rb
181
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb
182
179
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/encoding_capture_description.rb
183
180
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/entity_status.rb
184
181
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/error_response.rb
185
182
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/event_hub_list_result.rb
186
183
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/eventhub.rb
187
184
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/key_type.rb
188
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_plan.rb
189
185
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions.rb
190
186
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_list_result.rb
191
187
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/messaging_regions_properties.rb
192
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_ipaction.rb
193
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set.rb
194
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/network_rule_set_list_result.rb
195
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb
196
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb
197
188
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation.rb
198
189
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_display.rb
199
190
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/operation_list_result.rb
@@ -201,10 +192,6 @@ files:
201
192
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/regenerate_access_key_parameters.rb
202
193
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/resource.rb
203
194
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/role_disaster_recovery.rb
204
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku.rb
205
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku_name.rb
206
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/sku_tier.rb
207
- - lib/2017-04-01/generated/azure_mgmt_event_hub/models/subnet.rb
208
195
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/tracked_resource.rb
209
196
  - lib/2017-04-01/generated/azure_mgmt_event_hub/models/unavailable_reason.rb
210
197
  - lib/2017-04-01/generated/azure_mgmt_event_hub/module_definition.rb
@@ -214,19 +201,21 @@ files:
214
201
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub.rb
215
202
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb
216
203
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/configuration.rb
217
- - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/event_hub2018preview_management_client.rb
204
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/event_hub_management_client.rb
218
205
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_cluster.rb
219
206
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/available_clusters_list.rb
220
207
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster.rb
221
208
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster_list_result.rb
222
209
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster_quota_configuration_properties.rb
223
210
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/cluster_sku.rb
211
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/connection_state.rb
224
212
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/default_action.rb
225
213
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace.rb
226
214
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_container.rb
227
215
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_id_list_result.rb
228
216
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/ehnamespace_list_result.rb
229
217
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/encryption.rb
218
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/end_point_provisioning_state.rb
230
219
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/error_response.rb
231
220
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity.rb
232
221
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/identity_type.rb
@@ -239,9 +228,12 @@ files:
239
228
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/network_rule_set.rb
240
229
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb
241
230
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/nwrule_set_virtual_network_rules.rb
242
- - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/operation.rb
243
- - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/operation_display.rb
244
- - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/operation_list_result.rb
231
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint.rb
232
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint_connection.rb
233
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_endpoint_connection_list_result.rb
234
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_connection_status.rb
235
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resource.rb
236
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/private_link_resources_list_result.rb
245
237
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/resource.rb
246
238
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/sku.rb
247
239
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/sku_name.rb
@@ -252,7 +244,8 @@ files:
252
244
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/models/virtual_network_rule_list_result.rb
253
245
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/module_definition.rb
254
246
  - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb
255
- - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/operations.rb
247
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_endpoint_connections.rb
248
+ - lib/2018-01-01-preview/generated/azure_mgmt_event_hub/private_link_resources.rb
256
249
  - lib/azure_mgmt_event_hub.rb
257
250
  - lib/module_definition.rb
258
251
  - lib/profiles/latest/eventhub_latest_profile_client.rb
@@ -284,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
277
  version: '0'
285
278
  requirements: []
286
279
  rubyforge_project:
287
- rubygems_version: 2.7.8
280
+ rubygems_version: 2.7.10
288
281
  signing_key:
289
282
  specification_version: 4
290
283
  summary: Official Ruby client library to consume Microsoft Azure Event Hub services.
@@ -1,16 +0,0 @@
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::EventHub::Mgmt::V2017_04_01
7
- module Models
8
- #
9
- # Defines values for DefaultAction
10
- #
11
- module DefaultAction
12
- Allow = "Allow"
13
- Deny = "Deny"
14
- end
15
- end
16
- end
@@ -1,200 +0,0 @@
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::EventHub::Mgmt::V2017_04_01
7
- module Models
8
- #
9
- # Single Namespace item in List or Get Operation
10
- #
11
- class EHNamespace < TrackedResource
12
-
13
- include MsRestAzure
14
-
15
- # @return [Sku] Properties of sku resource
16
- attr_accessor :sku
17
-
18
- # @return [String] Provisioning state of the Namespace.
19
- attr_accessor :provisioning_state
20
-
21
- # @return [DateTime] The time the Namespace was created.
22
- attr_accessor :created_at
23
-
24
- # @return [DateTime] The time the Namespace was updated.
25
- attr_accessor :updated_at
26
-
27
- # @return [String] Endpoint you can use to perform Service Bus
28
- # operations.
29
- attr_accessor :service_bus_endpoint
30
-
31
- # @return [String] Identifier for Azure Insights metrics.
32
- attr_accessor :metric_id
33
-
34
- # @return [Boolean] Value that indicates whether AutoInflate is enabled
35
- # for eventhub namespace.
36
- attr_accessor :is_auto_inflate_enabled
37
-
38
- # @return [Integer] Upper limit of throughput units when AutoInflate is
39
- # enabled, value should be within 0 to 20 throughput units. ( '0' if
40
- # AutoInflateEnabled = true)
41
- attr_accessor :maximum_throughput_units
42
-
43
- # @return [Boolean] Value that indicates whether Kafka is enabled for
44
- # eventhub namespace.
45
- attr_accessor :kafka_enabled
46
-
47
-
48
- #
49
- # Mapper for EHNamespace class as Ruby Hash.
50
- # This will be used for serialization/deserialization.
51
- #
52
- def self.mapper()
53
- {
54
- client_side_validation: true,
55
- required: false,
56
- serialized_name: 'EHNamespace',
57
- type: {
58
- name: 'Composite',
59
- class_name: 'EHNamespace',
60
- model_properties: {
61
- id: {
62
- client_side_validation: true,
63
- required: false,
64
- read_only: true,
65
- serialized_name: 'id',
66
- type: {
67
- name: 'String'
68
- }
69
- },
70
- name: {
71
- client_side_validation: true,
72
- required: false,
73
- read_only: true,
74
- serialized_name: 'name',
75
- type: {
76
- name: 'String'
77
- }
78
- },
79
- type: {
80
- client_side_validation: true,
81
- required: false,
82
- read_only: true,
83
- serialized_name: 'type',
84
- type: {
85
- name: 'String'
86
- }
87
- },
88
- location: {
89
- client_side_validation: true,
90
- required: false,
91
- serialized_name: 'location',
92
- type: {
93
- name: 'String'
94
- }
95
- },
96
- tags: {
97
- client_side_validation: true,
98
- required: false,
99
- serialized_name: 'tags',
100
- type: {
101
- name: 'Dictionary',
102
- value: {
103
- client_side_validation: true,
104
- required: false,
105
- serialized_name: 'StringElementType',
106
- type: {
107
- name: 'String'
108
- }
109
- }
110
- }
111
- },
112
- sku: {
113
- client_side_validation: true,
114
- required: false,
115
- serialized_name: 'sku',
116
- type: {
117
- name: 'Composite',
118
- class_name: 'Sku'
119
- }
120
- },
121
- provisioning_state: {
122
- client_side_validation: true,
123
- required: false,
124
- read_only: true,
125
- serialized_name: 'properties.provisioningState',
126
- type: {
127
- name: 'String'
128
- }
129
- },
130
- created_at: {
131
- client_side_validation: true,
132
- required: false,
133
- read_only: true,
134
- serialized_name: 'properties.createdAt',
135
- type: {
136
- name: 'DateTime'
137
- }
138
- },
139
- updated_at: {
140
- client_side_validation: true,
141
- required: false,
142
- read_only: true,
143
- serialized_name: 'properties.updatedAt',
144
- type: {
145
- name: 'DateTime'
146
- }
147
- },
148
- service_bus_endpoint: {
149
- client_side_validation: true,
150
- required: false,
151
- read_only: true,
152
- serialized_name: 'properties.serviceBusEndpoint',
153
- type: {
154
- name: 'String'
155
- }
156
- },
157
- metric_id: {
158
- client_side_validation: true,
159
- required: false,
160
- read_only: true,
161
- serialized_name: 'properties.metricId',
162
- type: {
163
- name: 'String'
164
- }
165
- },
166
- is_auto_inflate_enabled: {
167
- client_side_validation: true,
168
- required: false,
169
- serialized_name: 'properties.isAutoInflateEnabled',
170
- type: {
171
- name: 'Boolean'
172
- }
173
- },
174
- maximum_throughput_units: {
175
- client_side_validation: true,
176
- required: false,
177
- serialized_name: 'properties.maximumThroughputUnits',
178
- constraints: {
179
- InclusiveMaximum: 20,
180
- InclusiveMinimum: 0
181
- },
182
- type: {
183
- name: 'Number'
184
- }
185
- },
186
- kafka_enabled: {
187
- client_side_validation: true,
188
- required: false,
189
- serialized_name: 'properties.kafkaEnabled',
190
- type: {
191
- name: 'Boolean'
192
- }
193
- }
194
- }
195
- }
196
- }
197
- end
198
- end
199
- end
200
- end
@@ -1,99 +0,0 @@
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::EventHub::Mgmt::V2017_04_01
7
- module Models
8
- #
9
- # The response of the List Namespace operation
10
- #
11
- class EHNamespaceListResult
12
-
13
- include MsRestAzure
14
-
15
- include MsRest::JSONable
16
- # @return [Array<EHNamespace>] Result of the List Namespace operation
17
- attr_accessor :value
18
-
19
- # @return [String] Link to the next set of results. Not empty if Value
20
- # contains incomplete list of namespaces.
21
- attr_accessor :next_link
22
-
23
- # return [Proc] with next page method call.
24
- attr_accessor :next_method
25
-
26
- #
27
- # Gets the rest of the items for the request, enabling auto-pagination.
28
- #
29
- # @return [Array<EHNamespace>] operation results.
30
- #
31
- def get_all_items
32
- items = @value
33
- page = self
34
- while page.next_link != nil && !page.next_link.strip.empty? do
35
- page = page.get_next_page
36
- items.concat(page.value)
37
- end
38
- items
39
- end
40
-
41
- #
42
- # Gets the next page of results.
43
- #
44
- # @return [EHNamespaceListResult] with next page content.
45
- #
46
- def get_next_page
47
- response = @next_method.call(@next_link).value! unless @next_method.nil?
48
- unless response.nil?
49
- @next_link = response.body.next_link
50
- @value = response.body.value
51
- self
52
- end
53
- end
54
-
55
- #
56
- # Mapper for EHNamespaceListResult class as Ruby Hash.
57
- # This will be used for serialization/deserialization.
58
- #
59
- def self.mapper()
60
- {
61
- client_side_validation: true,
62
- required: false,
63
- serialized_name: 'EHNamespaceListResult',
64
- type: {
65
- name: 'Composite',
66
- class_name: 'EHNamespaceListResult',
67
- model_properties: {
68
- value: {
69
- client_side_validation: true,
70
- required: false,
71
- serialized_name: 'value',
72
- type: {
73
- name: 'Sequence',
74
- element: {
75
- client_side_validation: true,
76
- required: false,
77
- serialized_name: 'EHNamespaceElementType',
78
- type: {
79
- name: 'Composite',
80
- class_name: 'EHNamespace'
81
- }
82
- }
83
- }
84
- },
85
- next_link: {
86
- client_side_validation: true,
87
- required: false,
88
- serialized_name: 'nextLink',
89
- type: {
90
- name: 'String'
91
- }
92
- }
93
- }
94
- }
95
- }
96
- end
97
- end
98
- end
99
- end
@@ -1,134 +0,0 @@
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::EventHub::Mgmt::V2017_04_01
7
- module Models
8
- #
9
- # Messaging Plan for the namespace
10
- #
11
- class MessagingPlan < TrackedResource
12
-
13
- include MsRestAzure
14
-
15
- # @return [Integer] Sku type
16
- attr_accessor :sku
17
-
18
- # @return [Integer] Selected event hub unit
19
- attr_accessor :selected_event_hub_unit
20
-
21
- # @return [DateTime] The exact time the messaging plan was updated.
22
- attr_accessor :updated_at
23
-
24
- # @return [Integer] revision number
25
- attr_accessor :revision
26
-
27
-
28
- #
29
- # Mapper for MessagingPlan class as Ruby Hash.
30
- # This will be used for serialization/deserialization.
31
- #
32
- def self.mapper()
33
- {
34
- client_side_validation: true,
35
- required: false,
36
- serialized_name: 'MessagingPlan',
37
- type: {
38
- name: 'Composite',
39
- class_name: 'MessagingPlan',
40
- model_properties: {
41
- id: {
42
- client_side_validation: true,
43
- required: false,
44
- read_only: true,
45
- serialized_name: 'id',
46
- type: {
47
- name: 'String'
48
- }
49
- },
50
- name: {
51
- client_side_validation: true,
52
- required: false,
53
- read_only: true,
54
- serialized_name: 'name',
55
- type: {
56
- name: 'String'
57
- }
58
- },
59
- type: {
60
- client_side_validation: true,
61
- required: false,
62
- read_only: true,
63
- serialized_name: 'type',
64
- type: {
65
- name: 'String'
66
- }
67
- },
68
- location: {
69
- client_side_validation: true,
70
- required: false,
71
- serialized_name: 'location',
72
- type: {
73
- name: 'String'
74
- }
75
- },
76
- tags: {
77
- client_side_validation: true,
78
- required: false,
79
- serialized_name: 'tags',
80
- type: {
81
- name: 'Dictionary',
82
- value: {
83
- client_side_validation: true,
84
- required: false,
85
- serialized_name: 'StringElementType',
86
- type: {
87
- name: 'String'
88
- }
89
- }
90
- }
91
- },
92
- sku: {
93
- client_side_validation: true,
94
- required: false,
95
- read_only: true,
96
- serialized_name: 'properties.sku',
97
- type: {
98
- name: 'Number'
99
- }
100
- },
101
- selected_event_hub_unit: {
102
- client_side_validation: true,
103
- required: false,
104
- read_only: true,
105
- serialized_name: 'properties.selectedEventHubUnit',
106
- type: {
107
- name: 'Number'
108
- }
109
- },
110
- updated_at: {
111
- client_side_validation: true,
112
- required: false,
113
- read_only: true,
114
- serialized_name: 'properties.updatedAt',
115
- type: {
116
- name: 'DateTime'
117
- }
118
- },
119
- revision: {
120
- client_side_validation: true,
121
- required: false,
122
- read_only: true,
123
- serialized_name: 'properties.revision',
124
- type: {
125
- name: 'Number'
126
- }
127
- }
128
- }
129
- }
130
- }
131
- end
132
- end
133
- end
134
- end