Class StorageConfiguration

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

public final class StorageConfiguration extends Object
Gets or sets the storage configuration.
  • Constructor Details

    • StorageConfiguration

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

    • transportFileShareConfiguration

      public FileShareConfiguration transportFileShareConfiguration()
      Get the transportFileShareConfiguration property: The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
      Returns:
      the transportFileShareConfiguration value.
    • withTransportFileShareConfiguration

      public StorageConfiguration withTransportFileShareConfiguration(FileShareConfiguration transportFileShareConfiguration)
      Set the transportFileShareConfiguration property: The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
      Parameters:
      transportFileShareConfiguration - the transportFileShareConfiguration value to set.
      Returns:
      the StorageConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.