Anyone know if it is possible to change the Archive Days (and in turn the Destroy Date) tied to a Deployment and its' Resources (VMs) in vRA 7.3? We were able to do this in 6.2.X (for single VM Blueprints), using the following:
var modelName = 'ManagementModelEntities.svc';
var vCACEntity = vcacVm.getEntity();
var updateProperties = {ExpireDays: expireDays};
var links = {};
System.getModule("com.vmware.library.vcac").updateVCACEntity(vCACHost.id, modelName, "VirtualMachines", vCACEntity.keyString, updateProperties, links, null);
The code still runs, and the vCAC:VirtualMachine is updated as expected but the changes never show up on the Catalog Resource. I assume that this is because of the deployment element being added. Any ideas?