Skip to content

Commit 177f6b2

Browse files
authored
Merge pull request #192151 from timwarner-msft/patch-9
Remove "Try-It" button from CLI code examples
2 parents c0a9510 + 897fc2a commit 177f6b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ or `-Subscription` parameters.
112112
1. Run your first Azure Resource Graph query:
113113

114114
# [Azure CLI](#tab/azure-cli)
115-
```azurecli-interactive
115+
```azurecli
116116
# Login first with az login if not using Cloud Shell
117117
118118
# Run Azure Resource Graph query
@@ -155,7 +155,7 @@ or `-Subscription` parameters.
155155
2. Update the query to specify a more user-friendly column name for the **timestamp** property:
156156
157157
# [Azure CLI](#tab/azure-cli)
158-
```azurecli-interactive
158+
```azurecli
159159
# Run Azure Resource Graph query with 'extend' to define a user-friendly name for properties.changeAttributes.timestamp
160160
az graph query -q 'resourcechanges | extend changeTime=todatetime(properties.changeAttributes.timestamp) | project changeTime, properties.changeType, properties.targetResourceId, properties.targetResourceType, properties.changes | limit 5'
161161
```
@@ -181,7 +181,7 @@ or `-Subscription` parameters.
181181
3. To get the most recent changes, update the query to `order by` the user-defined **changeTime** property:
182182

183183
# [Azure CLI](#tab/azure-cli)
184-
```azurecli-interactive
184+
```azurecli
185185
# Run Azure Resource Graph query with 'order by'
186186
az graph query -q 'resourcechanges | extend changeTime=todatetime(properties.changeAttributes.timestamp) | project changeTime, properties.changeType, properties.targetResourceId, properties.targetResourceType, properties.changes | order by changeTime desc | limit 5'
187187
```

0 commit comments

Comments
 (0)