-
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
Adding optional billing profile to VMSS Create and Update APIs for Api Version 2019-03-01 #6492
Closed
Closed
Changes from 1 commit
Commits
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 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 |
---|---|---|
|
@@ -6208,6 +6208,14 @@ | |
}, | ||
"description": "Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15." | ||
}, | ||
"BillingProfile": { | ||
"maxPrice": { | ||
"type": "number", | ||
"format": "double", | ||
"description": "Specifies the maximum price you are willing to pay for a low priority VM/VMSS. This price is in US Dollars. <br><br> This price will be compared with the current low priority price for the VM size. Also, the prices are compared at the time of create/update of low priority VM/VMSS and the operation will only succeed if the maxPrice is greater than the current low priority price. <br><br> The maxPrice will also be used for evicting a low priority VM/VMSS if the current low priority price goes beyond the maxPrice after creation of VM/VMSS. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: $0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> You can set the maxPrice to -1 to indicate that the low priority VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. <br><br>Minimum api-version: 2019-03-01." | ||
}, | ||
"description": "Specifies the billing related details of a low priority VM or VMSS. <br><br>Minimum api-version: 2019-03-01." | ||
}, | ||
"VirtualMachineExtensionHandlerInstanceView": { | ||
"properties": { | ||
"type": { | ||
|
@@ -7726,6 +7734,10 @@ | |
"name": "VirtualMachineEvictionPolicyTypes", | ||
"modelAsString": true | ||
} | ||
}, | ||
"billingProfile": { | ||
"$ref": "#/definitions/BillingProfile", | ||
"description": "Specifies the billing related details of a low priority VMSS. <br><br>Minimum api-version: 2019-03-01." | ||
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. I wonder if we need description here. It seems exactly the same as in referred type definition. |
||
} | ||
}, | ||
"description": "Describes a virtual machine scale set virtual machine profile." | ||
|
@@ -7755,6 +7767,10 @@ | |
"licenseType": { | ||
"type": "string", | ||
"description": "The license type, which is for bring your own license scenario." | ||
}, | ||
"billingProfile": { | ||
"$ref": "#/definitions/BillingProfile", | ||
"description": "Specifies the billing related details of a low priority VMSS. <br><br>Minimum api-version: 2019-03-01." | ||
} | ||
}, | ||
"description": "Describes a virtual machine scale set virtual machine profile." | ||
|
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.
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.
move this property to inside of "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.
Thank you for pointing out. This was causing the error initially. Made the change.