Interface VirtualMachine.DefinitionStages.WithLicenseType
- 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.WithSecurityFeatures, 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.WithLicenseType
The stage of the virtual machine definition allowing to specify that the image or disk that is being used was
licensed on-premises. This element is only used for images that contain the Windows Server operating system.
-
Method Summary
Modifier and TypeMethodDescriptionwithLicenseType(String licenseType) Specifies that the image or disk that is being used was licensed on-premises.
-
Method Details
-
withLicenseType
Specifies that the image or disk that is being used was licensed on-premises.- Parameters:
licenseType- license type- Returns:
- the next stage of the virtual machine definition
-