Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Projects] Draft #39960

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

[Projects] Draft #39960

wants to merge 28 commits into from

Conversation

annatisch
Copy link
Member

No description provided.

@annatisch annatisch marked this pull request as ready for review March 6, 2025 06:36
@Copilot Copilot bot review requested due to automatic review settings March 6, 2025 06:36
@annatisch annatisch requested a review from lmazuel as a code owner March 6, 2025 06:36
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR establishes the initial draft of the Azure Projects library for Python with scaffolding for resource definitions, bicep expressions, and deployment provisioning.

  • New README, changelog, and version file.
  • Comprehensive additions in bicep expression classes and utilities.
  • Provisioning and parameter handling functionality for project deployment.

Reviewed Changes

File Description
sdk/projects/azure-projects/README.md Added introductory documentation for the library.
sdk/projects/azure-projects/azure/projects/resources/_extension/roles/types.py Introduced type definitions for role assignments.
sdk/projects/azure-projects/azure/projects/_version.py Version file establishing the initial version.
sdk/projects/azure-projects/azure/projects/_bicep/expressions.py Added classes for bicep expressions, parameters, variables, and outputs.
sdk/projects/azure-projects/azure/projects/_setting.py New module for prioritized setting management.
sdk/projects/azure-projects/azure/projects/resources/_identifiers.py Added resource identifier constants and resource mapper.
sdk/projects/azure-projects/azure/projects/_bicep/utils.py Introduced utility functions for bicep serialization and name generation.
sdk/projects/azure-projects/CHANGELOG.md Initial changelog for the package release.
sdk/projects/azure-projects/azure/projects/resources/_extension/roles/init.py Added a role assignment resource with built-in role definitions.
sdk/projects/azure-projects/azure/projects/_parameters.py Added parameters and global parameters definition for deployments.
sdk/projects/azure-projects/azure/projects/_provision.py Added provisioning logic to initialize and deploy Azure projects.
Others Additional resource definitions, AI services resource, and module initialization files.

Copilot reviewed 269 out of 269 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

sdk/projects/azure-projects/azure/projects/resources/ai/init.py:241

  • Using str.format() directly on a Parameter object may lead to a runtime error if the Parameter does not override format. Consider extracting the underlying string value before formatting.
'name': GLOBAL_PARAMS['defaultName'].format("{}-aiservices"),

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants