Skip to content

Conversation

@ljlapierre
Copy link

Create example script demonstrating how to add contact assignments to a virtual machine.

I'm not a python developer, most of this was adapted from the create_vm.py. I couldn't find documentation on how to create the VM object type, which is fairly unique to contact assignments, so this is for the next person who comes along with the same problem.

Create example script demonstrating how to add contact assignments to a virtual machine.

I'm not a python developer, most of this was adapted from the create_vm.py. I couldn't find a lot of documentation on how to create the VM object type, so this is for the next person who comes along with the same problem.
…s_to_vm.py

Create assign_contacts_to_vm.py script
@cruse1977
Copy link
Member

Hi, on 4.4.4 this errors out as a role is not specified

image

@ljlapierre
Copy link
Author

Hi there, thanks for reviewing!

My original script required a specific owner role to exist, I've updated to have the user dynamically select the role.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants