Class CreateAndMountFileShareConfiguration

java.lang.Object
com.azure.resourcemanager.workloads.models.FileShareConfiguration
com.azure.resourcemanager.workloads.models.CreateAndMountFileShareConfiguration

public final class CreateAndMountFileShareConfiguration extends FileShareConfiguration
Gets or sets the file share configuration for file share created with the VIS case.
  • Constructor Details

    • CreateAndMountFileShareConfiguration

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

    • resourceGroup

      public String resourceGroup()
      Get the resourceGroup property: The name of file share resource group. The app rg is used in case of missing input.
      Returns:
      the resourceGroup value.
    • withResourceGroup

      public CreateAndMountFileShareConfiguration withResourceGroup(String resourceGroup)
      Set the resourceGroup property: The name of file share resource group. The app rg is used in case of missing input.
      Parameters:
      resourceGroup - the resourceGroup value to set.
      Returns:
      the CreateAndMountFileShareConfiguration object itself.
    • storageAccountName

      public String storageAccountName()
      Get the storageAccountName property: The name of file share storage account name . A custom name is used in case of missing input.
      Returns:
      the storageAccountName value.
    • withStorageAccountName

      public CreateAndMountFileShareConfiguration withStorageAccountName(String storageAccountName)
      Set the storageAccountName property: The name of file share storage account name . A custom name is used in case of missing input.
      Parameters:
      storageAccountName - the storageAccountName value to set.
      Returns:
      the CreateAndMountFileShareConfiguration object itself.
    • validate

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