Skip to content

dotnet sdk changes for sitemanager #49954

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 6 commits into
base: main
Choose a base branch
from

Conversation

bsomeshekar
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 May 9, 2025 05:51
@github-actions github-actions bot added Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. labels May 9, 2025
Copy link

github-actions bot commented May 9, 2025

Thank you for your contribution @bsomeshekar! We will review the pull request and get back to you soon.

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

This PR adds support for managing SiteManager resources in the .NET SDK by introducing new pipeline configurations, API definitions, tests, samples, and documentation updates.

  • Added CI pipeline YAML configuration specific to SiteManager.
  • Introduced API surface, test helpers, and sample usage for creating, updating, and deleting SiteManager resources.
  • Updated solution and project files, along with documentation and changelog entries, to support the new SiteManager service.

Reviewed Changes

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

Show a summary per file
File Description
sdk/sitemanager/ci.mgmt.yml New CI pipeline configuration for SiteManager.
sdk/sitemanager/Azure.ResourceManager.SiteManager/tsp-location.yaml Adds specification location reference for SiteManager.
sdk/sitemanager/Azure.ResourceManager.SiteManager/tests/*.cs New test infrastructure and test cases for CRUD operations.
sdk/sitemanager/Azure.ResourceManager.SiteManager/api/*.cs Generated API definitions for SiteManager.
sdk/sitemanager/Azure.ResourceManager.SiteManager/samples/*.cs Sample code demonstrating usage of SiteManager resource operations.
Documentation files (README.md, CHANGELOG.md, etc.) Updated documentation to reflect the new service.
sdk/resourcemanager/ci.mgmt.yml Updated to include SiteManager in the CI trigger and PR paths.
Comments suppressed due to low confidence (1)

sdk/sitemanager/Azure.ResourceManager.SiteManager/tests/Scenario/SiteCollectionTests.cs:54

  • [nitpick] The variable name 'UpdatedSite' starts with an uppercase letter; consider renaming it to 'updatedSite' for consistency with common local variable naming conventions.
var UpdatedSite = await UpdateSiteAsync(resourceGroup, siteName);

@azure-sdk
Copy link
Collaborator

azure-sdk commented May 9, 2025

API Change Check

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

Azure.ResourceManager.SiteManager

@azure-sdk
Copy link
Collaborator

API change check

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

Azure.ResourceManager.SiteManager

Copy link
Member

@jsquire jsquire left a comment

Choose a reason for hiding this comment

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

@bsomeshekar:

Your account lacks the public GitHub organization memberships and permissions required of an internal contributor. Please review the Azure SDK onboarding documentation and use the associated Teams channel for support.

You can verify the state of your account by running the Validate-AzsdkCodeOwner script from the Azure SDK tools repository.

Please also be sure to add yourself to CODEOWNERS for this library, if you will be maintaining it going forward.

@bsomeshekar
Copy link
Member Author

jsquire

I have requested for access, will get back once I got the access.

@bsomeshekar bsomeshekar requested a review from a team as a code owner May 13, 2025 09:16
@bsomeshekar
Copy link
Member Author

jsquire

got the required permissions and updated code owners file

# PRLabel: %SiteManager
/sdk/sitemanager/Azure.ResourceManager.*/ @bsomeshekar @amrawat

# ServiceLabel: %SiteManager
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# ServiceLabel: %SiteManager
# ServiceLabel: %SiteManager %Mgmt

@@ -1133,6 +1133,12 @@
# ServiceLabel: %Weights & Biases %Mgmt
# ServiceOwners: @aggarwalsw

# PRLabel: %SiteManager
Copy link
Member

Choose a reason for hiding this comment

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

Please move this entry such that alphabetical ordering by label is maintained.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@@ -1133,6 +1133,12 @@
# ServiceLabel: %Weights & Biases %Mgmt
# ServiceOwners: @aggarwalsw

# PRLabel: %SiteManager
/sdk/sitemanager/Azure.ResourceManager.*/ @bsomeshekar @amrawat
Copy link
Member

Choose a reason for hiding this comment

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

Neither of these are valid CODEOWNERS:

  • bsomeshekar does not have a public membership to the Azure GitHub organization.
  • amrawat does not have write permissions nor public memberships to Azure and Microsoft.

Please review the Azure SDK onboarding documentation and use the associated Teams channel for support.

You can verify the state of your account by running the Validate-AzsdkCodeOwner script from the Azure SDK tools repository.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed the membership to public for Azure org and validated using the above script

@bsomeshekar
Copy link
Member Author

@jsquire Addressed the comment, please let me know if there's anything else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants