Example #1
0
 internal PSCifsMountConfiguration(Microsoft.Azure.Batch.CifsMountConfiguration omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="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>
 internal MountConfiguration(
     AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration = default(AzureBlobFileSystemConfiguration),
     NfsMountConfiguration nfsMountConfiguration             = default(NfsMountConfiguration),
     CifsMountConfiguration cifsMountConfiguration           = default(CifsMountConfiguration),
     AzureFileShareConfiguration azureFileShareConfiguration = default(AzureFileShareConfiguration))
 {
     this.AzureBlobFileSystemConfiguration = azureBlobFileSystemConfiguration;
     this.NfsMountConfiguration            = nfsMountConfiguration;
     this.CifsMountConfiguration           = cifsMountConfiguration;
     this.AzureFileShareConfiguration      = azureFileShareConfiguration;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MountConfiguration"/> class with an <see cref="CifsMountConfiguration"/>.
 /// </summary>
 public MountConfiguration(CifsMountConfiguration configuration) : this(cifsMountConfiguration : configuration)
 {
 }
Example #4
0
 public PSCifsMountConfiguration(string username, string password, string source, string relativeMountPath, string mountOptions = null)
 {
     this.omObject = new Microsoft.Azure.Batch.CifsMountConfiguration(username, password, source, relativeMountPath, mountOptions);
 }