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.WithPlanThe stage of a virtual machine definition allowing to specify a purchase plan.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithCreatewithPlan(PurchasePlan plan)Specifies the purchase plan for the virtual machine.VirtualMachine.DefinitionStages.WithCreatewithPromotionalPlan(PurchasePlan plan, String promotionCode)Specifies the purchase plan for the virtual machine.
-
-
-
Method Detail
-
withPlan
VirtualMachine.DefinitionStages.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
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
-
-