VMware Cloud Community
Windspirit
Hot Shot
Hot Shot
Jump to solution

DRS rules DELETE?

Hi all,

So I found this lovely post https://communities.vmware.com/t5/vRealize-Orchestrator/vRO-Workflow-to-Place-vCD-vAPP-VM-s-in-a-DRS... 

That helped me to get the DRS rules going...BUT...anyone an idea how to delete them. Its properly staring me in the face but I have been hacking around for a bit and cant seam to get it done.

Looking at the API for it...its properly via the Array.remove...BUT...not getting it,

thanks

 

0 Kudos
1 Solution

Accepted Solutions
Windspirit
Hot Shot
Hot Shot
Jump to solution

Well...sometimes....looking helps.

VRO 8.8 has the funktion inbuild in Libary/vCenter/Cluster and Compute resources/Remove virtual machine DRS group from cluster

and it was remove...just didn't do it right

MyVCClusterDRSConfigExSpec.groupSpec[0].operation =  VcArrayUpdateOperation.remove;
MyVCClusterDRSConfigExSpec.groupSpec[0].removeKey =  vm_group;

View solution in original post

0 Kudos
1 Reply
Windspirit
Hot Shot
Hot Shot
Jump to solution

Well...sometimes....looking helps.

VRO 8.8 has the funktion inbuild in Libary/vCenter/Cluster and Compute resources/Remove virtual machine DRS group from cluster

and it was remove...just didn't do it right

MyVCClusterDRSConfigExSpec.groupSpec[0].operation =  VcArrayUpdateOperation.remove;
MyVCClusterDRSConfigExSpec.groupSpec[0].removeKey =  vm_group;
0 Kudos