gitextract_6xk9lkjw/ ├── .devcontainer/ │ └── devcontainer.json ├── .gitattributes ├── .github/ │ └── workflows/ │ ├── lza-validate-multiregion-apim.yml │ └── lza-validate-singleregion-apim.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── SECURITY.md ├── SUPPORT.md ├── docs/ │ ├── assets/ │ │ └── genai-capabilities.pptx │ └── images/ │ └── APIM.vsdx └── scenarios/ ├── apim-baseline/ │ ├── README.md │ ├── bicep/ │ │ ├── README.md │ │ ├── apim/ │ │ │ ├── apim.bicep │ │ │ └── modules/ │ │ │ ├── dnsrecords.bicep │ │ │ └── kvaccess.bicep │ │ ├── gateway/ │ │ │ ├── appgw.bicep │ │ │ └── modules/ │ │ │ ├── certificate.bicep │ │ │ └── certificateSecret.bicep │ │ ├── main.bicep │ │ ├── networking/ │ │ │ └── networking.bicep │ │ └── shared/ │ │ ├── modules/ │ │ │ ├── azmon.bicep │ │ │ ├── dnszone.bicep │ │ │ ├── privatedeploy.bicep │ │ │ └── privateendpoint.bicep │ │ └── shared.bicep │ └── terraform/ │ ├── README.md │ ├── backend.tf.sample │ ├── main.tf │ ├── modules/ │ │ ├── apim/ │ │ │ ├── apim.tf │ │ │ ├── outputs.tf │ │ │ └── variables.tf │ │ ├── dns/ │ │ │ ├── dnszone.tf │ │ │ └── variables.tf │ │ ├── gateway/ │ │ │ ├── certificate/ │ │ │ │ ├── certificate.tf │ │ │ │ ├── providers.tf │ │ │ │ └── variables.tf │ │ │ ├── gateway.tf │ │ │ ├── outputs.tf │ │ │ └── variables.tf │ │ ├── multi_apim/ │ │ │ ├── apim.tf │ │ │ ├── outputs.tf │ │ │ └── variables.tf │ │ ├── multi_apim-dns-regional/ │ │ │ ├── dnszone.tf │ │ │ └── variables.tf │ │ ├── multi_gateway/ │ │ │ ├── certificate/ │ │ │ │ ├── certificate.tf │ │ │ │ ├── providers.tf │ │ │ │ └── variables.tf │ │ │ ├── gateway.tf │ │ │ ├── outputs.tf │ │ │ └── variables.tf │ │ ├── multi_private_dns_zone/ │ │ │ ├── outputs.tf │ │ │ ├── privatednszone.tf │ │ │ └── variables.tf │ │ ├── multi_shared/ │ │ │ ├── azmon.tf │ │ │ ├── outputs.tf │ │ │ ├── private_endpoint/ │ │ │ │ ├── outputs.tf │ │ │ │ ├── privateendpoint.tf │ │ │ │ └── variables.tf │ │ │ ├── privatedeploy.tf │ │ │ ├── shared.tf │ │ │ └── variables.tf │ │ ├── multi_traffic_manager/ │ │ │ ├── outputs.tf │ │ │ ├── trafficmanager.tf │ │ │ └── variables.tf │ │ ├── networking/ │ │ │ ├── networking.tf │ │ │ ├── outputs.tf │ │ │ └── variables.tf │ │ └── shared/ │ │ ├── azmon.tf │ │ ├── outputs.tf │ │ ├── private_dns_zone/ │ │ │ ├── outputs.tf │ │ │ ├── privatednszone.tf │ │ │ └── variables.tf │ │ ├── private_endpoint/ │ │ │ ├── outputs.tf │ │ │ ├── privateendpoint.tf │ │ │ └── variables.tf │ │ ├── privatedeploy.tf │ │ ├── shared.tf │ │ └── variables.tf │ ├── multi-region/ │ │ ├── multi-region-main.tf │ │ └── variables.tf │ ├── provider.tf │ ├── single-region/ │ │ ├── single-region-main.tf │ │ └── variables.tf │ └── variables.tf ├── certs/ │ └── place-custom-cert-here ├── scripts/ │ ├── bicep/ │ │ ├── deploy-apim-baseline.sh │ │ ├── deploy-workload-function.sh │ │ └── deploy-workload-genai.sh │ └── terraform/ │ ├── __destroy-apim-baseline.sh │ ├── azure-backend-sample.sh │ ├── deploy-apim-baseline.sh │ ├── deploy-workload-genai-new.sh │ ├── deploy-workload-genai.sh │ ├── sample-multi-region.env │ ├── sample.backend.hcl │ ├── sample.env │ └── test-apim-baseline-deployment.sh ├── workload-functions/ │ ├── README.md │ └── bicep/ │ ├── README.md │ ├── apim/ │ │ └── config.bicep │ ├── backend/ │ │ ├── backend.bicep │ │ └── modules/ │ │ └── networking.bicep │ ├── deploy/ │ │ ├── deploy.bicep │ │ └── modules/ │ │ └── networking.bicep │ └── main.bicep └── workload-genai/ ├── README.md ├── bicep/ │ ├── README.md │ ├── apim-policies/ │ │ ├── api-specs/ │ │ │ └── openapi-spec.json │ │ ├── apiManagement.bicep │ │ └── load-balancing/ │ │ ├── backends.bicep │ │ └── lb-pool.bicep │ ├── eventhub/ │ │ └── eventHub.bicep │ ├── main.bicep │ └── openai/ │ └── openai.bicep ├── policies/ │ ├── fragments/ │ │ ├── load-balancing/ │ │ │ ├── README.md │ │ │ └── simple-priority-weighted.xml │ │ ├── manage-spikes-with-payg/ │ │ │ ├── README.md │ │ │ └── retry-with-payg.xml │ │ ├── rate-limiting/ │ │ │ ├── README.md │ │ │ ├── adaptive-rate-limiting.xml │ │ │ ├── rate-limiting-by-tokens.xml │ │ │ └── rate-limiting-workaround.xml │ │ └── usage-tracking/ │ │ ├── README.md │ │ ├── usage-tracking-with-appinsights.xml │ │ └── usage-tracking-with-eventhub.xml │ ├── genai-policy.xml │ └── multi-tenancy/ │ ├── README.md │ ├── multi-tenant-product1-policy.xml │ └── multi-tenant-product2-policy.xml └── terraform/ ├── README.md ├── backend.tf.sample ├── main.tf ├── modules/ │ ├── apim_policies/ │ │ ├── api-specs/ │ │ │ └── openapi-spec.json │ │ ├── apimanagement.tf │ │ ├── backends/ │ │ │ ├── backends.tf │ │ │ └── providers.tf │ │ ├── lb_pool/ │ │ │ ├── lb-pool.tf │ │ │ └── providers.tf │ │ ├── outputs.tf │ │ └── variables.tf │ ├── eventhub/ │ │ ├── eventhub.tf │ │ ├── outputs.tf │ │ └── variables.tf │ ├── openai/ │ │ ├── openai.tf │ │ ├── outputs.tf │ │ └── variables.tf │ ├── private_dns_zone/ │ │ ├── outputs.tf │ │ ├── privatednszone.tf │ │ └── variables.tf │ └── private_endpoint/ │ ├── outputs.tf │ ├── privateendpoint.tf │ └── variables.tf ├── provider.tf └── variables.tf