Class SapDiskConfiguration
java.lang.Object
com.azure.resourcemanager.workloads.models.SapDiskConfiguration
The SAP Disk Configuration contains 'recommended disk' details and list of supported disks detail for a volume type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the recommendedConfiguration property: The recommended disk details for a given VM Sku.Get the supportedConfigurations property: The list of supported disks for a given VM Sku.void
validate()
Validates the instance.withRecommendedConfiguration
(DiskVolumeConfiguration recommendedConfiguration) Set the recommendedConfiguration property: The recommended disk details for a given VM Sku.withSupportedConfigurations
(List<DiskDetails> supportedConfigurations) Set the supportedConfigurations property: The list of supported disks for a given VM Sku.
-
Constructor Details
-
SapDiskConfiguration
public SapDiskConfiguration()Creates an instance of SapDiskConfiguration class.
-
-
Method Details
-
recommendedConfiguration
Get the recommendedConfiguration property: The recommended disk details for a given VM Sku.- Returns:
- the recommendedConfiguration value.
-
withRecommendedConfiguration
public SapDiskConfiguration withRecommendedConfiguration(DiskVolumeConfiguration recommendedConfiguration) Set the recommendedConfiguration property: The recommended disk details for a given VM Sku.- Parameters:
recommendedConfiguration
- the recommendedConfiguration value to set.- Returns:
- the SapDiskConfiguration object itself.
-
supportedConfigurations
Get the supportedConfigurations property: The list of supported disks for a given VM Sku.- Returns:
- the supportedConfigurations value.
-
withSupportedConfigurations
Set the supportedConfigurations property: The list of supported disks for a given VM Sku.- Parameters:
supportedConfigurations
- the supportedConfigurations value to set.- Returns:
- the SapDiskConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-