CustomImagePropertiesCustom Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. CustomImagePropertiesCustom
- com.
public final class CustomImagePropertiesCustom
Properties for creating a custom image from a VHD.
Constructor Summary
Constructor | Description |
---|---|
CustomImagePropertiesCustom() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
imageName()
Get the image |
Custom |
osType()
Get the os |
Boolean |
sysPrep()
Get the sys |
void |
validate()
Validates the instance. |
Custom |
withImageName(String imageName)
Set the image |
Custom |
withOsType(CustomImageOsType osType)
Set the os |
Custom |
withSysPrep(Boolean sysPrep)
Set the sys |
Methods inherited from java.lang.Object
Constructor Details
CustomImagePropertiesCustom
public CustomImagePropertiesCustom()
Creates an instance of CustomImagePropertiesCustom class.
Method Details
imageName
public String imageName()
Get the imageName property: The image name.
Returns:
osType
public CustomImageOsType osType()
Get the osType property: The OS type of the custom image (i.e. Windows, Linux).
Returns:
sysPrep
public Boolean sysPrep()
Get the sysPrep property: Indicates whether sysprep has been run on the VHD.
Returns:
validate
public void validate()
Validates the instance.
withImageName
public CustomImagePropertiesCustom withImageName(String imageName)
Set the imageName property: The image name.
Parameters:
Returns:
withOsType
public CustomImagePropertiesCustom withOsType(CustomImageOsType osType)
Set the osType property: The OS type of the custom image (i.e. Windows, Linux).
Parameters:
Returns:
withSysPrep
public CustomImagePropertiesCustom withSysPrep(Boolean sysPrep)
Set the sysPrep property: Indicates whether sysprep has been run on the VHD.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for