Viewing Functions
From the left navigation menu, select Manage Elements (
) and then Functions.The following properties are displayed for each function:
Name
The name of the function. If an expansion arrow appears, click the arrow to see multiple revisions of the same function.
GUID
A globally unique ID for the function.
Owner
The owning user of the function
Created
The date and time on which the function was created.
Modified
The date and time on which the function was last modified. When you modify a function, a new revision is created.
Current Version
The latest revision number created for the function. Where there is more than one revision, expand the function in the Name column to list each version.
No. Of Revisions
The number of revisions of the function that have been created.
Tags
Metadata tags that were added to the function.
To see more properties of a given function, select the trigger and click Inspect.
Modifying a Function
Modifying a function creates a new revision with a new revision number. When you want to update your function code, you can build a new image of the function, tag it as you wish, push it to the container registry and then create a new revision of the function pointing to the updated image.
Creating a new revision does not automatically update the revision used in a pipeline. When you create a new revision to use in a pipeline, you also need to update the pipeline to use the new revision.
There is an option to create a local revision of a function. Local revisions cannot be used in a pipeline.
From the left navigation menu, select Manage Elements (
) and then Functions.Right-click the function and select Edit.
This function's properties appear. The function name and description are not modifiable. The revision number is incremented automatically from the previous revision.
Make changes as needed:
Revision Alias
An alias for the revision.
Make local revision
Check the box to make the revision local. A local revision that cannot be used in a pipeline.
Revision Description
A description specifically for the revision.
Container Registry
From the dropdown, select the container registry where the image of the function is stored.
Artifact Source
Enter the path on the container registry where the image resides.
Image Tag
Enter the image tag attached to the relevant version of the container image.
Full image path
This is the full path to the image. It is formed automatically from the container registry, artifact source and image tag values that you supply.
Click Update Function.
The new revision is created and listed in the Functions page as a revision of the original function.
Deleting a Function
From the left navigation menu, select Manage Elements (
) and then Functions.Right-click the function and select Delete and then confirm the deletion.