Get Decisions Using GET

Get Decisions Using GET

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.

Request
URI
GET
https://{api_host}//api.mgmt.cloud.vmware.com/policy/api/policyDecisions
COPY
Query Parameters
string
dryRunId
Optional

dryRunId

integer
page
Optional

Results page you want to retrieve (0..N)

string
search
Optional

Matches will start with this string in their policy name or target name or have this string somewhere in their description.

integer
size
Optional

Number of records per page.

size example
20
string of array
sort
Optional

Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.


Responses
200

OK

Returns PolicyDecisionOfObjectNode of type(s) */*
{
    "description": "string",
    "dryRunId": "string",
    "enforcementTaskId": "string",
    "id": "string",
    "orgId": "string",
    "policies": [
        {
            "enforcementType": "string",
            "id": "string",
            "name": "string",
            "projectId": "string",
            "rank": 0,
            "status": "string"
        }
    ],
    "projectId": "string",
    "targetId": "string",
    "targetName": "string",
    "timestamp": "string",
    "typeId": "string"
}
string
description
Optional

description

string As uuid As uuid
dryRunId
Optional

dryRunId

object
effectivePolicyDefinition
Optional

effectivePolicyDefinition

string As uuid As uuid
enforcementTaskId
Optional

enforcementTaskId

string As uuid As uuid
id
Optional

id

string
orgId
Optional

orgId

policies
Optional

policies

string
projectId
Optional

projectId

string
targetId
Optional

targetId

string
targetName
Optional

targetName

string As date-time As date-time
timestamp
Optional

timestamp

string
typeId
Optional

typeId


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure