Forum Discussion
Bryan-00
Altocumulus
Nov 05, 2022Delete Node via BIGIQ REST API
After sending a DELETE request to a specific Node resource, I can successfully deploy the change by a POST to deploy-configuration using below body.
Looking at the contents of the body, I can say that what ever changes where done on BIGIQ for those specific BIGIP's, aside from the Node deletion, will all be deployed. Is my understanding correct?
If that is the case, is there something I can put on "objectsToDeployReferences" that will only limit the deployment on the node deletion?
{
"skipVerifyConfig":false,
"skipDistribution":false,
"name":"test_remove_pool_member",
"deviceReferences":[
{
"link":"https://localhost/mgmt/shared/resolver/device-groups/cm-adccore-allbigipDevices/devices/{{device1_id}}"
},
{
"link":"https://localhost/mgmt/shared/resolver/device-groups/cm-adccore-allbigipDevices/devices/{{device2_id}}"
}
],
"objectsToDeployReferences":[],
"deploySpecifiedObjectsOnly":false
}
Thanks in advance!
Bryan-00 - thanks for the question. I see it has not been addressed/resolved yet?
If you still don't have any traction on it I'll see if I can find someone to help.- JRahm
Admin
hi Bryan-00, I haven't used BIG-IQ in this way, but in looking at the documentation, it does appear that you can do a partial deployment by setting deploySpecifiedObjectsOnly to true and then populate objectsToDeployReferences with the objects you want to change. From that doc page:
objectsToDeployReferences array false The list of objects to deploy for a partial deployment. If non-null and non-empty, this is a partial deployment. Otherwise it’s a full deployment. The downstream dependencies of these objects are deployed by default. Setting deploySpecifiedObjectsOnly to true restricts deployment to objects listed in objectsToDeployReferences only, which can cause the deployment to fail if there are missing dependencies.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects