Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the MountConfiguration class.
 /// </summary>
 /// <param name="azureBlobFileSystemConfiguration">The Azure Storage
 /// Container to mount using blob FUSE on each node.</param>
 /// <param name="nfsMountConfiguration">The NFS file system to mount on
 /// each node.</param>
 /// <param name="cifsMountConfiguration">The CIFS/SMB file system to
 /// mount on each node.</param>
 /// <param name="azureFileShareConfiguration">The Azure File Share to
 /// mount on each node.</param>
 public MountConfiguration(AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration = default(AzureBlobFileSystemConfiguration), NFSMountConfiguration nfsMountConfiguration = default(NFSMountConfiguration), CIFSMountConfiguration cifsMountConfiguration = default(CIFSMountConfiguration), AzureFileShareConfiguration azureFileShareConfiguration = default(AzureFileShareConfiguration))
 {
     AzureBlobFileSystemConfiguration = azureBlobFileSystemConfiguration;
     NfsMountConfiguration            = nfsMountConfiguration;
     CifsMountConfiguration           = cifsMountConfiguration;
     AzureFileShareConfiguration      = azureFileShareConfiguration;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (AzureBlobFileSystemConfiguration != null)
     {
         AzureBlobFileSystemConfiguration.Validate();
     }
     if (NfsMountConfiguration != null)
     {
         NfsMountConfiguration.Validate();
     }
     if (CifsMountConfiguration != null)
     {
         CifsMountConfiguration.Validate();
     }
     if (AzureFileShareConfiguration != null)
     {
         AzureFileShareConfiguration.Validate();
     }
 }