Foundry project connections
Added
- New
modules/project-connectionsubmodule for managing individual Foundry project connections through AzAPI, with optional account-level composition usingproject_connections. - Configurable connection category, authentication type, model format, metadata and sharing. Defaults are
ApiManagement,ProjectManagedIdentityandOpenAI. - Connection profiles for Azure Storage, Cosmos DB and Azure AI Search. Any nonblank category is accepted; unrecognized categories use the common body and caller-supplied metadata.
- Sensitive ephemeral credentials with write-only serialization and a
credentials_versioninput for rotation. - Configurable API versions, retries, timeouts and ignored body properties, plus connection outputs, telemetry, tests and documentation.
- A standalone APIM example with managed identities, account-scoped AzAPI locks to serialize project/model operations, 60-minute APIM timeouts and ordered policy teardown.
Compatibility and limitations
- Existing account, deployment and RAI-policy resource addresses and ownership are unchanged. Connections are opt-in.
- Projects, target services, authorization and networking remain externally managed when consuming the connection submodule.
- Known categories are documented against
2025-04-01-preview.ProjectManagedIdentityis not restricted by category, although only APIM was known to support it at authoring time. Azure determines actual service/API compatibility. - APIM connections use preview functionality. Configuring a connection or model catalog does not publish gateway routes or verify successful inference.
- The example provisions fresh fixtures and provides no upgrade path for earlier example state. Use the submodule directly for existing infrastructure.
PR: #258