Creating a Simple Alias

Before you begin

You must have the API Gateway's manage aliases functional privilege assigned to perform this task.

About this task

A simple alias holds simple key property values. The name of the alias can be used in the configuration of the properties of a routing policy or an email destination for the Log Invocation, Monitor SLA, Monitor Performance, and Traffic Optimization policies.

To create a simple alias

Procedure

  1. Expand the menu options icon , in the title bar, and select Aliases.
  2. Click Create alias.
  3. In the Basic information section, provide the following information:
    Field Description
    Name Name of the alias.
    Type Select Simple alias.
    Description Description of the alias.
  4. Click Technical information and specify a value in the Default value field.
    Note: You can specify multiple email addresses, if you are creating an email alias, for example, abc@gmail.com, test@gmail.com, and so on.
  5. Specify a stage, if you want the alias to be applicable to a specific stage.
  6. Click Save.
    Note: If you want to configure this alias in the routing policies, you can follow the syntax ${aliasname}. For example, if you want to route it to an endpoint http/mydevenv.com:7000/api, you can create a simple alias with the name mystage and its value being http/mydevenv.com:7000. The endpoint URL can be specified in the properties as ${mystage}/api.