Add csharp client customizations for Subscription mgmt SDK migration#42786
Open
ArthurMa1978 wants to merge 1 commit intomainfrom
Open
Add csharp client customizations for Subscription mgmt SDK migration#42786ArthurMa1978 wants to merge 1 commit intomainfrom
ArthurMa1978 wants to merge 1 commit intomainfrom
Conversation
- Configure @azure-typespec/http-client-csharp-mgmt emitter with namespace and emitter-output-dir. - Rename models, enums, and resources via @@clientName for the C# scope to preserve GA SDK class names from the previous AutoRest mapping. - Move list operations whose generated rest method names collide with the matching GET into separate client groups via @@clientLocation. - Avoid namespace conflict when the back-compatible.tsp client name 'Subscription' matches the package's last namespace segment by retargeting these operations to a 'SubscriptionAction' client for the C# scope. - Map acceptOwnershipUrl/createdTime to acceptOwnershipUri (Uri) and createdOn (utcDateTime) for the C# scope to preserve GA property names and types. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Next Steps to MergeNext steps that must be taken to merge this PR:
Comment generated by summarize-checks workflow run. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
Comment generated by After APIView workflow run. |
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.
SDK configuration pull request
Purpose of this PR
Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:
tspconfig.yamltemplates:Getting help
Purpose of this PRandDue diligence checklist.write accessper aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Mergecomment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.queuedstate, please add a comment with contents/azp run.This should result in a new comment denoting a
PR validation pipelinehas started and the checks should be updated after few minutes.