1

Orchestrator Workflow Action to Add a REST Host with No Credentials

by Simon Sparks · 1 May 2013

The following script adds a REST Host with No Credentials

let arrAuthenticationParams:string[] = ["Per User Session", "", ""];

let objRESTAuthentication:RESTAuthentication = RESTAuthenticationManager.createAuthentication("Basic", arrAuthenticationParams);

let objRESTHost:RESTHost = new RESTHost("fqdn.cloudbuildtools.com - No Credentials");
objRESTHost.url = "https://fqdn.cloudbuildtools.com:443/";
objRESTHost.connectionTimeout = 30.0;
objRESTHost.operationTimeout = 60.0;
objRESTHost.authentication = objRESTAuthentication;

objRESTHost = RESTHostManager.addHost(objRESTHost);

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like