/// <summary>
 /// Initializes a new instance of the AzureBlobFileSystemReference
 /// class.
 /// </summary>
 /// <param name="accountName">Name of the Azure Blob Storage
 /// account.</param>
 /// <param name="containerName">Name of the Azure Blob Storage
 /// container to mount on the cluster.</param>
 /// <param name="credentials">Information of the Azure Blob Storage
 /// account credentials.</param>
 /// <param name="relativeMountPath">Specifies the relative path on the
 /// compute node where the Azure Blob file system will be
 /// mounted.</param>
 /// <param name="mountOptions">Specifies the various mount options that
 /// can be used to configure Blob file system.</param>
 public AzureBlobFileSystemReference(string accountName, string containerName, AzureStorageCredentialsInfo credentials, string relativeMountPath, string mountOptions = default(string))
 {
     AccountName       = accountName;
     ContainerName     = containerName;
     Credentials       = credentials;
     RelativeMountPath = relativeMountPath;
     MountOptions      = mountOptions;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the AzureFileShareReference class.
 /// </summary>
 /// <param name="accountName">Name of the storage account.</param>
 /// <param name="azureFileUrl">URL to access the Azure File.</param>
 /// <param name="credentials">Information of the Azure File
 /// credentials.</param>
 /// <param name="relativeMountPath">Specifies the relative path on the
 /// compute node where the Azure file share will be mounted.</param>
 /// <param name="fileMode">Specifies the file mode.</param>
 /// <param name="directoryMode">Specifies the directory Mode.</param>
 public AzureFileShareReference(string accountName, string azureFileUrl, AzureStorageCredentialsInfo credentials, string relativeMountPath, string fileMode = default(string), string directoryMode = default(string))
 {
     AccountName       = accountName;
     AzureFileUrl      = azureFileUrl;
     Credentials       = credentials;
     RelativeMountPath = relativeMountPath;
     FileMode          = fileMode;
     DirectoryMode     = directoryMode;
     CustomInit();
 }