Skip to content

Commit 57ebd4a

Browse files
authored
Update Set-AzApiManagement.md
1 parent 97ad57e commit 57ebd4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Set-AzApiManagement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ PS C:\> $apim = Get-AzApiManagement -ResourceGroupName "ContosoGroup" -Name "Con
2929
PS C:\> $apim.Sku = "Premium"
3030
PS C:\> $apim.Capacity = 5
3131
PS C:\> $apim.AddRegion("Central US", "Premium", 3)
32-
PS C:\>Set-AzApiManagement -ApiManagement $apim
32+
PS C:\>Set-AzApiManagement -InputObject $apim
3333
```
3434

3535
This example gets an Api Management instance, scales it to five premium units and then adds an additional three units to the premium region.
@@ -40,7 +40,7 @@ PS C:\> $virtualNetwork = New-AzApiManagementVirtualNetwork -Location "East US"
4040
PS C:\> $apim = Get-AzApiManagement -ResourceGroupName "ContosoGroup" -Name "ContosoApi"
4141
PS C:\> $apim.VpnType = "External"
4242
PS C:\> $apim.VirtualNetwork = $virtualNetwork
43-
PS C:\> Set-AzApiManagement -ApiManagement $apim
43+
PS C:\> Set-AzApiManagement -InputObject $apim
4444
```
4545

4646
This command updates an existing API Management deployment and joins to an external *VpnType*.

0 commit comments

Comments
 (0)