Class CreateAndMountFileShareConfiguration
java.lang.Object
com.azure.resourcemanager.workloads.models.FileShareConfiguration
com.azure.resourcemanager.workloads.models.CreateAndMountFileShareConfiguration
Gets or sets the file share configuration for file share created with the VIS case.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CreateAndMountFileShareConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceGroup property: The name of file share resource group.Get the storageAccountName property: The name of file share storage account name .void
validate()
Validates the instance.withResourceGroup
(String resourceGroup) Set the resourceGroup property: The name of file share resource group.withStorageAccountName
(String storageAccountName) Set the storageAccountName property: The name of file share storage account name .
-
Constructor Details
-
CreateAndMountFileShareConfiguration
public CreateAndMountFileShareConfiguration()Creates an instance of CreateAndMountFileShareConfiguration class.
-
-
Method Details
-
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
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
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
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 classFileShareConfiguration
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-