ImageTemplatePropertiesOptimizeVmBoot Class
- java.
lang. Object - com.
azure. resourcemanager. imagebuilder. models. ImageTemplatePropertiesOptimizeVmBoot
- com.
public final class ImageTemplatePropertiesOptimizeVmBoot
Optimization is applied on the image for a faster VM boot.
Constructor Summary
| Constructor | Description |
|---|---|
| ImageTemplatePropertiesOptimizeVmBoot() |
Creates an instance of Image |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
VMBoot |
state()
Get the state property: Enabling this field will improve VM boot time by optimizing the final customized image output. |
| void |
validate()
Validates the instance. |
|
Image |
withState(VMBootOptimizationState state)
Set the state property: Enabling this field will improve VM boot time by optimizing the final customized image output. |
Methods inherited from java.lang.Object
Constructor Details
ImageTemplatePropertiesOptimizeVmBoot
public ImageTemplatePropertiesOptimizeVmBoot()
Creates an instance of ImageTemplatePropertiesOptimizeVmBoot class.
Method Details
state
public VMBootOptimizationState state()
Get the state property: Enabling this field will improve VM boot time by optimizing the final customized image output.
Returns:
validate
public void validate()
Validates the instance.
withState
public ImageTemplatePropertiesOptimizeVmBoot withState(VMBootOptimizationState state)
Set the state property: Enabling this field will improve VM boot time by optimizing the final customized image output.
Parameters:
Returns: