lib/fog/azurerm/models/application_gateway/gateway.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/application_gateway/gateway.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -219,14 +219,11 @@ end end def validate_frontend_ip_configuration_params(frontend_ip_configuration) required_params = [ - :name, - :public_ip_address_id, - :private_ip_allocation_method, - :private_ip_address + :name ] missing = required_params.select { |p| p unless frontend_ip_configuration.key?(p) } if missing.length == 1 raise(ArgumentError, "#{missing.first} is required for this operation") elsif missing.any? @@ -353,11 +350,10 @@ def validate_backend_http_settings_params(backend_http_settings) required_params = [ :name, :port, :protocol, - :cookie_based_affinity, - :request_timeout + :cookie_based_affinity ] missing = required_params.select { |p| p unless backend_http_settings.key?(p) } if missing.length == 1 raise(ArgumentError, "#{missing.first} is required for this operation") elsif missing.any?