Skip to content

Files

Latest commit

1c79896 · Apr 26, 2022

History

History
69 lines (42 loc) · 4.26 KB

vscode-create-service-instance.md

File metadata and controls

69 lines (42 loc) · 4.26 KB
title description ms.service ms.workload author ms.author ms.topic ms.date ms.custom
Create an Azure API Management instance using Visual Studio Code | Microsoft Docs
Visual Studio Code to create an Azure API Management instance.
api-management
integration
dlepow
danlep
quickstart
04/26/2022
mode-api, devdivchpfy22

Quickstart: Create a new Azure API Management service instance using Visual Studio Code

Azure API Management (APIM) helps organizations publish APIs to external, partner, and internal developers to unlock the potential of their data and services. API Management provides the core competencies to ensure a successful API program through developer engagement, business insights, analytics, security, and protection. APIM lets you create and manage modern API gateways for existing backend services hosted anywhere. For more information, see the Overview topic.

This quickstart describes the steps to create a new API Management instance using the Azure API Management Extension for Visual Studio Code. You can also use the extension to do common management actions on your API Management instance.

Prerequisites

[!INCLUDE quickstarts-free-trial-note]

Also, ensure you've installed the following:

Sign in to Azure

Launch Visual Studio Code and open the Azure extension. (If you don't see the Azure icon on the Activity Bar, make sure the Azure API Management extension is enabled.)

Select Sign in to Azure... to launch a browser window and sign in to your Microsoft account.

Sign in to Azure from the API Management extension for VS Code

Create an API Management service

Once you're signed in to your Microsoft account, the Azure: API Management explorer pane will list your Azure subscription(s).

Right-click on the subscription you'd like to use, and select Create API Management in Azure.

Create API Management wizard in VS Code

In the pane that opens, supply a name for the new API Management instance. It must be globally unique within Azure and consist of 1-50 alphanumeric characters and/or hyphens. It should also start with a letter and end with an alphanumeric character.

A new API Management instance (and parent resource group) will be created with the specified name. By default, the instance is created in the West US region with Consumption SKU.

Tip

If you enable Advanced Creation in the Azure API Management Extension Settings, you can also specify an API Management SKU, Azure region, and a resource group to deploy your API Management instance.

While the Consumption SKU takes less than a minute to set up, other SKUs typically take 30-40 minutes to create.

At this point, you're ready to import and publish your first API. You can do that and also do common API Management actions within the extension for Visual Studio Code. See the tutorial for more.

Newly created API Management instance in VS Code API Management extension pane

Clean up resources

When no longer needed, remove the API Management instance by right-clicking and selecting Open in Portal to delete the API Management service and its resource group.

Alternately, you can select Delete API Management to only delete the API Management instance (this action doesn't delete its resource group).

Delete API Management instance from VS Code

Next steps

[!div class="nextstepaction"] Import and manage APIs using the API Management Extension