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 #546 from erezvani1529/master
Browse files Browse the repository at this point in the history
[8.5] Share Snapshot Release
  • Loading branch information
pemari-msft authored Oct 5, 2017
2 parents 7be6a47 + 2e91dd0 commit c64dd48
Show file tree
Hide file tree
Showing 45 changed files with 143 additions and 137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ public StorageUri StorageUri
}
}

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

internal StorageUri SnapshotQualifiedStorageUri
public StorageUri SnapshotQualifiedStorageUri
{
get
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public virtual CloudFileShare GetShareReference(string shareName)
{
throw new System.NotImplementedException();
}
internal CloudFileShare GetShareReference(string shareName, DateTimeOffset? snapshotTime)
public CloudFileShare GetShareReference(string shareName, DateTimeOffset? snapshotTime)
{
throw new System.NotImplementedException();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public StorageUri StorageUri
get; private set;
}

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

internal StorageUri SnapshotQualifiedStorageUri
public 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;
}

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

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

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

internal StorageUri SnapshotQualifiedStorageUri
public StorageUri SnapshotQualifiedStorageUri
{
get
{
Expand Down Expand Up @@ -89,7 +89,7 @@ public CloudFileShare(Uri shareAddress, StorageCredentials credentials)
{
throw new System.NotImplementedException();
}
internal CloudFileShare(Uri shareAddress, DateTimeOffset? snapshotTime, StorageCredentials credentials)
public 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();
}
internal CloudFileShare(StorageUri shareAddress, DateTimeOffset? snapshotTime, StorageCredentials credentials)
public CloudFileShare(StorageUri shareAddress, DateTimeOffset? snapshotTime, StorageCredentials credentials)
{
throw new System.NotImplementedException();
}
Expand All @@ -112,7 +112,6 @@ internal CloudFileShare(FileShareProperties properties, IDictionary<string, stri
{
throw new System.NotImplementedException();
}
[DoesServiceRequest]
public virtual Task CreateAsync()
{
throw new System.NotImplementedException();
Expand Down Expand Up @@ -154,7 +153,7 @@ public virtual Task DeleteAsync(AccessCondition accessCondition, FileRequestOpti
{
throw new System.NotImplementedException();
}
internal virtual Task DeleteAsync(DeleteShareSnapshotsOption deleteSnapshotsOption, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
public virtual Task DeleteAsync(DeleteShareSnapshotsOption deleteSnapshotsOption, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
Expand All @@ -170,7 +169,7 @@ public virtual Task<bool> DeleteIfExistsAsync(AccessCondition accessCondition, F
{
throw new System.NotImplementedException();
}
internal virtual Task<bool> DeleteIfExistsAsync(DeleteShareSnapshotsOption deleteSnapshotsOption, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
public virtual Task<bool> DeleteIfExistsAsync(DeleteShareSnapshotsOption deleteSnapshotsOption, AccessCondition accessCondition, FileRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
{
throw new System.NotImplementedException();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

namespace Microsoft.WindowsAzure.Storage.File
{
internal enum DeleteShareSnapshotsOption
public enum DeleteShareSnapshotsOption
{
None,
IncludeSnapshots,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public Uri Uri
get; internal set;
}

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

internal FileShareEntry()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ public enum ShareListingDetails
{
None = 0,
Metadata = 1,
All = Metadata,
Snapshots = 2,
All = Snapshots | Metadata,
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public static class EncryptionConstants
public const string TableEncryptionKeyDetails = "_ClientEncryptionMetadata1";
public const string TableEncryptionPropertyDetails = "_ClientEncryptionMetadata2";
public const string AgentMetadataKey = "EncryptionLibrary";
public const string AgentMetadataValue = ".NET 8.4.0";
public const string AgentMetadataValue = ".NET 8.5.0";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class EncryptionConstants
public const string TableEncryptionKeyDetails = "_ClientEncryptionMetadata1";
public const string TableEncryptionPropertyDetails = "_ClientEncryptionMetadata2";
public const string AgentMetadataKey = "EncryptionLibrary";
public const string AgentMetadataValue = ".NET 8.4.0";
public const string AgentMetadataValue = ".NET 8.5.0";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ namespace Microsoft.WindowsAzure.Storage.Shared.Protocol

public static class HeaderConstants
{
public static readonly string UserAgent = "Azure-Storage/8.4.0 ";
public static readonly string UserAgent = "Azure-Storage/8.5.0 ";
public const string UserAgentProductName = "Azure-Storage";
public const string UserAgentProductVersion = "8.4.0";
public const string UserAgentProductVersion = "8.5.0";
public const string PrefixForStorageHeader = "x-ms-";
public const string TrueHeader = "true";
public const string FalseHeader = "false";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("8.4.0.0")]
[assembly: AssemblyFileVersion("8.4.0.0")]
[assembly: AssemblyVersion("8.5.0.0")]
[assembly: AssemblyFileVersion("8.5.0.0")]

[assembly: InternalsVisibleTo(
"Microsoft.WindowsAzure.Storage.Facade.Portable, PublicKey=" +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "Microsoft.WindowsAzure.Storage",
"version": "8.4.0.0",
"version": "8.5.0.0",

"authors": [ "Microsoft Corporation" ],
"description": "Azure Storage SDK for NetCore",
Expand Down
6 changes: 3 additions & 3 deletions Lib/AspNet/Microsoft.WindowsAzure.Storage/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("8.4.0.0")]
[assembly: AssemblyFileVersion("8.4.0.0")]
[assembly: AssemblyInformationalVersion("8.4.0.0")]
[assembly: AssemblyVersion("8.5.0.0")]
[assembly: AssemblyFileVersion("8.5.0.0")]
[assembly: AssemblyInformationalVersion("8.5.0.0")]


[assembly: InternalsVisibleTo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>WindowsAzure.Storage</id>
<version>8.4.0</version>
<version>8.5.0</version>
<title>Windows Azure Storage</title>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
Expand Down
2 changes: 1 addition & 1 deletion Lib/AspNet/Microsoft.WindowsAzure.Storage/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "8.4.0.0",
"version": "8.5.0.0",

"authors": [ "Microsoft Corporation" ],
"description": "Azure Storage SDK for NetCore",
Expand Down
4 changes: 2 additions & 2 deletions Lib/ClassLibraryCommon/File/CloudFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2506,7 +2506,7 @@ public virtual Task DeleteAsync(AccessCondition accessCondition, FileRequestOpti
[DoesServiceRequest]
public virtual bool DeleteIfExists(AccessCondition accessCondition = null, FileRequestOptions options = null, OperationContext operationContext = null)
{
this.share.AssertNoSnapshot();
this.Share.AssertNoSnapshot();
FileRequestOptions modifiedOptions = FileRequestOptions.ApplyDefaults(options, this.ServiceClient);
operationContext = operationContext ?? new OperationContext();

Expand Down Expand Up @@ -3909,7 +3909,7 @@ public virtual Task<string> StartCopyAsync(CloudBlob source, AccessCondition sou
[DoesServiceRequest]
public virtual void AbortCopy(string copyId, AccessCondition accessCondition = null, FileRequestOptions options = null, OperationContext operationContext = null)
{
this.share.AssertNoSnapshot();
this.Share.AssertNoSnapshot();
FileRequestOptions modifiedOptions = FileRequestOptions.ApplyDefaults(options, this.ServiceClient);
Executor.ExecuteSync(
this.AbortCopyImpl(copyId, accessCondition, modifiedOptions),
Expand Down
Loading

0 comments on commit c64dd48

Please sign in to comment.