예제 #1
0
 internal PSAzureBlobFileSystemConfiguration(Microsoft.Azure.Batch.AzureBlobFileSystemConfiguration 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="AzureBlobFileSystemConfiguration"/>.
 /// </summary>
 public MountConfiguration(AzureBlobFileSystemConfiguration configuration) : this(azureBlobFileSystemConfiguration : configuration)
 {
 }
예제 #4
0
 public PSAzureBlobFileSystemConfiguration(string accountName, string containerName, string relativeMountPath, Microsoft.Azure.Batch.AzureStorageAuthenticationKey key, string blobfuseOptions = null)
 {
     this.omObject = new Microsoft.Azure.Batch.AzureBlobFileSystemConfiguration(accountName, containerName, relativeMountPath, key, blobfuseOptions);
 }
예제 #5
0
 public PSAzureBlobFileSystemConfiguration(string accountName, string containerName, string relativeMountPath, PSComputeNodeIdentityReference identityReference, string blobfuseOptions = null)
 {
     this.omObject = new Microsoft.Azure.Batch.AzureBlobFileSystemConfiguration(accountName, containerName, relativeMountPath, identityReference.omObject, blobfuseOptions);
 }