new stv1 api management for migration testing

CA Gary Mastin 20 Reputation points
2024-05-30T20:22:29.82+00:00

Is there any way to stand up a new instance of API management stv1 for migration testing? We currently only have a production version of stv1 and would like to create a development version to test the migration.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,117 questions
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 27,176 Reputation points
    2024-05-31T05:28:38.0866667+00:00

    @CA Gary Mastin Thanks for reaching out. To create an APIM instance in stv1 Platform you need to create APIM with VNET not specifying a management public IP creates the resource in stv1.

    User's image

    Refer: https://techcommunity.microsoft.com/t5/azure-paas-blog/compute-platform-versions-for-azure-api-management-service/ba-p/2836971

    You can use below powershell command to create APIM in STV1

    $virtualNetwork = New-AzApiManagementVirtualNetwork -SubnetResourceId "/subscriptions/a8ff56dc-3bc7-4174-b1e8-3726ab15d0e2/resourceGroups/ContosoGroup/providers/Microsoft.Network/virtualNetworks/westUsVirtualNetwork/subnets/backendSubnet"
    
    New-AzApiManagement -ResourceGroupName "ContosoGroup" -Location "West US" -Name "ContosoApi" -Organization Contoso -AdminEmail admin@contoso.com -VirtualNetwork $virtualNetwork -VpnType "External" -Sku "Premium"
    

    Refer: https://video2.skills-academy.com/en-us/powershell/module/az.apimanagement/new-azapimanagement?view=azps-12.0.0#example-7-create-an-api-management-service-for-an-external-virtual-network-for-stv1

    do let me know incase of further queries, I would be happy to assist you.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.