Orchestrator Function: VCFA Host Update

by Simon Sparks · 28 February 2026

To use this function add it to the class library file named OrchestratorPluginVCFAService.ts

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: OrchestratorPluginVCFAService.ts

Public Function: VcfaHostUpdate

publicVcfaHostUpdate(strDisplayName:string,strHostnameFQDN:string,strOrganization:string,strVcfaApiToken:string,strKubernetesAPIVersion:string,strSessionMode:"Shared Session"|"Per User Session",objVCFAHost:VCFAHost):boolean{

letobjRequest:any={
name:strDisplayName,
host:strHostnameFQDN,
tenant:strOrganization,
sessionMode:strSessionMode,
apiToken:strVcfaApiToken,
k8sApiVersion:strKubernetesAPIVersion
};

try{
VCFAHostManager.update(objRequest,objVCFAHost);

letblnValid:boolean=objVCFAHost.validate();

if (blnValid===true){
returntrue;
}
else{
returnfalse;
}
}
catch (objException){
returnfalse;
}
}
TypeScript

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like