To use this function add it to the class library file named vCenterServerService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: vCenterServerService.ts
Public Function: VcClusterComputeResourceConfigureDns
public VcClusterComputeResourceConfigureDns(objVcClusterComputeResource: VcClusterComputeResource, arrDnsAddress: string[], strDnsDomainName: string, arrDnsSearchDomain: string[]): void {
let arrVcHostSystem: VcHostSystem[] = objVcClusterComputeResource.host;
arrVcHostSystem.forEach((objVcHostSystem: VcHostSystem): void => {
this.VcHostSystemConfigureDns(objVcHostSystem, arrDnsAddress, strDnsDomainName, arrDnsSearchDomain);
});
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
