VirtualMachine.DefinitionStages.WithPlan Interface
public interface WithPlan
The stage of a virtual machine definition allowing to specify a purchase plan.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withPlan(PurchasePlan plan)
Specifies the purchase plan for the virtual machine. |
Virtual |
withPromotionalPlan(PurchasePlan plan, String promotionCode)
Specifies the purchase plan for the virtual machine. |
Method Details
withPlan
public WithCreate withPlan(PurchasePlan plan)
Specifies the purchase plan for the virtual machine.
Parameters:
plan
- a purchase plan
Returns:
the next stage of the definition
withPromotionalPlan
public WithCreate withPromotionalPlan(PurchasePlan plan, String promotionCode)
Specifies the purchase plan for the virtual machine.
Parameters:
plan
- a purchase plan
promotionCode
- a promotion code
Returns:
the next stage of the definition
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java