Azure / Azure/azure-powershell

Don't see any option to provide import method type from command [APIM]

Open
#24,311 4 comments 0 reactions 0 assignees View on GitHub
act-observability-squad API Management customer-reported question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

I can see an option to import in APIM by **append+Postfix** as the import method type in UI. Same kind of option I'm unable to get from the Azure Powershell command
https://learn.microsoft.com/en-us/powershell/module/az.apimanagement/import-azapimanagementapi?view=azps-11.3.0

Is there a way to do the same from the command to not override the existing operations?

Import-AzApiManagementApi -Context $apimnewcontext -SpecificationPath $(build.artifactstagingdirectory)/swagger.json -SpecificationFormat OpenApi -Path "organization/v1" -ApiId $(org_apim_api_id) -Protocol Https -ServiceUrl
http://$(org_site_name)

### Script or Debug output

_No response_

### Environment data

_No response_

### Module versions

_No response_

### Error output

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.