Skip to content

Commit 39d6946

Browse files
authored
[ARM] az resource list: Include provisioningState property in table output (#32156)
1 parent 80360f8 commit 39d6946

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/resource

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/resource/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def transform_resource_list(result):
6767
for r in result:
6868
res = OrderedDict([('Name', r['name']), ('ResourceGroup', r['resourceGroup']), ('Location', r['location']), ('Type', r['type'])])
6969
try:
70-
res['Status'] = r['properties']['provisioningStatus']
70+
res['Status'] = r['provisioningState']
7171
except TypeError:
7272
res['Status'] = ' '
7373
transformed.append(res)

0 commit comments

Comments
 (0)