vcf_nsx_role_binding

State module for NSX RBAC role bindings.

Role bindings are looked up by name (e.g. an LDAP user/group). The state matches against the name field returned by the list endpoint since the id is server-generated. For idempotency, present updates the existing binding’s roles when found by name, and creates a new one otherwise.

saltext.vcf.states.vcf_nsx_role_binding.present(name, type_, roles, profile=None, **spec)[source]

Ensure a role binding for principal name exists with the given roles.