diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 5c43799e8249..9ac7137060d5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -6996,6 +6996,16 @@ }, "description": "Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15." }, + "BillingProfile": { + "properties": { + "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.

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.

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.

Possible values are:

- Any decimal value greater than zero. Example: $0.01538

-1 – indicates default price to be up-to on-demand.

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.

Minimum api-version: 2019-03-01." + } + }, + "description": "Specifies the billing related details of a low priority VM or VMSS.

Minimum api-version: 2019-03-01." + }, "VirtualMachineExtensionHandlerInstanceView": { "properties": { "type": { @@ -7284,6 +7294,34 @@ "$ref": "#/definitions/SubResource", "description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.

Minimum api-version: 2018-04-01." }, + "priority": { + "type": "string", + "description": "Specifies the priority for the virtual machine.

Minimum api-version: 2019-03-01", + "enum": [ + "Regular", + "Low" + ], + "x-ms-enum": { + "name": "VirtualMachinePriorityTypes", + "modelAsString": true + } + }, + "evictionPolicy": { + "type": "string", + "description": "Specifies the eviction policy for the low priority virtual machine. Only supported value is 'Deallocate'.

Minimum api-version: 2019-03-01", + "enum": [ + "Deallocate", + "Delete" + ], + "x-ms-enum": { + "name": "VirtualMachineEvictionPolicyTypes", + "modelAsString": true + } + }, + "billingProfile": { + "$ref": "#/definitions/BillingProfile", + "description": "Specifies the billing related details of a low priority virtual machine.

Minimum api-version: 2019-03-01." + }, "host": { "$ref": "#/definitions/SubResource", "description": "Specifies information about the dedicated host that the virtual machine resides in.

Minimum api-version: 2018-10-01." @@ -8519,6 +8557,10 @@ "modelAsString": true } }, + "billingProfile": { + "$ref": "#/definitions/BillingProfile", + "description": "Specifies the billing related details of a low priority VMSS.

Minimum api-version: 2019-03-01." + }, "scheduledEventsProfile": { "$ref": "#/definitions/ScheduledEventsProfile", "description": "Specifies Scheduled Event related configurations." @@ -8552,6 +8594,10 @@ "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.

Minimum api-version: 2019-03-01." + }, "scheduledEventsProfile": { "$ref": "#/definitions/ScheduledEventsProfile", "description": "Specifies Scheduled Event related configurations."