Class BillingProfileArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.azurenative.compute.inputs.BillingProfileArgs
-
public final class BillingProfileArgs extends com.pulumi.resources.ResourceArgs
Specifies the billing related details of a Azure Spot VM or VMSS. Minimum api-version: 2019-03-01.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BillingProfileArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static BillingProfileArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BillingProfileArgs.Builder
builder()
static BillingProfileArgs.Builder
builder(BillingProfileArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Double>>
maxPrice()
-
-
-
Field Detail
-
Empty
public static final BillingProfileArgs Empty
-
-
Method Detail
-
maxPrice
public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> maxPrice()
- Returns:
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. <br><br> The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot 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 Azure Spot 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.
-
builder
public static BillingProfileArgs.Builder builder()
-
builder
public static BillingProfileArgs.Builder builder(BillingProfileArgs defaults)
-
-