File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ApiManagement/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 @@ -43,13 +43,13 @@ This command subscribes an existing user to a product.
43
43
### Example 2: Create a subscription for all Api Scope
44
44
``` powershell
45
45
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
46
- New-AzApiManagementSubscription -Context $context -Scope "/apis" -Name "GlobalApiScope"
46
+ New-AzApiManagementSubscription -Context $apimContext -Scope "/apis" -Name "GlobalApiScope"
47
47
```
48
48
49
49
### Example 3: Create a subscription for Product Scope
50
50
``` powershell
51
51
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
52
- New-AzApiManagementSubscription -Context $context -Scope "/products/starter" -Name "UnlimitedProductSub"
52
+ New-AzApiManagementSubscription -Context $apimContext -Scope "/products/starter" -Name "UnlimitedProductSub"
53
53
```
54
54
55
55
## PARAMETERS
You can’t perform that action at this time.
0 commit comments