Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Creates a new APIM.
# Create an API Management VNET object
$apimVirtualNetwork = New-AzApiManagementVirtualNetwork -SubnetResourceId $apimsubnetdata.Id
# Create an API-M service inside the VNET
$apimServiceName = "aumanager-apim"
$apimOrganization = "Americas University"
$apimAdminEmail = "{alias}@americasuniversity.net"
$apimService = New-AzApiManagement `
-ResourceGroupName $resGroupName `
-Location $location `
-Name $apimServiceName `
-Organization $apimOrganization `
-AdminEmail $apimAdminEmail `
-VirtualNetwork $apimVirtualNetwork `
-VpnType "Internal" `
-Sku "Developer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment