azure_mgmt_network 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_network.rb +59 -52
  3. data/lib/generated/azure_mgmt_network/application_gateways.rb +426 -308
  4. data/lib/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +181 -199
  5. data/lib/generated/azure_mgmt_network/express_route_circuit_peerings.rb +175 -193
  6. data/lib/generated/azure_mgmt_network/express_route_circuits.rb +458 -497
  7. data/lib/generated/azure_mgmt_network/express_route_service_providers.rb +36 -43
  8. data/lib/generated/azure_mgmt_network/load_balancers.rb +225 -242
  9. data/lib/generated/azure_mgmt_network/local_network_gateways.rb +168 -191
  10. data/lib/generated/azure_mgmt_network/models/address_space.rb +4 -4
  11. data/lib/generated/azure_mgmt_network/models/application_gateway.rb +42 -28
  12. data/lib/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +6 -6
  13. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +4 -4
  14. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +6 -6
  15. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +52 -0
  16. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +66 -0
  17. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +65 -0
  18. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +67 -0
  19. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_health_server_health.rb +18 -0
  20. data/lib/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +16 -13
  21. data/lib/generated/azure_mgmt_network/models/application_gateway_cookie_based_affinity.rb +1 -1
  22. data/lib/generated/azure_mgmt_network/models/application_gateway_firewall_mode.rb +16 -0
  23. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +13 -12
  24. data/lib/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +6 -6
  25. data/lib/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +16 -14
  26. data/lib/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +7 -6
  27. data/lib/generated/azure_mgmt_network/models/application_gateway_list_result.rb +4 -4
  28. data/lib/generated/azure_mgmt_network/models/application_gateway_operational_state.rb +1 -1
  29. data/lib/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +9 -9
  30. data/lib/generated/azure_mgmt_network/models/application_gateway_probe.rb +19 -12
  31. data/lib/generated/azure_mgmt_network/models/application_gateway_protocol.rb +1 -1
  32. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +14 -11
  33. data/lib/generated/azure_mgmt_network/models/application_gateway_request_routing_rule_type.rb +1 -1
  34. data/lib/generated/azure_mgmt_network/models/application_gateway_sku.rb +11 -8
  35. data/lib/generated/azure_mgmt_network/models/application_gateway_sku_name.rb +3 -1
  36. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +12 -9
  37. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +4 -3
  38. data/lib/generated/azure_mgmt_network/models/application_gateway_ssl_protocol.rb +1 -1
  39. data/lib/generated/azure_mgmt_network/models/application_gateway_tier.rb +2 -1
  40. data/lib/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +10 -9
  41. data/lib/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +57 -0
  42. data/lib/generated/azure_mgmt_network/models/authorization_list_result.rb +6 -6
  43. data/lib/generated/azure_mgmt_network/models/authorization_use_status.rb +1 -1
  44. data/lib/generated/azure_mgmt_network/models/azure_async_operation_result.rb +4 -3
  45. data/lib/generated/azure_mgmt_network/models/backend_address_pool.rb +11 -11
  46. data/lib/generated/azure_mgmt_network/models/bgp_settings.rb +7 -6
  47. data/lib/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +8 -3
  48. data/lib/generated/azure_mgmt_network/models/connection_shared_key.rb +4 -4
  49. data/lib/generated/azure_mgmt_network/models/dhcp_options.rb +4 -4
  50. data/lib/generated/azure_mgmt_network/models/dns_name_availability_result.rb +3 -3
  51. data/lib/generated/azure_mgmt_network/models/effective_network_security_group.rb +5 -6
  52. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +4 -4
  53. data/lib/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +5 -5
  54. data/lib/generated/azure_mgmt_network/models/effective_network_security_rule.rb +20 -17
  55. data/lib/generated/azure_mgmt_network/models/effective_route.rb +16 -13
  56. data/lib/generated/azure_mgmt_network/models/effective_route_list_result.rb +4 -4
  57. data/lib/generated/azure_mgmt_network/models/effective_route_source.rb +1 -1
  58. data/lib/generated/azure_mgmt_network/models/effective_route_state.rb +1 -1
  59. data/lib/generated/azure_mgmt_network/models/error.rb +2 -1
  60. data/lib/generated/azure_mgmt_network/models/error_details.rb +2 -1
  61. data/lib/generated/azure_mgmt_network/models/express_route_circuit.rb +20 -21
  62. data/lib/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +6 -6
  63. data/lib/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +10 -9
  64. data/lib/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +5 -5
  65. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +26 -24
  66. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_advertised_public_prefix_state.rb +1 -1
  67. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +10 -10
  68. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +6 -6
  69. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_state.rb +1 -1
  70. data/lib/generated/azure_mgmt_network/models/express_route_circuit_peering_type.rb +1 -1
  71. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +4 -4
  72. data/lib/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +5 -5
  73. data/lib/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +5 -5
  74. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +9 -7
  75. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_family.rb +1 -1
  76. data/lib/generated/azure_mgmt_network/models/express_route_circuit_sku_tier.rb +1 -1
  77. data/lib/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +2 -2
  78. data/lib/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +5 -4
  79. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +5 -5
  80. data/lib/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +5 -5
  81. data/lib/generated/azure_mgmt_network/models/express_route_service_provider.rb +6 -6
  82. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +4 -4
  83. data/lib/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +5 -5
  84. data/lib/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +18 -19
  85. data/lib/generated/azure_mgmt_network/models/inbound_nat_pool.rb +19 -27
  86. data/lib/generated/azure_mgmt_network/models/inbound_nat_rule.rb +25 -33
  87. data/lib/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +4 -4
  88. data/lib/generated/azure_mgmt_network/models/ipallocation_method.rb +1 -1
  89. data/lib/generated/azure_mgmt_network/models/ipconfiguration.rb +12 -13
  90. data/lib/generated/azure_mgmt_network/models/ipversion.rb +1 -1
  91. data/lib/generated/azure_mgmt_network/models/load_balancer.rb +31 -16
  92. data/lib/generated/azure_mgmt_network/models/load_balancer_list_result.rb +5 -5
  93. data/lib/generated/azure_mgmt_network/models/load_balancing_rule.rb +29 -38
  94. data/lib/generated/azure_mgmt_network/models/load_distribution.rb +1 -1
  95. data/lib/generated/azure_mgmt_network/models/local_network_gateway.rb +11 -10
  96. data/lib/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +5 -5
  97. data/lib/generated/azure_mgmt_network/models/network_interface.rb +31 -20
  98. data/lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +18 -8
  99. data/lib/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +19 -16
  100. data/lib/generated/azure_mgmt_network/models/network_interface_list_result.rb +5 -5
  101. data/lib/generated/azure_mgmt_network/models/network_operation_status.rb +1 -1
  102. data/lib/generated/azure_mgmt_network/models/network_security_group.rb +15 -15
  103. data/lib/generated/azure_mgmt_network/models/network_security_group_list_result.rb +5 -5
  104. data/lib/generated/azure_mgmt_network/models/outbound_nat_rule.rb +12 -14
  105. data/lib/generated/azure_mgmt_network/models/probe.rb +27 -28
  106. data/lib/generated/azure_mgmt_network/models/probe_protocol.rb +1 -1
  107. data/lib/generated/azure_mgmt_network/models/processor_architecture.rb +1 -1
  108. data/lib/generated/azure_mgmt_network/models/public_ipaddress.rb +15 -15
  109. data/lib/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +15 -14
  110. data/lib/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +5 -5
  111. data/lib/generated/azure_mgmt_network/models/resource_navigation_link.rb +6 -6
  112. data/lib/generated/azure_mgmt_network/models/route.rb +13 -13
  113. data/lib/generated/azure_mgmt_network/models/route_list_result.rb +4 -4
  114. data/lib/generated/azure_mgmt_network/models/route_next_hop_type.rb +1 -1
  115. data/lib/generated/azure_mgmt_network/models/route_table.rb +8 -7
  116. data/lib/generated/azure_mgmt_network/models/route_table_list_result.rb +5 -5
  117. data/lib/generated/azure_mgmt_network/models/security_rule.rb +33 -36
  118. data/lib/generated/azure_mgmt_network/models/security_rule_access.rb +1 -1
  119. data/lib/generated/azure_mgmt_network/models/security_rule_direction.rb +1 -1
  120. data/lib/generated/azure_mgmt_network/models/security_rule_list_result.rb +6 -6
  121. data/lib/generated/azure_mgmt_network/models/security_rule_protocol.rb +1 -1
  122. data/lib/generated/azure_mgmt_network/models/service_provider_provisioning_state.rb +1 -1
  123. data/lib/generated/azure_mgmt_network/models/subnet.rb +14 -15
  124. data/lib/generated/azure_mgmt_network/models/subnet_list_result.rb +4 -4
  125. data/lib/generated/azure_mgmt_network/models/transport_protocol.rb +1 -1
  126. data/lib/generated/azure_mgmt_network/models/tunnel_connection_health.rb +92 -0
  127. data/lib/generated/azure_mgmt_network/models/usage.rb +7 -7
  128. data/lib/generated/azure_mgmt_network/models/usage_name.rb +4 -5
  129. data/lib/generated/azure_mgmt_network/models/usages_list_result.rb +3 -3
  130. data/lib/generated/azure_mgmt_network/models/virtual_network.rb +15 -16
  131. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb +26 -23
  132. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +45 -18
  133. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +6 -5
  134. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_status.rb +1 -1
  135. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_connection_type.rb +1 -1
  136. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +15 -14
  137. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +5 -5
  138. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +12 -10
  139. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_name.rb +1 -1
  140. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_sku_tier.rb +1 -1
  141. data/lib/generated/azure_mgmt_network/models/virtual_network_gateway_type.rb +1 -1
  142. data/lib/generated/azure_mgmt_network/models/virtual_network_list_result.rb +5 -5
  143. data/lib/generated/azure_mgmt_network/models/virtual_network_peering.rb +21 -23
  144. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +6 -6
  145. data/lib/generated/azure_mgmt_network/models/virtual_network_peering_state.rb +1 -1
  146. data/lib/generated/azure_mgmt_network/models/vpn_client_configuration.rb +5 -5
  147. data/lib/generated/azure_mgmt_network/models/vpn_client_parameters.rb +5 -4
  148. data/lib/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +10 -9
  149. data/lib/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +10 -8
  150. data/lib/generated/azure_mgmt_network/models/vpn_type.rb +1 -1
  151. data/lib/generated/azure_mgmt_network/module_definition.rb +1 -1
  152. data/lib/generated/azure_mgmt_network/network_interfaces.rb +443 -478
  153. data/lib/generated/azure_mgmt_network/network_management_client.rb +20 -7
  154. data/lib/generated/azure_mgmt_network/network_security_groups.rb +224 -249
  155. data/lib/generated/azure_mgmt_network/public_ipaddresses.rb +220 -241
  156. data/lib/generated/azure_mgmt_network/route_tables.rb +219 -226
  157. data/lib/generated/azure_mgmt_network/routes.rb +171 -181
  158. data/lib/generated/azure_mgmt_network/security_rules.rb +175 -193
  159. data/lib/generated/azure_mgmt_network/subnets.rb +177 -181
  160. data/lib/generated/azure_mgmt_network/usages.rb +34 -34
  161. data/lib/generated/azure_mgmt_network/version.rb +2 -2
  162. data/lib/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +335 -358
  163. data/lib/generated/azure_mgmt_network/virtual_network_gateways.rb +246 -289
  164. data/lib/generated/azure_mgmt_network/virtual_network_peerings.rb +177 -191
  165. data/lib/generated/azure_mgmt_network/virtual_networks.rb +242 -249
  166. metadata +12 -5
  167. data/lib/generated/azure_mgmt_network/models/connection_shared_key_result.rb +0 -44
@@ -1,14 +1,14 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Network
7
7
  #
8
8
  # The Microsoft Azure Network management API provides a RESTful set of web
9
- # services that interact with Microsoft Azure Networks service to manage
10
- # your network resources. The API has entities that capture the
11
- # relationship between an end user and the Microsoft Azure Networks service.
9
+ # services that interact with Microsoft Azure Networks service to manage your
10
+ # network resources. The API has entities that capture the relationship
11
+ # between an end user and the Microsoft Azure Networks service.
12
12
  #
13
13
  class LocalNetworkGateways
14
14
  include Azure::ARM::Network::Models
@@ -26,15 +26,13 @@ module Azure::ARM::Network
26
26
  attr_reader :client
27
27
 
28
28
  #
29
- # The Put LocalNetworkGateway operation creates/updates a local network
30
- # gateway in the specified resource group through Network resource provider.
29
+ # Creates or updates a local network gateway in the specified resource group.
31
30
  #
32
31
  # @param resource_group_name [String] The name of the resource group.
33
32
  # @param local_network_gateway_name [String] The name of the local network
34
33
  # gateway.
35
- # @param parameters [LocalNetworkGateway] Parameters supplied to the Begin
36
- # Create or update Local Network Gateway operation through Network resource
37
- # provider.
34
+ # @param parameters [LocalNetworkGateway] Parameters supplied to the create or
35
+ # update local network gateway operation.
38
36
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
39
37
  # will be added to the HTTP request.
40
38
  #
@@ -49,9 +47,8 @@ module Azure::ARM::Network
49
47
  # @param resource_group_name [String] The name of the resource group.
50
48
  # @param local_network_gateway_name [String] The name of the local network
51
49
  # gateway.
52
- # @param parameters [LocalNetworkGateway] Parameters supplied to the Begin
53
- # Create or update Local Network Gateway operation through Network resource
54
- # provider.
50
+ # @param parameters [LocalNetworkGateway] Parameters supplied to the create or
51
+ # update local network gateway operation.
55
52
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
56
53
  # will be added to the HTTP request.
57
54
  #
@@ -77,63 +74,50 @@ module Azure::ARM::Network
77
74
  end
78
75
 
79
76
  #
80
- # The Put LocalNetworkGateway operation creates/updates a local network
81
- # gateway in the specified resource group through Network resource provider.
77
+ # Gets the specified local network gateway in a resource group.
82
78
  #
83
79
  # @param resource_group_name [String] The name of the resource group.
84
80
  # @param local_network_gateway_name [String] The name of the local network
85
81
  # gateway.
86
- # @param parameters [LocalNetworkGateway] Parameters supplied to the Begin
87
- # Create or update Local Network Gateway operation through Network resource
88
- # provider.
89
82
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
90
83
  # will be added to the HTTP request.
91
84
  #
92
85
  # @return [LocalNetworkGateway] operation results.
93
86
  #
94
- def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil)
95
- response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value!
87
+ def get(resource_group_name, local_network_gateway_name, custom_headers = nil)
88
+ response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value!
96
89
  response.body unless response.nil?
97
90
  end
98
91
 
99
92
  #
100
- # The Put LocalNetworkGateway operation creates/updates a local network
101
- # gateway in the specified resource group through Network resource provider.
93
+ # Gets the specified local network gateway in a resource group.
102
94
  #
103
95
  # @param resource_group_name [String] The name of the resource group.
104
96
  # @param local_network_gateway_name [String] The name of the local network
105
97
  # gateway.
106
- # @param parameters [LocalNetworkGateway] Parameters supplied to the Begin
107
- # Create or update Local Network Gateway operation through Network resource
108
- # provider.
109
98
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
110
99
  # will be added to the HTTP request.
111
100
  #
112
101
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
113
102
  #
114
- def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil)
115
- begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value!
103
+ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil)
104
+ get_async(resource_group_name, local_network_gateway_name, custom_headers).value!
116
105
  end
117
106
 
118
107
  #
119
- # The Put LocalNetworkGateway operation creates/updates a local network
120
- # gateway in the specified resource group through Network resource provider.
108
+ # Gets the specified local network gateway in a resource group.
121
109
  #
122
110
  # @param resource_group_name [String] The name of the resource group.
123
111
  # @param local_network_gateway_name [String] The name of the local network
124
112
  # gateway.
125
- # @param parameters [LocalNetworkGateway] Parameters supplied to the Begin
126
- # Create or update Local Network Gateway operation through Network resource
127
- # provider.
128
113
  # @param [Hash{String => String}] A hash of custom headers that will be added
129
114
  # to the HTTP request.
130
115
  #
131
116
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
132
117
  #
133
- def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil)
118
+ def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
134
119
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
135
120
  fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil?
136
- fail ArgumentError, 'parameters is nil' if parameters.nil?
137
121
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
138
122
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
139
123
 
@@ -143,14 +127,6 @@ module Azure::ARM::Network
143
127
  # Set Headers
144
128
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
145
129
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
146
-
147
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
148
-
149
- # Serialize Request
150
- request_mapper = LocalNetworkGateway.mapper()
151
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
152
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
153
-
154
130
  path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'
155
131
 
156
132
  request_url = @base_url || @client.base_url
@@ -159,33 +135,22 @@ module Azure::ARM::Network
159
135
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
160
136
  path_params: {'resourceGroupName' => resource_group_name,'localNetworkGatewayName' => local_network_gateway_name,'subscriptionId' => @client.subscription_id},
161
137
  query_params: {'api-version' => @client.api_version},
162
- body: request_content,
163
138
  headers: request_headers.merge(custom_headers || {}),
164
139
  base_url: request_url
165
140
  }
166
- promise = @client.make_request_async(:put, path_template, options)
141
+ promise = @client.make_request_async(:get, path_template, options)
167
142
 
168
143
  promise = promise.then do |result|
169
144
  http_response = result.response
170
145
  status_code = http_response.status
171
146
  response_content = http_response.body
172
- unless status_code == 201 || status_code == 200
147
+ unless status_code == 200
173
148
  error_model = JSON.load(response_content)
174
149
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
175
150
  end
176
151
 
177
152
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
178
153
  # Deserialize Response
179
- if status_code == 201
180
- begin
181
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
182
- result_mapper = LocalNetworkGateway.mapper()
183
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
184
- rescue Exception => e
185
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
186
- end
187
- end
188
- # Deserialize Response
189
154
  if status_code == 200
190
155
  begin
191
156
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
@@ -203,8 +168,7 @@ module Azure::ARM::Network
203
168
  end
204
169
 
205
170
  #
206
- # The Get LocalNetworkGateway operation retrieves information about the
207
- # specified local network gateway through Network resource provider.
171
+ # Deletes the specified local network gateway.
208
172
  #
209
173
  # @param resource_group_name [String] The name of the resource group.
210
174
  # @param local_network_gateway_name [String] The name of the local network
@@ -212,16 +176,11 @@ module Azure::ARM::Network
212
176
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
213
177
  # will be added to the HTTP request.
214
178
  #
215
- # @return [LocalNetworkGateway] operation results.
216
- #
217
- def get(resource_group_name, local_network_gateway_name, custom_headers = nil)
218
- response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value!
219
- response.body unless response.nil?
179
+ def delete(resource_group_name, local_network_gateway_name, custom_headers = nil)
180
+ response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value!
181
+ nil
220
182
  end
221
183
 
222
- #
223
- # The Get LocalNetworkGateway operation retrieves information about the
224
- # specified local network gateway through Network resource provider.
225
184
  #
226
185
  # @param resource_group_name [String] The name of the resource group.
227
186
  # @param local_network_gateway_name [String] The name of the local network
@@ -229,27 +188,63 @@ module Azure::ARM::Network
229
188
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
230
189
  # will be added to the HTTP request.
231
190
  #
191
+ # @return [Concurrent::Promise] promise which provides async access to http
192
+ # response.
193
+ #
194
+ def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
195
+ # Send request
196
+ promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers)
197
+
198
+ promise = promise.then do |response|
199
+ # Defining deserialization method.
200
+ deserialize_method = lambda do |parsed_response|
201
+ end
202
+
203
+ # Waiting for response.
204
+ @client.get_long_running_operation_result(response, deserialize_method)
205
+ end
206
+
207
+ promise
208
+ end
209
+
210
+ #
211
+ # Gets all the local network gateways in a resource group.
212
+ #
213
+ # @param resource_group_name [String] The name of the resource group.
214
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
215
+ # will be added to the HTTP request.
216
+ #
217
+ # @return [Array<LocalNetworkGateway>] operation results.
218
+ #
219
+ def list(resource_group_name, custom_headers = nil)
220
+ first_page = list_as_lazy(resource_group_name, custom_headers)
221
+ first_page.get_all_items
222
+ end
223
+
224
+ #
225
+ # Gets all the local network gateways in a resource group.
226
+ #
227
+ # @param resource_group_name [String] The name of the resource group.
228
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
229
+ # will be added to the HTTP request.
230
+ #
232
231
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
233
232
  #
234
- def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil)
235
- get_async(resource_group_name, local_network_gateway_name, custom_headers).value!
233
+ def list_with_http_info(resource_group_name, custom_headers = nil)
234
+ list_async(resource_group_name, custom_headers).value!
236
235
  end
237
236
 
238
237
  #
239
- # The Get LocalNetworkGateway operation retrieves information about the
240
- # specified local network gateway through Network resource provider.
238
+ # Gets all the local network gateways in a resource group.
241
239
  #
242
240
  # @param resource_group_name [String] The name of the resource group.
243
- # @param local_network_gateway_name [String] The name of the local network
244
- # gateway.
245
241
  # @param [Hash{String => String}] A hash of custom headers that will be added
246
242
  # to the HTTP request.
247
243
  #
248
244
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
249
245
  #
250
- def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
246
+ def list_async(resource_group_name, custom_headers = nil)
251
247
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
252
- fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil?
253
248
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
254
249
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
255
250
 
@@ -259,13 +254,13 @@ module Azure::ARM::Network
259
254
  # Set Headers
260
255
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
261
256
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
262
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'
257
+ path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways'
263
258
 
264
259
  request_url = @base_url || @client.base_url
265
260
 
266
261
  options = {
267
262
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
268
- path_params: {'resourceGroupName' => resource_group_name,'localNetworkGatewayName' => local_network_gateway_name,'subscriptionId' => @client.subscription_id},
263
+ path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
269
264
  query_params: {'api-version' => @client.api_version},
270
265
  headers: request_headers.merge(custom_headers || {}),
271
266
  base_url: request_url
@@ -286,7 +281,7 @@ module Azure::ARM::Network
286
281
  if status_code == 200
287
282
  begin
288
283
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
289
- result_mapper = LocalNetworkGateway.mapper()
284
+ result_mapper = LocalNetworkGatewayListResult.mapper()
290
285
  result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
291
286
  rescue Exception => e
292
287
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -300,93 +295,57 @@ module Azure::ARM::Network
300
295
  end
301
296
 
302
297
  #
303
- # The Delete LocalNetworkGateway operation deletes the specified local network
304
- # Gateway through Network resource provider.
305
- #
306
- # @param resource_group_name [String] The name of the resource group.
307
- # @param local_network_gateway_name [String] The name of the local network
308
- # gateway.
309
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
310
- # will be added to the HTTP request.
311
- #
312
- def delete(resource_group_name, local_network_gateway_name, custom_headers = nil)
313
- response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value!
314
- nil
315
- end
316
-
317
- #
318
- # @param resource_group_name [String] The name of the resource group.
319
- # @param local_network_gateway_name [String] The name of the local network
320
- # gateway.
321
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
322
- # will be added to the HTTP request.
323
- #
324
- # @return [Concurrent::Promise] promise which provides async access to http
325
- # response.
326
- #
327
- def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
328
- # Send request
329
- promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers)
330
-
331
- promise = promise.then do |response|
332
- # Defining deserialization method.
333
- deserialize_method = lambda do |parsed_response|
334
- end
335
-
336
- # Waiting for response.
337
- @client.get_long_running_operation_result(response, deserialize_method)
338
- end
339
-
340
- promise
341
- end
342
-
343
- #
344
- # The Delete LocalNetworkGateway operation deletes the specified local network
345
- # Gateway through Network resource provider.
298
+ # Creates or updates a local network gateway in the specified resource group.
346
299
  #
347
300
  # @param resource_group_name [String] The name of the resource group.
348
301
  # @param local_network_gateway_name [String] The name of the local network
349
302
  # gateway.
303
+ # @param parameters [LocalNetworkGateway] Parameters supplied to the create or
304
+ # update local network gateway operation.
350
305
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
351
306
  # will be added to the HTTP request.
352
307
  #
308
+ # @return [LocalNetworkGateway] operation results.
353
309
  #
354
- def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil)
355
- response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value!
356
- nil
310
+ def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil)
311
+ response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value!
312
+ response.body unless response.nil?
357
313
  end
358
314
 
359
315
  #
360
- # The Delete LocalNetworkGateway operation deletes the specified local network
361
- # Gateway through Network resource provider.
316
+ # Creates or updates a local network gateway in the specified resource group.
362
317
  #
363
318
  # @param resource_group_name [String] The name of the resource group.
364
319
  # @param local_network_gateway_name [String] The name of the local network
365
320
  # gateway.
321
+ # @param parameters [LocalNetworkGateway] Parameters supplied to the create or
322
+ # update local network gateway operation.
366
323
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
367
324
  # will be added to the HTTP request.
368
325
  #
369
326
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
370
327
  #
371
- def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil)
372
- begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value!
328
+ def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil)
329
+ begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value!
373
330
  end
374
331
 
375
332
  #
376
- # The Delete LocalNetworkGateway operation deletes the specified local network
377
- # Gateway through Network resource provider.
333
+ # Creates or updates a local network gateway in the specified resource group.
378
334
  #
379
335
  # @param resource_group_name [String] The name of the resource group.
380
336
  # @param local_network_gateway_name [String] The name of the local network
381
337
  # gateway.
338
+ # @param parameters [LocalNetworkGateway] Parameters supplied to the create or
339
+ # update local network gateway operation.
382
340
  # @param [Hash{String => String}] A hash of custom headers that will be added
383
341
  # to the HTTP request.
384
342
  #
385
343
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
386
344
  #
387
- def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
345
+ def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil)
388
346
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
389
347
  fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil?
348
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
390
349
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
391
350
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
392
351
 
@@ -396,6 +355,14 @@ module Azure::ARM::Network
396
355
  # Set Headers
397
356
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
398
357
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
358
+
359
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
360
+
361
+ # Serialize Request
362
+ request_mapper = LocalNetworkGateway.mapper()
363
+ request_content = @client.serialize(request_mapper, parameters, 'parameters')
364
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
365
+
399
366
  path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'
400
367
 
401
368
  request_url = @base_url || @client.base_url
@@ -404,21 +371,42 @@ module Azure::ARM::Network
404
371
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
405
372
  path_params: {'resourceGroupName' => resource_group_name,'localNetworkGatewayName' => local_network_gateway_name,'subscriptionId' => @client.subscription_id},
406
373
  query_params: {'api-version' => @client.api_version},
374
+ body: request_content,
407
375
  headers: request_headers.merge(custom_headers || {}),
408
376
  base_url: request_url
409
377
  }
410
- promise = @client.make_request_async(:delete, path_template, options)
378
+ promise = @client.make_request_async(:put, path_template, options)
411
379
 
412
380
  promise = promise.then do |result|
413
381
  http_response = result.response
414
382
  status_code = http_response.status
415
383
  response_content = http_response.body
416
- unless status_code == 204 || status_code == 200 || status_code == 202
384
+ unless status_code == 201 || status_code == 200
417
385
  error_model = JSON.load(response_content)
418
386
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
419
387
  end
420
388
 
421
389
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
390
+ # Deserialize Response
391
+ if status_code == 201
392
+ begin
393
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
394
+ result_mapper = LocalNetworkGateway.mapper()
395
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
396
+ rescue Exception => e
397
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
398
+ end
399
+ end
400
+ # Deserialize Response
401
+ if status_code == 200
402
+ begin
403
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
404
+ result_mapper = LocalNetworkGateway.mapper()
405
+ result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
406
+ rescue Exception => e
407
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
408
+ end
409
+ end
422
410
 
423
411
  result
424
412
  end
@@ -427,68 +415,49 @@ module Azure::ARM::Network
427
415
  end
428
416
 
429
417
  #
430
- # The List LocalNetworkGateways operation retrieves all the local network
431
- # gateways stored.
432
- #
433
- # @param resource_group_name [String] The name of the resource group.
434
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
435
- # will be added to the HTTP request.
436
- #
437
- # @return [LocalNetworkGatewayListResult] which provide lazy access to pages
438
- # of the response.
439
- #
440
- def list_as_lazy(resource_group_name, custom_headers = nil)
441
- response = list_async(resource_group_name, custom_headers).value!
442
- unless response.nil?
443
- page = response.body
444
- page.next_method = Proc.new do |next_page_link|
445
- list_next_async(next_page_link, custom_headers)
446
- end
447
- page
448
- end
449
- end
450
-
451
- #
452
- # The List LocalNetworkGateways operation retrieves all the local network
453
- # gateways stored.
418
+ # Deletes the specified local network gateway.
454
419
  #
455
420
  # @param resource_group_name [String] The name of the resource group.
421
+ # @param local_network_gateway_name [String] The name of the local network
422
+ # gateway.
456
423
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
457
424
  # will be added to the HTTP request.
458
425
  #
459
- # @return [Array<LocalNetworkGateway>] operation results.
460
426
  #
461
- def list(resource_group_name, custom_headers = nil)
462
- first_page = list_as_lazy(resource_group_name, custom_headers)
463
- first_page.get_all_items
427
+ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil)
428
+ response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value!
429
+ nil
464
430
  end
465
431
 
466
432
  #
467
- # The List LocalNetworkGateways operation retrieves all the local network
468
- # gateways stored.
433
+ # Deletes the specified local network gateway.
469
434
  #
470
435
  # @param resource_group_name [String] The name of the resource group.
436
+ # @param local_network_gateway_name [String] The name of the local network
437
+ # gateway.
471
438
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
472
439
  # will be added to the HTTP request.
473
440
  #
474
441
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
475
442
  #
476
- def list_with_http_info(resource_group_name, custom_headers = nil)
477
- list_async(resource_group_name, custom_headers).value!
443
+ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil)
444
+ begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value!
478
445
  end
479
446
 
480
447
  #
481
- # The List LocalNetworkGateways operation retrieves all the local network
482
- # gateways stored.
448
+ # Deletes the specified local network gateway.
483
449
  #
484
450
  # @param resource_group_name [String] The name of the resource group.
451
+ # @param local_network_gateway_name [String] The name of the local network
452
+ # gateway.
485
453
  # @param [Hash{String => String}] A hash of custom headers that will be added
486
454
  # to the HTTP request.
487
455
  #
488
456
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
489
457
  #
490
- def list_async(resource_group_name, custom_headers = nil)
458
+ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil)
491
459
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
460
+ fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil?
492
461
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
493
462
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
494
463
 
@@ -498,39 +467,29 @@ module Azure::ARM::Network
498
467
  # Set Headers
499
468
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
500
469
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
501
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways'
470
+ path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'
502
471
 
503
472
  request_url = @base_url || @client.base_url
504
473
 
505
474
  options = {
506
475
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
507
- path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
476
+ path_params: {'resourceGroupName' => resource_group_name,'localNetworkGatewayName' => local_network_gateway_name,'subscriptionId' => @client.subscription_id},
508
477
  query_params: {'api-version' => @client.api_version},
509
478
  headers: request_headers.merge(custom_headers || {}),
510
479
  base_url: request_url
511
480
  }
512
- promise = @client.make_request_async(:get, path_template, options)
481
+ promise = @client.make_request_async(:delete, path_template, options)
513
482
 
514
483
  promise = promise.then do |result|
515
484
  http_response = result.response
516
485
  status_code = http_response.status
517
486
  response_content = http_response.body
518
- unless status_code == 200
487
+ unless status_code == 204 || status_code == 200 || status_code == 202
519
488
  error_model = JSON.load(response_content)
520
489
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
521
490
  end
522
491
 
523
492
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
524
- # Deserialize Response
525
- if status_code == 200
526
- begin
527
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
528
- result_mapper = LocalNetworkGatewayListResult.mapper()
529
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
530
- rescue Exception => e
531
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
532
- end
533
- end
534
493
 
535
494
  result
536
495
  end
@@ -539,11 +498,10 @@ module Azure::ARM::Network
539
498
  end
540
499
 
541
500
  #
542
- # The List LocalNetworkGateways operation retrieves all the local network
543
- # gateways stored.
501
+ # Gets all the local network gateways in a resource group.
544
502
  #
545
- # @param next_page_link [String] The NextLink from the previous successful
546
- # call to List operation.
503
+ # @param next_page_link [String] The NextLink from the previous successful call
504
+ # to List operation.
547
505
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
548
506
  # will be added to the HTTP request.
549
507
  #
@@ -555,11 +513,10 @@ module Azure::ARM::Network
555
513
  end
556
514
 
557
515
  #
558
- # The List LocalNetworkGateways operation retrieves all the local network
559
- # gateways stored.
516
+ # Gets all the local network gateways in a resource group.
560
517
  #
561
- # @param next_page_link [String] The NextLink from the previous successful
562
- # call to List operation.
518
+ # @param next_page_link [String] The NextLink from the previous successful call
519
+ # to List operation.
563
520
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
564
521
  # will be added to the HTTP request.
565
522
  #
@@ -570,11 +527,10 @@ module Azure::ARM::Network
570
527
  end
571
528
 
572
529
  #
573
- # The List LocalNetworkGateways operation retrieves all the local network
574
- # gateways stored.
530
+ # Gets all the local network gateways in a resource group.
575
531
  #
576
- # @param next_page_link [String] The NextLink from the previous successful
577
- # call to List operation.
532
+ # @param next_page_link [String] The NextLink from the previous successful call
533
+ # to List operation.
578
534
  # @param [Hash{String => String}] A hash of custom headers that will be added
579
535
  # to the HTTP request.
580
536
  #
@@ -628,5 +584,26 @@ module Azure::ARM::Network
628
584
  promise.execute
629
585
  end
630
586
 
587
+ #
588
+ # Gets all the local network gateways in a resource group.
589
+ #
590
+ # @param resource_group_name [String] The name of the resource group.
591
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
592
+ # will be added to the HTTP request.
593
+ #
594
+ # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of
595
+ # the response.
596
+ #
597
+ def list_as_lazy(resource_group_name, custom_headers = nil)
598
+ response = list_async(resource_group_name, custom_headers).value!
599
+ unless response.nil?
600
+ page = response.body
601
+ page.next_method = Proc.new do |next_page_link|
602
+ list_next_async(next_page_link, custom_headers)
603
+ end
604
+ page
605
+ end
606
+ end
607
+
631
608
  end
632
609
  end