To use this function add it to the class library file named OrchestratorService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: OrchestratorService.ts
Description: Orchestrator Function to add a vCAC Host to Orchestrator
Function: VCACHostCreate
publicVCACHostCreate(strUrl:string,strUsername:string,strPassword:string):vCACHost{
letobjVCACHostProperties={
name:"vCAC",
hostAddress:strUrl,
type:"NTLM",
sessionMode:"Shared Session",
username:strUsername,
password:strPassword,
workstation:"",
domain:"DOMAIN-NAME",
connectionTimeout:30.0,
operationTimeout:60.0
};
letobjVCACHost:vCACHost=vCACVcacHostManager.addVcacHost(objVCACHostProperties);
returnobjVCACHost;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
