|
Serverless-api Dialog |
Description |
|
The Serverless-api dialog is used to create a new Serverless-api gateway that allows you to manage microservices. |
| Name field | Specifies the name for the gateway, which can be anything. |
| {ANYNODE} field | Specifies the {ANYNODE} where the Serverless-api gateway will be configured. |
| Service Port field | Defines the port number that the Serverless API gateway will listen on. |
| Create button | Saves the gateway configuration and provisions it. |
| Cancel button | Abort and close the dialog. |
|
Serverless-api Actions Menu |
Description |
|
On the right-hand side of the Serverless-api list view, you will find the "Actions" menu that displays shortcut icons and the dropdown menu icon. Below, we have listed the actions for the Serverless-api module. |
| Copy ID item | Stores the gateway ID in the clipboard. |
| Edit API Gateway item | Opens the Serverless-api dialog in edit mode, allowing modifications. |
| Delete API Gateway item | Opens a confirmation dialog that, if confirmed, deletes the gateway. |
|
Below are examples of how to configure the APISIX runtime. |
|
| Single Router: | |
| Multiple Router: | |
| Router + Service: | |
| Router + Upstream: | |
| Router + Service + Upstream: | |
| Plugins: | |
| Global Rule: | |
| Consumer: | |
| Stream Route: | |
The serverless-api PolicyThe following is a list of policy grants that define and regulate access permissions for both users and the API. To manage these policies, please use the Roles dialog. |
||
|
Grants |
Description |
API Command |
| full | Grants full access | ALL |
| delete | Permits the deletion of the item. | delete |
| edit | Permits access to the "Edit" dialog. | read-config |
| git-pull | Permits the retrieval of the configuration from a Git repository. | |
| git-push | Permits the storage of the configuration to a Git repository. | |
| list | Permits listing in the List View area or as JSON objects. | list |
| monitor | Permits the retrieval of the logs. | |
| new | Permits access to the new "Provisioning" dialog. | |
| save | Permits execution of the provisioning process. | create, write-config |
| test-function | Permits the testing of the function. | |