From 401cc8770b2b5c4bc1b8bf0bee525650a1774f9b Mon Sep 17 00:00:00 2001 From: Pieter Vandenheede Date: Fri, 25 Feb 2022 16:14:37 +0100 Subject: [PATCH] Updates scirpt samples with correct variable names --- .../ApiManagement/help/New-AzApiManagementSubscription.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementSubscription.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementSubscription.md index 2aa6f9dabbe7..b0cf9ae2ba42 100644 --- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementSubscription.md +++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementSubscription.md @@ -43,13 +43,13 @@ This command subscribes an existing user to a product. ### Example 2: Create a subscription for all Api Scope ```powershell $apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso" -New-AzApiManagementSubscription -Context $context -Scope "/apis" -Name "GlobalApiScope" +New-AzApiManagementSubscription -Context $apimContext -Scope "/apis" -Name "GlobalApiScope" ``` ### Example 3: Create a subscription for Product Scope ```powershell $apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso" -New-AzApiManagementSubscription -Context $context -Scope "/products/starter" -Name "UnlimitedProductSub" +New-AzApiManagementSubscription -Context $apimContext -Scope "/products/starter" -Name "UnlimitedProductSub" ``` ## PARAMETERS