azure_mgmt_network 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +91 -67
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +12 -12
  4. data/lib/generated/azure_mgmt_network/{available_private_access_services.rb → available_endpoint_services.rb} +21 -25
  5. data/lib/generated/azure_mgmt_network/bgp_service_communities.rb +1 -1
  6. data/lib/generated/azure_mgmt_network/default_security_rules.rb +330 -0
  7. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +4 -4
  8. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +4 -4
  9. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +10 -10
  10. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +1 -1
  11. data/lib/generated/azure_mgmt_network/inbound_nat_rules.rb +616 -0
  12. data/lib/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +323 -0
  13. data/lib/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +323 -0
  14. data/lib/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +320 -0
  15. data/lib/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +225 -0
  16. data/lib/generated/azure_mgmt_network/load_balancer_probes.rb +320 -0
  17. data/lib/generated/azure_mgmt_network/load_balancers.rb +5 -5
  18. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +4 -4
  19. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +2 -1
  20. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +1 -0
  21. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +3 -3
  22. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +1 -0
  23. data/lib/generated/azure_mgmt_network/models/effective_security_rule_protocol.rb +17 -0
  24. data/lib/generated/azure_mgmt_network/models/{private_access_service_result.rb → endpoint_service_result.rb} +7 -7
  25. data/lib/generated/azure_mgmt_network/models/{private_access_services_list_result.rb → endpoint_services_list_result.rb} +11 -11
  26. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +1 -1
  27. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +96 -0
  28. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +11 -0
  30. data/lib/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +97 -0
  31. data/lib/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +98 -0
  32. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +1 -0
  33. data/lib/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +97 -0
  34. data/lib/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +95 -0
  35. data/lib/generated/azure_mgmt_network/models/load_balancer_sku.rb +46 -0
  36. data/lib/generated/azure_mgmt_network/models/load_balancer_sku_name.rb +16 -0
  37. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +13 -1
  38. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +1 -0
  39. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +7 -4
  40. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +98 -0
  41. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +1 -0
  42. data/lib/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +96 -0
  43. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +15 -2
  44. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +46 -0
  45. data/lib/generated/azure_mgmt_network/models/public_ipaddress_sku_name.rb +16 -0
  46. data/lib/generated/azure_mgmt_network/models/security_rule.rb +35 -1
  47. data/lib/generated/azure_mgmt_network/models/{private_access_service_properties_format.rb → service_endpoint_properties_format.rb} +6 -6
  48. data/lib/generated/azure_mgmt_network/models/subnet.rb +7 -7
  49. data/lib/generated/azure_mgmt_network/models/usage.rb +11 -0
  50. data/lib/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +46 -0
  51. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +0 -22
  52. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +6 -3
  53. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +300 -0
  54. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +1 -0
  55. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +100 -0
  56. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +1 -0
  57. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +22 -0
  58. data/lib/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +320 -0
  59. data/lib/generated/azure_mgmt_network/network_interface_load_balancers.rb +225 -0
  60. data/lib/generated/azure_mgmt_network/network_interfaces.rb +7 -7
  61. data/lib/generated/azure_mgmt_network/network_management_client.rb +55 -12
  62. data/lib/generated/azure_mgmt_network/network_security_groups.rb +5 -5
  63. data/lib/generated/azure_mgmt_network/network_watchers.rb +14 -14
  64. data/lib/generated/azure_mgmt_network/packet_captures.rb +6 -6
  65. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +5 -5
  66. data/lib/generated/azure_mgmt_network/route_filter_rules.rb +5 -5
  67. data/lib/generated/azure_mgmt_network/route_filters.rb +6 -6
  68. data/lib/generated/azure_mgmt_network/route_tables.rb +5 -5
  69. data/lib/generated/azure_mgmt_network/routes.rb +4 -4
  70. data/lib/generated/azure_mgmt_network/security_rules.rb +4 -4
  71. data/lib/generated/azure_mgmt_network/subnets.rb +4 -4
  72. data/lib/generated/azure_mgmt_network/usages.rb +8 -8
  73. data/lib/generated/azure_mgmt_network/version.rb +1 -1
  74. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +7 -7
  75. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +373 -11
  76. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +4 -4
  77. data/lib/generated/azure_mgmt_network/virtual_networks.rb +7 -7
  78. metadata +32 -8
@@ -0,0 +1,320 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ #
8
+ # Network Client
9
+ #
10
+ class LoadBalancerProbes
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the LoadBalancerProbes class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [NetworkManagementClient] reference to the NetworkManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets all the load balancer probes.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param load_balancer_name [String] The name of the load balancer.
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [Array<Probe>] operation results.
33
+ #
34
+ def list(resource_group_name, load_balancer_name, custom_headers = nil)
35
+ first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers)
36
+ first_page.get_all_items
37
+ end
38
+
39
+ #
40
+ # Gets all the load balancer probes.
41
+ #
42
+ # @param resource_group_name [String] The name of the resource group.
43
+ # @param load_balancer_name [String] The name of the load balancer.
44
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
+ # will be added to the HTTP request.
46
+ #
47
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
+ #
49
+ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil)
50
+ list_async(resource_group_name, load_balancer_name, custom_headers).value!
51
+ end
52
+
53
+ #
54
+ # Gets all the load balancer probes.
55
+ #
56
+ # @param resource_group_name [String] The name of the resource group.
57
+ # @param load_balancer_name [String] The name of the load balancer.
58
+ # @param [Hash{String => String}] A hash of custom headers that will be added
59
+ # to the HTTP request.
60
+ #
61
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
+ #
63
+ def list_async(resource_group_name, load_balancer_name, custom_headers = nil)
64
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
65
+ fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
66
+ api_version = '2017-08-01'
67
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
+
69
+
70
+ request_headers = {}
71
+
72
+ # Set Headers
73
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
74
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
75
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes'
76
+
77
+ request_url = @base_url || @client.base_url
78
+
79
+ options = {
80
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
81
+ path_params: {'resourceGroupName' => resource_group_name,'loadBalancerName' => load_balancer_name,'subscriptionId' => @client.subscription_id},
82
+ query_params: {'api-version' => api_version},
83
+ headers: request_headers.merge(custom_headers || {}),
84
+ base_url: request_url
85
+ }
86
+ promise = @client.make_request_async(:get, path_template, options)
87
+
88
+ promise = promise.then do |result|
89
+ http_response = result.response
90
+ status_code = http_response.status
91
+ response_content = http_response.body
92
+ unless status_code == 200
93
+ error_model = JSON.load(response_content)
94
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
95
+ end
96
+
97
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
98
+ # Deserialize Response
99
+ if status_code == 200
100
+ begin
101
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
102
+ result_mapper = Azure::ARM::Network::Models::LoadBalancerProbeListResult.mapper()
103
+ result.body = @client.deserialize(result_mapper, parsed_response)
104
+ rescue Exception => e
105
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
106
+ end
107
+ end
108
+
109
+ result
110
+ end
111
+
112
+ promise.execute
113
+ end
114
+
115
+ #
116
+ # Gets load balancer probe.
117
+ #
118
+ # @param resource_group_name [String] The name of the resource group.
119
+ # @param load_balancer_name [String] The name of the load balancer.
120
+ # @param probe_name [String] The name of the probe.
121
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
122
+ # will be added to the HTTP request.
123
+ #
124
+ # @return [Probe] operation results.
125
+ #
126
+ def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil)
127
+ response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value!
128
+ response.body unless response.nil?
129
+ end
130
+
131
+ #
132
+ # Gets load balancer probe.
133
+ #
134
+ # @param resource_group_name [String] The name of the resource group.
135
+ # @param load_balancer_name [String] The name of the load balancer.
136
+ # @param probe_name [String] The name of the probe.
137
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
138
+ # will be added to the HTTP request.
139
+ #
140
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
141
+ #
142
+ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil)
143
+ get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value!
144
+ end
145
+
146
+ #
147
+ # Gets load balancer probe.
148
+ #
149
+ # @param resource_group_name [String] The name of the resource group.
150
+ # @param load_balancer_name [String] The name of the load balancer.
151
+ # @param probe_name [String] The name of the probe.
152
+ # @param [Hash{String => String}] A hash of custom headers that will be added
153
+ # to the HTTP request.
154
+ #
155
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
156
+ #
157
+ def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil)
158
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
159
+ fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
160
+ fail ArgumentError, 'probe_name is nil' if probe_name.nil?
161
+ api_version = '2017-08-01'
162
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
163
+
164
+
165
+ request_headers = {}
166
+
167
+ # Set Headers
168
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
169
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
170
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'
171
+
172
+ request_url = @base_url || @client.base_url
173
+
174
+ options = {
175
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
176
+ path_params: {'resourceGroupName' => resource_group_name,'loadBalancerName' => load_balancer_name,'probeName' => probe_name,'subscriptionId' => @client.subscription_id},
177
+ query_params: {'api-version' => api_version},
178
+ headers: request_headers.merge(custom_headers || {}),
179
+ base_url: request_url
180
+ }
181
+ promise = @client.make_request_async(:get, path_template, options)
182
+
183
+ promise = promise.then do |result|
184
+ http_response = result.response
185
+ status_code = http_response.status
186
+ response_content = http_response.body
187
+ unless status_code == 200
188
+ error_model = JSON.load(response_content)
189
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
190
+ end
191
+
192
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
193
+ # Deserialize Response
194
+ if status_code == 200
195
+ begin
196
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
197
+ result_mapper = Azure::ARM::Network::Models::Probe.mapper()
198
+ result.body = @client.deserialize(result_mapper, parsed_response)
199
+ rescue Exception => e
200
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
201
+ end
202
+ end
203
+
204
+ result
205
+ end
206
+
207
+ promise.execute
208
+ end
209
+
210
+ #
211
+ # Gets all the load balancer probes.
212
+ #
213
+ # @param next_page_link [String] The NextLink from the previous successful call
214
+ # to List operation.
215
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
216
+ # will be added to the HTTP request.
217
+ #
218
+ # @return [LoadBalancerProbeListResult] operation results.
219
+ #
220
+ def list_next(next_page_link, custom_headers = nil)
221
+ response = list_next_async(next_page_link, custom_headers).value!
222
+ response.body unless response.nil?
223
+ end
224
+
225
+ #
226
+ # Gets all the load balancer probes.
227
+ #
228
+ # @param next_page_link [String] The NextLink from the previous successful call
229
+ # to List operation.
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_next_with_http_info(next_page_link, custom_headers = nil)
236
+ list_next_async(next_page_link, custom_headers).value!
237
+ end
238
+
239
+ #
240
+ # Gets all the load balancer probes.
241
+ #
242
+ # @param next_page_link [String] The NextLink from the previous successful call
243
+ # to List operation.
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_next_async(next_page_link, custom_headers = nil)
250
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
251
+
252
+
253
+ request_headers = {}
254
+
255
+ # Set Headers
256
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
257
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
258
+ path_template = '{nextLink}'
259
+
260
+ request_url = @base_url || @client.base_url
261
+
262
+ options = {
263
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
264
+ skip_encoding_path_params: {'nextLink' => next_page_link},
265
+ headers: request_headers.merge(custom_headers || {}),
266
+ base_url: request_url
267
+ }
268
+ promise = @client.make_request_async(:get, path_template, options)
269
+
270
+ promise = promise.then do |result|
271
+ http_response = result.response
272
+ status_code = http_response.status
273
+ response_content = http_response.body
274
+ unless status_code == 200
275
+ error_model = JSON.load(response_content)
276
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
277
+ end
278
+
279
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
280
+ # Deserialize Response
281
+ if status_code == 200
282
+ begin
283
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
284
+ result_mapper = Azure::ARM::Network::Models::LoadBalancerProbeListResult.mapper()
285
+ result.body = @client.deserialize(result_mapper, parsed_response)
286
+ rescue Exception => e
287
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
288
+ end
289
+ end
290
+
291
+ result
292
+ end
293
+
294
+ promise.execute
295
+ end
296
+
297
+ #
298
+ # Gets all the load balancer probes.
299
+ #
300
+ # @param resource_group_name [String] The name of the resource group.
301
+ # @param load_balancer_name [String] The name of the load balancer.
302
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
303
+ # will be added to the HTTP request.
304
+ #
305
+ # @return [LoadBalancerProbeListResult] which provide lazy access to pages of
306
+ # the response.
307
+ #
308
+ def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil)
309
+ response = list_async(resource_group_name, load_balancer_name, custom_headers).value!
310
+ unless response.nil?
311
+ page = response.body
312
+ page.next_method = Proc.new do |next_page_link|
313
+ list_next_async(next_page_link, custom_headers)
314
+ end
315
+ page
316
+ end
317
+ end
318
+
319
+ end
320
+ end
@@ -104,7 +104,7 @@ module Azure::ARM::Network
104
104
  def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil)
105
105
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
106
106
  fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
107
- api_version = '2017-06-01'
107
+ api_version = '2017-08-01'
108
108
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
109
109
 
110
110
 
@@ -233,7 +233,7 @@ module Azure::ARM::Network
233
233
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
234
234
  #
235
235
  def list_all_async(custom_headers = nil)
236
- api_version = '2017-06-01'
236
+ api_version = '2017-08-01'
237
237
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
238
238
 
239
239
 
@@ -320,7 +320,7 @@ module Azure::ARM::Network
320
320
  #
321
321
  def list_async(resource_group_name, custom_headers = nil)
322
322
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
323
- api_version = '2017-06-01'
323
+ api_version = '2017-08-01'
324
324
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
325
325
 
326
326
 
@@ -410,7 +410,7 @@ module Azure::ARM::Network
410
410
  def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil)
411
411
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
412
412
  fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
413
- api_version = '2017-06-01'
413
+ api_version = '2017-08-01'
414
414
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
415
415
 
416
416
 
@@ -498,7 +498,7 @@ module Azure::ARM::Network
498
498
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
499
499
  fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil?
500
500
  fail ArgumentError, 'parameters is nil' if parameters.nil?
501
- api_version = '2017-06-01'
501
+ api_version = '2017-08-01'
502
502
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
503
503
 
504
504
 
@@ -114,7 +114,7 @@ module Azure::ARM::Network
114
114
  def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
115
115
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
116
116
  fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil?
117
- api_version = '2017-06-01'
117
+ api_version = '2017-08-01'
118
118
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
119
119
 
120
120
 
@@ -241,7 +241,7 @@ module Azure::ARM::Network
241
241
  #
242
242
  def list_async(resource_group_name, custom_headers = nil)
243
243
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
244
- api_version = '2017-06-01'
244
+ api_version = '2017-08-01'
245
245
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
246
246
 
247
247
 
@@ -342,7 +342,7 @@ module Azure::ARM::Network
342
342
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
343
343
  fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil?
344
344
  fail ArgumentError, 'parameters is nil' if parameters.nil?
345
- api_version = '2017-06-01'
345
+ api_version = '2017-08-01'
346
346
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
347
347
 
348
348
 
@@ -454,7 +454,7 @@ module Azure::ARM::Network
454
454
  def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
455
455
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
456
456
  fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil?
457
- api_version = '2017-06-01'
457
+ api_version = '2017-08-01'
458
458
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
459
459
 
460
460
 
@@ -16,7 +16,8 @@ module Azure::ARM::Network
16
16
  # @return [SubResource] The ID of network security group that is applied.
17
17
  attr_accessor :network_security_group
18
18
 
19
- # @return [EffectiveNetworkSecurityGroupAssociation]
19
+ # @return [EffectiveNetworkSecurityGroupAssociation] Associated
20
+ # resources.
20
21
  attr_accessor :association
21
22
 
22
23
  # @return [Array<EffectiveNetworkSecurityRule>] A collection of effective
@@ -50,6 +50,7 @@ module Azure::ARM::Network
50
50
  },
51
51
  next_link: {
52
52
  required: false,
53
+ read_only: true,
53
54
  serialized_name: 'nextLink',
54
55
  type: {
55
56
  name: 'String'
@@ -17,9 +17,9 @@ module Azure::ARM::Network
17
17
  # (if created by the user).
18
18
  attr_accessor :name
19
19
 
20
- # @return [SecurityRuleProtocol] The network protocol this rule applies
21
- # to. Possible values are: 'Tcp', 'Udp', and '*'. Possible values
22
- # include: 'Tcp', 'Udp', '*'
20
+ # @return [EffectiveSecurityRuleProtocol] The network protocol this rule
21
+ # applies to. Possible values are: 'Tcp', 'Udp', and 'All'. Possible
22
+ # values include: 'Tcp', 'Udp', 'All'
23
23
  attr_accessor :protocol
24
24
 
25
25
  # @return [String] The source port or range.
@@ -49,6 +49,7 @@ module Azure::ARM::Network
49
49
  },
50
50
  next_link: {
51
51
  required: false,
52
+ read_only: true,
52
53
  serialized_name: 'nextLink',
53
54
  type: {
54
55
  name: 'String'
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Network
7
+ module Models
8
+ #
9
+ # Defines values for EffectiveSecurityRuleProtocol
10
+ #
11
+ module EffectiveSecurityRuleProtocol
12
+ Tcp = "Tcp"
13
+ Udp = "Udp"
14
+ All = "All"
15
+ end
16
+ end
17
+ end