Skip to content

Commit fb8f078

Browse files
rakeshakkerayungezz
authored andcommitted
Adding low priority and variable pricing feature for standalone VMs. Added priority, eviction policy and billing profile to VirtualMachineProperties. Also, adding optional billing profile to VMSS Create and Update APIs. (Azure#6961)
1 parent a8e236b commit fb8f078

File tree

1 file changed

+46
-0
lines changed
  • specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01

1 file changed

+46
-0
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6996,6 +6996,16 @@
69966996
},
69976997
"description": "Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15."
69986998
},
6999+
"BillingProfile": {
7000+
"properties": {
7001+
"maxPrice": {
7002+
"type": "number",
7003+
"format": "double",
7004+
"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."
7005+
}
7006+
},
7007+
"description": "Specifies the billing related details of a low priority VM or VMSS. <br><br>Minimum api-version: 2019-03-01."
7008+
},
69997009
"VirtualMachineExtensionHandlerInstanceView": {
70007010
"properties": {
70017011
"type": {
@@ -7288,6 +7298,34 @@
72887298
"$ref": "#/definitions/SubResource",
72897299
"description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01."
72907300
},
7301+
"priority": {
7302+
"type": "string",
7303+
"description": "Specifies the priority for the virtual machine. <br><br>Minimum api-version: 2019-03-01",
7304+
"enum": [
7305+
"Regular",
7306+
"Low"
7307+
],
7308+
"x-ms-enum": {
7309+
"name": "VirtualMachinePriorityTypes",
7310+
"modelAsString": true
7311+
}
7312+
},
7313+
"evictionPolicy": {
7314+
"type": "string",
7315+
"description": "Specifies the eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'. <br><br>Minimum api-version: 2019-03-01",
7316+
"enum": [
7317+
"Deallocate",
7318+
"Delete"
7319+
],
7320+
"x-ms-enum": {
7321+
"name": "VirtualMachineEvictionPolicyTypes",
7322+
"modelAsString": true
7323+
}
7324+
},
7325+
"billingProfile": {
7326+
"$ref": "#/definitions/BillingProfile",
7327+
"description": "Specifies the billing related details of a low priority virtual machine. <br><br>Minimum api-version: 2019-03-01."
7328+
},
72917329
"host": {
72927330
"$ref": "#/definitions/SubResource",
72937331
"description": "Specifies information about the dedicated host that the virtual machine resides in. <br><br>Minimum api-version: 2018-10-01."
@@ -8523,6 +8561,10 @@
85238561
"modelAsString": true
85248562
}
85258563
},
8564+
"billingProfile": {
8565+
"$ref": "#/definitions/BillingProfile",
8566+
"description": "Specifies the billing related details of a low priority VMSS. <br><br>Minimum api-version: 2019-03-01."
8567+
},
85268568
"scheduledEventsProfile": {
85278569
"$ref": "#/definitions/ScheduledEventsProfile",
85288570
"description": "Specifies Scheduled Event related configurations."
@@ -8556,6 +8598,10 @@
85568598
"type": "string",
85578599
"description": "The license type, which is for bring your own license scenario."
85588600
},
8601+
"billingProfile": {
8602+
"$ref": "#/definitions/BillingProfile",
8603+
"description": "Specifies the billing related details of a low priority VMSS. <br><br>Minimum api-version: 2019-03-01."
8604+
},
85598605
"scheduledEventsProfile": {
85608606
"$ref": "#/definitions/ScheduledEventsProfile",
85618607
"description": "Specifies Scheduled Event related configurations."

0 commit comments

Comments
 (0)