Class SapDiskConfiguration

java.lang.Object
com.azure.resourcemanager.workloads.models.SapDiskConfiguration

public final class SapDiskConfiguration extends Object
The SAP Disk Configuration contains 'recommended disk' details and list of supported disks detail for a volume type.
  • Constructor Details

    • SapDiskConfiguration

      public SapDiskConfiguration()
      Creates an instance of SapDiskConfiguration class.
  • Method Details

    • recommendedConfiguration

      public DiskVolumeConfiguration 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

      public List<DiskDetails> supportedConfigurations()
      Get the supportedConfigurations property: The list of supported disks for a given VM Sku.
      Returns:
      the supportedConfigurations value.
    • withSupportedConfigurations

      public SapDiskConfiguration withSupportedConfigurations(List<DiskDetails> supportedConfigurations)
      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.