policydecisions#
- async idem_vra.exec.vra.catalog.policydecisions.get_decision_by_id_using_get2(hub, ctx, p_id, **kwargs)[source]#
Returns a policy decision by id. Find a specific policy decision based on the input policy decision id. Performs GET /policy/api/policyDecisions/{id}
- Parameters:
p_id (string) – (required in path) Policy decision Id
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
- async idem_vra.exec.vra.catalog.policydecisions.get_decisions_using_get2(hub, ctx, **kwargs)[source]#
- Fetch a list of policy decisions. Returns a paginated list of policy decisions. If a dryRunId is provided, the
return value has a field indicating whether the dry run is complete. Performs GET /policy/api/policyDecisions
- Parameters:
orderby (array) – (optional in query) Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
skip (integer) – (optional in query) Number of records you want to skip
top (integer) – (optional in query) Number of records you want
apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). If you do not specify explicitly an exact version, you will be calling the latest supported API version.
dryRunId (string) – (optional in query) dryRunId
policyTypeId (string) – (optional in query) Matches will only include policies of this type
projectId (string) – (optional in query) Matches will only include decisions with this project ID
search (string) – (optional in query) Matches will start with this string in their policy name or target name or have this string somewhere in their description.