Function: Add a vCAC Host

by Simon Sparks · 1 June 2025

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

public VCACHostCreate(strUrl: string, strUsername: string, strPassword: string): vCACHost {
    let objVCACHostProperties = {
        name: "vCAC",
        hostAddress: strUrl,
        type: "NTLM",
        sessionMode: "Shared Session",
        username: strUsername,
        password: strPassword,
        workstation: "",
        domain: "DOMAIN-NAME",
        connectionTimeout: 30.0,
        operationTimeout: 60.0
    };

    let objVCACHost: vCACHost = vCACVcacHostManager.addVcacHost(objVCACHostProperties);

    return objVCACHost;
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like