Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #494 from erezvani1529/master
Browse files Browse the repository at this point in the history
[8.2] April Service Version Release
  • Loading branch information
asorrin-msft authored Jul 13, 2017
2 parents 3e5ac8f + 5e1d549 commit 933836a
Show file tree
Hide file tree
Showing 119 changed files with 6,109 additions and 533 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,22 @@ internal bool IsConditional
}
}

internal bool IsIfNotExists
{
get
{
throw new System.NotImplementedException();
}
}

internal AccessCondition RemoveIsIfNotExistsCondition()
{
throw new System.NotImplementedException();
}
public AccessCondition Clone()
{
throw new System.NotImplementedException();
}
public static AccessCondition GenerateEmptyCondition()
{
throw new System.NotImplementedException();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ public bool IsIncrementalCopy
get; internal set;
}

public Microsoft.WindowsAzure.Storage.Blob.PremiumPageBlobTier? PremiumPageBlobTier
{
get; internal set;
}

public bool? BlobTierInferred
{
get; internal set;
}

public BlobProperties()
{
throw new System.NotImplementedException();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ private RESTCommand<TimeSpan> BreakLeaseImpl(BlobAttributes attributes, TimeSpan
{
throw new System.NotImplementedException();
}
internal RESTCommand<string> StartCopyImpl(BlobAttributes attributes, Uri source, bool incrementalCopy, AccessCondition sourceAccessCondition, AccessCondition destAccessCondition, BlobRequestOptions options)
internal RESTCommand<string> StartCopyImpl(BlobAttributes attributes, Uri source, bool incrementalCopy, PremiumPageBlobTier? premiumPageBlobTier, AccessCondition sourceAccessCondition, AccessCondition destAccessCondition, BlobRequestOptions options)
{
throw new System.NotImplementedException();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,18 @@ public virtual Task UploadFromStreamAsync(Stream source, AccessCondition accessC
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task UploadFromStreamAsync(Stream source, PremiumPageBlobTier? premiumBlobTier, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
public virtual Task UploadFromStreamAsync(Stream source, long length, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task UploadFromStreamAsync(Stream source, long length, PremiumPageBlobTier? premiumBlobTier, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
public virtual Task UploadFromByteArrayAsync(byte[] buffer, int index, int count)
{
throw new System.NotImplementedException();
Expand All @@ -122,7 +128,10 @@ public virtual Task UploadFromByteArrayAsync(byte[] buffer, int index, int count
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task UploadFromByteArrayAsync(byte[] buffer, int index, int count, PremiumPageBlobTier? premiumBlobTier, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
public virtual Task CreateAsync(long size)
{
throw new System.NotImplementedException();
Expand All @@ -137,7 +146,10 @@ public virtual Task CreateAsync(long size, AccessCondition accessCondition, Blob
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task CreateAsync(long size, PremiumPageBlobTier? premiumBlobTier, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
public virtual Task ResizeAsync(long size)
{
throw new System.NotImplementedException();
Expand Down Expand Up @@ -256,11 +268,27 @@ public virtual Task<string> StartCopyAsync(CloudPageBlob source, AccessCondition
{
throw new System.NotImplementedException();
}
public virtual Task<string> StartCopyAsync(CloudPageBlob source, PremiumPageBlobTier? premiumBlobTier, AccessCondition sourceAccessCondition, AccessCondition destAccessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
public virtual Task<string> StartIncrementalCopyAsync(CloudPageBlob sourceSnapshot, AccessCondition destAccessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
private RESTCommand<NullType> CreateImpl(long sizeInBytes, AccessCondition accessCondition, BlobRequestOptions options)
public virtual Task SetPremiumBlobTierAsync(PremiumPageBlobTier premiumBlobTier)
{
throw new System.NotImplementedException();
}
public virtual Task SetPremiumBlobTierAsync(PremiumPageBlobTier premiumBlobTier, BlobRequestOptions options, OperationContext operationContext)
{
throw new System.NotImplementedException();
}
public virtual Task SetPremiumBlobTierAsync(PremiumPageBlobTier premiumBlobTier, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
private RESTCommand<NullType> CreateImpl(long sizeInBytes, PremiumPageBlobTier? premiumBlobTier, AccessCondition accessCondition, BlobRequestOptions options)
{
throw new System.NotImplementedException();
}
Expand Down Expand Up @@ -288,6 +316,10 @@ private RESTCommand<NullType> ClearPageImpl(long startOffset, long length, Acces
{
throw new System.NotImplementedException();
}
private RESTCommand<NullType> SetBlobTierImpl(PremiumPageBlobTier premiumBlobTier, BlobRequestOptions options)
{
throw new System.NotImplementedException();
}
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

namespace Microsoft.WindowsAzure.Storage.Blob
{
public enum PremiumPageBlobTier
{
Unknown,
P4,
P6,
P10,
P20,
P30,
P40,
P50,
P60,
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ private static bool CheckIfTrue(string header)
{
throw new System.NotImplementedException();
}
internal static void GetBlobTier(BlobType blobType, string blobTierString, out PremiumPageBlobTier? premiumPageBlobTier)
{
throw new System.NotImplementedException();
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,19 @@ private static Func<IDictionary<string, string>, IDictionary<string, string>> At
{
throw new System.NotImplementedException();
}
private static IDictionary<string, string> ValidCredentials(IDictionary<string, string> settings)
private static Func<IDictionary<string, string>, IDictionary<string, string>> None(params KeyValuePair<string, Func<string, bool>>[] atLeastOneSettings)
{
throw new System.NotImplementedException();
}
private static Func<IDictionary<string, string>, IDictionary<string, string>> MatchesAll(params Func<IDictionary<string, string>, IDictionary<string, string>>[] filters)
{
throw new System.NotImplementedException();
}
private static Func<IDictionary<string, string>, IDictionary<string, string>> MatchesOne(params Func<IDictionary<string, string>, IDictionary<string, string>>[] filters)
{
throw new System.NotImplementedException();
}
private static Func<IDictionary<string, string>, IDictionary<string, string>> MatchesExactly(Func<IDictionary<string, string>, IDictionary<string, string>> filter)
{
throw new System.NotImplementedException();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ internal class SR
public const string BatchErrorInOperation = "Element {0} in the batch returned an unexpected response code.";
public const string BinaryMessageShouldUseBase64Encoding = "EncodeMessage should be true for binary message.";
public const string Blob = "blob";
public const string BlobAlreadyExists = "The specified blob already exists.";
public const string BlobDataCorrupted = "Blob data corrupted (integrity check failed), Expected value is '{0}', retrieved '{1}'";
public const string BlobEndPointNotConfigured = "No blob endpoint configured.";
public const string BlobInvalidSequenceNumber = "The sequence number may not be specified for an increment operation.";
public const string BlobOverMaxBlockLimit = "The total blocks required for this upload exceeds the maximum block limit. Please increase the block size if applicable and ensure the Blob size is not greater than the maximum Blob size limit.";
public const string BlobStreamAlreadyCommitted = "Blob stream has already been committed once.";
public const string BlobStreamFlushPending = "Blob stream has a pending flush operation. Please call EndFlush first.";
public const string BlobStreamReadPending = "Blob stream has a pending read operation. Please call EndRead first.";
public const string BlobTierNotSupported = "Blob tier cannot be set by this API on an existing blob. Please call SetBlobTier for existing blobs.";
public const string BlobTypeMismatch = "Blob type of the blob reference doesn't match blob type of the blob.";
public const string BufferTooSmall = "The provided buffer is too small to fit in the blob data given the offset.";
public const string BufferManagerProvidedIncorrectLengthBuffer = "The IBufferManager provided an incorrect length buffer to the stream, Expected {0}, received {1}. Buffer length should equal the value returned by IBufferManager.GetDefaultBufferSize().";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ public FileProperties Properties
{
throw new System.NotImplementedException();
}
internal set
{
throw new System.NotImplementedException();
}
}

public IDictionary<string, string> Metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public StorageUri StorageUri
get; private set;
}

public Uri SnapshotQualifiedUri
internal Uri SnapshotQualifiedUri
{
get
{
throw new System.NotImplementedException();
}
}

public StorageUri SnapshotQualifiedStorageUri
internal StorageUri SnapshotQualifiedStorageUri
{
get
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,28 @@ public StorageUri StorageUri
get; private set;
}

public DateTimeOffset? SnapshotTime
internal DateTimeOffset? SnapshotTime
{
get; internal set;
get; set;
}

public bool IsSnapshot
internal bool IsSnapshot
{
get
{
throw new System.NotImplementedException();
}
}

public Uri SnapshotQualifiedUri
internal Uri SnapshotQualifiedUri
{
get
{
throw new System.NotImplementedException();
}
}

public StorageUri SnapshotQualifiedStorageUri
internal StorageUri SnapshotQualifiedStorageUri
{
get
{
Expand Down Expand Up @@ -89,7 +89,7 @@ public CloudFileShare(Uri shareAddress, StorageCredentials credentials)
{
throw new System.NotImplementedException();
}
public CloudFileShare(Uri shareAddress, DateTimeOffset? snapshotTime, StorageCredentials credentials)
internal CloudFileShare(Uri shareAddress, DateTimeOffset? snapshotTime, StorageCredentials credentials)
: this(new StorageUri(shareAddress), snapshotTime, credentials)
{
throw new System.NotImplementedException();
Expand All @@ -99,7 +99,7 @@ public CloudFileShare(StorageUri shareAddress, StorageCredentials credentials)
{
throw new System.NotImplementedException();
}
public CloudFileShare(StorageUri shareAddress, DateTimeOffset? snapshotTime, StorageCredentials credentials)
internal CloudFileShare(StorageUri shareAddress, DateTimeOffset? snapshotTime, StorageCredentials credentials)
{
throw new System.NotImplementedException();
}
Expand Down Expand Up @@ -142,51 +142,38 @@ public virtual Task<bool> CreateIfNotExistsAsync(FileRequestOptions options, Ope
{
throw new System.NotImplementedException();
}
internal virtual Task<CloudFileShare> SnapshotAsync()
{
throw new System.NotImplementedException();
}
internal virtual Task<CloudFileShare> SnapshotAsync(CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
internal virtual Task<CloudFileShare> SnapshotAsync(IDictionary<string, string> metadata, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext)
{
throw new System.NotImplementedException();
}
internal virtual Task<CloudFileShare> SnapshotAsync(IDictionary<string, string> metadata, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
public virtual Task DeleteAsync()
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task DeleteAsync(AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext)
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task DeleteAsync(AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
internal virtual Task DeleteAsync(DeleteShareSnapshotsOption deleteSnapshotsOption, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
public virtual Task<bool> DeleteIfExistsAsync()
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task<bool> DeleteIfExistsAsync(AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext)
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task<bool> DeleteIfExistsAsync(AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
internal virtual Task<bool> DeleteIfExistsAsync(DeleteShareSnapshotsOption deleteSnapshotsOption, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task<bool> ExistsAsync()
{
Expand Down Expand Up @@ -300,7 +287,7 @@ internal RESTCommand<CloudFileShare> SnapshotImpl(IDictionary<string, string> me
{
throw new System.NotImplementedException();
}
private RESTCommand<NullType> DeleteShareImpl(AccessCondition accessCondition, FileRequestOptions options)
private RESTCommand<NullType> DeleteShareImpl(DeleteShareSnapshotsOption deleteSnapshotsOption, AccessCondition accessCondition, FileRequestOptions options)
{
throw new System.NotImplementedException();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

namespace Microsoft.WindowsAzure.Storage.File
{
internal enum DeleteShareSnapshotsOption
{
None,
IncludeSnapshots,
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ public DateTimeOffset? LastModified
{
get; internal set;
}

public bool IsServerEncrypted
{
get; internal set;
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public DateTimeOffset? LastModified
get; internal set;
}

public bool IsServerEncrypted
{
get; internal set;
}

public FileProperties()
{
throw new System.NotImplementedException();
Expand Down
Loading

0 comments on commit 933836a

Please sign in to comment.