Creates a new APIM.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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