Skip to content

Commit 79632df

Browse files
committed
Updated examples on the help page
1 parent 5cd328a commit 79632df

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Resources/Resources/help/Get-AzResource.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ ResourceGroupName : testRG
101101
ResourceType : Microsoft.Compute/virtualMachines
102102
Location : westus
103103
ResourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM
104+
Tags :
105+
Name Value
106+
====== ========
107+
Dept IT
108+
Year 2002
109+
Status Approved
104110
```
105111

106112
This command gets all of the resources whose resource name is "testVM".
@@ -142,6 +148,12 @@ ResourceGroupName : testRG
142148
ResourceType : Microsoft.Compute/virtualMachines
143149
Location : westus
144150
ResourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM
151+
Tags :
152+
Name Value
153+
====== ========
154+
Dept IT
155+
Year 2002
156+
Status Approved
145157
```
146158

147159
This command gets the resource with the provided resource id, which is a virtual machine called "testVM" in the resource group "testRG".

0 commit comments

Comments
 (0)