| Description | : This operation lists all the built-in policy definition versions for all built-in policy definitions. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "PolicyDefinitionVersions_ListAllBuiltins",
"$responses": {
"200": {
"$properties": {
"value": {
"$properties": {
"properties": [
{
"externalEvaluationEnforcementSettings": [
{
"#name": "missingTokenAction",
"Description": {
"new": "What to do when evaluating an enforcement policy that requires an external evaluation and the token is missing. Possible values are Audit and Deny and language expressions are supported.",
"old": "What to do when evaluating an enforcement policy that requires an external evaluation and the token is missing. Possible values are Audit and Deny."
}
},
{
"#name": "resultLifespan",
"Description": {
"new": "The lifespan of the endpoint invocation result after which it's no longer valid. Value is expected to follow the ISO 8601 duration format and language expressions are supported.",
"old": "The lifespan of the endpoint invocation result after which it's no longer valid. Value is expected to follow the ISO 8601 duration format."
}
}
]
}
]
}
}
}
}
}
}
⚼ Request
POST:
/providers/Microsoft.Authorization/listPolicyDefinitionVersions
{
api-version:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
properties:
{
,
policyType:
enum
,
mode:
string
,
displayName:
string
,
description:
string
,
policyRule:
object
,
metadata:
object
,
parameters:
object
,
version:
string
,
externalEvaluationEnforcementSettings:
}
{
,
missingTokenAction:
string
,
resultLifespan:
string
,
endpointSettings:
{
,
kind:
string
,
details:
object
,
}
roleDefinitionIds:
}
[
,
string
,
]
id:
string
,
name:
string
,
type:
string
,
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}