Interface VirtualMachine.DefinitionStages.WithPlan
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged
,VirtualMachine.DefinitionManagedOrUnmanaged
,VirtualMachine.DefinitionShared
,VirtualMachine.DefinitionStages.WithCreate
,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged
,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManagedOrUnmanaged
,VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged
,VirtualMachine.DefinitionStages.WithLinuxCreateManaged
,VirtualMachine.DefinitionStages.WithLinuxCreateManagedOrUnmanaged
,VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged
,VirtualMachine.DefinitionStages.WithManagedCreate
,VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
,VirtualMachine.DefinitionStages.WithUnmanagedCreate
,VirtualMachine.DefinitionStages.WithWindowsCreateManaged
,VirtualMachine.DefinitionStages.WithWindowsCreateManagedOrUnmanaged
,VirtualMachine.DefinitionStages.WithWindowsCreateUnmanaged
,VirtualMachine.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithPlan
The stage of a virtual machine definition allowing to specify a purchase plan.
-
Method Summary
Modifier and TypeMethodDescriptionwithPlan
(PurchasePlan plan) Specifies the purchase plan for the virtual machine.withPromotionalPlan
(PurchasePlan plan, String promotionCode) Specifies the purchase plan for the virtual machine.
-
Method Details
-
withPlan
Specifies the purchase plan for the virtual machine.- Parameters:
plan
- a purchase plan- Returns:
- the next stage of the definition
-
withPromotionalPlan
VirtualMachine.DefinitionStages.WithCreate withPromotionalPlan(PurchasePlan plan, String promotionCode) Specifies the purchase plan for the virtual machine.- Parameters:
plan
- a purchase planpromotionCode
- a promotion code- Returns:
- the next stage of the definition
-