APIManagementARMTemplateCreator
APIManagementARMTemplateCreator copied to clipboard
Extract Specific Operation from APIM
@MLogdberg Is there any way, we can extract specific operation from APIM ? I can extract either full APIM configuration or till API level which consists of more than one operation.
I am using below powershell script.
$apimName = 'demo-apim'
$rgName = 'RG-Demo'
$subId = 'XXX-XXX-XXX-XXX'
$tenant = 'XXX.com'
$apiName = "path eq 'order'"
$filename = 'C:\Users\Desktop\term\' + $apimName + '.json'
Get-APIManagementTemplate -APIManagement $apimName -ResourceGroup $rgName -SubscriptionId $subId -TenantName $tenant -APIFilters $apiName -ExportPIManagementInstance $false | Out-File $filename