Class RecommendedMachineConfiguration
java.lang.Object
com.azure.resourcemanager.compute.models.RecommendedMachineConfiguration
The properties describe the recommended machine configuration for this Image Definition. These properties are
updatable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmemory()Get the memory property: Describes the resource range.voidvalidate()Validates the instance.vCPUs()Get the vCPUs property: Describes the resource range.withMemory(ResourceRange memory) Set the memory property: Describes the resource range.withVCPUs(ResourceRange vCPUs) Set the vCPUs property: Describes the resource range.
-
Constructor Details
-
RecommendedMachineConfiguration
public RecommendedMachineConfiguration()
-
-
Method Details
-
vCPUs
Get the vCPUs property: Describes the resource range.- Returns:
- the vCPUs value.
-
withVCPUs
Set the vCPUs property: Describes the resource range.- Parameters:
vCPUs- the vCPUs value to set.- Returns:
- the RecommendedMachineConfiguration object itself.
-
memory
Get the memory property: Describes the resource range.- Returns:
- the memory value.
-
withMemory
Set the memory property: Describes the resource range.- Parameters:
memory- the memory value to set.- Returns:
- the RecommendedMachineConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-