コード例 #1
0
 internal PSNfsMountConfiguration(Microsoft.Azure.Batch.NfsMountConfiguration omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MountConfiguration"/> class with an <see cref="NfsMountConfiguration"/>.
 /// </summary>
 public MountConfiguration(NfsMountConfiguration configuration) : this(nfsMountConfiguration : configuration)
 {
 }
コード例 #4
0
 public PSNfsMountConfiguration(string source, string relativeMountPath, string mountOptions = null)
 {
     this.omObject = new Microsoft.Azure.Batch.NfsMountConfiguration(source, relativeMountPath, mountOptions);
 }