Skip to content

Initial release for Azure.ResourceManager.Resources.Deployments #50929

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anthony-c-martin
Copy link
Member

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@Copilot Copilot AI review requested due to automatic review settings June 27, 2025 02:36
@anthony-c-martin anthony-c-martin requested review from a team and jsquire as code owners June 27, 2025 02:36
@github-actions github-actions bot added the ARM label Jun 27, 2025
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.

Pull Request Overview

Initial release for Azure.ResourceManager.Resources.Deployments, adding the core SDK deliverables and project scaffolding.

  • Introduce ArmDeploymentPropertiesExtended model extension with debug and resource listing helpers
  • Add project metadata files (.csproj, solution, props, assets, samples) for package setup
  • Provide documentation and release notes (README, CHANGELOG)

Reviewed Changes

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

Show a summary per file
File Description
sdk/resources/Azure.ResourceManager.Resources.Deployments/src/Custom/Model/ArmDeploymentPropertiesExtended.cs Add extended deployment properties model
sdk/resources/Azure.ResourceManager.Resources.Deployments/src/Azure.ResourceManager.Resources.Deployments.csproj Define package version, ID, and metadata
sdk/resources/Azure.ResourceManager.Resources.Deployments/samples/Azure.ResourceManager.Resources.Deployments.Samples.csproj Add sample project references and test dependencies
sdk/resources/Azure.ResourceManager.Resources.Deployments/assets.json Configure assets repository settings
sdk/resources/Azure.ResourceManager.Resources.Deployments/Directory.Build.props Import shared build settings
sdk/resources/Azure.ResourceManager.Resources.Deployments/README.md Add library overview and usage instructions
sdk/resources/Azure.ResourceManager.Resources.Deployments/CHANGELOG.md Initialize release history for 1.0.0-beta.1
sdk/resources/Azure.ResourceManager.Resources.Deployments/Azure.ResourceManager.Resources.Deployments.sln Create solution file linking projects
Comments suppressed due to low confidence (4)

sdk/resources/Azure.ResourceManager.Resources.Deployments/README.md:3

  • The README contains a placeholder description at the top. Please replace this with a concise overview of the Azure Resources.Deployments service functionality.
**[Describe the service briefly first.]**

sdk/resources/Azure.ResourceManager.Resources.Deployments/CHANGELOG.md:19

  • The link URL contains a double slash after the domain, which may break navigation. Please correct it to a single slash: https://docs.microsoft.com/dotnet/api/overview/azure/identity-readme?view=azure-dotnet.
> NOTE: For more information about unified authentication, please refer to [Microsoft Azure Identity documentation for .NET](https://docs.microsoft.com//dotnet/api/overview/azure/identity-readme?view=azure-dotnet).

sdk/resources/Azure.ResourceManager.Resources.Deployments/src/Custom/Model/ArmDeploymentPropertiesExtended.cs:33

  • [nitpick] Filtering null IDs by creating SubResource with null may lead to invalid entries. Consider filtering out details where d.Id is null before mapping or handling null values explicitly.
            => OutputResourceDetails.Select(d => ResourceManagerModelFactory.SubResource(d.Id != null ? new ResourceIdentifier(d.Id) : null)).ToArray();

sdk/resources/Azure.ResourceManager.Resources.Deployments/src/Custom/Model/ArmDeploymentPropertiesExtended.cs:41

  • [nitpick] Similar to OutputResources, this mapping may include entries with null IDs. Consider filtering out or handling null Ids to prevent creating SubResource instances with null identifiers.
            => ValidatedResourceDetails.Select(d => ResourceManagerModelFactory.SubResource(d.Id != null ? new ResourceIdentifier(d.Id) : null)).ToArray();

{
get => DebugSetting?.DetailLevel;
[EditorBrowsable(EditorBrowsableState.Never)]
set => DebugSetting.DetailLevel = value;
Copy link
Preview

Copilot AI Jun 27, 2025

Choose a reason for hiding this comment

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

The setter for DebugSettingDetailLevel assumes DebugSetting is non-null and will throw a NullReferenceException if DebugSetting is null. Consider initializing DebugSetting or adding a null check before setting DetailLevel.

Copilot uses AI. Check for mistakes.

Copy link

github-actions bot commented Jun 27, 2025

API Change Check

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

Azure.ResourceManager.Resources.Deployments

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

Successfully merging this pull request may close these issues.

1 participant