lib/fog/azurerm/models/application_gateway/gateway.rb in fog-azure-rm-0.0.8 vs lib/fog/azurerm/models/application_gateway/gateway.rb in fog-azure-rm-0.0.9

- old
+ new

@@ -599,9 +599,17 @@ gateway_hash[:probes].delete(probe_obj) gateway = service.create_or_update_application_gateway(gateway_hash) merge_attributes(Fog::ApplicationGateway::AzureRM::Gateway.parse(gateway)) end + def start + service.start_application_gateway(resource_group, name) + end + + def stop + service.stop_application_gateway(resource_group, name) + end + def destroy service.delete_application_gateway(resource_group, name) end end end