Skip to content

Commit a82e10c

Browse files
author
Maddie Clayton
committed
fix cmdlet
1 parent a3b6fb9 commit a82e10c

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/ResourceManager/Compute/Commands.Compute/Generated/Image/ImageCreateOrUpdateMethod.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,5 +219,8 @@ public override void ExecuteCmdlet()
219219
ValueFromPipeline = true)]
220220
[AllowNull]
221221
public PSImage Image { get; set; }
222+
223+
[Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")]
224+
public SwitchParameter AsJob { get; set; }
222225
}
223226
}

src/ResourceManager/Compute/Commands.Compute/help/Update-AzureRmImage.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Updates an image.
1313
## SYNTAX
1414

1515
```
16-
Update-AzureRmImage [-ResourceGroupName] <String> [-ImageName] <String> [-Image] <PSImage>
16+
Update-AzureRmImage [-ResourceGroupName] <String> [-ImageName] <String> [-Image] <PSImage> [-AsJob]
1717
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

@@ -31,6 +31,21 @@ This command removes the data disk of logical unit number 1 from the existing im
3131

3232
## PARAMETERS
3333

34+
### -AsJob
35+
Run cmdlet in the background
36+
37+
```yaml
38+
Type: SwitchParameter
39+
Parameter Sets: (All)
40+
Aliases:
41+
42+
Required: False
43+
Position: Named
44+
Default value: None
45+
Accept pipeline input: False
46+
Accept wildcard characters: False
47+
```
48+
3449
### -DefaultProfile
3550
The credentials, account, tenant, and subscription used for communication with azure.
3651

0 commit comments

Comments
 (0)