Skip to content

Commit a905e0f

Browse files
Merge pull request #304093 from juliamwang6/patch-8
Update get-resource-changes.md with client type and message about pro…
2 parents 1708bc9 + d3105cd commit a905e0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/governance/resource-graph/changes/get-resource-changes.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In this article, you learn:
2020
- How to query resource changes through Resource Graph using either the CLI, PowerShell, or the Azure portal.
2121
- Query examples and best practices for querying resource changes.
2222
- Change analysis uses _Change Actor_ functionality:
23-
- `changedBy`: Who initiated a change in your resource, like an app ID or authorized person's email address.
23+
- `changedBy`: Who initiated a change in your resource, like an application ID or authorized person's email address.
2424
- `clientType`: Which client made the change, like _Azure portal_.
2525
- `operation`: Which [operation](../../../role-based-access-control/resource-provider-operations.md) was called, like `Microsoft.Compute/virtualmachines/write`. The `operation` field in the resource changes data represents the [Azure role-based access control permissions](../../../role-based-access-control/resource-provider-operations.md) used to initiate the change.
2626

@@ -31,7 +31,7 @@ In this article, you learn:
3131

3232
## Understand change event properties
3333

34-
When a resource is created, updated, or deleted, a new change resource (`Microsoft.Resources/changes`) is created to extend the modified resource and represent the changed properties. Change records should be available in less than five minutes. The following example JSON payload demonstrates the change resource properties:
34+
When a resource is created, updated, or deleted, a new change resource (`Microsoft.Resources/changes`) is created to extend the modified resource and represent the changed properties. Change records should be available in less than five minutes. Some change details may show up before others. The following example JSON payload demonstrates the change resource properties:
3535

3636
```json
3737
{
@@ -69,6 +69,8 @@ The `operation` field in the resource changes data represents the [Azure role-ba
6969

7070
For understanding the type of change that was captured in the resource (i.e. Create, Delete, Update), we recommend that you use the `changeType` field rather than the `operation` field, which instead represents the [Azure role-based access control permissions](../../../role-based-access-control/resource-provider-operations.md) used to initiate the change.
7171

72+
If the client type is known, the `clientType` field will show the client name, such as "Azure Portal." If the client is supplied but not known, the field will show the client application ID.
73+
7274
> [!NOTE]
7375
> Snapshots are not currently supported for deleted resources.
7476
> For records with `changeType`: Delete, the `changesCount` is shown as 0 because the resource itself gets deleted, and there are no properties remaining. For records with `changeType`: Create, the `changesCount` is also shown as 0 because every resource property gets modified during resource creation, and logging every property change would cause too much noise.

0 commit comments

Comments
 (0)