File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ResourceManager/ApiManagement/Commands.ApiManagement/help Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ PS C:\> $apim = Get-AzApiManagement -ResourceGroupName "ContosoGroup" -Name "Con
29
29
PS C:\> $apim.Sku = "Premium"
30
30
PS C:\> $apim.Capacity = 5
31
31
PS C:\> $apim.AddRegion("Central US", "Premium", 3)
32
- PS C:\>Set-AzApiManagement -ApiManagement $apim
32
+ PS C:\>Set-AzApiManagement -InputObject $apim
33
33
```
34
34
35
35
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"
40
40
PS C:\> $apim = Get-AzApiManagement -ResourceGroupName "ContosoGroup" -Name "ContosoApi"
41
41
PS C:\> $apim.VpnType = "External"
42
42
PS C:\> $apim.VirtualNetwork = $virtualNetwork
43
- PS C:\> Set-AzApiManagement -ApiManagement $apim
43
+ PS C:\> Set-AzApiManagement -InputObject $apim
44
44
```
45
45
46
46
This command updates an existing API Management deployment and joins to an external * VpnType* .
You can’t perform that action at this time.
0 commit comments