Hello Dushanta, Welcome to MS Q&A
To expose some APIs through private endpoints and others publicly in a single Azure API Management (APIM) instance, you can use API Management policies and configurations. Here are two approaches:
Using API Management Policies:
- Create Separate Products: Create two separate products in your APIM instance, one for private APIs and one for public APIs.
- Apply IP Filter Policy: Use the IP filter policy to restrict access to the private APIs to a specific set of IP addresses, while leaving the public APIs open to all clients.
- **Create Separate Environments:** Utilize API Management's multi-tenant feature to create separate environments for private and public APIs. Each environment can have its own set of APIs, policies, and users, and can be accessed through a different URL.
References:
- Publish Geospatial Consumption Zone APIs publicly (optional)
- Use Azure API Management with microservices deployed in Azure Kubernetes Service
These references provide detailed guidance on configuring your APIM instance to achieve the desired setup.
Please let me know if any further questions
Kindly accept answer if it helps
Thanks
Deepanshu