https://pulumi.com logo
#general
Title
# general
b

brief-pencil-59807

03/20/2024, 2:44 PM
Hi All, im trying to create azure Apim (API Managament) in version Stv2 (single tenant v2). but I cant seem to find a property to set the version ? can someone please give me an example
h

hundreds-gpu-71155

03/20/2024, 2:48 PM
that sounds like the SKU? I'm not familiar with APIM
see if the docs give a list of SKUs. I think classic is generally better about that.
b

brief-pencil-59807

03/20/2024, 3:15 PM
okay thanks for the insight, i ll give a try with this:
var apiManagement = new ApiManagementService("myApiManagement", new ApiManagementServiceResourceArgs
{
ResourceGroupName = resourceGroup.Name,
Sku = new ApiManagementServiceSkuPropertiesArgs
{
Name = "S1", // S1 represents the Single Tenant version 2 SKU
Capacity = 1
},
Location = "East US" // Change to your desired location
});