RecommendedMachineConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RecommendedMachineConfiguration
- com.
public final class RecommendedMachineConfiguration
The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
Constructor Summary
Constructor | Description |
---|---|
RecommendedMachineConfiguration() |
Creates an instance of Recommended |
Method Summary
Modifier and Type | Method and Description |
---|---|
Resource |
memory()
Get the memory property: Describes the resource range. |
Resource |
vCPUs()
Get the v |
void |
validate()
Validates the instance. |
Recommended |
withMemory(ResourceRange memory)
Set the memory property: Describes the resource range. |
Recommended |
withVCPUs(ResourceRange vCPUs)
Set the v |
Methods inherited from java.lang.Object
Constructor Details
RecommendedMachineConfiguration
public RecommendedMachineConfiguration()
Creates an instance of RecommendedMachineConfiguration class.
Method Details
memory
public ResourceRange memory()
Get the memory property: Describes the resource range.
Returns:
vCPUs
public ResourceRange vCPUs()
Get the vCPUs property: Describes the resource range.
Returns:
validate
public void validate()
Validates the instance.
withMemory
public RecommendedMachineConfiguration withMemory(ResourceRange memory)
Set the memory property: Describes the resource range.
Parameters:
Returns:
withVCPUs
public RecommendedMachineConfiguration withVCPUs(ResourceRange vCPUs)
Set the vCPUs property: Describes the resource range.
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