To use this function add it to the class library file named PluginVCClusterComputeResourceService.ts
GitHub Repository: https://github.com/SimonSparksUK/Orchestrator
Filename: PluginVCClusterComputeResourceService.ts
Description: Orchestrator Function to Get All DRS Groups from a vCenter Cluster Compute Resource.
Private Function: VcClusterGroupInfoGetAll
private VcClusterGroupInfoGetAll(objVcClusterComputeResource: VcClusterComputeResource): VcClusterGroupInfo[] {
let objVcClusterConfigInfoEx: VcClusterConfigInfoEx = objVcClusterComputeResource.configurationEx as VcClusterConfigInfoEx;
let arrVcClusterGroupInfo: VcClusterGroupInfo[] = objVcClusterConfigInfoEx.group;
return arrVcClusterGroupInfo;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
