VirtualMachine.DefinitionStages.WithLicenseType Interface

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 Type Method and Description
abstract WithCreate withLicenseType(String licenseType)

Specifies that the image or disk that is being used was licensed on-premises.

Method Details

withLicenseType

public abstract VirtualMachine.DefinitionStages.WithCreate withLicenseType(String licenseType)

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

Applies to