-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
sdk, tspconfig / client.tsp for vmware #29308
base: main
Are you sure you want to change the base?
sdk, tspconfig / client.tsp for vmware #29308
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
|
Swagger Validation Report
|
Swagger Generation Artifacts
|
Generated ApiView
|
289651e
to
80423b0
Compare
|
||
// flatten | ||
#suppress "deprecated" "property flatten for SDK backward compatibility" | ||
@@flattenProperty(Azure.ResourceManager.TrackedResource.properties); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should just turn on flattening for the spec rather than having all of these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume the flattening on the spec only apply to the Swagger output? Does it add @flattenProperty
decorate (which is the only one recognized by TCGC).
update is ArmCustomPatchAsync<WorkloadNetworkSegment, WorkloadNetworkSegment>; | ||
@tag("WorkloadNetworkSegments") | ||
@autoRoute | ||
updateSegments is ArmCustomPatchAsync< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be replaced with ArmResourcePatchAsync<WorkloadNetworkSegment, WorkloadNetworkSegmentProperties>;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do this in a follow-up PR.
Here I've reverted everything in routes.tsp that not critical to typespec emitter. The only remaining change is LocationHeader
-> ArmLroLocationHeader
, which is critical for LroMetadata.
e3adfef
to
fcf7f36
Compare
API change check APIView has identified API level changes in this PR and created following API reviews. |
remaining issue
ARM (Control Plane) API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting help
section at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
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:
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.
Additional information
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiView
comment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.
Getting help
Purpose of this PR
andDue diligence checklist
.write access
per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Merge
comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queued
state, please add a comment with contents/azp run
.This should result in a new comment denoting a
PR validation pipeline
has started and the checks should be updated after few minutes.