diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json index 728d607618f3..b4e396c5bf5c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json @@ -239,6 +239,9 @@ "items": { "$ref": "#/definitions/PolicyTrackedResource" }, + "x-ms-identifiers": [ + "trackedResourceId" + ], "readOnly": true }, "nextLink": { diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json index 4ab47f3b2a5d..0d4f2c90c314 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json @@ -699,7 +699,8 @@ "type": "array", "items": { "$ref": "#/definitions/PolicyEvent" - } + }, + "x-ms-identifiers": [] } } }, diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json index c8bfc024dbab..71c72973e37c 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json @@ -260,6 +260,7 @@ "items": { "$ref": "#/definitions/ErrorDefinition" }, + "x-ms-identifiers": [], "readOnly": true }, "additionalInfo": { @@ -268,6 +269,7 @@ "items": { "$ref": "#/definitions/TypedErrorInfo" }, + "x-ms-identifiers": [], "readOnly": true } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json index d64a6edeabf9..bd861dfbf020 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json @@ -1229,7 +1229,8 @@ "type": "array", "items": { "$ref": "#/definitions/PolicyState" - } + }, + "x-ms-identifiers": [] } } }, @@ -1398,7 +1399,8 @@ "type": "array", "items": { "$ref": "#/definitions/ExpressionEvaluationDetails" - } + }, + "x-ms-identifiers": [] }, "ifNotExistsDetails": { "description": "Evaluation details of IfNotExists effect.", @@ -1505,7 +1507,8 @@ "type": "array", "items": { "$ref": "#/definitions/Summary" - } + }, + "x-ms-identifiers": [] } } }, @@ -1529,7 +1532,10 @@ "type": "array", "items": { "$ref": "#/definitions/PolicyAssignmentSummary" - } + }, + "x-ms-identifiers": [ + "policyAssignmentId" + ] } } }, @@ -1557,21 +1563,24 @@ "type": "array", "items": { "$ref": "#/definitions/ComplianceDetail" - } + }, + "x-ms-identifiers": [] }, "policyDetails": { "description": "The policy artifact summary at this level. For query scope level, it represents policy assignment summary. For policy assignment level, it represents policy definitions summary.", "type": "array", "items": { "$ref": "#/definitions/ComplianceDetail" - } + }, + "x-ms-identifiers": [] }, "policyGroupDetails": { "description": "The policy definition group summary at this level.", "type": "array", "items": { "$ref": "#/definitions/ComplianceDetail" - } + }, + "x-ms-identifiers": [] } } }, @@ -1609,14 +1618,20 @@ "type": "array", "items": { "$ref": "#/definitions/PolicyDefinitionSummary" - } + }, + "x-ms-identifiers": [ + "policyDefinitionId" + ] }, "policyGroups": { "description": "Policy definition group summary.", "type": "array", "items": { "$ref": "#/definitions/PolicyGroupSummary" - } + }, + "x-ms-identifiers": [ + "policyGroupName" + ] } } }, @@ -1695,7 +1710,10 @@ "type": "array", "items": { "$ref": "#/definitions/Operation" - } + }, + "x-ms-identifiers": [ + "name" + ] } } }, diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2020-07-01/checkPolicyRestrictions.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2020-07-01/checkPolicyRestrictions.json index f1bf4d7106fd..29439784f0bf 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2020-07-01/checkPolicyRestrictions.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2020-07-01/checkPolicyRestrictions.json @@ -131,7 +131,10 @@ "type": "array", "items": { "$ref": "#/definitions/PendingField" - } + }, + "x-ms-identifiers": [ + "field" + ] } }, "required": [ @@ -186,6 +189,9 @@ "items": { "$ref": "#/definitions/FieldRestrictions" }, + "x-ms-identifiers": [ + "field" + ], "readOnly": true }, "contentEvaluationResult": { @@ -196,7 +202,13 @@ "type": "array", "items": { "$ref": "#/definitions/PolicyEvaluationResult" - } + }, + "x-ms-identifiers": [ + "/policyInfo/policyDefinitionId", + "/policyInfo/policySetDefinitionId", + "/policyInfo/policyDefinitionReferenceId", + "/policyInfo/policyAssignmentId" + ] } }, "readOnly": true @@ -216,7 +228,8 @@ "type": "array", "items": { "$ref": "#/definitions/FieldRestriction" - } + }, + "x-ms-identifiers": [] } } }, diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-01-01/attestations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-01-01/attestations.json index 753e944098c5..08acec5cffd1 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-01-01/attestations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-01-01/attestations.json @@ -639,6 +639,7 @@ "items": { "$ref": "#/definitions/AttestationEvidence" }, + "x-ms-identifiers": [], "description": "The evidence supporting the compliance state set in this attestation." }, "provisioningState": { @@ -704,6 +705,7 @@ "items": { "$ref": "#/definitions/ErrorDefinition" }, + "x-ms-identifiers": [], "readOnly": true }, "additionalInfo": { @@ -712,6 +714,7 @@ "items": { "$ref": "#/definitions/TypedErrorInfo" }, + "x-ms-identifiers": [], "readOnly": true } } diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json index 77edbba85dee..8a58d4123c7f 100644 --- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json +++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/remediations.json @@ -1078,6 +1078,9 @@ "items": { "$ref": "#/definitions/RemediationDeployment" }, + "x-ms-identifiers": [ + "remediatedResourceId" + ], "readOnly": true }, "nextLink": { @@ -1318,6 +1321,7 @@ "items": { "$ref": "#/definitions/ErrorDefinition" }, + "x-ms-identifiers": [], "readOnly": true }, "additionalInfo": { @@ -1326,6 +1330,7 @@ "items": { "$ref": "#/definitions/TypedErrorInfo" }, + "x-ms-identifiers": [], "readOnly": true } }