pillar interface — VMware Salt API
pillar interface
The LoadedMod class allows for the module loaded onto the sub to return custom sequencing, for instance it can be iterated over to return all functions
Delete pillar for the given UUID.
Parameters
| pillar_uuid: | UUID of pillar to delete. |
|---|
Get the access metadata for a pillar entry.
Parameters
| pillar_uuid: | Retrieve metadata for pillar matching this UUID. |
|---|
Get the data for the given pillar. For more information on pillar data, see the VMware Salt documentation on Broadcom's TechDocs.
Parameters
| param pillar_uuid: | UUID of the pillar structure desired. |
|---|---|
| param name: | name for this particular pillar entry |
The return payload is a dict with the following elements:
{ 'count': 100, # total job count 'limit': 50, # results count 'results': [...] # jobs }
Set data in the requested pillar. For more information on pillar data, see the VMware Salt documentation on Broadcom's TechDocs.
Parameters
| pillar: | Data structure to save for this pillar. |
|---|---|
| pillar_type: | Type of pillar |
| pillar_uuid: | UUID for pillar--if blank a new one will be generated |
| name: | Name for this particular pillar entry |
| desc: | Text describing this pillar entry. |
Save the access metadata for a target group.
Parameters
| pillar_uuid: | Save metadata for pillar matching this UUID. |
|---|---|
| access_payload: | Dictionary containing role names as keys and a list of allowed access types as values |