RecommendedMachineConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.RecommendedMachineConfiguration

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 RecommendedMachineConfiguration class.

Method Summary

Modifier and Type Method and Description
ResourceRange memory()

Get the memory property: Describes the resource range.

ResourceRange vCPUs()

Get the vCPUs property: Describes the resource range.

void validate()

Validates the instance.

RecommendedMachineConfiguration withMemory(ResourceRange memory)

Set the memory property: Describes the resource range.

RecommendedMachineConfiguration withVCPUs(ResourceRange vCPUs)

Set the vCPUs property: Describes the resource range.

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:

the memory value.

vCPUs

public ResourceRange vCPUs()

Get the vCPUs property: Describes the resource range.

Returns:

the vCPUs value.

validate

public void validate()

Validates the instance.

withMemory

public RecommendedMachineConfiguration withMemory(ResourceRange memory)

Set the memory property: Describes the resource range.

Parameters:

memory - the memory value to set.

Returns:

the RecommendedMachineConfiguration object itself.

withVCPUs

public RecommendedMachineConfiguration withVCPUs(ResourceRange vCPUs)

Set the vCPUs property: Describes the resource range.

Parameters:

vCPUs - the vCPUs value to set.

Returns:

the RecommendedMachineConfiguration object itself.

Applies to