Wazend API icon

Wazend API

Interact with Wazend API

Overview

This node, named "Wazend API," allows users to interact with the Wazend API to perform various operations on different resources. Specifically, for the resource Instancia and operation Reiniciar Instancia, it enables restarting a specified instance by its name. This is useful in scenarios where an instance needs to be rebooted remotely, such as recovering from errors, applying updates, or refreshing services without manual intervention.

Practical example:

  • Automatically restart a cloud instance after detecting performance degradation.
  • Schedule periodic restarts of instances to maintain optimal operation.

Properties

Name Meaning
Nombre De La Instancia The name of the instance you want to restart. This is a required string input property.

Output

The node outputs a JSON array containing the response from the Wazend API after attempting to restart the instance. The exact structure depends on the API's response but typically includes status information about the restart operation (e.g., success confirmation, error messages).

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Wazend API.
  • The base URL for API requests is https://docs.wazend.net/wazend.
  • Proper network access to the Wazend API endpoint is necessary.

Troubleshooting

  • Operation not supported error: If the node throws an error stating the operation is not supported, verify that the resource and operation names are correctly set to "instances-api" and "restart-instance" respectively.
  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions to restart instances.
  • Instance not found: If the specified instance name does not exist, the API may return an error; double-check the instance name spelling.
  • Network issues: Confirm that your environment can reach the Wazend API endpoint without firewall or proxy blocking.

Links and References

Discussion