I'm not sure I understood your question.
Do you want to update lease/archive days of an already created Deployment (and its resources) or during the creation of the deployment from a blueprint ?
I worked recently on that complex subject. Maybe I can help you if you give more details.
Thx for replying.. Was wondering if anyone was going to be able to help..
Yes, we're hoping to modify Blueprint Properties to apply during provisioning...i.e. during the creation...
I've attached a screencap of which Properties we're actually targeting.
Ok, can you edit Properties in the Deployment request (as in attachment properties) ?
If you can, just add _leaseDays and _archiveDays values.
I tried, and it's ok for me.
Attachment blueprint : definition of lease and archive
Attachment properties : add properties during request
Attachement result : you can see 5 days of lease and 3 days of archive (even if the definition had 60 days of archive and no lease)
If it's not working, I had problems when archive value was not defined or 0 in the blueprint, re-try with a positive value in the blueprint definition.
Personally, I'm not requesting blueprint directly, but I'm using XaaS Blueprint and request blueprint by code from a vRO workflow script with a JSON payload.
Appreciate the feedback but it's not quite exactly what I'm looking to achieve.
I was essentially looking to update/hard code these Settings in the same manner as though I was within the Design layer of vRA....and I wanted to do this through a vRO Workflow of sorts.
Your tip however is very interesting.. I was not aware you could actually override these particular Settings during the Deployment/Request phase...!! At this point however, we don't have a use case for this... Ideally as well, we really wouldn't want a User to change this type of Setting during a request since we are trying to standardize these Properties.
Again though, thanks for this.