Add project AI Gateway enablement sample under 01-connections - #864
Closed
pradeepkintali wants to merge 1 commit into
Closed
Add project AI Gateway enablement sample under 01-connections#864pradeepkintali wants to merge 1 commit into
pradeepkintali wants to merge 1 commit into
Conversation
Adds a self-contained sample that creates a new Foundry project under an existing gateway-enabled account and enables the AI Gateway on it by provisioning the per-project APIM product, shared-API association, active subscription, and the project->product resource link. Does not modify any existing connection samples.
Contributor
|
👋 Thanks for your contribution, @pradeepkintali! This repository is read-only. If you are contributing on behalf of Microsoft, please submit your PR to the private staging repository instead: See CONTRIBUTING.md for full instructions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new self-contained sample under infrastructure/infrastructure-setup-bicep/01-connections/project-ai-gateway/ that creates a new Azure AI Foundry project under an existing, already AI-Gateway-enabled account and enables the AI Gateway on the project by default.
Unlike the other 01-connections samples (which create a
Microsoft.CognitiveServices/accounts/connectionsresource), this sample provisions the per-project API Management artifacts that mark a project as gateway-enabled.What it deploys
subscriptionRequired: true,state: 'published').Microsoft.Resources/links) from the project to the product — its presence marks the project Enabled on the gateway.Notes
main.bicepcompiles cleanly (only the expectedBCP081info warning forMicrosoft.Resources/links, which does not block deployment).README.md,main.bicep, compiledmain.json,main.parameters.json, andmodules/apim-gateway-artifacts.bicep.