File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- ---
1
+ ---
2
2
external help file : Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml
3
3
Module Name : Az.Compute
4
4
online version : https://docs.microsoft.com/en-us/powershell/module/az.compute/update-azimage
@@ -26,17 +26,17 @@ Currently, only the Tags can be updated.
26
26
### Example 1
27
27
```
28
28
PS C:\> $image = Get-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01'
29
- PS C:\> $image.Tags = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]";
30
- PS C:\> $image.Tags.Add("key1", "val1");
31
- PS C:\> Update-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -Image $image;
29
+ PS C:\> $image.Tags = New-Object "System.Collections.Generic.Dictionary``2[System.String,System.String]"
30
+ PS C:\> $image.Tags.Add("key1", "val1")
31
+ PS C:\> Update-AzImage -ResourceGroupName 'ResourceGroup01' -ImageName 'Image01' -Image $image
32
32
```
33
33
34
34
This command updates the Tag value of the existing image 'Image01' in the resource group 'ResourceGroup01'.
35
35
36
36
## PARAMETERS
37
37
38
38
### -AsJob
39
- Run cmdlet in the background
39
+ Run cmdlet in the background.
40
40
41
41
``` yaml
42
42
Type : System.Management.Automation.SwitchParameter
You can’t perform that action at this time.
0 commit comments