Share via


CustomImagePropertiesCustom Class

Properties for creating a custom image from a VHD.

All required parameters must be populated in order to send to Azure.

Constructor

CustomImagePropertiesCustom(*, os_type: str | CustomImageOsType, image_name: str | None = None, sys_prep: bool | None = None, **kwargs)

Parameters

Name Description
image_name
Required
str

The image name.

sys_prep
Required

Indicates whether sysprep has been run on the VHD.

os_type
Required

Required. The OS type of the custom image (i.e. Windows, Linux). Possible values include: "Windows", "Linux", "None".

Keyword-Only Parameters

Name Description
os_type
Required
image_name
Default value: None
sys_prep
Default value: None