-
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
Alecb typespecmigration 20240808-preview #31722
base: main
Are you sure you want to change the base?
Alecb typespecmigration 20240808-preview #31722
Conversation
Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec.
Updated the API version from stable/2024-04-03 to stable/2024-09-10.
…e PL. 150+ warnings (mostly for docs) needed
…into alecb-typespecmigration-20240910
Next Steps to MergeNext steps that must be taken to merge this PR:
|
Generated ApiView
|
API change check APIView has identified API level changes in this PR and created following API reviews. Microsoft.DesktopVirtualization |
…s that a property is missing)
* Update a session host. | ||
*/ | ||
@parameterVisibility | ||
update is ArmCustomPatchSync< |
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 should be changed to:
update is ArmCustomPatchSync<
SessionHost,
SessionHostPatch,
Request - {
/**
* The resource properties to be updated
*/
@bodyRoot sessionHost?: SessionHostPatch;
**
* Force flag to update assign, unassign or reassign personal desktop.
*/
@query("force")
force?: boolean;
}
>;
This will make the force parameter come after the request body
/** | ||
* The resource properties to be updated | ||
*/ | ||
@bodyRoot scalingPlanPersonalSchedule?: ScalingPlanPersonalSchedulePatch; |
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.
@bodyRoot scalingPlanPersonalSchedule?: ScalingPlanPersonalSchedulePatch; | |
@bodyRoot scalingPlanSchedule?: ScalingPlanPersonalSchedulePatch; |
/** | ||
* The resource properties to be updated | ||
*/ | ||
@bodyRoot scalingPlanPooledSchedule?: ScalingPlanPooledSchedulePatch; |
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.
@bodyRoot scalingPlanPooledSchedule?: ScalingPlanPooledSchedulePatch; | |
@bodyRoot scalingPlanSchedule?: ScalingPlanPooledSchedulePatch; |
@parentResource(HostPool) | ||
@singleton("default") | ||
model SessionHostConfiguration | ||
is Azure.ResourceManager.ProxyResource<SessionHostConfigurationProperties> { |
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.
is Azure.ResourceManager.ProxyResource<SessionHostConfigurationProperties> { | |
is Azure.ResourceManager.ProxyResource<SessionHostConfigurationProperties, false> { |
`import` is ArmResourceActionSync< | ||
HostPool, | ||
Request = { | ||
@bodyRoot importPackageInfoRequest?: ImportPackageInfoRequest; |
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.
@bodyRoot importPackageInfoRequest?: ImportPackageInfoRequest; | |
@bodyRoot importPackageInfoRequest: ImportPackageInfoRequest; |
expand is ArmResourceActionSync< | ||
HostPool, | ||
Request = { | ||
@bodyRoot msixImageURI?: MSIXImageURI; |
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.
@bodyRoot msixImageURI?: MSIXImageURI; | |
@bodyRoot msixImageURI: MSIXImageURI; |
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.