Skip to content

Commit b34cb07

Browse files
committed
review
1 parent 58f9e98 commit b34cb07

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

articles/api-center/import-api-management-apis.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ This article shows two options for using the Azure CLI to add APIs to your API c
2626

2727
After importing API definitions or APIs from API Management, you can add metadata and documentation in your API center to help stakeholders discover, understand, and consume the API.
2828

29-
> [!VIDEO https://www.youtube.com/embed/SuGkhuBUV5k]
30-
3129
## Prerequisites
3230

3331
* An API center in your Azure subscription. If you haven't created one, see [Quickstart: Create your API center](set-up-api-center.md).
@@ -236,14 +234,14 @@ In the following command, substitute the names of your API center, your API cent
236234
#! /bin/bash
237235
az apic import-from-apim --service-name <api-center-name> --resource-group <resource-group-name> \
238236
--apim-name <api-management-name> --apim-resource-group <api-management-resource-group-name> \
239-
--apim-apis *
237+
--apim-apis '*'
240238
```
241239

242240
```azurecli
243241
# PowerShell syntax
244242
az apic import-from-apim --service-name <api-center-name> --resource-group <resource-group-name> `
245243
--apim-name <api-management-name> --apim-resource-group <api-management-resource-group-name> `
246-
--apim-apis *
244+
--apim-apis '*'
247245
```
248246

249247
> [!NOTE]
@@ -253,24 +251,23 @@ az apic import-from-apim --service-name <api-center-name> --resource-group <reso
253251

254252
Specify an API to import using its name from the API Management instance.
255253

256-
In the following command, substitute the names of your API center, your API center's resource group, your API Management instance, and your instance's resource group. In `<api-name>`, specify an API name from the API Management instance.
254+
In the following command, substitute the names of your API center, your API center's resource group, your API Management instance, and your instance's resource group. Pass an API name such as `petstore-api` using the`--apim-apis` parameter.
257255

258256
```azurecli
259257
#! /bin/bash
260258
import-from-apim --service-name <api-center-name> --resource-group <resource-group-name> \
261259
--apim-name <api-management-name> --apim-resource-group <api-management-resource-group-name> \
262-
--apim-apis <api-name>
260+
--apim-apis 'petstore-api'
263261
```
264262

265263

266264
```azurecli
267265
# PowerShell syntax
268266
import-from-apim --service-name <api-center-name> --resource-group <resource-group-name> `
269267
--apim-name <api-management-name> --apim-resource-group <api-management-resource-group-name> `
270-
--apim-apis <api-name>
268+
--apim-apis 'petstore-api'
271269
```
272270

273-
274271
> [!NOTE]
275272
> Specify an API name using the API resource name in the API Management instance, not the display name. Example: `petstore-api` instead of `Petstore API`.
276273

articles/api-center/includes/install-apic-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ ms.custom: Include file
1414
> [!NOTE]
1515
> `az apic` commands require the `apic-extension` Azure CLI extension. If you haven't used `az apic` commands, the extension can be installed dynamically when you run your first `az apic` command, or you can install the extension manually. Learn more about [Azure CLI extensions](/cli/azure/azure-cli-extensions-overview).
1616
>
17-
> Learn about [updates and breaking changes](https://github.com/Azure/azure-cli-extensions/tree/main/src/apic-extension) in the latest version of the `apic-extension`.
17+
> Learn about [updates and changes](https://github.com/Azure/azure-cli-extensions/blob/main/src/apic-extension/HISTORY.rst) in the latest release of the `apic-extension`.

0 commit comments

Comments
 (0)