Getting Started with Service Endpoints

Service Endpoints Concepts

Service Endpoints extension provides the capabilities to execute code to validate and populate prompts in request template wizards. Currently Azure Functions hosted in Azure Stack and Azure are supported. When Service Endpoints are called, a data-object is attached to the call that lets the Service Endpoint get access to user information and previous selections in the wizard.

Activating Service Endpoints Extension

Activating the Service Endpoint extension is a simple task.

Open the EvOps Account that you want to activate the extension in

Click Extensions

Click Add

Select Service Endpoints from the list

Click Activate

When extension has been activated successfully, open Service Endpoint extension and verify that it's healthy by reviewing the health graph

Done

How to Write Your Function

There are many different types of functions in Azure Functions. For EvOps integration, HTTP triggered functions are used. In this document we show samples with PowerShell, but you can use C# or JavaScript or any other of the supported languages when writing your functions.

Quick Guide Creating a Function

Expand your Function App

Click +

Check Experimental Language Support

Click PowerShell in the HTTP trigger section

Provide Name and select Function as Authorization level, then click Create

Now you are ready to start writing your function

Function App PowerShell Samples

Remote Source Function

This script will use values of the wizard prompts with Prompt id purpose and role and construct a service name using a randomized number. This script shows the basic capabilities but can of course be extended with advanced functions and integrations.