Reputation: 13
Is there a way to get list of API products via Azure RM powershell module?
In Az powershell module it can be done with command Get-AzApiManagementProduct by pasing -ApiId to it.
Upvotes: 0
Views: 694
Reputation: 20067
You could use Get-AzureRmApiManagementProduct
with New-AzureRmApiManagementContext
to get the list of api product.
$ApiMgmtContext = New-AzureRmApiManagementContext -ResourceGroupName "yourresourcegroup" -ServiceName "yourapimname"
Get-AzureRmApiManagementProduct -Context $ApiMgmtContext -ApiId $apiname
Upvotes: 2