Azure-Samples / AI-Gateway

APIM ❤️ OpenAI - this repo contains a set of experiments on using GenAI capabilities of Azure API Management with Azure OpenAI and other services
https://aka.ms/apim/genai/labs
MIT License
277 stars 101 forks source link

BICEP file error while running - labs/backend-pool-load-balancing/backend-pool-load-balancing.ipynb #65

Open safdar23 opened 2 weeks ago

safdar23 commented 2 weeks ago

I am getting bicep error while running - labs/backend-pool-load-balancing/backend-pool-load-balancing.ipynb file.

Error:

WARNING: A new Bicep release is available: v0.30.23. Upgrade now by running "az bicep upgrade". ERROR: c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(107,21) : Warning BCP081: Resource type "Microsoft.CognitiveServices/accounts/deployments@2023-05-01" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(123,22) : Warning BCP081: Resource type "Microsoft.ApiManagement/service@2023-09-01-preview" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(150,14) : Warning BCP081: Resource type "Microsoft.ApiManagement/service/apis@2023-09-01-preview" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(172,20) : Warning BCP081: Resource type "Microsoft.ApiManagement/service/apis/policies@2023-09-01-preview" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(181,24) : Warning BCP081: Resource type "Microsoft.ApiManagement/service/backends@2023-09-01-preview" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(213,22) : Warning BCP081: Resource type "Microsoft.ApiManagement/service/backends@2023-09-01-preview" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(245,28) : Warning BCP081: Resource type "Microsoft.ApiManagement/service/backends@2023-09-01-preview" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(258,10) : Error BCP018: Expected the "]" character at this location.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(259,7) : Error BCP022: Expected a property name at this location.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(259,8) : Error BCP018: Expected the ":" character at this location.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(264,26) : Warning BCP081: Resource type "Microsoft.ApiManagement/service/backends@2023-09-01-preview" does not have types available.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(277,10) : Error BCP018: Expected the "]" character at this location.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(278,7) : Error BCP022: Expected a property name at this location.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(278,8) : Error BCP018: Expected the ":" character at this location.

c:\APIM\AI-Gateway\labs\backend-pool-load-balancing\main.bicep(283,27) : Warning BCP081: Resource type "Microsoft.ApiManagement/service/subscriptions@2023-09-01-preview" does not have types available.

SyChell commented 1 day ago

try upgrading bicep. That solved it for me