Dry Run Policy Using POST
Dry-run an existing policy to rehearse actual policy effect on application.
Request
URI
POST
https://{api_host}//api.mgmt.cloud.vmware.com/policy/api/policies
COPY
Query Parameters
string
dryRun
Required
dryRun
Request Body
The policy to be created
Policy of type(s) application/json
Optional
{
"createdAt": "string",
"createdBy": "string",
"criteria": {
"matchExpression": [
{}
]
},
"description": "string",
"enforcementType": "string",
"id": "string",
"lastUpdatedAt": "string",
"lastUpdatedBy": "string",
"name": "string",
"orgId": "string",
"projectId": "string",
"statistics": {
"conflictCount": 0,
"enforcedCount": 0,
"notEnforcedCount": 0
},
"typeId": "string"
}
string As date-time As date-time
createdAt
Optional
createdAt
string
createdBy
Optional
createdBy
object
definition
Optional
definition
string
description
Optional
description
string
enforcementType
Optional
enforcementType
Possible values are : SOFT, HARD,
string As uuid As uuid
id
Optional
id
string As date-time As date-time
lastUpdatedAt
Optional
lastUpdatedAt
string
lastUpdatedBy
Optional
lastUpdatedBy
string
name
Optional
name
string
orgId
Optional
orgId
string
projectId
Optional
projectId
string
typeId
Optional
typeId
Responses
200
OK
Operation doesn't return any data structure
201
Created
Operation doesn't return any data structure
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