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 Create a DRS Rule on a vCenter Cluster Compute Resource.
Private Function: VcClusterRuleCreate
privateVcClusterRuleCreate(objVcClusterComputeResource:VcClusterComputeResource,objVcClusterRuleSpec:VcClusterRuleSpec):boolean{
letarrVcClusterRuleSpec:VcClusterRuleSpec[]= [];
arrVcClusterRuleSpec.push(objVcClusterRuleSpec);
letblnResult:boolean=this.Reconfigure(objVcClusterComputeResource,null,null,arrVcClusterRuleSpec);
returnblnResult;
}Discover more from Cloud Build Tools
Subscribe to get the latest posts sent to your email.
