-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add Guest Configuration VMSS changes to Swagger spec #13465
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
98ae742
Add Guest Configuration VMSS changes to Swagger spec
deb6376
Fixed all the review comments from validation tool
29d020c
Fix PR comments
aa3bedb
Fixed the validation errors. Added back the fields in the examples
ff25be8
Added GET Collection APIs and Delete API for VMSS
5a635c0
Fixed delete API return type and other validation failures
fcd0c18
add No content response for Delete operation
3a0d778
Fixed the example to have resposne for 204
7d5f4bd
Removed the long running operation flag
cd0eb1a
Reverted readonly field
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -89,7 +89,6 @@ | |
| } | ||
| } | ||
| }, | ||
| "x-ms-long-running-operation": true, | ||
| "produces": [ | ||
| "application/json" | ||
| ], | ||
|
|
@@ -193,7 +192,6 @@ | |
| } | ||
| } | ||
| }, | ||
| "x-ms-long-running-operation": true, | ||
| "produces": [ | ||
| "application/json" | ||
| ], | ||
|
|
@@ -505,7 +503,7 @@ | |
| "properties": { | ||
| "configurationMode": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "readOnly": false, | ||
| "description": "Specifies how the LCM(Local Configuration Manager) actually applies the configuration to the target nodes. Possible values are ApplyOnly, ApplyAndMonitor, and ApplyAndAutoCorrect.", | ||
| "x-ms-enum": { | ||
| "name": "configurationMode", | ||
|
|
@@ -518,20 +516,12 @@ | |
| ] | ||
| }, | ||
| "allowModuleOverwrite": { | ||
| "type": "string", | ||
| "description": "If true - new configurations downloaded from the pull service are allowed to overwrite the old ones on the target node. Otherwise, false", | ||
| "x-ms-enum": { | ||
| "name": "allowModuleOverwrite", | ||
| "modelAsString": true | ||
| }, | ||
| "enum": [ | ||
| "True", | ||
| "False" | ||
| ] | ||
| "type": "boolean", | ||
| "description": "If true - new configurations downloaded from the pull service are allowed to overwrite the old ones on the target node. Otherwise, false" | ||
| }, | ||
| "actionAfterReboot": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "readOnly": false, | ||
| "description": "Specifies what happens after a reboot during the application of a configuration. The possible values are ContinueConfiguration and StopConfiguration", | ||
| "x-ms-enum": { | ||
| "name": "actionAfterReboot", | ||
|
|
@@ -544,27 +534,18 @@ | |
| }, | ||
| "refreshFrequencyMins": { | ||
| "type": "number", | ||
| "readOnly": true, | ||
| "readOnly": false, | ||
| "default": 30, | ||
| "description": "The time interval, in minutes, at which the LCM checks a pull service to get updated configurations. This value is ignored if the LCM is not configured in pull mode. The default value is 30." | ||
aashish1987 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }, | ||
| "rebootIfNeeded": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "default": "False", | ||
| "description": "Set this to true to automatically reboot the node after a configuration that requires reboot is applied. Otherwise, you will have to manually reboot the node for any configuration that requires it. The default value is false. To use this setting when a reboot condition is enacted by something other than DSC (such as Windows Installer), combine this setting with the xPendingReboot module.", | ||
| "x-ms-enum": { | ||
| "name": "rebootIfNeeded", | ||
| "modelAsString": true | ||
| }, | ||
| "enum": [ | ||
| "True", | ||
| "False" | ||
| ] | ||
| "type": "boolean", | ||
| "readOnly": false, | ||
| "description": "Set this to true to automatically reboot the node after a configuration that requires reboot is applied. Otherwise, you will have to manually reboot the node for any configuration that requires it. The default value is false. To use this setting when a reboot condition is enacted by something other than DSC (such as Windows Installer), combine this setting with the xPendingReboot module." | ||
aashish1987 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }, | ||
| "configurationModeFrequencyMins": { | ||
| "type": "number", | ||
aashish1987 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "readOnly": true, | ||
| "readOnly": false, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually we could remove the readOnly line if it is false |
||
| "default": 15, | ||
| "description": "How often, in minutes, the current configuration is checked and applied. This property is ignored if the ConfigurationMode property is set to ApplyOnly. The default value is 15." | ||
| } | ||
|
|
||
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.