From 49933e2428437568e46af37744b78a9a39b3f1f0 Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 12:55:12 -0700
Subject: [PATCH 01/12] Added support to set share tier
---
.../storage/file/share/ShareAsyncClient.java | 106 +++++++--
.../azure/storage/file/share/ShareClient.java | 83 ++++++-
.../file/share/ShareServiceAsyncClient.java | 37 +++-
.../file/share/ShareServiceClient.java | 31 ++-
.../file/share/implementation/SharesImpl.java | 29 ++-
.../models/ShareGetPropertiesHeaders.java | 90 ++++++++
.../models/ShareRenewLeaseHeaders.java | 11 +-
.../models/ShareSetPropertiesHeaders.java | 208 ++++++++++++++++++
.../models/SharesSetPropertiesResponse.java | 27 +++
.../file/share/models/ShareAccessTier.java | 47 ++++
.../file/share/models/ShareProperties.java | 90 ++++++++
.../share/options/ShareCreateOptions.java | 67 ++++++
.../options/ShareSetAccessTierOptions.java | 48 ++++
.../azure/storage/file/share/AsyncSample.java | 3 +-
.../file/share/FileServiceAPITests.groovy | 27 ++-
.../storage/file/share/ShareAPITests.groovy | 67 +++++-
...erviceAPITestsCreateShareMaxOverloads.json | 22 +-
...erviceAPITestsListSharesGetAccessTier.json | 67 ++++++
.../ShareAPITestsCreateShareWithArgs0.json | 18 +-
.../ShareAPITestsCreateShareWithArgs1.json | 18 +-
.../ShareAPITestsCreateShareWithArgs2.json | 18 +-
.../ShareAPITestsCreateShareWithArgs3.json | 18 +-
.../ShareAPITestsCreateShareWithArgs4.json | 25 +++
.../ShareAPITestsSetAccessTier.json | 103 +++++++++
.../ShareAPITestsSetAccessTierError.json | 26 +++
.../ShareAPITestsSetAccessTierLease.json | 68 ++++++
.../ShareAPITestsSetAccessTierLeaseError.json | 47 ++++
.../swagger/README.md | 2 +-
28 files changed, 1305 insertions(+), 98 deletions(-)
create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareSetPropertiesHeaders.java
create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/SharesSetPropertiesResponse.java
create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareAccessTier.java
create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
create mode 100644 sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareSetAccessTierOptions.java
create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesGetAccessTier.json
create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs4.json
create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTier.json
create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierError.json
create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLease.json
create mode 100644 sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLeaseError.json
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java
index 803b8cdef466..f2b0bcf28174 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java
@@ -26,6 +26,7 @@
import com.azure.storage.file.share.implementation.models.SharesGetPropertiesResponse;
import com.azure.storage.file.share.implementation.models.SharesGetStatisticsResponse;
import com.azure.storage.file.share.implementation.util.ShareSasImplUtil;
+import com.azure.storage.file.share.models.ShareAccessTier;
import com.azure.storage.file.share.models.ShareErrorCode;
import com.azure.storage.file.share.models.ShareFileHttpHeaders;
import com.azure.storage.file.share.models.ShareInfo;
@@ -35,11 +36,13 @@
import com.azure.storage.file.share.models.ShareSnapshotInfo;
import com.azure.storage.file.share.models.ShareStatistics;
import com.azure.storage.file.share.models.ShareStorageException;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import com.azure.storage.file.share.options.ShareDeleteOptions;
import com.azure.storage.file.share.options.ShareGetAccessPolicyOptions;
import com.azure.storage.file.share.options.ShareGetPropertiesOptions;
import com.azure.storage.file.share.options.ShareGetStatisticsOptions;
import com.azure.storage.file.share.options.ShareSetAccessPolicyOptions;
+import com.azure.storage.file.share.options.ShareSetAccessTierOptions;
import com.azure.storage.file.share.options.ShareSetMetadataOptions;
import com.azure.storage.file.share.options.ShareSetQuotaOptions;
import com.azure.storage.file.share.sas.ShareServiceSasSignatureValues;
@@ -235,7 +238,7 @@ Mono> existsWithResponse(Context context) {
*/
public Mono create() {
try {
- return createWithResponse(null, null).flatMap(FluxUtil::toMono);
+ return createWithResponse(null).flatMap(FluxUtil::toMono);
} catch (RuntimeException ex) {
return monoError(logger, ex);
}
@@ -266,17 +269,44 @@ public Mono create() {
*/
public Mono> createWithResponse(Map metadata, Integer quotaInGB) {
try {
- return withContext(context -> createWithResponse(metadata, quotaInGB, context));
+ return withContext(context -> createWithResponse(new ShareCreateOptions().setMetadata(metadata)
+ .setQuotaInGb(quotaInGB), context));
} catch (RuntimeException ex) {
return monoError(logger, ex);
}
}
- Mono> createWithResponse(Map metadata, Integer quotaInGB, Context context) {
+ /**
+ * Creates the share in the storage account with the specified options.
+ *
+ * Code Samples
+ *
+ * Create the share with optional parameters
+ *
+ * {@codesnippet com.azure.storage.file.share.ShareAsyncClient.createWithResponse#ShareCreateOptions}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param options {@link ShareCreateOptions}
+ * @return A response containing information about the {@link ShareInfo share} and the status its creation.
+ * @throws ShareStorageException If the share already exists with different metadata or {@code quotaInGB} is outside
+ * the allowed range.
+ */
+ public Mono> createWithResponse(ShareCreateOptions options) {
+ try {
+ return withContext(context -> createWithResponse(options, context));
+ } catch (RuntimeException ex) {
+ return monoError(logger, ex);
+ }
+ }
+
+ Mono> createWithResponse(ShareCreateOptions options, Context context) {
context = context == null ? Context.NONE : context;
+ options = options == null ? new ShareCreateOptions() : options;
return azureFileStorageClient.shares()
- .createWithRestResponseAsync(shareName, null, metadata, quotaInGB,
- context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE))
+ .createWithRestResponseAsync(shareName, null, options.getMetadata(), options.getQuotaInGb(),
+ options.getAccessTier(), context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE))
.map(this::mapToShareInfoResponse);
}
@@ -572,19 +602,66 @@ public Mono> setQuotaWithResponse(int quotaInGB) {
*/
public Mono> setQuotaWithResponse(ShareSetQuotaOptions options) {
try {
- return withContext(context -> setQuotaWithResponse(options, context));
+ StorageImplUtils.assertNotNull("options", options);
+ return withContext(context -> setPropertiesWithResponse(options.getQuotaInGb(), null,
+ options.getRequestConditions(), context));
} catch (RuntimeException ex) {
return monoError(logger, ex);
}
}
- Mono> setQuotaWithResponse(ShareSetQuotaOptions options, Context context) {
- StorageImplUtils.assertNotNull("options", options);
- ShareRequestConditions requestConditions = options.getRequestConditions() == null
- ? new ShareRequestConditions() : options.getRequestConditions();
+ /**
+ * Sets the share's access tier.
+ *
+ * Code Samples
+ *
+ * {@codesnippet com.azure.storage.file.share.ShareAsyncClient.setAccessTier#ShareAccessTier}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param accessTier {@link ShareAccessTier}
+ * @return The {@link ShareInfo information about the share}
+ */
+ public Mono setAccessTier(ShareAccessTier accessTier) {
+ try {
+ return setAccessTierWithResponse(new ShareSetAccessTierOptions(accessTier))
+ .map(Response::getValue);
+ } catch (RuntimeException ex) {
+ return monoError(logger, ex);
+ }
+ }
+
+ /**
+ * Sets the share's access tier.
+ *
+ * Code Samples
+ *
+ * {@codesnippet com.azure.storage.file.share.ShareAsyncClient.setAccessTierWithResponse#ShareSetAccessTierOptions}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param options {@link ShareSetQuotaOptions}
+ * @return A response containing the {@link ShareInfo information about the share} with headers and response status
+ * code
+ */
+ public Mono> setAccessTierWithResponse(ShareSetAccessTierOptions options) {
+ try {
+ StorageImplUtils.assertNotNull("options", options);
+ return withContext(context -> setPropertiesWithResponse(null, options.getAccessTier(),
+ options.getRequestConditions(), context));
+ } catch (RuntimeException ex) {
+ return monoError(logger, ex);
+ }
+ }
+
+ Mono> setPropertiesWithResponse(Integer quotaInGb, ShareAccessTier accessTier,
+ ShareRequestConditions requestConditions, Context context) {
+ requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions;
context = context == null ? Context.NONE : context;
- return azureFileStorageClient.shares().setQuotaWithRestResponseAsync(shareName, null,
- options.getQuotaInGb(), requestConditions.getLeaseId(),
+ return azureFileStorageClient.shares().setPropertiesWithRestResponseAsync(shareName, null,
+ quotaInGb, accessTier, requestConditions.getLeaseId(),
context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE))
.map(this::mapToShareInfoResponse);
}
@@ -1431,7 +1508,10 @@ private Response mapGetPropertiesResponse(SharesGetPropertiesRe
.setProvisionedIops(headers.getProvisionedIops())
.setLeaseDuration(headers.getLeaseDuration())
.setLeaseState(headers.getLeaseState())
- .setLeaseStatus(headers.getLeaseStatus());
+ .setLeaseStatus(headers.getLeaseStatus())
+ .setAccessTier(headers.getAccessTier())
+ .setAccessTierChangeTime(headers.getAccessTierChangeTime())
+ .setAccessTierTransitionState(headers.getAccessTierTransitionState());
return new SimpleResponse<>(response, shareProperties);
}
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java
index 515e3d3907ae..b6c26b5b88d7 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java
@@ -11,6 +11,7 @@
import com.azure.core.util.Context;
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.common.implementation.StorageImplUtils;
+import com.azure.storage.file.share.models.ShareAccessTier;
import com.azure.storage.file.share.models.ShareFileHttpHeaders;
import com.azure.storage.file.share.models.ShareRequestConditions;
import com.azure.storage.file.share.models.ShareSignedIdentifier;
@@ -19,11 +20,13 @@
import com.azure.storage.file.share.models.ShareProperties;
import com.azure.storage.file.share.models.ShareSnapshotInfo;
import com.azure.storage.file.share.models.ShareStatistics;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import com.azure.storage.file.share.options.ShareDeleteOptions;
import com.azure.storage.file.share.options.ShareGetAccessPolicyOptions;
import com.azure.storage.file.share.options.ShareGetPropertiesOptions;
import com.azure.storage.file.share.options.ShareGetStatisticsOptions;
import com.azure.storage.file.share.options.ShareSetAccessPolicyOptions;
+import com.azure.storage.file.share.options.ShareSetAccessTierOptions;
import com.azure.storage.file.share.options.ShareSetMetadataOptions;
import com.azure.storage.file.share.options.ShareSetQuotaOptions;
import com.azure.storage.file.share.sas.ShareServiceSasSignatureValues;
@@ -203,7 +206,33 @@ public ShareInfo create() {
*/
public Response createWithResponse(Map metadata, Integer quotaInGB, Duration timeout,
Context context) {
- Mono> response = client.createWithResponse(metadata, quotaInGB, context);
+ Mono> response = client.createWithResponse(new ShareCreateOptions().setQuotaInGb(quotaInGB)
+ .setMetadata(metadata), context);
+ return StorageImplUtils.blockWithOptionalTimeout(response, timeout);
+ }
+
+ /**
+ * Creates the share in the storage account with the specified options.
+ *
+ * Code Samples
+ *
+ * {@codesnippet ShareClient.createWithResponse#ShareCreateOptions}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param options {@link ShareCreateOptions}
+ * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout
+ * concludes a {@link RuntimeException} will be thrown.
+ * @param context Additional context that is passed through the Http pipeline during the service call.
+ * @return A response containing the {@link ShareInfo information about the share} and the status its creation.
+ * @throws ShareStorageException If the share already exists with different metadata or {@code quotaInGB} is outside
+ * the allowed range.
+ * @throws RuntimeException if the operation doesn't complete before the timeout concludes.
+ */
+ public Response createWithResponse(ShareCreateOptions options, Duration timeout,
+ Context context) {
+ Mono> response = client.createWithResponse(options, context);
return StorageImplUtils.blockWithOptionalTimeout(response, timeout);
}
@@ -406,7 +435,7 @@ public Response getPropertiesWithResponse(ShareGetPropertiesOpt
* Azure Docs.
*
* @param quotaInGB Size in GB to limit the share's growth. The quota in GB must be between 1 and 5120.
- * @return The {@link ShareProperties properties of the share}
+ * @return The {@link ShareInfo information about the share}
* @throws ShareStorageException If the share doesn't exist or {@code quotaInGB} is outside the allowed bounds
*/
public ShareInfo setQuota(int quotaInGB) {
@@ -429,7 +458,7 @@ public ShareInfo setQuota(int quotaInGB) {
* @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout
* concludes a {@link RuntimeException} will be thrown.
* @param context Additional context that is passed through the Http pipeline during the service call.
- * @return A response containing {@link ShareProperties properties of the share} with response status code
+ * @return A response containing {@link ShareInfo information about the share} with response status code
* @throws ShareStorageException If the share doesn't exist or {@code quotaInGB} is outside the allowed bounds
* @throws RuntimeException if the operation doesn't complete before the timeout concludes.
*/
@@ -453,12 +482,56 @@ public Response setQuotaWithResponse(int quotaInGB, Duration timeout,
* @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout
* concludes a {@link RuntimeException} will be thrown.
* @param context Additional context that is passed through the Http pipeline during the service call.
- * @return A response containing {@link ShareProperties properties of the share} with response status code
+ * @return A response containing {@link ShareInfo information about the share} with response status code
* @throws ShareStorageException If the share doesn't exist or {@code quotaInGB} is outside the allowed bounds
* @throws RuntimeException if the operation doesn't complete before the timeout concludes.
*/
public Response setQuotaWithResponse(ShareSetQuotaOptions options, Duration timeout, Context context) {
- Mono> response = client.setQuotaWithResponse(options, context);
+ StorageImplUtils.assertNotNull("options", options);
+ Mono> response = client.setPropertiesWithResponse(options.getQuotaInGb(), null,
+ options.getRequestConditions(), context);
+ return StorageImplUtils.blockWithOptionalTimeout(response, timeout);
+ }
+
+ /**
+ * Sets the access tier of a share.
+ *
+ * Code Samples
+ *
+ * {@codesnippet ShareClient.setAccessTier#ShareAccessTier}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param accessTier {@link ShareAccessTier}
+ * @return The {@link ShareInfo information about the share}
+ */
+ public ShareInfo setAccessTier(ShareAccessTier accessTier) {
+ return setAccessTierWithResponse(new ShareSetAccessTierOptions(accessTier), null, Context.NONE)
+ .getValue();
+ }
+
+ /**
+ * Sets the access tier of a share.
+ *
+ * Code Samples
+ *
+ * {@codesnippet com.azure.storage.file.share.ShareClient.setAccessTierWithResponse#ShareSetAccessTierOptions-Duration-Context}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param options {@link ShareSetAccessTierOptions}
+ * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout
+ * concludes a {@link RuntimeException} will be thrown.
+ * @param context Additional context that is passed through the Http pipeline during the service call.
+ * @return A response containing {@link ShareInfo information about the share} with response status code
+ */
+ public Response setAccessTierWithResponse(ShareSetAccessTierOptions options, Duration timeout,
+ Context context) {
+ StorageImplUtils.assertNotNull("options", options);
+ Mono> response = client.setPropertiesWithResponse(null, options.getAccessTier(),
+ options.getRequestConditions(), context);
return StorageImplUtils.blockWithOptionalTimeout(response, timeout);
}
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java
index 71cb8782c6a2..82973d68d38c 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java
@@ -27,6 +27,7 @@
import com.azure.storage.file.share.models.ShareStorageException;
import com.azure.storage.file.share.models.ListSharesOptions;
import com.azure.storage.file.share.models.ShareItem;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import reactor.core.publisher.Mono;
import java.time.Duration;
@@ -392,7 +393,7 @@ Mono> setPropertiesWithResponse(ShareServiceProperties properties
*/
public Mono createShare(String shareName) {
try {
- return createShareWithResponse(shareName, null, null).flatMap(FluxUtil::toMono);
+ return createShareWithResponse(shareName, (ShareCreateOptions) null, null).flatMap(FluxUtil::toMono);
} catch (RuntimeException ex) {
return monoError(logger, ex);
}
@@ -426,18 +427,44 @@ public Mono createShare(String shareName) {
public Mono> createShareWithResponse(String shareName, Map metadata,
Integer quotaInGB) {
try {
- return withContext(context -> createShareWithResponse(shareName, metadata, quotaInGB, context));
+ return withContext(context -> createShareWithResponse(shareName, new ShareCreateOptions()
+ .setMetadata(metadata).setQuotaInGb(quotaInGB), context));
} catch (RuntimeException ex) {
return monoError(logger, ex);
}
}
- Mono> createShareWithResponse(String shareName, Map metadata,
- Integer quotaInGB, Context context) {
+ /**
+ * Creates a share in the storage account with the specified name, and options and returns a
+ * ShareAsyncClient to interact with it.
+ *
+ * Code Samples
+ *
+ * {@codesnippet com.azure.storage.file.share.ShareServiceAsyncClient.createShareWithResponse#String-ShareCreateOptions}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param shareName Name of the share
+ * @param options {@link ShareCreateOptions}
+ * @return A response containing the {@link ShareAsyncClient ShareAsyncClient} and the status of creating the share.
+ * @throws ShareStorageException If a share with the same name already exists or {@code quotaInGB} is outside the
+ * allowed range.
+ */
+ public Mono> createShareWithResponse(String shareName, ShareCreateOptions options) {
+ try {
+ return withContext(context -> createShareWithResponse(shareName, options, context));
+ } catch (RuntimeException ex) {
+ return monoError(logger, ex);
+ }
+ }
+
+ Mono> createShareWithResponse(String shareName, ShareCreateOptions options,
+ Context context) {
ShareAsyncClient shareAsyncClient = new ShareAsyncClient(azureFileStorageClient, shareName, null,
accountName, serviceVersion);
- return shareAsyncClient.createWithResponse(metadata, quotaInGB, context).map(response ->
+ return shareAsyncClient.createWithResponse(options, context).map(response ->
new SimpleResponse<>(response, shareAsyncClient));
}
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java
index 51e3a98ec880..0612ddf33869 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java
@@ -17,6 +17,7 @@
import com.azure.storage.file.share.models.ListSharesOptions;
import com.azure.storage.file.share.models.ShareItem;
import com.azure.storage.file.share.models.ShareStorageException;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import reactor.core.publisher.Mono;
import java.time.Duration;
@@ -320,7 +321,35 @@ public ShareClient createShare(String shareName) {
public Response createShareWithResponse(String shareName, Map metadata,
Integer quotaInGB, Duration timeout, Context context) {
ShareClient shareClient = getShareClient(shareName);
- return new SimpleResponse<>(shareClient.createWithResponse(metadata, quotaInGB, null, context), shareClient);
+ return new SimpleResponse<>(shareClient.createWithResponse(metadata, quotaInGB, timeout, context), shareClient);
+ }
+
+ /**
+ * Creates a share in the storage account with the specified name and options and returns a ShareClient to interact
+ * with it.
+ *
+ * Code Samples
+
+ *
+ * {@codesnippet ShareServiceClient.createShareWithResponse#String-ShareCreateOptions-Duration-Context}
+ *
+ * For more information, see the
+ * Azure Docs.
+ *
+ * @param shareName Name of the share
+ * @param options {@link ShareCreateOptions}
+ * @param timeout An optional timeout applied to the operation. If a response is not returned before the timeout
+ * concludes a {@link RuntimeException} will be thrown.
+ * @param context Additional context that is passed through the Http pipeline during the service call.
+ * @return A response containing the {@link ShareClient ShareClient} and the status of creating the share.
+ * @throws ShareStorageException If a share with the same name already exists or {@code quotaInGB} is outside the
+ * allowed range.
+ * @throws RuntimeException if the operation doesn't complete before the timeout concludes.
+ */
+ public Response createShareWithResponse(String shareName, ShareCreateOptions options,
+ Duration timeout, Context context) {
+ ShareClient shareClient = getShareClient(shareName);
+ return new SimpleResponse<>(shareClient.createWithResponse(options, timeout, context), shareClient);
}
/**
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/SharesImpl.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/SharesImpl.java
index 080715b1d8d2..489871102d57 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/SharesImpl.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/SharesImpl.java
@@ -37,9 +37,10 @@
import com.azure.storage.file.share.implementation.models.SharesRestoreResponse;
import com.azure.storage.file.share.implementation.models.SharesSetAccessPolicyResponse;
import com.azure.storage.file.share.implementation.models.SharesSetMetadataResponse;
-import com.azure.storage.file.share.implementation.models.SharesSetQuotaResponse;
+import com.azure.storage.file.share.implementation.models.SharesSetPropertiesResponse;
import com.azure.storage.file.share.models.ShareStorageException;
import com.azure.storage.file.share.models.DeleteSnapshotsOptionType;
+import com.azure.storage.file.share.models.ShareAccessTier;
import com.azure.storage.file.share.models.ShareSignedIdentifier;
import java.util.List;
import java.util.Map;
@@ -80,7 +81,7 @@ private interface SharesService {
@Put("{shareName}")
@ExpectedResponses({201})
@UnexpectedResponseExceptionType(ShareStorageException.class)
- Mono create(@PathParam("shareName") String shareName, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-share-quota") Integer quota, @HeaderParam("x-ms-version") String version, @QueryParam("restype") String restype, Context context);
+ Mono create(@PathParam("shareName") String shareName, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-meta-") Map metadata, @HeaderParam("x-ms-share-quota") Integer quota, @HeaderParam("x-ms-access-tier") ShareAccessTier accessTier, @HeaderParam("x-ms-version") String version, @QueryParam("restype") String restype, Context context);
@Get("{shareName}")
@ExpectedResponses({200})
@@ -135,7 +136,7 @@ private interface SharesService {
@Put("{shareName}")
@ExpectedResponses({200})
@UnexpectedResponseExceptionType(ShareStorageException.class)
- Mono setQuota(@PathParam("shareName") String shareName, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-share-quota") Integer quota, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("restype") String restype, @QueryParam("comp") String comp, Context context);
+ Mono setProperties(@PathParam("shareName") String shareName, @HostParam("url") String url, @QueryParam("timeout") Integer timeout, @HeaderParam("x-ms-version") String version, @HeaderParam("x-ms-share-quota") Integer quota, @HeaderParam("x-ms-access-tier") ShareAccessTier accessTier, @HeaderParam("x-ms-lease-id") String leaseId, @QueryParam("restype") String restype, @QueryParam("comp") String comp, Context context);
@Put("{shareName}")
@ExpectedResponses({200})
@@ -176,8 +177,9 @@ public Mono createWithRestResponseAsync(String shareName,
final Integer timeout = null;
final Map metadata = null;
final Integer quota = null;
+ final ShareAccessTier accessTier = null;
final String restype = "share";
- return service.create(shareName, this.client.getUrl(), timeout, metadata, quota, this.client.getVersion(), restype, context);
+ return service.create(shareName, this.client.getUrl(), timeout, metadata, quota, accessTier, this.client.getVersion(), restype, context);
}
/**
@@ -187,14 +189,15 @@ public Mono createWithRestResponseAsync(String shareName,
* @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>.
* @param metadata A name-value pair to associate with a file storage object.
* @param quota Specifies the maximum size of the share, in gigabytes.
+ * @param accessTier Specifies the access tier of the share. Possible values include: 'TransactionOptimized', 'Hot', 'Cool'.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @return a Mono which performs the network request upon subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono createWithRestResponseAsync(String shareName, Integer timeout, Map metadata, Integer quota, Context context) {
+ public Mono createWithRestResponseAsync(String shareName, Integer timeout, Map metadata, Integer quota, ShareAccessTier accessTier, Context context) {
final String restype = "share";
- return service.create(shareName, this.client.getUrl(), timeout, metadata, quota, this.client.getVersion(), restype, context);
+ return service.create(shareName, this.client.getUrl(), timeout, metadata, quota, accessTier, this.client.getVersion(), restype, context);
}
/**
@@ -576,7 +579,7 @@ public Mono getPermissionWithRestResponseAsync(Stri
}
/**
- * Sets quota for the specified share.
+ * Sets properties for the specified share.
*
* @param shareName The name of the target share.
* @param context The context to associate with this operation.
@@ -584,31 +587,33 @@ public Mono getPermissionWithRestResponseAsync(Stri
* @return a Mono which performs the network request upon subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono setQuotaWithRestResponseAsync(String shareName, Context context) {
+ public Mono setPropertiesWithRestResponseAsync(String shareName, Context context) {
final Integer timeout = null;
final Integer quota = null;
+ final ShareAccessTier accessTier = null;
final String leaseId = null;
final String restype = "share";
final String comp = "properties";
- return service.setQuota(shareName, this.client.getUrl(), timeout, this.client.getVersion(), quota, leaseId, restype, comp, context);
+ return service.setProperties(shareName, this.client.getUrl(), timeout, this.client.getVersion(), quota, accessTier, leaseId, restype, comp, context);
}
/**
- * Sets quota for the specified share.
+ * Sets properties for the specified share.
*
* @param shareName The name of the target share.
* @param timeout The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/Setting-Timeouts-for-File-Service-Operations?redirectedfrom=MSDN">Setting Timeouts for File Service Operations.</a>.
* @param quota Specifies the maximum size of the share, in gigabytes.
+ * @param accessTier Specifies the access tier of the share. Possible values include: 'TransactionOptimized', 'Hot', 'Cool'.
* @param leaseId If specified, the operation only succeeds if the resource's lease is active and matches this ID.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @return a Mono which performs the network request upon subscription.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- public Mono setQuotaWithRestResponseAsync(String shareName, Integer timeout, Integer quota, String leaseId, Context context) {
+ public Mono setPropertiesWithRestResponseAsync(String shareName, Integer timeout, Integer quota, ShareAccessTier accessTier, String leaseId, Context context) {
final String restype = "share";
final String comp = "properties";
- return service.setQuota(shareName, this.client.getUrl(), timeout, this.client.getVersion(), quota, leaseId, restype, comp, context);
+ return service.setProperties(shareName, this.client.getUrl(), timeout, this.client.getVersion(), quota, accessTier, leaseId, restype, comp, context);
}
/**
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java
index b8ed1d187f7b..ff1c3eacb014 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareGetPropertiesHeaders.java
@@ -114,6 +114,24 @@ public final class ShareGetPropertiesHeaders {
@JsonProperty(value = "x-ms-lease-status")
private LeaseStatusType leaseStatus;
+ /*
+ * Returns the access tier set on the share.
+ */
+ @JsonProperty(value = "x-ms-access-tier")
+ private String accessTier;
+
+ /*
+ * Returns the last modified time (in UTC) of the access tier of the share.
+ */
+ @JsonProperty(value = "x-ms-access-tier-change-time")
+ private DateTimeRfc1123 accessTierChangeTime;
+
+ /*
+ * Returns the transition state betweeen access tiers, when present.
+ */
+ @JsonProperty(value = "x-ms-access-tier-transition-state")
+ private String accessTierTransitionState;
+
/*
* The errorCode property.
*/
@@ -452,6 +470,78 @@ public ShareGetPropertiesHeaders setLeaseStatus(LeaseStatusType leaseStatus) {
return this;
}
+ /**
+ * Get the accessTier property: Returns the access tier set on the share.
+ *
+ * @return the accessTier value.
+ */
+ public String getAccessTier() {
+ return this.accessTier;
+ }
+
+ /**
+ * Set the accessTier property: Returns the access tier set on the share.
+ *
+ * @param accessTier the accessTier value to set.
+ * @return the ShareGetPropertiesHeaders object itself.
+ */
+ public ShareGetPropertiesHeaders setAccessTier(String accessTier) {
+ this.accessTier = accessTier;
+ return this;
+ }
+
+ /**
+ * Get the accessTierChangeTime property: Returns the last modified time
+ * (in UTC) of the access tier of the share.
+ *
+ * @return the accessTierChangeTime value.
+ */
+ public OffsetDateTime getAccessTierChangeTime() {
+ if (this.accessTierChangeTime == null) {
+ return null;
+ }
+ return this.accessTierChangeTime.getDateTime();
+ }
+
+ /**
+ * Set the accessTierChangeTime property: Returns the last modified time
+ * (in UTC) of the access tier of the share.
+ *
+ * @param accessTierChangeTime the accessTierChangeTime value to set.
+ * @return the ShareGetPropertiesHeaders object itself.
+ */
+ public ShareGetPropertiesHeaders setAccessTierChangeTime(OffsetDateTime accessTierChangeTime) {
+ if (accessTierChangeTime == null) {
+ this.accessTierChangeTime = null;
+ } else {
+ this.accessTierChangeTime = new DateTimeRfc1123(accessTierChangeTime);
+ }
+ return this;
+ }
+
+ /**
+ * Get the accessTierTransitionState property: Returns the transition state
+ * betweeen access tiers, when present.
+ *
+ * @return the accessTierTransitionState value.
+ */
+ public String getAccessTierTransitionState() {
+ return this.accessTierTransitionState;
+ }
+
+ /**
+ * Set the accessTierTransitionState property: Returns the transition state
+ * betweeen access tiers, when present.
+ *
+ * @param accessTierTransitionState the accessTierTransitionState value to
+ * set.
+ * @return the ShareGetPropertiesHeaders object itself.
+ */
+ public ShareGetPropertiesHeaders setAccessTierTransitionState(String accessTierTransitionState) {
+ this.accessTierTransitionState = accessTierTransitionState;
+ return this;
+ }
+
/**
* Get the errorCode property: The errorCode property.
*
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareRenewLeaseHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareRenewLeaseHeaders.java
index aa3bc1e4406f..5facc0f24ce0 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareRenewLeaseHeaders.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareRenewLeaseHeaders.java
@@ -59,8 +59,7 @@ public final class ShareRenewLeaseHeaders {
private String version;
/*
- * UTC date/time value generated by the service that indicates the time at
- * which the response was initiated
+ * Returns the current share next allowed quota downgrade time.
*/
@JsonProperty(value = "Date")
private DateTimeRfc1123 dateProperty;
@@ -215,8 +214,8 @@ public ShareRenewLeaseHeaders setVersion(String version) {
}
/**
- * Get the dateProperty property: UTC date/time value generated by the
- * service that indicates the time at which the response was initiated.
+ * Get the dateProperty property: Returns the current share next allowed
+ * quota downgrade time.
*
* @return the dateProperty value.
*/
@@ -228,8 +227,8 @@ public OffsetDateTime getDateProperty() {
}
/**
- * Set the dateProperty property: UTC date/time value generated by the
- * service that indicates the time at which the response was initiated.
+ * Set the dateProperty property: Returns the current share next allowed
+ * quota downgrade time.
*
* @param dateProperty the dateProperty value to set.
* @return the ShareRenewLeaseHeaders object itself.
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareSetPropertiesHeaders.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareSetPropertiesHeaders.java
new file mode 100644
index 000000000000..40e7e3182662
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/ShareSetPropertiesHeaders.java
@@ -0,0 +1,208 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.storage.file.share.implementation.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.util.DateTimeRfc1123;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
+import java.time.OffsetDateTime;
+
+/**
+ * Defines headers for SetProperties operation.
+ */
+@JacksonXmlRootElement(localName = "Share-SetProperties-Headers")
+@Fluent
+public final class ShareSetPropertiesHeaders {
+ /*
+ * The ETag contains a value that you can use to perform operations
+ * conditionally, in quotes.
+ */
+ @JsonProperty(value = "ETag")
+ private String eTag;
+
+ /*
+ * Returns the date and time the share was last modified. Any operation
+ * that modifies the share or its properties updates the last modified
+ * time. Operations on files do not affect the last modified time of the
+ * share.
+ */
+ @JsonProperty(value = "Last-Modified")
+ private DateTimeRfc1123 lastModified;
+
+ /*
+ * This header uniquely identifies the request that was made and can be
+ * used for troubleshooting the request.
+ */
+ @JsonProperty(value = "x-ms-request-id")
+ private String requestId;
+
+ /*
+ * Indicates the version of the File service used to execute the request.
+ */
+ @JsonProperty(value = "x-ms-version")
+ private String version;
+
+ /*
+ * A UTC date/time value generated by the service that indicates the time
+ * at which the response was initiated.
+ */
+ @JsonProperty(value = "Date")
+ private DateTimeRfc1123 dateProperty;
+
+ /*
+ * The errorCode property.
+ */
+ @JsonProperty(value = "x-ms-error-code")
+ private String errorCode;
+
+ /**
+ * Get the eTag property: The ETag contains a value that you can use to
+ * perform operations conditionally, in quotes.
+ *
+ * @return the eTag value.
+ */
+ public String getETag() {
+ return this.eTag;
+ }
+
+ /**
+ * Set the eTag property: The ETag contains a value that you can use to
+ * perform operations conditionally, in quotes.
+ *
+ * @param eTag the eTag value to set.
+ * @return the ShareSetPropertiesHeaders object itself.
+ */
+ public ShareSetPropertiesHeaders setETag(String eTag) {
+ this.eTag = eTag;
+ return this;
+ }
+
+ /**
+ * Get the lastModified property: Returns the date and time the share was
+ * last modified. Any operation that modifies the share or its properties
+ * updates the last modified time. Operations on files do not affect the
+ * last modified time of the share.
+ *
+ * @return the lastModified value.
+ */
+ public OffsetDateTime getLastModified() {
+ if (this.lastModified == null) {
+ return null;
+ }
+ return this.lastModified.getDateTime();
+ }
+
+ /**
+ * Set the lastModified property: Returns the date and time the share was
+ * last modified. Any operation that modifies the share or its properties
+ * updates the last modified time. Operations on files do not affect the
+ * last modified time of the share.
+ *
+ * @param lastModified the lastModified value to set.
+ * @return the ShareSetPropertiesHeaders object itself.
+ */
+ public ShareSetPropertiesHeaders setLastModified(OffsetDateTime lastModified) {
+ if (lastModified == null) {
+ this.lastModified = null;
+ } else {
+ this.lastModified = new DateTimeRfc1123(lastModified);
+ }
+ return this;
+ }
+
+ /**
+ * Get the requestId property: This header uniquely identifies the request
+ * that was made and can be used for troubleshooting the request.
+ *
+ * @return the requestId value.
+ */
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ /**
+ * Set the requestId property: This header uniquely identifies the request
+ * that was made and can be used for troubleshooting the request.
+ *
+ * @param requestId the requestId value to set.
+ * @return the ShareSetPropertiesHeaders object itself.
+ */
+ public ShareSetPropertiesHeaders setRequestId(String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ /**
+ * Get the version property: Indicates the version of the File service used
+ * to execute the request.
+ *
+ * @return the version value.
+ */
+ public String getVersion() {
+ return this.version;
+ }
+
+ /**
+ * Set the version property: Indicates the version of the File service used
+ * to execute the request.
+ *
+ * @param version the version value to set.
+ * @return the ShareSetPropertiesHeaders object itself.
+ */
+ public ShareSetPropertiesHeaders setVersion(String version) {
+ this.version = version;
+ return this;
+ }
+
+ /**
+ * Get the dateProperty property: A UTC date/time value generated by the
+ * service that indicates the time at which the response was initiated.
+ *
+ * @return the dateProperty value.
+ */
+ public OffsetDateTime getDateProperty() {
+ if (this.dateProperty == null) {
+ return null;
+ }
+ return this.dateProperty.getDateTime();
+ }
+
+ /**
+ * Set the dateProperty property: A UTC date/time value generated by the
+ * service that indicates the time at which the response was initiated.
+ *
+ * @param dateProperty the dateProperty value to set.
+ * @return the ShareSetPropertiesHeaders object itself.
+ */
+ public ShareSetPropertiesHeaders setDateProperty(OffsetDateTime dateProperty) {
+ if (dateProperty == null) {
+ this.dateProperty = null;
+ } else {
+ this.dateProperty = new DateTimeRfc1123(dateProperty);
+ }
+ return this;
+ }
+
+ /**
+ * Get the errorCode property: The errorCode property.
+ *
+ * @return the errorCode value.
+ */
+ public String getErrorCode() {
+ return this.errorCode;
+ }
+
+ /**
+ * Set the errorCode property: The errorCode property.
+ *
+ * @param errorCode the errorCode value to set.
+ * @return the ShareSetPropertiesHeaders object itself.
+ */
+ public ShareSetPropertiesHeaders setErrorCode(String errorCode) {
+ this.errorCode = errorCode;
+ return this;
+ }
+}
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/SharesSetPropertiesResponse.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/SharesSetPropertiesResponse.java
new file mode 100644
index 000000000000..1eabd2cfc37c
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/SharesSetPropertiesResponse.java
@@ -0,0 +1,27 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.storage.file.share.implementation.models;
+
+import com.azure.core.http.HttpHeaders;
+import com.azure.core.http.HttpRequest;
+import com.azure.core.http.rest.ResponseBase;
+
+/**
+ * Contains all response data for the setProperties operation.
+ */
+public final class SharesSetPropertiesResponse extends ResponseBase {
+ /**
+ * Creates an instance of SharesSetPropertiesResponse.
+ *
+ * @param request the request which resulted in this SharesSetPropertiesResponse.
+ * @param statusCode the status code of the HTTP response.
+ * @param rawHeaders the raw headers of the HTTP response.
+ * @param value the deserialized value of the HTTP response.
+ * @param headers the deserialized headers of the HTTP response.
+ */
+ public SharesSetPropertiesResponse(HttpRequest request, int statusCode, HttpHeaders rawHeaders, Void value, ShareSetPropertiesHeaders headers) {
+ super(request, statusCode, rawHeaders, value, headers);
+ }
+}
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareAccessTier.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareAccessTier.java
new file mode 100644
index 000000000000..d4b98911ac6f
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareAccessTier.java
@@ -0,0 +1,47 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.storage.file.share.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import java.util.Collection;
+
+/**
+ * Defines values for ShareAccessTier.
+ */
+public final class ShareAccessTier extends ExpandableStringEnum {
+ /**
+ * Static value TransactionOptimized for ShareAccessTier.
+ */
+ public static final ShareAccessTier TRANSACTION_OPTIMIZED = fromString("TransactionOptimized");
+
+ /**
+ * Static value Hot for ShareAccessTier.
+ */
+ public static final ShareAccessTier HOT = fromString("Hot");
+
+ /**
+ * Static value Cool for ShareAccessTier.
+ */
+ public static final ShareAccessTier COOL = fromString("Cool");
+
+ /**
+ * Creates or finds a ShareAccessTier from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding ShareAccessTier.
+ */
+ @JsonCreator
+ public static ShareAccessTier fromString(String name) {
+ return fromString(name, ShareAccessTier.class);
+ }
+
+ /**
+ * @return known ShareAccessTier values.
+ */
+ public static Collection values() {
+ return values(ShareAccessTier.class);
+ }
+}
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java
index 47f8e4bf97e8..5857b9c6e1ae 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/models/ShareProperties.java
@@ -71,6 +71,24 @@ public final class ShareProperties {
@JsonProperty(value = "RemainingRetentionDays")
private Integer remainingRetentionDays;
+ /*
+ * The accessTier property.
+ */
+ @JsonProperty(value = "AccessTier")
+ private String accessTier;
+
+ /*
+ * The accessTierChangeTime property.
+ */
+ @JsonProperty(value = "AccessTierChangeTime")
+ private DateTimeRfc1123 accessTierChangeTime;
+
+ /*
+ * The accessTierTransitionState property.
+ */
+ @JsonProperty(value = "AccessTierTransitionState")
+ private String accessTierTransitionState;
+
/*
* Possible values include: 'locked', 'unlocked'
*/
@@ -306,6 +324,78 @@ public ShareProperties setRemainingRetentionDays(Integer remainingRetentionDays)
return this;
}
+ /**
+ * Get the accessTier property: The accessTier property.
+ *
+ * @return the accessTier value.
+ */
+ public String getAccessTier() {
+ return this.accessTier;
+ }
+
+ /**
+ * Set the accessTier property: The accessTier property.
+ *
+ * @param accessTier the accessTier value to set.
+ * @return the ShareProperties object itself.
+ */
+ public ShareProperties setAccessTier(String accessTier) {
+ this.accessTier = accessTier;
+ return this;
+ }
+
+ /**
+ * Get the accessTierChangeTime property: The accessTierChangeTime
+ * property.
+ *
+ * @return the accessTierChangeTime value.
+ */
+ public OffsetDateTime getAccessTierChangeTime() {
+ if (this.accessTierChangeTime == null) {
+ return null;
+ }
+ return this.accessTierChangeTime.getDateTime();
+ }
+
+ /**
+ * Set the accessTierChangeTime property: The accessTierChangeTime
+ * property.
+ *
+ * @param accessTierChangeTime the accessTierChangeTime value to set.
+ * @return the ShareProperties object itself.
+ */
+ public ShareProperties setAccessTierChangeTime(OffsetDateTime accessTierChangeTime) {
+ if (accessTierChangeTime == null) {
+ this.accessTierChangeTime = null;
+ } else {
+ this.accessTierChangeTime = new DateTimeRfc1123(accessTierChangeTime);
+ }
+ return this;
+ }
+
+ /**
+ * Get the accessTierTransitionState property: The
+ * accessTierTransitionState property.
+ *
+ * @return the accessTierTransitionState value.
+ */
+ public String getAccessTierTransitionState() {
+ return this.accessTierTransitionState;
+ }
+
+ /**
+ * Set the accessTierTransitionState property: The
+ * accessTierTransitionState property.
+ *
+ * @param accessTierTransitionState the accessTierTransitionState value to
+ * set.
+ * @return the ShareProperties object itself.
+ */
+ public ShareProperties setAccessTierTransitionState(String accessTierTransitionState) {
+ this.accessTierTransitionState = accessTierTransitionState;
+ return this;
+ }
+
/**
* Get the leaseStatus property: Possible values include: 'locked',
* 'unlocked'.
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
new file mode 100644
index 000000000000..f8b5a6b3c5fd
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
@@ -0,0 +1,67 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.storage.file.share.options;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.storage.file.share.models.ShareAccessTier;
+import com.azure.storage.file.share.models.ShareRequestConditions;
+
+import java.util.Map;
+
+/**
+ * Extended options that may be passed when creating a share.
+ */
+@Fluent
+public class ShareCreateOptions {
+
+ private Integer quotaInGb;
+ private Map metadata;
+ private ShareAccessTier accessTier;
+
+ /**
+ * @return Size in GB to limit the share's growth.
+ */
+ public Integer getQuotaInGb() {
+ return quotaInGb;
+ }
+
+ /**
+ * @param quotaInGb Size in GB to limit the share's growth. The quota in GB must be between 1 and 5120.
+ */
+ public ShareCreateOptions setQuotaInGb(Integer quotaInGb) {
+ this.quotaInGb = quotaInGb;
+ return this;
+ }
+
+ /**
+ * @return Metadata to associate with the share
+ */
+ public Map getMetadata() {
+ return metadata;
+ }
+
+ /**
+ * @param metadata Metadata to associate with the share.
+ */
+ public ShareCreateOptions setMetadata(Map metadata) {
+ this.metadata = metadata;
+ return this;
+ }
+
+ /**
+ * @return {@link ShareAccessTier}.
+ */
+ public ShareAccessTier getAccessTier() {
+ return accessTier;
+ }
+
+ /**
+ * @param accessTier {@link ShareAccessTier}.
+ * @return The updated options.
+ */
+ public ShareCreateOptions setAccessTier(ShareAccessTier accessTier) {
+ this.accessTier = accessTier;
+ return this;
+ }
+}
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareSetAccessTierOptions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareSetAccessTierOptions.java
new file mode 100644
index 000000000000..893dfff6c3cf
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareSetAccessTierOptions.java
@@ -0,0 +1,48 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package com.azure.storage.file.share.options;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.storage.file.share.models.ShareAccessTier;
+import com.azure.storage.file.share.models.ShareRequestConditions;
+
+/**
+ * Extended options that may be passed when setting quota on a share.
+ */
+@Fluent
+public class ShareSetAccessTierOptions {
+
+ private final ShareAccessTier accessTier;
+ private ShareRequestConditions requestConditions;
+
+ /**
+ * @param accessTier {@link ShareAccessTier}
+ */
+ public ShareSetAccessTierOptions(ShareAccessTier accessTier) {
+ this.accessTier = accessTier;
+ }
+
+ /**
+ * @return {@link ShareAccessTier}
+ */
+ public ShareAccessTier getAccessTier() {
+ return accessTier;
+ }
+
+ /**
+ * @return {@link ShareRequestConditions}.
+ */
+ public ShareRequestConditions getRequestConditions() {
+ return requestConditions;
+ }
+
+ /**
+ * @param requestConditions {@link ShareRequestConditions}.
+ * @return The updated options.
+ */
+ public ShareSetAccessTierOptions setRequestConditions(ShareRequestConditions requestConditions) {
+ this.requestConditions = requestConditions;
+ return this;
+ }
+}
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/AsyncSample.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/AsyncSample.java
index 412bb527688f..85f424e59b03 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/AsyncSample.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/AsyncSample.java
@@ -3,6 +3,7 @@
package com.azure.storage.file.share;
import com.azure.core.util.Configuration;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import java.util.UUID;
@@ -29,7 +30,7 @@ public static void main(String[] args) {
.buildAsyncClient();
// Create a share
String shareName = generateRandomName();
- fileServiceAsyncClient.createShareWithResponse(shareName, null, null).subscribe(
+ fileServiceAsyncClient.createShareWithResponse(shareName, (ShareCreateOptions) null, null).subscribe(
response -> System.out.printf("Successfully created a share with status code: %d.",
response.getStatusCode()),
err -> System.out.println("Failed to create a share. Reasons: " + err.getMessage()),
diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy
index b59af0c8538e..28795871f311 100644
--- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy
+++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy
@@ -7,7 +7,7 @@ package com.azure.storage.file.share
import com.azure.core.util.Context
import com.azure.storage.common.StorageSharedKeyCredential
import com.azure.storage.file.share.models.ListSharesOptions
-
+import com.azure.storage.file.share.models.ShareAccessTier
import com.azure.storage.file.share.models.ShareCorsRule
import com.azure.storage.file.share.models.ShareErrorCode
import com.azure.storage.file.share.models.ShareItem
@@ -19,6 +19,7 @@ import com.azure.storage.file.share.models.ShareServiceProperties
import com.azure.storage.file.share.models.ShareSmbSettings
import com.azure.storage.file.share.models.ShareStorageException
import com.azure.storage.file.share.models.SmbMultichannel
+import com.azure.storage.file.share.options.ShareCreateOptions
import spock.lang.Requires
import spock.lang.Unroll
@@ -72,7 +73,8 @@ class FileServiceAPITests extends APISpec {
def "Create share max overloads"() {
when:
- def createShareResponse = primaryFileServiceClient.createShareWithResponse(shareName, testMetadata, 1, null, null)
+ def createShareResponse = primaryFileServiceClient.createShareWithResponse(shareName, new ShareCreateOptions()
+ .setQuotaInGb(1).setMetadata(testMetadata).setAccessTier(ShareAccessTier.HOT), null, null)
then:
FileTestHelper.assertResponseStatusCode(createShareResponse, 201)
@@ -189,6 +191,27 @@ class FileServiceAPITests extends APISpec {
new ListSharesOptions().setIncludeMetadata(true).setIncludeSnapshots(true).setIncludeDeleted(true) | 5 | true | true | true
}
+ def "List shares get access tier"() {
+ setup:
+ def shareName = generateShareName()
+ def share = primaryFileServiceClient.createShareWithResponse(shareName, new ShareCreateOptions().setAccessTier(ShareAccessTier.HOT), null, null).getValue()
+
+ def time = getUTCNow()
+ share.setAccessTier(ShareAccessTier.TRANSACTION_OPTIMIZED)
+
+ when:
+ def shares = primaryFileServiceClient.listShares(null, null, null).iterator()
+
+ then:
+ def item = shares.next()
+ item.getName() == shareName
+ item.getProperties().getAccessTier() == ShareAccessTier.TRANSACTION_OPTIMIZED.toString()
+ item.getProperties().getAccessTierChangeTime().isAfter(time)
+ item.getProperties().getAccessTierChangeTime().isBefore(time.plusMinutes(1))
+ item.getProperties().getAccessTierTransitionState() == "pending-from-hot"
+
+ }
+
def "List shares with premium share"() {
setup:
def premiumShareName = generateShareName()
diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy
index 63e9c3c6ea81..1c7c615592aa 100644
--- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy
+++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAPITests.groovy
@@ -9,17 +9,20 @@ import com.azure.storage.common.implementation.Constants
import com.azure.storage.file.share.models.DeleteSnapshotsOptionType
import com.azure.storage.file.share.models.NtfsFileAttributes
import com.azure.storage.file.share.models.ShareAccessPolicy
+import com.azure.storage.file.share.models.ShareAccessTier
import com.azure.storage.file.share.models.ShareErrorCode
import com.azure.storage.file.share.models.ShareFileHttpHeaders
import com.azure.storage.file.share.models.ShareRequestConditions
import com.azure.storage.file.share.models.ShareSignedIdentifier
import com.azure.storage.file.share.models.ShareSnapshotInfo
import com.azure.storage.file.share.models.ShareStorageException
+import com.azure.storage.file.share.options.ShareCreateOptions
import com.azure.storage.file.share.options.ShareDeleteOptions
import com.azure.storage.file.share.options.ShareGetAccessPolicyOptions
import com.azure.storage.file.share.options.ShareGetPropertiesOptions
import com.azure.storage.file.share.options.ShareGetStatisticsOptions
import com.azure.storage.file.share.options.ShareSetAccessPolicyOptions
+import com.azure.storage.file.share.options.ShareSetAccessTierOptions
import com.azure.storage.file.share.options.ShareSetMetadataOptions
import com.azure.storage.file.share.options.ShareSetQuotaOptions
import spock.lang.Unroll
@@ -124,11 +127,12 @@ class ShareAPITests extends APISpec {
FileTestHelper.assertResponseStatusCode(primaryShareClient.createWithResponse(metadata, quota, null, null), 201)
where:
- metadata | quota
- null | null
- null | 1
- testMetadata | null
- testMetadata | 1
+ metadata | quota | accessTier
+ null | null | null
+ null | 1 | null
+ testMetadata | null | null
+ null | null | ShareAccessTier.HOT
+ testMetadata | 1 | ShareAccessTier.HOT
}
@Unroll
@@ -511,6 +515,59 @@ class ShareAPITests extends APISpec {
FileTestHelper.assertExceptionStatusCodeAndMessage(e, 404, ShareErrorCode.SHARE_NOT_FOUND)
}
+ def "Set access tier"() {
+ given:
+ primaryShareClient.createWithResponse(new ShareCreateOptions().setAccessTier(ShareAccessTier.HOT), null, null)
+ def time = getUTCNow()
+
+ when:
+ def getAccessTierBeforeResponse = primaryShareClient.getProperties()
+ def setAccessTierResponse = primaryShareClient.setAccessTierWithResponse(new ShareSetAccessTierOptions(ShareAccessTier.TRANSACTION_OPTIMIZED), null, null)
+ def getAccessTierAfterResponse = primaryShareClient.getProperties()
+
+ then:
+ getAccessTierBeforeResponse.getAccessTier() == ShareAccessTier.HOT.toString()
+ FileTestHelper.assertResponseStatusCode(setAccessTierResponse, 200)
+ getAccessTierAfterResponse.getAccessTier() == ShareAccessTier.TRANSACTION_OPTIMIZED.toString()
+ getAccessTierAfterResponse.getAccessTierChangeTime().isAfter(time)
+ getAccessTierAfterResponse.getAccessTierChangeTime().isBefore(time.plusMinutes(1))
+ getAccessTierAfterResponse.getAccessTierTransitionState() == "pending-from-hot"
+ }
+
+ def "Set access tier lease"() {
+ given:
+ primaryShareClient.createWithResponse(new ShareCreateOptions().setAccessTier(ShareAccessTier.HOT), null, null)
+ def leaseID = setupShareLeaseCondition(primaryShareClient, receivedLeaseID)
+
+ when:
+ def setAccessTierResponse = primaryShareClient.setAccessTierWithResponse(
+ new ShareSetAccessTierOptions(ShareAccessTier.COOL).setRequestConditions(new ShareRequestConditions().setLeaseId(leaseID)), null, null)
+
+ then:
+ FileTestHelper.assertResponseStatusCode(setAccessTierResponse, 200)
+ }
+
+ def "Set access tier lease error"() {
+ given:
+ primaryShareClient.createWithResponse(new ShareCreateOptions().setAccessTier(ShareAccessTier.HOT), null, null)
+ def leaseID = setupShareLeaseCondition(primaryShareClient, garbageLeaseID)
+
+ when:
+ def setAccessTierResponse = primaryShareClient.setAccessTierWithResponse(
+ new ShareSetAccessTierOptions(ShareAccessTier.TRANSACTION_OPTIMIZED).setRequestConditions(new ShareRequestConditions().setLeaseId(leaseID)), null, null)
+
+ then:
+ thrown(ShareStorageException)
+ }
+
+ def "Set access tier error"() {
+ when:
+ primaryShareClient.setAccessTier(ShareAccessTier.HOT)
+ then:
+ def e = thrown(ShareStorageException)
+ FileTestHelper.assertExceptionStatusCodeAndMessage(e, 404, ShareErrorCode.SHARE_NOT_FOUND)
+ }
+
def "Set metadata"() {
given:
primaryShareClient.createWithResponse(testMetadata, null, null, null)
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json
index f300ad9e01cc..49eaf72957cf 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsCreateShareMaxOverloads.json
@@ -1,25 +1,25 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://gaprastg71.file.core.windows.net/fileserviceapitestscreatesharemaxoverloads37861d9efcf?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestscreatesharemaxoverloads924413226f1?restype=share",
"Headers" : {
- "x-ms-version" : "2019-07-07",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.0.0 (11.0.4; Windows 10 10.0)",
- "x-ms-client-request-id" : "f7216108-8afc-472d-b2fe-281082eac734"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "82a3dcdc-3586-4db5-9337-6fd5a69bbadb"
},
"Response" : {
- "x-ms-version" : "2019-07-07",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D77911EF730499",
- "Last-Modified" : "Wed, 04 Dec 2019 23:30:23 GMT",
+ "ETag" : "0x8D8670919FBB2AB",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:26:46 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9ba99d6d-201a-0011-68fa-aa088f000000",
- "Date" : "Wed, 04 Dec 2019 23:30:23 GMT",
- "x-ms-client-request-id" : "f7216108-8afc-472d-b2fe-281082eac734"
+ "x-ms-request-id" : "77ebda56-d01a-003d-15f1-98e799000000",
+ "Date" : "Fri, 02 Oct 2020 19:26:45 GMT",
+ "x-ms-client-request-id" : "82a3dcdc-3586-4db5-9337-6fd5a69bbadb"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestscreatesharemaxoverloads37861d9efcf" ]
+ "variables" : [ "fileserviceapitestscreatesharemaxoverloads924413226f1" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesGetAccessTier.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesGetAccessTier.json
new file mode 100644
index 000000000000..a5565367581c
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesGetAccessTier.json
@@ -0,0 +1,67 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestslistsharesgetaccesstier0546929d7947?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2f3b97e5-258e-4877-b3df-7ab6900248f0"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670CF5A09DF7",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:54:23 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "8fda7440-601a-005a-60f5-98f765000000",
+ "Date" : "Fri, 02 Oct 2020 19:54:22 GMT",
+ "x-ms-client-request-id" : "2f3b97e5-258e-4877-b3df-7ab6900248f0"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestslistsharesgetaccesstier0546929d7947?restype=share&comp=properties",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "90b57fd3-a23f-4ad4-8488-e7af9dcd1b5a"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670CF5EB2C2D",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:54:23 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "200",
+ "x-ms-request-id" : "8fda7446-601a-005a-63f5-98f765000000",
+ "Date" : "Fri, 02 Oct 2020 19:54:22 GMT",
+ "x-ms-client-request-id" : "90b57fd3-a23f-4ad4-8488-e7af9dcd1b5a"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.file.core.windows.net?include=&comp=list",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9ff6da0d-ef24-408c-a7c3-853aa367a743"
+ },
+ "Response" : {
+ "Transfer-Encoding" : "chunked",
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "x-ms-request-id" : "8fda7448-601a-005a-65f5-98f765000000",
+ "Body" : "jtsfileserviceapitestslistsharesgetaccesstier0546929d7947Fri, 02 Oct 2020 19:54:23 GMT\"0x8D8670CF5EB2C2D\"unlockedavailable5120TransactionOptimizedFri, 02 Oct 2020 19:54:23 GMTpending-from-hot$account-encryption-keyfalse",
+ "Date" : "Fri, 02 Oct 2020 19:54:22 GMT",
+ "x-ms-client-request-id" : "9ff6da0d-ef24-408c-a7c3-853aa367a743",
+ "Content-Type" : "application/xml"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ "fileserviceapitestslistsharesgetaccesstier107091df971", "jtsfileserviceapitestslistsharesgetaccesstier0546929d7947", "2020-10-02T19:54:21.111804800Z" ]
+}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json
index 12639037b40d..a5e949cad341 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs0.json
@@ -1,25 +1,25 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs083240090aceb46c4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs065238c16e131d612?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8f729f80-a4a3-4fb7-992d-d83cae824630"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "02211f56-fd47-4ff3-b9e3-de36dfffe1c3"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C87D3A047",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:23 GMT",
+ "ETag" : "0x8D867094AB629DE",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:28:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f81e-601a-0022-7075-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:23 GMT",
- "x-ms-client-request-id" : "8f729f80-a4a3-4fb7-992d-d83cae824630"
+ "x-ms-request-id" : "54145dc9-101a-000d-20f2-985956000000",
+ "Date" : "Fri, 02 Oct 2020 19:28:07 GMT",
+ "x-ms-client-request-id" : "02211f56-fd47-4ff3-b9e3-de36dfffe1c3"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestscreatesharewithargs083240090aceb46c4" ]
+ "variables" : [ "shareapitestscreatesharewithargs065238c16e131d612" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json
index fee182e9068d..63364e823046 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs1.json
@@ -1,25 +1,25 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs160691e27dc51aa16?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs148583b127f40fa27?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2f5844b9-2fb0-4179-b6a9-26bd2ddbfbf7"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4c2653fd-9bae-42f2-89f7-0f7ea8ee8766"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C87FAB752",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:24 GMT",
+ "ETag" : "0x8D867094B9C202C",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:28:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f820-601a-0022-7175-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:23 GMT",
- "x-ms-client-request-id" : "2f5844b9-2fb0-4179-b6a9-26bd2ddbfbf7"
+ "x-ms-request-id" : "54145dd0-101a-000d-23f2-985956000000",
+ "Date" : "Fri, 02 Oct 2020 19:28:09 GMT",
+ "x-ms-client-request-id" : "4c2653fd-9bae-42f2-89f7-0f7ea8ee8766"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestscreatesharewithargs160691e27dc51aa16" ]
+ "variables" : [ "shareapitestscreatesharewithargs148583b127f40fa27" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json
index e5d71daeb061..79c7cf900fe4 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs2.json
@@ -1,25 +1,25 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs2175588c29971a006?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs26566421d63719267?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "94824a48-0dc9-4e04-a640-1bf1ab9ff777"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0b7ea8a7-7d70-48a6-b6f7-b2f4fbc3861a"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C881DD60E",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:24 GMT",
+ "ETag" : "0x8D867094BD00AEC",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:28:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f823-601a-0022-7275-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:24 GMT",
- "x-ms-client-request-id" : "94824a48-0dc9-4e04-a640-1bf1ab9ff777"
+ "x-ms-request-id" : "54145dd2-101a-000d-24f2-985956000000",
+ "Date" : "Fri, 02 Oct 2020 19:28:09 GMT",
+ "x-ms-client-request-id" : "0b7ea8a7-7d70-48a6-b6f7-b2f4fbc3861a"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestscreatesharewithargs2175588c29971a006" ]
+ "variables" : [ "shareapitestscreatesharewithargs26566421d63719267" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json
index ce15c08819ac..10ae861ab8e5 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs3.json
@@ -1,25 +1,25 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs33873217e87c9973f?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs399246991db845e11?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "36a13d95-3ca8-4015-b140-e05ae0965e9e"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e8e0197e-2345-4c66-95b6-3ef19538785c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C883C8725",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:24 GMT",
+ "ETag" : "0x8D867094C00C0C8",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:28:10 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f826-601a-0022-7375-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:24 GMT",
- "x-ms-client-request-id" : "36a13d95-3ca8-4015-b140-e05ae0965e9e"
+ "x-ms-request-id" : "54145dd4-101a-000d-25f2-985956000000",
+ "Date" : "Fri, 02 Oct 2020 19:28:09 GMT",
+ "x-ms-client-request-id" : "e8e0197e-2345-4c66-95b6-3ef19538785c"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestscreatesharewithargs33873217e87c9973f" ]
+ "variables" : [ "shareapitestscreatesharewithargs399246991db845e11" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs4.json
new file mode 100644
index 000000000000..a61cae8ef052
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsCreateShareWithArgs4.json
@@ -0,0 +1,25 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestscreatesharewithargs416808497b15f55cc?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "05f72d19-8021-4d6a-8a73-2427d7824bf8"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D867094C326138",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:28:10 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "54145dd6-101a-000d-26f2-985956000000",
+ "Date" : "Fri, 02 Oct 2020 19:28:10 GMT",
+ "x-ms-client-request-id" : "05f72d19-8021-4d6a-8a73-2427d7824bf8"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ "shareapitestscreatesharewithargs416808497b15f55cc" ]
+}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTier.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTier.json
new file mode 100644
index 000000000000..d52bf6dca805
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTier.json
@@ -0,0 +1,103 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstier842293887cb71d44d43?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "04ff9277-2416-4ba0-ad9f-28da4883c9d0"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670B86BCBAA8",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "fc3cb37e-801a-001f-43f4-982286000000",
+ "Date" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "x-ms-client-request-id" : "04ff9277-2416-4ba0-ad9f-28da4883c9d0"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstier842293887cb71d44d43?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1b447fc7-ca6d-4e10-ae81-b3a11263ac9a"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "x-ms-lease-state" : "available",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "retry-after" : "0",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "StatusCode" : "200",
+ "Date" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "x-ms-has-legal-hold" : "false",
+ "x-ms-share-quota" : "5120",
+ "x-ms-access-tier" : "Hot",
+ "ETag" : "0x8D8670B86BCBAA8",
+ "x-ms-has-immutability-policy" : "false",
+ "Content-Length" : "0",
+ "x-ms-request-id" : "fc3cb382-801a-001f-44f4-982286000000",
+ "x-ms-client-request-id" : "1b447fc7-ca6d-4e10-ae81-b3a11263ac9a"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstier842293887cb71d44d43?restype=share&comp=properties",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7e839c21-2787-4498-9c04-0c3d13923a33"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670B86FAEB5D",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "200",
+ "x-ms-request-id" : "fc3cb383-801a-001f-45f4-982286000000",
+ "Date" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "x-ms-client-request-id" : "7e839c21-2787-4498-9c04-0c3d13923a33"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstier842293887cb71d44d43?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "89a9834a-e400-4bd9-8b16-de439fb8df54"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "x-ms-lease-state" : "available",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "retry-after" : "0",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "StatusCode" : "200",
+ "Date" : "Fri, 02 Oct 2020 19:44:07 GMT",
+ "x-ms-has-legal-hold" : "false",
+ "x-ms-share-quota" : "5120",
+ "x-ms-access-tier" : "TransactionOptimized",
+ "ETag" : "0x8D8670B86FAEB5D",
+ "x-ms-has-immutability-policy" : "false",
+ "Content-Length" : "0",
+ "x-ms-request-id" : "fc3cb384-801a-001f-46f4-982286000000",
+ "x-ms-access-tier-transition-state" : "pending-from-hot",
+ "x-ms-client-request-id" : "89a9834a-e400-4bd9-8b16-de439fb8df54"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ "shareapitestssetaccesstier842293887cb71d44d43", "2020-10-02T19:44:05.387483800Z" ]
+}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierError.json
new file mode 100644
index 000000000000..d9a27e4f6cea
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierError.json
@@ -0,0 +1,26 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstiererror06924eb2b93b9b27d?restype=share&comp=properties",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6d837e93-3035-4a7f-bf7c-70f11db413bb"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "x-ms-error-code" : "ShareNotFound",
+ "retry-after" : "0",
+ "Content-Length" : "217",
+ "StatusCode" : "404",
+ "x-ms-request-id" : "ea5cba8b-301a-0035-7ff2-98fd96000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:ea5cba8b-301a-0035-7ff2-98fd96000000\nTime:2020-10-02T19:30:31.4412962Z",
+ "Date" : "Fri, 02 Oct 2020 19:30:31 GMT",
+ "x-ms-client-request-id" : "6d837e93-3035-4a7f-bf7c-70f11db413bb",
+ "Content-Type" : "application/xml"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ "shareapitestssetaccesstiererror06924eb2b93b9b27d" ]
+}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLease.json
new file mode 100644
index 000000000000..cd131816ee28
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLease.json
@@ -0,0 +1,68 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstierlease340976a851b55feb9?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7408c83a-dd73-4edf-a410-750e852829db"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670A3D4A0E3E",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:34:54 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "5740f992-801a-000f-3df3-98e7ee000000",
+ "Date" : "Fri, 02 Oct 2020 19:34:54 GMT",
+ "x-ms-client-request-id" : "7408c83a-dd73-4edf-a410-750e852829db"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstierlease340976a851b55feb9?comp=lease&restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "758b78a1-9dfb-4573-8960-8f2fc295f034"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670A3D4A0E3E",
+ "x-ms-lease-id" : "92fe4c0d-ea5b-42ab-b86a-6ab9736d4c9c",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:34:54 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "5740f99e-801a-000f-46f3-98e7ee000000",
+ "Date" : "Fri, 02 Oct 2020 19:34:54 GMT",
+ "x-ms-client-request-id" : "758b78a1-9dfb-4573-8960-8f2fc295f034"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstierlease340976a851b55feb9?restype=share&comp=properties",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ef059245-7704-47c9-a626-793b5b51e3b9"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670A3DA811B2",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:34:55 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "200",
+ "x-ms-request-id" : "5740f9a9-801a-000f-51f3-98e7ee000000",
+ "Date" : "Fri, 02 Oct 2020 19:34:54 GMT",
+ "x-ms-client-request-id" : "ef059245-7704-47c9-a626-793b5b51e3b9"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ "shareapitestssetaccesstierlease340976a851b55feb9" ]
+}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLeaseError.json
new file mode 100644
index 000000000000..0133940180d4
--- /dev/null
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetAccessTierLeaseError.json
@@ -0,0 +1,47 @@
+{
+ "networkCallRecords" : [ {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstierleaseerror44957c56e155f1?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "79fb3cfd-8cea-4af0-8fe1-b22bc287dbd7"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8670A63FC37D2",
+ "Last-Modified" : "Fri, 02 Oct 2020 19:35:59 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "b05fad0f-a01a-006a-27f3-9849aa000000",
+ "Date" : "Fri, 02 Oct 2020 19:35:59 GMT",
+ "x-ms-client-request-id" : "79fb3cfd-8cea-4af0-8fe1-b22bc287dbd7"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetaccesstierleaseerror44957c56e155f1?restype=share&comp=properties",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f15e8e46-07d3-489a-80cb-2577f4dafd1b"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "x-ms-error-code" : "LeaseNotPresentWithContainerOperation",
+ "retry-after" : "0",
+ "Content-Length" : "252",
+ "StatusCode" : "412",
+ "x-ms-request-id" : "b05fad14-a01a-006a-2af3-9849aa000000",
+ "Body" : "LeaseNotPresentWithContainerOperationThere is currently no lease on the file share.\nRequestId:b05fad14-a01a-006a-2af3-9849aa000000\nTime:2020-10-02T19:36:00.1815723Z",
+ "Date" : "Fri, 02 Oct 2020 19:35:59 GMT",
+ "x-ms-client-request-id" : "f15e8e46-07d3-489a-80cb-2577f4dafd1b",
+ "Content-Type" : "application/xml"
+ },
+ "Exception" : null
+ } ],
+ "variables" : [ "shareapitestssetaccesstierleaseerror44957c56e155f1" ]
+}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/swagger/README.md b/sdk/storage/azure-storage-file-share/swagger/README.md
index cf374aa7fe45..9bd6751e693a 100644
--- a/sdk/storage/azure-storage-file-share/swagger/README.md
+++ b/sdk/storage/azure-storage-file-share/swagger/README.md
@@ -26,7 +26,7 @@ license-header: MICROSOFT_MIT_SMALL
add-context-parameter: true
models-subpackage: implementation.models
custom-types-subpackage: models
-custom-types: HandleItem,ShareFileHttpHeaders,ShareItem,ShareServiceProperties,ShareCorsRule,ShareProperties,Range,FileRange,ClearRange,ShareFileRangeList,CopyStatusType,ShareSignedIdentifier,SourceModifiedAccessConditions,ShareErrorCode,StorageServiceProperties,ShareMetrics,ShareAccessPolicy,ShareFileDownloadHeaders,LeaseDurationType,LeaseStateType,LeaseStatusType,PermissionCopyModeType,DeleteSnapshotsOptionType
+custom-types: HandleItem,ShareFileHttpHeaders,ShareItem,ShareServiceProperties,ShareCorsRule,ShareProperties,Range,FileRange,ClearRange,ShareFileRangeList,CopyStatusType,ShareSignedIdentifier,SourceModifiedAccessConditions,ShareErrorCode,StorageServiceProperties,ShareMetrics,ShareAccessPolicy,ShareFileDownloadHeaders,LeaseDurationType,LeaseStateType,LeaseStatusType,PermissionCopyModeType,DeleteSnapshotsOptionType,ShareAccessTier
```
### Query Parameters
From f54e4d0b3bf2010d7c80d1ee6e5697d9025d351b Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 13:25:58 -0700
Subject: [PATCH 02/12] Added samples
---
.../file/share/ShareServiceClient.java | 1 -
.../share/ShareAsyncJavaDocCodeSamples.java | 45 +++++++++++++++++++
.../file/share/ShareJavaDocCodeSamples.java | 39 ++++++++++++++++
.../ShareServiceAsyncJavaDocCodeSamples.java | 19 ++++++++
.../share/ShareServiceJavaDocCodeSamples.java | 16 +++++++
.../file/share/FileServiceAPITests.groovy | 1 -
6 files changed, 119 insertions(+), 2 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java
index 0612ddf33869..c52059e89a94 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceClient.java
@@ -329,7 +329,6 @@ public Response createShareWithResponse(String shareName, MapCode Samples
-
*
* {@codesnippet ShareServiceClient.createShareWithResponse#String-ShareCreateOptions-Duration-Context}
*
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
index f4a54f91fdd5..10b00ca0f0d7 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
@@ -4,15 +4,18 @@
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.file.share.models.ShareAccessPolicy;
+import com.azure.storage.file.share.models.ShareAccessTier;
import com.azure.storage.file.share.models.ShareFileHttpHeaders;
import com.azure.storage.file.share.models.ShareRequestConditions;
import com.azure.storage.file.share.models.ShareSignedIdentifier;
import com.azure.storage.file.share.models.NtfsFileAttributes;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import com.azure.storage.file.share.options.ShareDeleteOptions;
import com.azure.storage.file.share.options.ShareGetAccessPolicyOptions;
import com.azure.storage.file.share.options.ShareGetPropertiesOptions;
import com.azure.storage.file.share.options.ShareGetStatisticsOptions;
import com.azure.storage.file.share.options.ShareSetAccessPolicyOptions;
+import com.azure.storage.file.share.options.ShareSetAccessTierOptions;
import com.azure.storage.file.share.options.ShareSetMetadataOptions;
import com.azure.storage.file.share.options.ShareSetQuotaOptions;
import com.azure.storage.file.share.sas.ShareSasPermission;
@@ -140,6 +143,22 @@ public void createWithResponse() {
// END: com.azure.storage.file.share.ShareAsyncClient.createWithResponse#map-integer.metadata
}
+ /**
+ * Generates a code sample for using {@link ShareAsyncClient#createWithResponse(ShareCreateOptions)}
+ */
+ public void createWithResponseOptions() {
+ ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken();
+ // BEGIN: com.azure.storage.file.share.ShareAsyncClient.createWithResponse#ShareCreateOptions
+ shareAsyncClient.createWithResponse(new ShareCreateOptions()
+ .setMetadata(Collections.singletonMap("share", "metadata")).setQuotaInGb(1)
+ .setAccessTier(ShareAccessTier.HOT)).subscribe(
+ response -> System.out.printf("Creating the share completed with status code %d", response.getStatusCode()),
+ error -> System.err.print(error.toString()),
+ () -> System.out.println("Complete creating the share!")
+ );
+ // END: com.azure.storage.file.share.ShareAsyncClient.createWithResponse#ShareCreateOptions
+ }
+
/**
* Generates a code sample for using {@link ShareAsyncClient#createWithResponse(Map, Integer)} with Quota.
*/
@@ -471,6 +490,32 @@ public void setQuotaWithResponse2() {
// END: com.azure.storage.file.share.ShareAsyncClient.setQuotaWithResponse#ShareSetQuotaOptions
}
+ /**
+ * Generates a code sample for using {@link ShareAsyncClient#setAccessTier(ShareAccessTier)}
+ */
+ public void setAccessTierAsync() {
+ ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken();
+ // BEGIN: com.azure.storage.file.share.ShareAsyncClient.setAccessTier#ShareAccessTier
+ shareAsyncClient.setAccessTier(ShareAccessTier.HOT).doOnSuccess(response ->
+ System.out.println("Setting the share access tier completed.")
+ );
+ // END: com.azure.storage.file.share.ShareAsyncClient.setAccessTier#ShareAccessTier
+ }
+
+ /**
+ * Generates a code sample for using {@link ShareAsyncClient#setAccessTierWithResponse(ShareSetAccessTierOptions)}
+ */
+ public void setAccessTierWithResponse() {
+ ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken();
+ // BEGIN: com.azure.storage.file.share.ShareAsyncClient.setAccessTierWithResponse#ShareSetAccessTierOptions
+ shareAsyncClient.setAccessTierWithResponse(new ShareSetAccessTierOptions(ShareAccessTier.HOT)
+ .setRequestConditions(new ShareRequestConditions().setLeaseId(leaseId)))
+ .subscribe(response ->
+ System.out.printf("Setting the share quota completed with status code %d", response.getStatusCode())
+ );
+ // END: com.azure.storage.file.share.ShareAsyncClient.setAccessTierWithResponse#ShareSetAccessTierOptions
+ }
+
/**
* Generates a code sample for using {@link ShareAsyncClient#setMetadata(Map)}
*/
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java
index 7873348277c5..7bb6e96cb026 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareJavaDocCodeSamples.java
@@ -6,6 +6,7 @@
import com.azure.core.util.Context;
import com.azure.storage.common.StorageSharedKeyCredential;
import com.azure.storage.file.share.models.ShareAccessPolicy;
+import com.azure.storage.file.share.models.ShareAccessTier;
import com.azure.storage.file.share.models.ShareFileHttpHeaders;
import com.azure.storage.file.share.models.ShareRequestConditions;
import com.azure.storage.file.share.models.ShareSignedIdentifier;
@@ -14,11 +15,13 @@
import com.azure.storage.file.share.models.ShareProperties;
import com.azure.storage.file.share.models.ShareSnapshotInfo;
import com.azure.storage.file.share.models.ShareStatistics;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import com.azure.storage.file.share.options.ShareDeleteOptions;
import com.azure.storage.file.share.options.ShareGetAccessPolicyOptions;
import com.azure.storage.file.share.options.ShareGetPropertiesOptions;
import com.azure.storage.file.share.options.ShareGetStatisticsOptions;
import com.azure.storage.file.share.options.ShareSetAccessPolicyOptions;
+import com.azure.storage.file.share.options.ShareSetAccessTierOptions;
import com.azure.storage.file.share.options.ShareSetMetadataOptions;
import com.azure.storage.file.share.options.ShareSetQuotaOptions;
import com.azure.storage.file.share.sas.ShareSasPermission;
@@ -154,6 +157,20 @@ public void createWithResponse() {
// END: ShareClient.createWithResponse#map-integer-duration-context.quota
}
+ /**
+ * Generates a code sample for using {@link ShareClient#createWithResponse(ShareCreateOptions,
+ * Duration, Context)} with Quota.
+ */
+ public void createWithResponseOptions() {
+ ShareClient shareClient = createClientWithSASToken();
+ // BEGIN: ShareClient.createWithResponse#ShareCreateOptions-Duration-Context
+ Response response = shareClient.createWithResponse(new ShareCreateOptions()
+ .setMetadata(Collections.singletonMap("share", "metadata")).setQuotaInGb(1)
+ .setAccessTier(ShareAccessTier.HOT), Duration.ofSeconds(1), new Context(key1, value1));
+ System.out.println("Complete creating the shares with status code: " + response.getStatusCode());
+ // END: ShareClient.createWithResponse#ShareCreateOptions-Duration-Context
+ }
+
/**
* Generates a code sample for using {@link ShareClient#createWithResponse(Map, Integer,
* Duration, Context)} with Metadata.
@@ -448,6 +465,28 @@ public void setQuotaWithResponse2() {
// END: com.azure.storage.file.share.ShareClient.setQuotaWithResponse#ShareSetQuotaOptions-Duration-Context
}
+ /**
+ * Generates a code sample for using {@link ShareClient#setAccessTier(ShareAccessTier)}
+ */
+ public void setAccessTier() {
+ ShareClient shareClient = createClientWithSASToken();
+ // BEGIN: ShareClient.setAccessTier#ShareAccessTier
+ System.out.println("Setting the share access tier completed." + shareClient.setAccessTier(ShareAccessTier.HOT));
+ // END: ShareClient.setAccessTier#ShareAccessTier
+ }
+
+ /**
+ * Generates a code sample for using {@link ShareClient#setAccessTierWithResponse(ShareSetAccessTierOptions, Duration, Context)}
+ */
+ public void setAccessTierWithResponse() {
+ ShareClient shareClient = createClientWithSASToken();
+ // BEGIN: com.azure.storage.file.share.ShareClient.setAccessTierWithResponse#ShareSetAccessTierOptions-Duration-Context
+ Response response = shareClient.setAccessTierWithResponse(
+ new ShareSetAccessTierOptions(ShareAccessTier.HOT), Duration.ofSeconds(1), new Context(key1, value1));
+ System.out.printf("Setting the share access tier completed with status code %d", response.getStatusCode());
+ // END: com.azure.storage.file.share.ShareClient.setAccessTierWithResponse#ShareSetAccessTierOptions-Duration-Context
+ }
+
/**
* Generates a code sample for using {@link ShareClient#setMetadata(Map)}
*/
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java
index f8372179d9ea..bf27f21ccf3c 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java
@@ -8,8 +8,10 @@
import com.azure.storage.common.sas.AccountSasResourceType;
import com.azure.storage.common.sas.AccountSasService;
import com.azure.storage.common.sas.AccountSasSignatureValues;
+import com.azure.storage.file.share.models.ShareAccessTier;
import com.azure.storage.file.share.models.ShareServiceProperties;
import com.azure.storage.file.share.models.ListSharesOptions;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import reactor.core.publisher.Mono;
import java.time.Duration;
@@ -123,6 +125,23 @@ public void createShareAsyncWithQuota() {
// END: com.azure.storage.file.share.ShareServiceAsyncClient.createShareWithResponse#string-map-integer.quota
}
+ /**
+ * Generates a code sample for using {@link ShareServiceAsyncClient#createShareWithResponse(String, ShareCreateOptions)}.
+ */
+ public void createShareAsyncWithOptions() {
+ ShareServiceAsyncClient fileServiceAsyncClient = createAsyncClientWithSASToken();
+ // BEGIN: com.azure.storage.file.share.ShareServiceAsyncClient.createShareWithResponse#String-ShareCreateOptions
+ fileServiceAsyncClient.createShareWithResponse("test", new ShareCreateOptions()
+ .setMetadata(Collections.singletonMap("share", "metadata")).setQuotaInGb(1)
+ .setAccessTier(ShareAccessTier.HOT)).subscribe(
+ response -> System.out.printf("Creating the share completed with status code %d",
+ response.getStatusCode()),
+ error -> System.err.print(error.toString()),
+ () -> System.out.println("Complete creating the share!")
+ );
+ // END: com.azure.storage.file.share.ShareServiceAsyncClient.createShareWithResponse#String-ShareCreateOptions
+ }
+
/**
* Generates a code sample for using {@link ShareServiceAsyncClient#listShares()}
*/
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceJavaDocCodeSamples.java
index 483119343006..e1ddeed7ceae 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceJavaDocCodeSamples.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceJavaDocCodeSamples.java
@@ -9,8 +9,10 @@
import com.azure.storage.common.sas.AccountSasResourceType;
import com.azure.storage.common.sas.AccountSasService;
import com.azure.storage.common.sas.AccountSasSignatureValues;
+import com.azure.storage.file.share.models.ShareAccessTier;
import com.azure.storage.file.share.models.ShareServiceProperties;
import com.azure.storage.file.share.models.ListSharesOptions;
+import com.azure.storage.file.share.options.ShareCreateOptions;
import java.time.Duration;
import java.time.LocalDateTime;
@@ -119,6 +121,20 @@ public void createShareWithMetadata() {
// END: ShareServiceClient.createShareWithResponse#string-map-integer-duration-context
}
+ /**
+ * Generates a code sample for using {@link ShareServiceClient#createShareWithResponse(String, ShareCreateOptions,
+ * Duration, Context)} with metadata
+ */
+ public void createShareWithOptions() {
+ ShareServiceClient fileServiceClient = createClientWithSASToken();
+ // BEGIN: ShareServiceClient.createShareWithResponse#String-ShareCreateOptions-Duration-Context
+ Response response = fileServiceClient.createShareWithResponse("test",
+ new ShareCreateOptions().setMetadata(Collections.singletonMap("share", "metadata")).setQuotaInGb(1)
+ .setAccessTier(ShareAccessTier.HOT), Duration.ofSeconds(1), new Context(key1, value1));
+ System.out.printf("Creating the share completed with status code %d", response.getStatusCode());
+ // END: ShareServiceClient.createShareWithResponse#String-ShareCreateOptions-Duration-Context
+ }
+
/**
* Generates a code sample for using {@link ShareServiceClient#listShares()}
*/
diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy
index 28795871f311..5eeb924f567a 100644
--- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy
+++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/FileServiceAPITests.groovy
@@ -209,7 +209,6 @@ class FileServiceAPITests extends APISpec {
item.getProperties().getAccessTierChangeTime().isAfter(time)
item.getProperties().getAccessTierChangeTime().isBefore(time.plusMinutes(1))
item.getProperties().getAccessTierTransitionState() == "pending-from-hot"
-
}
def "List shares with premium share"() {
From 5804146e19124fabcf58a7afee12202c6bcb7a2d Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 13:52:07 -0700
Subject: [PATCH 03/12] javadoc
---
.../src/main/java/com/azure/storage/file/share/ShareClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java
index b6c26b5b88d7..64ffbd0ce4f0 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareClient.java
@@ -216,7 +216,7 @@ public Response createWithResponse(Map metadata, Inte
*
* Code Samples
*
- * {@codesnippet ShareClient.createWithResponse#ShareCreateOptions}
+ * {@codesnippet ShareClient.createWithResponse#ShareCreateOptions-Duration-Context}
*
* For more information, see the
* Azure Docs.
From 4ded6fda0424af0a9ad94d0f44f58e61b154e92b Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 13:53:58 -0700
Subject: [PATCH 04/12] Added changelog
---
sdk/storage/azure-storage-file-share/CHANGELOG.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sdk/storage/azure-storage-file-share/CHANGELOG.md b/sdk/storage/azure-storage-file-share/CHANGELOG.md
index 7e833ed39c95..7eaebf0ce392 100644
--- a/sdk/storage/azure-storage-file-share/CHANGELOG.md
+++ b/sdk/storage/azure-storage-file-share/CHANGELOG.md
@@ -1,7 +1,8 @@
# Release History
## 12.7.0-beta.2 (Unreleased)
-
+- Added support for setting access tier on a share through ShareClient.create, ShareClient.setAccessTier.
+- Added support for getting access tier on a share through ShareClient.getProperties, ShareServiceClient.listShares
## 12.7.0-beta.1 (2020-10-01)
- Added support for the 2020-02-10 service version.
From 1b5d3acc4cb59e3caeeea4f464cc73cc68f7ef18 Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 14:29:51 -0700
Subject: [PATCH 05/12] Added returns
---
.../azure/storage/file/share/options/ShareCreateOptions.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
index f8b5a6b3c5fd..5762765828f7 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
@@ -28,6 +28,7 @@ public Integer getQuotaInGb() {
/**
* @param quotaInGb Size in GB to limit the share's growth. The quota in GB must be between 1 and 5120.
+ * @return The updated options.
*/
public ShareCreateOptions setQuotaInGb(Integer quotaInGb) {
this.quotaInGb = quotaInGb;
@@ -43,6 +44,7 @@ public Map getMetadata() {
/**
* @param metadata Metadata to associate with the share.
+ * @return The updated options.
*/
public ShareCreateOptions setMetadata(Map metadata) {
this.metadata = metadata;
From f3756efcadd4b21193ed6c918d970e3384ad88f7 Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 14:47:31 -0700
Subject: [PATCH 06/12] Fixed lease test records
---
.../file/share/ShareAsyncAPITests.groovy | 2 +-
.../LeaseAPITestAcquireFileLease.json | 85 +++++++------
.../LeaseAPITestAcquireFileLeaseError.json | 56 ++++-----
.../LeaseAPITestAcquireShareLease0.json | 79 ++++++------
.../LeaseAPITestAcquireShareLease1.json | 79 ++++++------
.../LeaseAPITestAcquireShareLease2.json | 79 ++++++------
...APITestAcquireShareLeaseDurationFail0.json | 56 ++++-----
...APITestAcquireShareLeaseDurationFail1.json | 56 ++++-----
...APITestAcquireShareLeaseDurationFail2.json | 56 ++++-----
.../LeaseAPITestAcquireShareLeaseError.json | 56 ++++-----
.../LeaseAPITestAcquireShareLeaseMin.json | 60 +++++-----
...LeaseAPITestAcquireShareLeaseSnapshot.json | 94 +++++++--------
...eAPITestAcquireShareLeaseSnapshotFail.json | 56 ++++-----
.../LeaseAPITestBreakFileLease.json | 101 ++++++++--------
.../LeaseAPITestBreakFileLeaseError.json | 56 ++++-----
.../LeaseAPITestBreakFileLeaseMin.json | 76 ++++++------
.../LeaseAPITestBreakShareLease0.json | 97 ++++++++-------
.../LeaseAPITestBreakShareLease1.json | 97 ++++++++-------
.../LeaseAPITestBreakShareLease2.json | 97 ++++++++-------
.../LeaseAPITestBreakShareLeaseError.json | 56 ++++-----
.../LeaseAPITestBreakShareLeaseMin.json | 76 ++++++------
.../LeaseAPITestBreakShareLeaseSnapshot.json | 94 +++++++--------
...aseAPITestBreakShareLeaseSnapshotFail.json | 56 ++++-----
.../LeaseAPITestChangeFileLease.json | 94 +++++++--------
.../LeaseAPITestChangeFileLeaseError.json | 56 ++++-----
.../LeaseAPITestChangeFileLeaseMin.json | 78 ++++++------
.../LeaseAPITestChangeShareLease.json | 94 +++++++--------
.../LeaseAPITestChangeShareLeaseError.json | 56 ++++-----
.../LeaseAPITestChangeShareLeaseMin.json | 78 ++++++------
.../LeaseAPITestChangeShareLeaseSnapshot.json | 112 +++++++++---------
...seAPITestChangeShareLeaseSnapshotFail.json | 56 ++++-----
.../LeaseAPITestReleaseFileLeaseError.json | 56 ++++-----
.../LeaseAPITestReleaseLease.json | 101 ++++++++--------
.../LeaseAPITestReleaseLeaseMin.json | 76 ++++++------
.../LeaseAPITestReleaseShareLease.json | 97 ++++++++-------
.../LeaseAPITestReleaseShareLeaseError.json | 56 ++++-----
.../LeaseAPITestReleaseShareLeaseMin.json | 76 ++++++------
...LeaseAPITestReleaseShareLeaseSnapshot.json | 94 +++++++--------
...eAPITestReleaseShareLeaseSnapshotFail.json | 56 ++++-----
.../LeaseAPITestRenewShareLease.json | 97 ++++++++-------
.../LeaseAPITestRenewShareLeaseError.json | 56 ++++-----
.../LeaseAPITestRenewShareLeaseMin.json | 78 ++++++------
.../LeaseAPITestRenewShareLeaseSnapshot.json | 112 +++++++++---------
...aseAPITestRenewShareLeaseSnapshotFail.json | 56 ++++-----
44 files changed, 1622 insertions(+), 1633 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy
index 6c70734ea2b1..582ae2caa149 100644
--- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy
+++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/ShareAsyncAPITests.groovy
@@ -212,7 +212,7 @@ class ShareAsyncAPITests extends APISpec {
primaryShareAsyncClient.createWithResponse(null, 1).block()
when:
def getQuotaBeforeVerifier = StepVerifier.create(primaryShareAsyncClient.getProperties())
- def setQuotaVerifier = StepVerifier.create(primaryShareAsyncClient.setQuotaWithResponse(new ShareSetQuotaOptions(2), null))
+ def setQuotaVerifier = StepVerifier.create(primaryShareAsyncClient.setQuotaWithResponse(new ShareSetQuotaOptions(2)))
def getQuotaAfterVerifier = StepVerifier.create(primaryShareAsyncClient.getProperties())
then:
getQuotaBeforeVerifier.assertNext {
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json
index dd66137174ce..2d075fcad539 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLease.json
@@ -1,111 +1,110 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease1639304495925f8e04?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease9724490cfe97db8914?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7cba24b7-3d4f-477f-9928-c8ab288fa871"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3ef6cdd6-023b-4d41-816a-7bc0783dec94"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8447998D543E0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:51 GMT",
+ "ETag" : "0x8D8671C7BFBC4B1",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:30 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca11-601a-006f-6162-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:51 GMT",
- "x-ms-client-request-id" : "7cba24b7-3d4f-477f-9928-c8ab288fa871"
+ "x-ms-request-id" : "660dd1e0-301a-00a3-3a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:30 GMT",
+ "x-ms-client-request-id" : "3ef6cdd6-023b-4d41-816a-7bc0783dec94"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease1639304495925f8e04/leaseapitestacquirefilelease48557b6438d49dc0b4",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease9724490cfe97db8914/leaseapitestacquirefilelease482042c6f75fb2aa14",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "28dad421-a614-48a9-a62d-f4a835bb86e0"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0dda32b9-5539-4223-bae2-f5528319a04c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:52.2875111Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:52 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:31.7032740Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:31 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:52 GMT",
- "ETag" : "0x8D844799913E6E7",
+ "Date" : "Fri, 02 Oct 2020 21:45:30 GMT",
+ "ETag" : "0x8D8671C7C6A9F24",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:52.2875111Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:31.7032740Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca15-601a-006f-6262-76d031000000",
- "x-ms-client-request-id" : "28dad421-a614-48a9-a62d-f4a835bb86e0",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:52.2875111Z"
+ "x-ms-request-id" : "660dd1e4-301a-00a3-3b05-99f447000000",
+ "x-ms-client-request-id" : "0dda32b9-5539-4223-bae2-f5528319a04c",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:31.7032740Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease1639304495925f8e04/leaseapitestacquirefilelease48557b6438d49dc0b4?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease9724490cfe97db8914/leaseapitestacquirefilelease482042c6f75fb2aa14?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "746a895e-f652-41c3-b60a-2ed631f70501"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "98ce26c3-5f08-46b0-8c3c-cf4eb7376374"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799913E6E7",
- "x-ms-lease-id" : "c793e444-4bf1-48d4-9317-4bab109da2ed",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:52 GMT",
+ "ETag" : "0x8D8671C7C6A9F24",
+ "x-ms-lease-id" : "229dd86e-76ba-445e-89d9-8e9345985b14",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:31 GMT",
"retry-after" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca16-601a-006f-6362-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:52 GMT",
- "x-ms-client-request-id" : "746a895e-f652-41c3-b60a-2ed631f70501"
+ "x-ms-request-id" : "660dd1e5-301a-00a3-3c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:31 GMT",
+ "x-ms-client-request-id" : "98ce26c3-5f08-46b0-8c3c-cf4eb7376374"
},
"Exception" : null
}, {
"Method" : "HEAD",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease1639304495925f8e04/leaseapitestacquirefilelease48557b6438d49dc0b4",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefilelease9724490cfe97db8914/leaseapitestacquirefilelease482042c6f75fb2aa14",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "13a1f859-48d4-43db-bded-c86fc5706e62"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a985f112-5463-44b0-a191-d1ad72d0061d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "locked",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:52.2875111Z",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:31.7032740Z",
"x-ms-lease-state" : "leased",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:52 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:31 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:53:52 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:45:31 GMT",
"x-ms-server-encrypted" : "true",
"x-ms-type" : "File",
- "ETag" : "0x8D844799913E6E7",
+ "ETag" : "0x8D8671C7C6A9F24",
"x-ms-file-attributes" : "Archive",
- "Vary" : "Origin",
- "x-ms-file-change-time" : "2020-08-19T19:53:52.2875111Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:31.7032740Z",
"x-ms-file-parent-id" : "0",
"x-ms-lease-duration" : "infinite",
"Content-Length" : "50",
- "x-ms-request-id" : "d677ca17-601a-006f-6462-76d031000000",
- "x-ms-client-request-id" : "13a1f859-48d4-43db-bded-c86fc5706e62",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:52.2875111Z",
+ "x-ms-request-id" : "660dd1e6-301a-00a3-3d05-99f447000000",
+ "x-ms-client-request-id" : "a985f112-5463-44b0-a191-d1ad72d0061d",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:31.7032740Z",
"Content-Type" : "application/octet-stream"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquirefilelease1639304495925f8e04", "leaseapitestacquirefilelease48557b6438d49dc0b4", "c793e444-4bf1-48d4-9317-4bab109da2ed" ]
+ "variables" : [ "leaseapitestacquirefilelease9724490cfe97db8914", "leaseapitestacquirefilelease482042c6f75fb2aa14", "229dd86e-76ba-445e-89d9-8e9345985b14" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json
index fc41bc1433ff..08b62128fb6a 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireFileLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefileleaseerror7706440e470bd0a4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefileleaseerror2969085c4e90ba47?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "de6207a4-8eeb-43e8-ad5c-bfd7d034b3ed"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "368f7831-1b0f-4ea9-9340-ab2eadaac89d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8447999E9CC83",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:53 GMT",
+ "ETag" : "0x8D8671C7D91C705",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:33 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca19-601a-006f-6562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:53 GMT",
- "x-ms-client-request-id" : "de6207a4-8eeb-43e8-ad5c-bfd7d034b3ed"
+ "x-ms-request-id" : "660dd1ea-301a-00a3-3f05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:32 GMT",
+ "x-ms-client-request-id" : "368f7831-1b0f-4ea9-9340-ab2eadaac89d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefileleaseerror7706440e470bd0a4/leaseapitestacquirefileleaseerror8829136a1a422d69",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefileleaseerror2969085c4e90ba47/leaseapitestacquirefileleaseerror22738c06769d8fcb",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "914ea23e-493e-4534-80f0-3e74a829af0a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e54d891e-0d34-451e-a772-aec9c4e9f6f2"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:53.7835794Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:53 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:33.7347071Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:33 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:53 GMT",
- "ETag" : "0x8D8447999F82F12",
+ "Date" : "Fri, 02 Oct 2020 21:45:32 GMT",
+ "ETag" : "0x8D8671C7DA097FF",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:53.7835794Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:33.7347071Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca1b-601a-006f-6662-76d031000000",
- "x-ms-client-request-id" : "914ea23e-493e-4534-80f0-3e74a829af0a",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:53.7835794Z"
+ "x-ms-request-id" : "660dd1ec-301a-00a3-4005-99f447000000",
+ "x-ms-client-request-id" : "e54d891e-0d34-451e-a772-aec9c4e9f6f2",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:33.7347071Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefileleaseerror7706440e470bd0a4/garbage?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquirefileleaseerror2969085c4e90ba47/garbage?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "171b88f5-f4a3-47dc-9c91-6f93f83b1704"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d9ad6b2a-228e-431b-87f1-393c16bb7d4f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "223",
"StatusCode" : "404",
- "x-ms-request-id" : "d677ca1d-601a-006f-6862-76d031000000",
- "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:d677ca1d-601a-006f-6862-76d031000000\nTime:2020-08-19T19:53:53.9154666Z",
- "Date" : "Wed, 19 Aug 2020 19:53:53 GMT",
- "x-ms-client-request-id" : "171b88f5-f4a3-47dc-9c91-6f93f83b1704",
+ "x-ms-request-id" : "660dd1ed-301a-00a3-4105-99f447000000",
+ "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:660dd1ed-301a-00a3-4105-99f447000000\nTime:2020-10-02T21:45:33.8257370Z",
+ "Date" : "Fri, 02 Oct 2020 21:45:33 GMT",
+ "x-ms-client-request-id" : "d9ad6b2a-228e-431b-87f1-393c16bb7d4f",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquirefileleaseerror7706440e470bd0a4", "leaseapitestacquirefileleaseerror8829136a1a422d69" ]
+ "variables" : [ "leaseapitestacquirefileleaseerror2969085c4e90ba47", "leaseapitestacquirefileleaseerror22738c06769d8fcb" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease0.json
index d3c35bf20ce4..063eca7e54a7 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease0.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease0.json
@@ -1,106 +1,105 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease082369d4bc897b0288?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease05006436ba308de7e2?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "baee6d53-9c6b-44dc-8f0b-f0e3bbf15fba"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "616ee78d-0178-4107-9bcf-f0717d035170"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799CC38944",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:58 GMT",
+ "ETag" : "0x8D8671C81540C15",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:39 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca8a-601a-006f-4462-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:58 GMT",
- "x-ms-client-request-id" : "baee6d53-9c6b-44dc-8f0b-f0e3bbf15fba"
+ "x-ms-request-id" : "660dd22f-301a-00a3-6e05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:39 GMT",
+ "x-ms-client-request-id" : "616ee78d-0178-4107-9bcf-f0717d035170"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease082369d4bc897b0288/leaseapitestacquiresharelease057302c4e0aa616b26",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease05006436ba308de7e2/leaseapitestacquiresharelease0599139b88594bcab1",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "13a398f3-c0be-4fe7-a307-f73952bb4899"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "dab86ceb-bd70-4bc0-b13a-64265e26e6ba"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:58.5449722Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:58 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:40.0541668Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:40 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:58 GMT",
- "ETag" : "0x8D844799CCEB6FA",
+ "Date" : "Fri, 02 Oct 2020 21:45:39 GMT",
+ "ETag" : "0x8D8671C8164DDE4",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:58.5449722Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:40.0541668Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca8c-601a-006f-4562-76d031000000",
- "x-ms-client-request-id" : "13a398f3-c0be-4fe7-a307-f73952bb4899",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:58.5449722Z"
+ "x-ms-request-id" : "660dd231-301a-00a3-6f05-99f447000000",
+ "x-ms-client-request-id" : "dab86ceb-bd70-4bc0-b13a-64265e26e6ba",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:40.0541668Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease082369d4bc897b0288?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease05006436ba308de7e2?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7d516970-cb8b-469e-b83b-aaa44fe58e78"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "634c1297-5bdf-4684-9040-fd74da498d60"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799CC38944",
- "x-ms-lease-id" : "420351ce-62e9-45dd-8814-6d0c659ce90e",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:58 GMT",
+ "ETag" : "0x8D8671C81540C15",
+ "x-ms-lease-id" : "d5c34e87-da26-455d-baaa-e6e54a02d381",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:39 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca8d-601a-006f-4662-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:58 GMT",
- "x-ms-client-request-id" : "7d516970-cb8b-469e-b83b-aaa44fe58e78"
+ "x-ms-request-id" : "660dd232-301a-00a3-7005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:39 GMT",
+ "x-ms-client-request-id" : "634c1297-5bdf-4684-9040-fd74da498d60"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease082369d4bc897b0288?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease05006436ba308de7e2?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a8c3c88a-6be6-4dfc-8995-228a679e1c59"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e4fdea9b-0578-4200-be58-aa7389d737a6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "locked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "leased",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:58 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:39 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:53:58 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:45:39 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:53:58 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:45:39 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D844799CC38944",
+ "ETag" : "0x8D8671C81540C15",
"x-ms-has-immutability-policy" : "false",
"x-ms-lease-duration" : "infinite",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca8e-601a-006f-4762-76d031000000",
- "x-ms-client-request-id" : "a8c3c88a-6be6-4dfc-8995-228a679e1c59"
+ "x-ms-request-id" : "660dd236-301a-00a3-7305-99f447000000",
+ "x-ms-client-request-id" : "e4fdea9b-0578-4200-be58-aa7389d737a6"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquiresharelease082369d4bc897b0288", "leaseapitestacquiresharelease057302c4e0aa616b26" ]
+ "variables" : [ "leaseapitestacquiresharelease05006436ba308de7e2", "leaseapitestacquiresharelease0599139b88594bcab1" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease1.json
index b556f6a01af3..b94020279c5c 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease1.json
@@ -1,106 +1,105 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease103979647435e45b1a?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease129670d24a7b100fa5?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5d40c24e-7b65-4979-baad-558a404b45b0"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "877cac45-0e49-4d76-8010-126c149f7ddc"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799D3EEA49",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "ETag" : "0x8D8671C81CFBA6F",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:40 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca90-601a-006f-4962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
- "x-ms-client-request-id" : "5d40c24e-7b65-4979-baad-558a404b45b0"
+ "x-ms-request-id" : "660dd238-301a-00a3-7405-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:39 GMT",
+ "x-ms-client-request-id" : "877cac45-0e49-4d76-8010-126c149f7ddc"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease103979647435e45b1a/leaseapitestacquiresharelease136993491ad46513d7",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease129670d24a7b100fa5/leaseapitestacquiresharelease1623069eea1b5563e6",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9dd98972-9119-49d3-8fcb-0dd6ca242962"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e819013d-6a92-4d3e-93ba-be98ff28d33d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:59.3505495Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:40.8807490Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:40 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
- "ETag" : "0x8D844799D49A2D7",
+ "Date" : "Fri, 02 Oct 2020 21:45:40 GMT",
+ "ETag" : "0x8D8671C81E2FE42",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:59.3505495Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:40.8807490Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca93-601a-006f-4b62-76d031000000",
- "x-ms-client-request-id" : "9dd98972-9119-49d3-8fcb-0dd6ca242962",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:59.3505495Z"
+ "x-ms-request-id" : "660dd23a-301a-00a3-7505-99f447000000",
+ "x-ms-client-request-id" : "e819013d-6a92-4d3e-93ba-be98ff28d33d",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:40.8807490Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease103979647435e45b1a?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease129670d24a7b100fa5?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "52fa7131-70d2-4335-9240-6d77126470cb"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d0fd4667-10d8-420a-ae0f-30d72b872693"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799D3EEA49",
- "x-ms-lease-id" : "a04af599-5852-4162-a2a9-6ae199bd5625",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "ETag" : "0x8D8671C81CFBA6F",
+ "x-ms-lease-id" : "b55ea272-6f2c-4ab7-82c9-bb0745884da9",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:40 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca94-601a-006f-4c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
- "x-ms-client-request-id" : "52fa7131-70d2-4335-9240-6d77126470cb"
+ "x-ms-request-id" : "660dd23b-301a-00a3-7605-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:40 GMT",
+ "x-ms-client-request-id" : "d0fd4667-10d8-420a-ae0f-30d72b872693"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease103979647435e45b1a?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease129670d24a7b100fa5?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7ab48c5c-4210-492b-aa23-de792511ac35"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4c8658b9-995f-4488-80f9-faa76c180bd6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "locked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "leased",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:40 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:53:59 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:45:40 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:45:40 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D844799D3EEA49",
+ "ETag" : "0x8D8671C81CFBA6F",
"x-ms-has-immutability-policy" : "false",
"x-ms-lease-duration" : "fixed",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca95-601a-006f-4d62-76d031000000",
- "x-ms-client-request-id" : "7ab48c5c-4210-492b-aa23-de792511ac35"
+ "x-ms-request-id" : "660dd23c-301a-00a3-7705-99f447000000",
+ "x-ms-client-request-id" : "4c8658b9-995f-4488-80f9-faa76c180bd6"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquiresharelease103979647435e45b1a", "leaseapitestacquiresharelease136993491ad46513d7" ]
+ "variables" : [ "leaseapitestacquiresharelease129670d24a7b100fa5", "leaseapitestacquiresharelease1623069eea1b5563e6" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease2.json
index c56564fe448b..ca1c0ed3690f 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLease2.json
@@ -1,106 +1,105 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease270975d8a2c1655028?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease280928bbfca97fd3e4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cbe5cb7a-2c9c-4fe2-9765-ac052b1b91c8"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "65ecd873-6484-4989-ba34-b0914bd348dd"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799D89202D",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "ETag" : "0x8D8671C823EE37A",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:41 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca96-601a-006f-4e62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
- "x-ms-client-request-id" : "cbe5cb7a-2c9c-4fe2-9765-ac052b1b91c8"
+ "x-ms-request-id" : "660dd23e-301a-00a3-7805-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:40 GMT",
+ "x-ms-client-request-id" : "65ecd873-6484-4989-ba34-b0914bd348dd"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease270975d8a2c1655028/leaseapitestacquiresharelease285508040cf280482b",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease280928bbfca97fd3e4/leaseapitestacquiresharelease259480fc8ccf71c866",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0001c32f-5994-43f8-a906-533ad6b06041"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5febf926-4a32-48c4-9447-8af3e8cacc03"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:59.8408971Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:41.5762394Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:41 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
- "ETag" : "0x8D844799D94750B",
+ "Date" : "Fri, 02 Oct 2020 21:45:40 GMT",
+ "ETag" : "0x8D8671C824D1DDA",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:59.8408971Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:41.5762394Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca98-601a-006f-4f62-76d031000000",
- "x-ms-client-request-id" : "0001c32f-5994-43f8-a906-533ad6b06041",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:59.8408971Z"
+ "x-ms-request-id" : "660dd240-301a-00a3-7905-99f447000000",
+ "x-ms-client-request-id" : "5febf926-4a32-48c4-9447-8af3e8cacc03",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:41.5762394Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease270975d8a2c1655028?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease280928bbfca97fd3e4?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1aca3b98-4406-411b-a493-4c5f52cb52a9"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ff942fdc-195a-4510-b67e-ddb4ec0f3fab"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799D89202D",
- "x-ms-lease-id" : "e6aea5f6-cdc2-4950-9ce8-45e4315c92e5",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "ETag" : "0x8D8671C823EE37A",
+ "x-ms-lease-id" : "307ce477-d814-40a6-9799-702dfc7fde4e",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:41 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca99-601a-006f-5062-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
- "x-ms-client-request-id" : "1aca3b98-4406-411b-a493-4c5f52cb52a9"
+ "x-ms-request-id" : "660dd241-301a-00a3-7a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:40 GMT",
+ "x-ms-client-request-id" : "ff942fdc-195a-4510-b67e-ddb4ec0f3fab"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease270975d8a2c1655028?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquiresharelease280928bbfca97fd3e4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e4e105f4-8353-439b-b7db-475afa13ea90"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a2d3f0f6-d593-4246-9e63-c8c0126d99c6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "locked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "leased",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:41 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:53:59 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:45:41 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:45:40 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D844799D89202D",
+ "ETag" : "0x8D8671C823EE37A",
"x-ms-has-immutability-policy" : "false",
"x-ms-lease-duration" : "infinite",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca9a-601a-006f-5162-76d031000000",
- "x-ms-client-request-id" : "e4e105f4-8353-439b-b7db-475afa13ea90"
+ "x-ms-request-id" : "660dd242-301a-00a3-7b05-99f447000000",
+ "x-ms-client-request-id" : "a2d3f0f6-d593-4246-9e63-c8c0126d99c6"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquiresharelease270975d8a2c1655028", "leaseapitestacquiresharelease285508040cf280482b" ]
+ "variables" : [ "leaseapitestacquiresharelease280928bbfca97fd3e4", "leaseapitestacquiresharelease259480fc8ccf71c866" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail0.json
index 561a86acffe7..725701c83efb 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail0.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail0.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail073764c317f4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail07040295a8ba?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d0989a82-bd03-4372-a9fd-783fd13e5130"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9af9f8a9-0dbc-4e67-974c-117d2684fb37"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799EB8FDFC",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:01 GMT",
+ "ETag" : "0x8D8671C83C3F2EB",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:44 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cab9-601a-006f-6962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "x-ms-client-request-id" : "d0989a82-bd03-4372-a9fd-783fd13e5130"
+ "x-ms-request-id" : "660dd259-301a-00a3-0d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:43 GMT",
+ "x-ms-client-request-id" : "9af9f8a9-0dbc-4e67-974c-117d2684fb37"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail073764c317f4/leaseapitestacquireshareleasedurationfail076243ef345a",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail07040295a8ba/leaseapitestacquireshareleasedurationfail069501d5915d",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "657874a0-8649-424a-a201-034c29012d40"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c687ca89-6db2-4ffd-9a2e-1e684f1d272e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:01.8453280Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:01 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:44.1390485Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:44 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "ETag" : "0x8D844799EC64F20",
+ "Date" : "Fri, 02 Oct 2020 21:45:43 GMT",
+ "ETag" : "0x8D8671C83D42B95",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:01.8453280Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:44.1390485Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cabb-601a-006f-6a62-76d031000000",
- "x-ms-client-request-id" : "657874a0-8649-424a-a201-034c29012d40",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:01.8453280Z"
+ "x-ms-request-id" : "660dd25b-301a-00a3-0e05-99f447000000",
+ "x-ms-client-request-id" : "c687ca89-6db2-4ffd-9a2e-1e684f1d272e",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:44.1390485Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail073764c317f4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail07040295a8ba?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9efe00eb-cf3c-489f-acba-7cc049a8c9e5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ef0fa164-cf8f-4a82-af71-cfdff72a43c4"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "328",
"StatusCode" : "400",
- "x-ms-request-id" : "d677cabc-601a-006f-6b62-76d031000000",
- "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:d677cabc-601a-006f-6b62-76d031000000\nTime:2020-08-19T19:54:01.9221705Zx-ms-lease-duration-10",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "x-ms-client-request-id" : "9efe00eb-cf3c-489f-acba-7cc049a8c9e5",
+ "x-ms-request-id" : "660dd25c-301a-00a3-0f05-99f447000000",
+ "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:660dd25c-301a-00a3-0f05-99f447000000\nTime:2020-10-02T21:45:44.2358791Zx-ms-lease-duration-10",
+ "Date" : "Fri, 02 Oct 2020 21:45:43 GMT",
+ "x-ms-client-request-id" : "ef0fa164-cf8f-4a82-af71-cfdff72a43c4",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquireshareleasedurationfail073764c317f4", "leaseapitestacquireshareleasedurationfail076243ef345a" ]
+ "variables" : [ "leaseapitestacquireshareleasedurationfail07040295a8ba", "leaseapitestacquireshareleasedurationfail069501d5915d" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail1.json
index e0ba98ae88e4..6e28154c8ad1 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail1.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail1756351d7573?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail161567b09827?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a381ecd8-fa2c-4a4b-8622-88d8cb210810"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5a5e0931-3b68-4e03-b69c-7e97427020f0"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799EF4D963",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:02 GMT",
+ "ETag" : "0x8D8671C841295E2",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:44 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cabd-601a-006f-6c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "x-ms-client-request-id" : "a381ecd8-fa2c-4a4b-8622-88d8cb210810"
+ "x-ms-request-id" : "660dd25d-301a-00a3-1005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:43 GMT",
+ "x-ms-client-request-id" : "5a5e0931-3b68-4e03-b69c-7e97427020f0"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail1756351d7573/leaseapitestacquireshareleasedurationfail142637c1aee1",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail161567b09827/leaseapitestacquireshareleasedurationfail11149213b9bb",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2354e182-2f2d-42b3-a02c-8f3b6aa6894a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5911bb90-cd97-41ba-bbb7-633b0228b6d5"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:02.2376064Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:02 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:44.6554119Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:44 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "ETag" : "0x8D844799F022A80",
+ "Date" : "Fri, 02 Oct 2020 21:45:43 GMT",
+ "ETag" : "0x8D8671C8422F607",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:02.2376064Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:44.6554119Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cac0-601a-006f-6d62-76d031000000",
- "x-ms-client-request-id" : "2354e182-2f2d-42b3-a02c-8f3b6aa6894a",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:02.2376064Z"
+ "x-ms-request-id" : "660dd25f-301a-00a3-1105-99f447000000",
+ "x-ms-client-request-id" : "5911bb90-cd97-41ba-bbb7-633b0228b6d5",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:44.6554119Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail1756351d7573?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail161567b09827?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cd4c2789-6127-4838-a333-401f7663c18d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c4a144fb-8e53-4f00-b2e5-dbbaabe0e024"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "327",
"StatusCode" : "400",
- "x-ms-request-id" : "d677cac1-601a-006f-6e62-76d031000000",
- "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:d677cac1-601a-006f-6e62-76d031000000\nTime:2020-08-19T19:54:02.3064447Zx-ms-lease-duration10",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "x-ms-client-request-id" : "cd4c2789-6127-4838-a333-401f7663c18d",
+ "x-ms-request-id" : "660dd260-301a-00a3-1205-99f447000000",
+ "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:660dd260-301a-00a3-1205-99f447000000\nTime:2020-10-02T21:45:44.7492327Zx-ms-lease-duration10",
+ "Date" : "Fri, 02 Oct 2020 21:45:43 GMT",
+ "x-ms-client-request-id" : "c4a144fb-8e53-4f00-b2e5-dbbaabe0e024",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquireshareleasedurationfail1756351d7573", "leaseapitestacquireshareleasedurationfail142637c1aee1" ]
+ "variables" : [ "leaseapitestacquireshareleasedurationfail161567b09827", "leaseapitestacquireshareleasedurationfail11149213b9bb" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail2.json
index f81ea295e4ac..7a7d6a2a9e06 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseDurationFail2.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail20348355d4c4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail299991afe7ae?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "58cde23f-6b99-44c8-acee-bd5ee33711d0"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "68afb3d0-5bf8-4240-afc2-bc54f958ebaa"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799F2A9930",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:02 GMT",
+ "ETag" : "0x8D8671C8462BFD1",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cac2-601a-006f-6f62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "x-ms-client-request-id" : "58cde23f-6b99-44c8-acee-bd5ee33711d0"
+ "x-ms-request-id" : "660dd262-301a-00a3-1305-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:44 GMT",
+ "x-ms-client-request-id" : "68afb3d0-5bf8-4240-afc2-bc54f958ebaa"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail20348355d4c4/leaseapitestacquireshareleasedurationfail254836dcb57c",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail299991afe7ae/leaseapitestacquireshareleasedurationfail2167633b7957",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4400f49c-86f3-4fb9-b91e-c60ac99ad4e3"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "160e8622-f3bb-4544-b1ea-b7b1ccea8c68"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:02.5748465Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:02 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:45.1847856Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:45 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "ETag" : "0x8D844799F359FF1",
+ "Date" : "Fri, 02 Oct 2020 21:45:44 GMT",
+ "ETag" : "0x8D8671C8473BCB0",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:02.5748465Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:45.1847856Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cac4-601a-006f-7062-76d031000000",
- "x-ms-client-request-id" : "4400f49c-86f3-4fb9-b91e-c60ac99ad4e3",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:02.5748465Z"
+ "x-ms-request-id" : "660dd264-301a-00a3-1405-99f447000000",
+ "x-ms-client-request-id" : "160e8622-f3bb-4544-b1ea-b7b1ccea8c68",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:45.1847856Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail20348355d4c4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasedurationfail299991afe7ae?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "00f1bfbe-15d8-49b2-a6d4-b8eab7294c7b"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "67646f86-49fe-4b1f-9033-2f465f994874"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "327",
"StatusCode" : "400",
- "x-ms-request-id" : "d677cac5-601a-006f-7162-76d031000000",
- "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:d677cac5-601a-006f-7162-76d031000000\nTime:2020-08-19T19:54:02.6376807Zx-ms-lease-duration70",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "x-ms-client-request-id" : "00f1bfbe-15d8-49b2-a6d4-b8eab7294c7b",
+ "x-ms-request-id" : "660dd265-301a-00a3-1505-99f447000000",
+ "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:660dd265-301a-00a3-1505-99f447000000\nTime:2020-10-02T21:45:45.2755929Zx-ms-lease-duration70",
+ "Date" : "Fri, 02 Oct 2020 21:45:44 GMT",
+ "x-ms-client-request-id" : "67646f86-49fe-4b1f-9033-2f465f994874",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquireshareleasedurationfail20348355d4c4", "leaseapitestacquireshareleasedurationfail254836dcb57c" ]
+ "variables" : [ "leaseapitestacquireshareleasedurationfail299991afe7ae", "leaseapitestacquireshareleasedurationfail2167633b7957" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseError.json
index e11a96501478..b71032f0b24b 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleaseerror00560209465a992?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleaseerror67944cfd2255797?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4407b7ed-c4c7-4b43-99d6-dba23969fd2a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8685df93-3332-41fb-9d93-ad3645d36efb"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799F627C41",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:02 GMT",
+ "ETag" : "0x8D8671C84A8D5D5",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cac7-601a-006f-7262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "x-ms-client-request-id" : "4407b7ed-c4c7-4b43-99d6-dba23969fd2a"
+ "x-ms-request-id" : "660dd267-301a-00a3-1705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:44 GMT",
+ "x-ms-client-request-id" : "8685df93-3332-41fb-9d93-ad3645d36efb"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleaseerror00560209465a992/leaseapitestacquireshareleaseerror99674ef364eee53",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleaseerror67944cfd2255797/leaseapitestacquireshareleaseerror61060126a61d53f",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a59b9aad-39ee-4ebf-8c84-3bb01403f6b7"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f7a3aa1b-dffe-440c-99c1-f3cd94d8523c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:02.9511139Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:02 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:45.6270972Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:45 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "ETag" : "0x8D844799F6F09E3",
+ "Date" : "Fri, 02 Oct 2020 21:45:44 GMT",
+ "ETag" : "0x8D8671C84B73A7C",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:02.9511139Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:45.6270972Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cac9-601a-006f-7362-76d031000000",
- "x-ms-client-request-id" : "a59b9aad-39ee-4ebf-8c84-3bb01403f6b7",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:02.9511139Z"
+ "x-ms-request-id" : "660dd269-301a-00a3-1805-99f447000000",
+ "x-ms-client-request-id" : "f7a3aa1b-dffe-440c-99c1-f3cd94d8523c",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:45.6270972Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestacquireshareleaseerror0627295ef26e5b76?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestacquireshareleaseerror05691121edd5325a?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "306602e7-7853-47e4-99db-8d765c702eca"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5c500a14-ca73-4fc8-adb2-b349d8f9d7eb"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677caca-601a-006f-7462-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677caca-601a-006f-7462-76d031000000\nTime:2020-08-19T19:54:03.0349633Z",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "x-ms-client-request-id" : "306602e7-7853-47e4-99db-8d765c702eca",
+ "x-ms-request-id" : "660dd26a-301a-00a3-1905-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd26a-301a-00a3-1905-99f447000000\nTime:2020-10-02T21:45:45.7299053Z",
+ "Date" : "Fri, 02 Oct 2020 21:45:44 GMT",
+ "x-ms-client-request-id" : "5c500a14-ca73-4fc8-adb2-b349d8f9d7eb",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquireshareleaseerror00560209465a992", "leaseapitestacquireshareleaseerror99674ef364eee53", "jtsleaseapitestacquireshareleaseerror0627295ef26e5b76" ]
+ "variables" : [ "leaseapitestacquireshareleaseerror67944cfd2255797", "leaseapitestacquireshareleaseerror61060126a61d53f", "jtsleaseapitestacquireshareleaseerror05691121edd5325a" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseMin.json
index 93991359468a..b8e37c90add4 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseMin.json
@@ -1,76 +1,76 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasemin2179665345441e87?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasemin5196108c788f60e1?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9d0d0373-d07d-4dee-9403-0af41d3ea3b8"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7ce9996c-efde-447f-bc8a-43d46d7d81ce"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799DD159EE",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "ETag" : "0x8D8671C82A30E16",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca9b-601a-006f-5262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:59 GMT",
- "x-ms-client-request-id" : "9d0d0373-d07d-4dee-9403-0af41d3ea3b8"
+ "x-ms-request-id" : "660dd244-301a-00a3-7d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:41 GMT",
+ "x-ms-client-request-id" : "7ce9996c-efde-447f-bc8a-43d46d7d81ce"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasemin2179665345441e87/leaseapitestacquireshareleasemin217483b0e061cb5c",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasemin5196108c788f60e1/leaseapitestacquireshareleasemin0746145d6b0e8b5a",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7b966c49-4c64-4ff1-8e4a-2e34498268d8"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "371a867b-ca6a-4eb2-a1fa-b04394dcfe07"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:00.3142346Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:42.2377063Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:00 GMT",
- "ETag" : "0x8D844799DDCAECA",
+ "Date" : "Fri, 02 Oct 2020 21:45:41 GMT",
+ "ETag" : "0x8D8671C82B20C67",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:00.3142346Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:42.2377063Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca9d-601a-006f-5362-76d031000000",
- "x-ms-client-request-id" : "7b966c49-4c64-4ff1-8e4a-2e34498268d8",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:00.3142346Z"
+ "x-ms-request-id" : "660dd246-301a-00a3-7e05-99f447000000",
+ "x-ms-client-request-id" : "371a867b-ca6a-4eb2-a1fa-b04394dcfe07",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:42.2377063Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasemin2179665345441e87?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasemin5196108c788f60e1?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9155f272-281c-47ce-8a58-b0cdd1114745"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f5272c88-4f7c-4524-95f7-efbcb8a48282"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799DD159EE",
- "x-ms-lease-id" : "7007fd01-f1b9-420f-8470-f0c40061d0f4",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "ETag" : "0x8D8671C82A30E16",
+ "x-ms-lease-id" : "f49563e9-c266-453b-aae1-fd83840f7fc9",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677caa4-601a-006f-5862-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:00 GMT",
- "x-ms-client-request-id" : "9155f272-281c-47ce-8a58-b0cdd1114745"
+ "x-ms-request-id" : "660dd247-301a-00a3-7f05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:41 GMT",
+ "x-ms-client-request-id" : "f5272c88-4f7c-4524-95f7-efbcb8a48282"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquireshareleasemin2179665345441e87", "leaseapitestacquireshareleasemin217483b0e061cb5c" ]
+ "variables" : [ "leaseapitestacquireshareleasemin5196108c788f60e1", "leaseapitestacquireshareleasemin0746145d6b0e8b5a" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshot.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshot.json
index 6d1932befde2..28316a0cf497 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshot.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshot.json
@@ -1,120 +1,120 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot16456a61849702?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot521814a66532e4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6be1c74b-436c-4795-bf50-9b736a0b648e"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1a569d07-2bc8-4072-ab38-0ba8307eb616"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799E0DD1B0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "ETag" : "0x8D8671C82FEABB1",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677caaa-601a-006f-5e62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:00 GMT",
- "x-ms-client-request-id" : "6be1c74b-436c-4795-bf50-9b736a0b648e"
+ "x-ms-request-id" : "660dd249-301a-00a3-8005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:41 GMT",
+ "x-ms-client-request-id" : "1a569d07-2bc8-4072-ab38-0ba8307eb616"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot16456a61849702/leaseapitestacquireshareleasesnapshot506072aab24890",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot521814a66532e4/leaseapitestacquireshareleasesnapshot1972656ffd50c4",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2d249199-03fa-4f2f-86b8-dc38ad186376"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1b1a4eb6-4398-4943-aab5-7ff8d38848a2"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:00.7115199Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:42.8481369Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:00 GMT",
- "ETag" : "0x8D844799E194DBF",
+ "Date" : "Fri, 02 Oct 2020 21:45:42 GMT",
+ "ETag" : "0x8D8671C830F3159",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:00.7115199Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:42.8481369Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677caac-601a-006f-5f62-76d031000000",
- "x-ms-client-request-id" : "2d249199-03fa-4f2f-86b8-dc38ad186376",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:00.7115199Z"
+ "x-ms-request-id" : "660dd24d-301a-00a3-0305-99f447000000",
+ "x-ms-client-request-id" : "1b1a4eb6-4398-4943-aab5-7ff8d38848a2",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:42.8481369Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot16456a61849702?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot521814a66532e4?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e580023b-5785-42d3-b338-5052c6c13a57"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2e268421-4cbc-48de-bcbc-a3efe96e81d5"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-08-19T19:54:00.0000000Z",
+ "x-ms-snapshot" : "2020-10-02T21:45:42.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799E0DD1B0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "ETag" : "0x8D8671C82FEABB1",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677caad-601a-006f-6062-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:00 GMT",
- "x-ms-client-request-id" : "e580023b-5785-42d3-b338-5052c6c13a57"
+ "x-ms-request-id" : "660dd24f-301a-00a3-0405-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:42 GMT",
+ "x-ms-client-request-id" : "2e268421-4cbc-48de-bcbc-a3efe96e81d5"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot16456a61849702?sharesnapshot=2020-08-19T19:54:00.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot521814a66532e4?sharesnapshot=2020-10-02T21:45:42.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a964655b-82a2-4ff1-8130-8042b4076b97"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d5101771-8b81-45d2-b0cc-35632aefcded"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799E0DD1B0",
- "x-ms-lease-id" : "a941ffef-661c-4623-802d-92b12b15f46d",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "ETag" : "0x8D8671C82FEABB1",
+ "x-ms-lease-id" : "e0a33f32-ae77-423c-9478-7953c6caa5f4",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677caae-601a-006f-6162-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:00 GMT",
- "x-ms-client-request-id" : "a964655b-82a2-4ff1-8130-8042b4076b97"
+ "x-ms-request-id" : "660dd250-301a-00a3-0505-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:42 GMT",
+ "x-ms-client-request-id" : "d5101771-8b81-45d2-b0cc-35632aefcded"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot16456a61849702?sharesnapshot=2020-08-19T19:54:00.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshot521814a66532e4?sharesnapshot=2020-10-02T21:45:42.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "04d73a70-ac2b-4ca0-8f5d-75adaa50617a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "67d53cbf-05ba-435c-833e-45f771898d65"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799E0DD1B0",
+ "ETag" : "0x8D8671C82FEABB1",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:00 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:42 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cab0-601a-006f-6262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:00 GMT",
- "x-ms-client-request-id" : "04d73a70-ac2b-4ca0-8f5d-75adaa50617a"
+ "x-ms-request-id" : "660dd252-301a-00a3-0705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:42 GMT",
+ "x-ms-client-request-id" : "67d53cbf-05ba-435c-833e-45f771898d65"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquireshareleasesnapshot16456a61849702", "leaseapitestacquireshareleasesnapshot506072aab24890" ]
+ "variables" : [ "leaseapitestacquireshareleasesnapshot521814a66532e4", "leaseapitestacquireshareleasesnapshot1972656ffd50c4" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshotFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshotFail.json
index 0d28834943d1..c88dd064352e 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshotFail.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestAcquireShareLeaseSnapshotFail.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshotfail7929781afd5e?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshotfail92357ce2e1e0?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "43e6d344-c97e-4267-aedb-ae7b45f2493f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "77aacdbd-70fe-4ff8-aded-f2f47d92589b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799E7AB120",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:01 GMT",
+ "ETag" : "0x8D8671C83774C35",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:43 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cab1-601a-006f-6362-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "x-ms-client-request-id" : "43e6d344-c97e-4267-aedb-ae7b45f2493f"
+ "x-ms-request-id" : "660dd255-301a-00a3-0a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:42 GMT",
+ "x-ms-client-request-id" : "77aacdbd-70fe-4ff8-aded-f2f47d92589b"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshotfail7929781afd5e/leaseapitestacquireshareleasesnapshotfail62214caeeda8",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshotfail92357ce2e1e0/leaseapitestacquireshareleasesnapshotfail0628617281ba",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ff577427-72b9-4e8f-a684-e342c9474381"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "dfa26cc6-1f3b-4dac-8059-ce577df72f27"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:01.4400396Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:01 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:43.6366937Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:43 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "ETag" : "0x8D844799E88778C",
+ "Date" : "Fri, 02 Oct 2020 21:45:42 GMT",
+ "ETag" : "0x8D8671C83878459",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:01.4400396Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:43.6366937Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cab4-601a-006f-6562-76d031000000",
- "x-ms-client-request-id" : "ff577427-72b9-4e8f-a684-e342c9474381",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:01.4400396Z"
+ "x-ms-request-id" : "660dd257-301a-00a3-0b05-99f447000000",
+ "x-ms-client-request-id" : "dfa26cc6-1f3b-4dac-8059-ce577df72f27",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:43.6366937Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshotfail7929781afd5e?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestacquireshareleasesnapshotfail92357ce2e1e0?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3c8f5b0c-bfe7-4021-ae81-ce967d883a6a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "07108f58-80b9-49a4-8cff-53919b367d3c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677cab5-601a-006f-6662-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677cab5-601a-006f-6662-76d031000000\nTime:2020-08-19T19:54:01.5198857Z",
- "Date" : "Wed, 19 Aug 2020 19:54:01 GMT",
- "x-ms-client-request-id" : "3c8f5b0c-bfe7-4021-ae81-ce967d883a6a",
+ "x-ms-request-id" : "660dd258-301a-00a3-0c05-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd258-301a-00a3-0c05-99f447000000\nTime:2020-10-02T21:45:43.7285337Z",
+ "Date" : "Fri, 02 Oct 2020 21:45:42 GMT",
+ "x-ms-client-request-id" : "07108f58-80b9-49a4-8cff-53919b367d3c",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestacquireshareleasesnapshotfail7929781afd5e", "leaseapitestacquireshareleasesnapshotfail62214caeeda8" ]
+ "variables" : [ "leaseapitestacquireshareleasesnapshotfail92357ce2e1e0", "leaseapitestacquireshareleasesnapshotfail0628617281ba" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLease.json
index d48499766d43..a83a8468dd1e 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLease.json
@@ -1,132 +1,131 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease3759810271b0004ca46?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease160163021080488354b?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6cd86553-0a32-4c39-a825-947676edbab3"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "17c58b49-ac5b-4d96-a141-bde77f79bfbb"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799B164E4D",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "ETag" : "0x8D8671C7F19E470",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:36 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca45-601a-006f-0962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:55 GMT",
- "x-ms-client-request-id" : "6cd86553-0a32-4c39-a825-947676edbab3"
+ "x-ms-request-id" : "660dd20a-301a-00a3-5505-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:35 GMT",
+ "x-ms-client-request-id" : "17c58b49-ac5b-4d96-a141-bde77f79bfbb"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease3759810271b0004ca46/leaseapitestbreakfilelease836305bf9ddb317e74d",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease160163021080488354b/leaseapitestbreakfilelease35354fc8d351ee8404b",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a716682c-148f-4a99-bc1f-f3025b113cd2"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "fc645ee7-f140-4434-9f7f-79c2437f31fd"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:55.7659927Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:36.3205331Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:36 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:55 GMT",
- "ETag" : "0x8D844799B26AD17",
+ "Date" : "Fri, 02 Oct 2020 21:45:35 GMT",
+ "ETag" : "0x8D8671C7F2B28D3",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:55.7659927Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:36.3205331Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca51-601a-006f-1462-76d031000000",
- "x-ms-client-request-id" : "a716682c-148f-4a99-bc1f-f3025b113cd2",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:55.7659927Z"
+ "x-ms-request-id" : "660dd20d-301a-00a3-5605-99f447000000",
+ "x-ms-client-request-id" : "fc645ee7-f140-4434-9f7f-79c2437f31fd",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:36.3205331Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease3759810271b0004ca46/leaseapitestbreakfilelease836305bf9ddb317e74d?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease160163021080488354b/leaseapitestbreakfilelease35354fc8d351ee8404b?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "918a1ac1-6be0-4060-8541-7fb4961965c1"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "dcd7961e-dee6-490f-98dd-ad0ed239bc2d"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799B26AD17",
- "x-ms-lease-id" : "8ffefb8e-b818-4e81-a7be-ff97610cb0c0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "ETag" : "0x8D8671C7F2B28D3",
+ "x-ms-lease-id" : "53290f1f-5d1b-4a29-977a-9a2b9ee106b1",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:36 GMT",
"retry-after" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca58-601a-006f-1b62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:55 GMT",
- "x-ms-client-request-id" : "918a1ac1-6be0-4060-8541-7fb4961965c1"
+ "x-ms-request-id" : "660dd20e-301a-00a3-5705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:35 GMT",
+ "x-ms-client-request-id" : "dcd7961e-dee6-490f-98dd-ad0ed239bc2d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease3759810271b0004ca46/leaseapitestbreakfilelease836305bf9ddb317e74d?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease160163021080488354b/leaseapitestbreakfilelease35354fc8d351ee8404b?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9725079c-5d6e-4f41-96f0-093ff22cafb6"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f34f24e8-a6d2-48f0-8a1f-64cf83f2a70d"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799B26AD17",
+ "ETag" : "0x8D8671C7F2B28D3",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:36 GMT",
"retry-after" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "d677ca5a-601a-006f-1c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:55 GMT",
- "x-ms-client-request-id" : "9725079c-5d6e-4f41-96f0-093ff22cafb6"
+ "x-ms-request-id" : "660dd20f-301a-00a3-5805-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:35 GMT",
+ "x-ms-client-request-id" : "f34f24e8-a6d2-48f0-8a1f-64cf83f2a70d"
},
"Exception" : null
}, {
"Method" : "HEAD",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease3759810271b0004ca46/leaseapitestbreakfilelease836305bf9ddb317e74d",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfilelease160163021080488354b/leaseapitestbreakfilelease35354fc8d351ee8404b",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a827b339-5d88-4aa8-ada4-6be58f4db6ff"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c823aaef-d7a7-45d8-beda-e2d10f2eec78"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "unlocked",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:55.7659927Z",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:36.3205331Z",
"x-ms-lease-state" : "broken",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:36 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:45:35 GMT",
"x-ms-server-encrypted" : "true",
"x-ms-type" : "File",
- "ETag" : "0x8D844799B26AD17",
+ "ETag" : "0x8D8671C7F2B28D3",
"x-ms-file-attributes" : "Archive",
- "Vary" : "Origin",
- "x-ms-file-change-time" : "2020-08-19T19:53:55.7659927Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:36.3205331Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "50",
- "x-ms-request-id" : "d677ca5b-601a-006f-1d62-76d031000000",
- "x-ms-client-request-id" : "a827b339-5d88-4aa8-ada4-6be58f4db6ff",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:55.7659927Z",
+ "x-ms-request-id" : "660dd210-301a-00a3-5905-99f447000000",
+ "x-ms-client-request-id" : "c823aaef-d7a7-45d8-beda-e2d10f2eec78",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:36.3205331Z",
"Content-Type" : "application/octet-stream"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreakfilelease3759810271b0004ca46", "leaseapitestbreakfilelease836305bf9ddb317e74d", "8ffefb8e-b818-4e81-a7be-ff97610cb0c0" ]
+ "variables" : [ "leaseapitestbreakfilelease160163021080488354b", "leaseapitestbreakfilelease35354fc8d351ee8404b", "53290f1f-5d1b-4a29-977a-9a2b9ee106b1" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseError.json
index 058553dfafe5..35e6d46fc4c9 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleaseerror74143aec24d0fc822?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleaseerror52469e39e913385b7?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2483b506-fae1-4565-83dd-65c1ce2271df"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d29b294a-e90b-4d86-b6df-908565c8a012"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799BC2B34D",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:56 GMT",
+ "ETag" : "0x8D8671C7FEBFF69",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:37 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca73-601a-006f-3362-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "x-ms-client-request-id" : "2483b506-fae1-4565-83dd-65c1ce2271df"
+ "x-ms-request-id" : "660dd217-301a-00a3-5e05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:36 GMT",
+ "x-ms-client-request-id" : "d29b294a-e90b-4d86-b6df-908565c8a012"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleaseerror74143aec24d0fc822/leaseapitestbreakfileleaseerror63905acee7de75793",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleaseerror52469e39e913385b7/leaseapitestbreakfileleaseerror6579528fe090e47cd",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f607be74-6969-461c-a103-3a7db86a3384"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2c16321c-1534-4aba-a1f1-7f7a4ae0be88"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:56.8647756Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:56 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:37.7045078Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:37 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "ETag" : "0x8D844799BCE564C",
+ "Date" : "Fri, 02 Oct 2020 21:45:36 GMT",
+ "ETag" : "0x8D8671C7FFE5656",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:56.8647756Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:37.7045078Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca75-601a-006f-3462-76d031000000",
- "x-ms-client-request-id" : "f607be74-6969-461c-a103-3a7db86a3384",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:56.8647756Z"
+ "x-ms-request-id" : "660dd219-301a-00a3-5f05-99f447000000",
+ "x-ms-client-request-id" : "2c16321c-1534-4aba-a1f1-7f7a4ae0be88",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:37.7045078Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleaseerror74143aec24d0fc822/leaseapitestbreakfileleaseerror63905acee7de75793?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleaseerror52469e39e913385b7/leaseapitestbreakfileleaseerror6579528fe090e47cd?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "48d612cf-e34f-450c-a97e-994f42e6c3fe"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "de28da1d-9fe7-4ce7-bda2-8ef5b6377055"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "242",
"StatusCode" : "409",
- "x-ms-request-id" : "d677ca76-601a-006f-3562-76d031000000",
- "Body" : "LeaseNotPresentWithLeaseOperationThere is currently no lease on the file.\nRequestId:d677ca76-601a-006f-3562-76d031000000\nTime:2020-08-19T19:53:56.9996638Z",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "x-ms-client-request-id" : "48d612cf-e34f-450c-a97e-994f42e6c3fe",
+ "x-ms-request-id" : "660dd21a-301a-00a3-6005-99f447000000",
+ "Body" : "LeaseNotPresentWithLeaseOperationThere is currently no lease on the file.\nRequestId:660dd21a-301a-00a3-6005-99f447000000\nTime:2020-10-02T21:45:37.7924606Z",
+ "Date" : "Fri, 02 Oct 2020 21:45:37 GMT",
+ "x-ms-client-request-id" : "de28da1d-9fe7-4ce7-bda2-8ef5b6377055",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreakfileleaseerror74143aec24d0fc822", "leaseapitestbreakfileleaseerror63905acee7de75793" ]
+ "variables" : [ "leaseapitestbreakfileleaseerror52469e39e913385b7", "leaseapitestbreakfileleaseerror6579528fe090e47cd" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseMin.json
index 0779da2b90c0..4d78c3f68eac 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakFileLeaseMin.json
@@ -1,98 +1,98 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin4519302a8233dd2484?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin439793bd88398271b4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ca13c87c-4b85-46ab-a1bb-3fe9baae58bb"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "11ffcb27-8fbd-415c-99ab-310987d42a27"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799B82B872",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:56 GMT",
+ "ETag" : "0x8D8671C7F9236E0",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:36 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca5e-601a-006f-2062-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "x-ms-client-request-id" : "ca13c87c-4b85-46ab-a1bb-3fe9baae58bb"
+ "x-ms-request-id" : "660dd211-301a-00a3-5a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:36 GMT",
+ "x-ms-client-request-id" : "11ffcb27-8fbd-415c-99ab-310987d42a27"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin4519302a8233dd2484/leaseapitestbreakfileleasemin006554ab98be0e1064",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin439793bd88398271b4/leaseapitestbreakfileleasemin41592c15bbfe77a964",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bff2489d-b457-4cbd-b26c-91d7107f89b5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9b8183a3-2332-4293-a2b9-e8fcfcc5a822"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:56.4424750Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:56 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:37.1140913Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:37 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "ETag" : "0x8D844799B8DE62E",
+ "Date" : "Fri, 02 Oct 2020 21:45:36 GMT",
+ "ETag" : "0x8D8671C7FA43F31",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:56.4424750Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:37.1140913Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca63-601a-006f-2362-76d031000000",
- "x-ms-client-request-id" : "bff2489d-b457-4cbd-b26c-91d7107f89b5",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:56.4424750Z"
+ "x-ms-request-id" : "660dd213-301a-00a3-5b05-99f447000000",
+ "x-ms-client-request-id" : "9b8183a3-2332-4293-a2b9-e8fcfcc5a822",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:37.1140913Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin4519302a8233dd2484/leaseapitestbreakfileleasemin006554ab98be0e1064?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin439793bd88398271b4/leaseapitestbreakfileleasemin41592c15bbfe77a964?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fdd368db-204a-4993-b122-adf03bfd2a94"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f84e5fb0-9a11-4f73-bbae-9d43ad24a95a"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799B8DE62E",
- "x-ms-lease-id" : "49a1c695-2260-4964-95ca-22a2f47242cd",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:56 GMT",
+ "ETag" : "0x8D8671C7FA43F31",
+ "x-ms-lease-id" : "9379cc9a-34b0-479b-97bf-84ec1f4688c0",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:37 GMT",
"retry-after" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca6b-601a-006f-2b62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "x-ms-client-request-id" : "fdd368db-204a-4993-b122-adf03bfd2a94"
+ "x-ms-request-id" : "660dd214-301a-00a3-5c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:36 GMT",
+ "x-ms-client-request-id" : "f84e5fb0-9a11-4f73-bbae-9d43ad24a95a"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin4519302a8233dd2484/leaseapitestbreakfileleasemin006554ab98be0e1064?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakfileleasemin439793bd88398271b4/leaseapitestbreakfileleasemin41592c15bbfe77a964?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c055f02d-78f2-43c9-af26-03fd6e0fcf9d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "586eb2a5-b982-4981-867e-76121b0a7487"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799B8DE62E",
+ "ETag" : "0x8D8671C7FA43F31",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:56 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:37 GMT",
"retry-after" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "d677ca70-601a-006f-3062-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "x-ms-client-request-id" : "c055f02d-78f2-43c9-af26-03fd6e0fcf9d"
+ "x-ms-request-id" : "660dd215-301a-00a3-5d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:36 GMT",
+ "x-ms-client-request-id" : "586eb2a5-b982-4981-867e-76121b0a7487"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreakfileleasemin4519302a8233dd2484", "leaseapitestbreakfileleasemin006554ab98be0e1064" ]
+ "variables" : [ "leaseapitestbreakfileleasemin439793bd88398271b4", "leaseapitestbreakfileleasemin41592c15bbfe77a964" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease0.json
index 7a4154613c44..5a0b2d68f6a7 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease0.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease0.json
@@ -1,127 +1,126 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease01506833bbf9423bfe4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease0812551c54721702fc4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7bd59eb3-359f-496e-b33f-5c31ba1cdc69"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6bd83247-4a32-4e4e-a4b1-7ede3d057e1c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479ABCFC514",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "ETag" : "0x8D8671C922D00F6",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb90-601a-006f-7c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "x-ms-client-request-id" : "7bd59eb3-359f-496e-b33f-5c31ba1cdc69"
+ "x-ms-request-id" : "660dd2d2-301a-00a3-5b05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:07 GMT",
+ "x-ms-client-request-id" : "6bd83247-4a32-4e4e-a4b1-7ede3d057e1c"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease01506833bbf9423bfe4/leaseapitestbreaksharelease00455241f9b811b7c84",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease0812551c54721702fc4/leaseapitestbreaksharelease0554906d8a6e8a71a44",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "aebaded4-2c4a-4f06-bef5-fc6f133ff194"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d1720bbb-b267-44b2-994a-70e89c218db0"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:23.7899750Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:08.3020942Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "ETag" : "0x8D84479ABDACBE6",
+ "Date" : "Fri, 02 Oct 2020 21:46:07 GMT",
+ "ETag" : "0x8D8671C923B288E",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:23.7899750Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:08.3020942Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb92-601a-006f-7d62-76d031000000",
- "x-ms-client-request-id" : "aebaded4-2c4a-4f06-bef5-fc6f133ff194",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:23.7899750Z"
+ "x-ms-request-id" : "660dd2d4-301a-00a3-5c05-99f447000000",
+ "x-ms-client-request-id" : "d1720bbb-b267-44b2-994a-70e89c218db0",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:08.3020942Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease01506833bbf9423bfe4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease0812551c54721702fc4?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2bce2be0-81d4-4857-a3e5-874f1c8cc711"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8e424eef-0f98-4230-a209-4e2b9d7faa1c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479ABCFC514",
- "x-ms-lease-id" : "34315837-c9ff-4d45-8b6b-c41d044763ac",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "ETag" : "0x8D8671C922D00F6",
+ "x-ms-lease-id" : "e459008f-13a0-4fdb-8a29-24cc1c6d7d70",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb93-601a-006f-7e62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "x-ms-client-request-id" : "2bce2be0-81d4-4857-a3e5-874f1c8cc711"
+ "x-ms-request-id" : "660dd2d5-301a-00a3-5d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:07 GMT",
+ "x-ms-client-request-id" : "8e424eef-0f98-4230-a209-4e2b9d7faa1c"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease01506833bbf9423bfe4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease0812551c54721702fc4?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a6800612-273f-4953-b161-886d795a2e06"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e68e9aed-00ef-4b48-970c-fd655f9ec7c6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479ABCFC514",
+ "ETag" : "0x8D8671C922D00F6",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "d677cb94-601a-006f-7f62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "x-ms-client-request-id" : "a6800612-273f-4953-b161-886d795a2e06"
+ "x-ms-request-id" : "660dd2d6-301a-00a3-5e05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:07 GMT",
+ "x-ms-client-request-id" : "e68e9aed-00ef-4b48-970c-fd655f9ec7c6"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease01506833bbf9423bfe4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease0812551c54721702fc4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "446f649c-6eaa-4694-95b7-3d978c9007eb"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "447df0d9-c33c-4b4d-8d3b-b27cbc055ed4"
},
"Response" : {
- "x-ms-lease-status" : "unlocked",
"x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "broken",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:54:23 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:46:08 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:46:07 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D84479ABCFC514",
+ "ETag" : "0x8D8671C922D00F6",
"x-ms-has-immutability-policy" : "false",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb96-601a-006f-0162-76d031000000",
- "x-ms-client-request-id" : "446f649c-6eaa-4694-95b7-3d978c9007eb"
+ "x-ms-request-id" : "660dd2d8-301a-00a3-5f05-99f447000000",
+ "x-ms-client-request-id" : "447df0d9-c33c-4b4d-8d3b-b27cbc055ed4"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreaksharelease01506833bbf9423bfe4", "leaseapitestbreaksharelease00455241f9b811b7c84", "34315837-c9ff-4d45-8b6b-c41d044763ac" ]
+ "variables" : [ "leaseapitestbreaksharelease0812551c54721702fc4", "leaseapitestbreaksharelease0554906d8a6e8a71a44", "e459008f-13a0-4fdb-8a29-24cc1c6d7d70" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease1.json
index d740c195e784..2381acd48460 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease1.json
@@ -1,127 +1,126 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease102619e5bfdd7bcee44?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease11434190985ed661c04?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1ddb1dc3-7c38-45ca-9444-9d4c9c893c16"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0b01a41b-1907-4115-9b1a-f5271721cf7f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AC1CE1B4",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:24 GMT",
+ "ETag" : "0x8D8671C92934ED2",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb97-601a-006f-0262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "x-ms-client-request-id" : "1ddb1dc3-7c38-45ca-9444-9d4c9c893c16"
+ "x-ms-request-id" : "660dd2da-301a-00a3-6005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:08 GMT",
+ "x-ms-client-request-id" : "0b01a41b-1907-4115-9b1a-f5271721cf7f"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease102619e5bfdd7bcee44/leaseapitestbreaksharelease194499a61f8fd00dfd4",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease11434190985ed661c04/leaseapitestbreaksharelease146994df64f4c92ab94",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cc2ca209-d13a-4034-944d-1bdf109659b9"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "88d0f0ad-de6e-4329-b2ec-c38e92c6c0e5"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:24.2973360Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:24 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:08.9755695Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "ETag" : "0x8D84479AC2836B0",
+ "Date" : "Fri, 02 Oct 2020 21:46:08 GMT",
+ "ETag" : "0x8D8671C92A1EC2F",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:24.2973360Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:08.9755695Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb99-601a-006f-0362-76d031000000",
- "x-ms-client-request-id" : "cc2ca209-d13a-4034-944d-1bdf109659b9",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:24.2973360Z"
+ "x-ms-request-id" : "660dd2dd-301a-00a3-6105-99f447000000",
+ "x-ms-client-request-id" : "88d0f0ad-de6e-4329-b2ec-c38e92c6c0e5",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:08.9755695Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease102619e5bfdd7bcee44?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease11434190985ed661c04?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7d2bb1c4-877b-49ed-a006-55af0a0af0fc"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a9e09e92-c906-47c4-bdec-f5544c96bfaf"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AC1CE1B4",
- "x-ms-lease-id" : "8fe4a775-558b-44e3-8e4b-951e98317d07",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:24 GMT",
+ "ETag" : "0x8D8671C92934ED2",
+ "x-ms-lease-id" : "e9dba87c-9997-4803-bd74-c211fd5209d5",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb9a-601a-006f-0462-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:24 GMT",
- "x-ms-client-request-id" : "7d2bb1c4-877b-49ed-a006-55af0a0af0fc"
+ "x-ms-request-id" : "660dd2df-301a-00a3-6305-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:08 GMT",
+ "x-ms-client-request-id" : "a9e09e92-c906-47c4-bdec-f5544c96bfaf"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease102619e5bfdd7bcee44?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease11434190985ed661c04?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f1164c9e-6d52-43ea-b426-d1d46a0d34ae"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e975c383-ddc6-413f-adce-8e49e7a3374f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AC1CE1B4",
+ "ETag" : "0x8D8671C92934ED2",
"x-ms-lease-time" : "20",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:24 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "d677cb9b-601a-006f-0562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:24 GMT",
- "x-ms-client-request-id" : "f1164c9e-6d52-43ea-b426-d1d46a0d34ae"
+ "x-ms-request-id" : "660dd2e0-301a-00a3-6405-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:08 GMT",
+ "x-ms-client-request-id" : "e975c383-ddc6-413f-adce-8e49e7a3374f"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease102619e5bfdd7bcee44?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease11434190985ed661c04?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "349ba2f9-65c4-40e2-a150-475bc3e5a063"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "053ac59c-cb50-4dfd-bf94-fcfbf7dc93ca"
},
"Response" : {
- "x-ms-lease-status" : "locked",
"x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "locked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "breaking",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:24 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:08 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:54:24 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:46:08 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:54:24 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:46:08 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D84479AC1CE1B4",
+ "ETag" : "0x8D8671C92934ED2",
"x-ms-has-immutability-policy" : "false",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb9c-601a-006f-0662-76d031000000",
- "x-ms-client-request-id" : "349ba2f9-65c4-40e2-a150-475bc3e5a063"
+ "x-ms-request-id" : "660dd2e1-301a-00a3-6505-99f447000000",
+ "x-ms-client-request-id" : "053ac59c-cb50-4dfd-bf94-fcfbf7dc93ca"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreaksharelease102619e5bfdd7bcee44", "leaseapitestbreaksharelease194499a61f8fd00dfd4", "8fe4a775-558b-44e3-8e4b-951e98317d07" ]
+ "variables" : [ "leaseapitestbreaksharelease11434190985ed661c04", "leaseapitestbreaksharelease146994df64f4c92ab94", "e9dba87c-9997-4803-bd74-c211fd5209d5" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease2.json
index d9da14abbd0d..8ea80110f492 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLease2.json
@@ -1,127 +1,126 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease292506c6b6c8a051be4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease209027812a2e38ea404?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "26021129-7903-4e6c-b922-3ddb7e6b1ce5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d4b89a7a-5ce4-4622-ad2e-1acf14d7682d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479B854DE3E",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:44 GMT",
+ "ETag" : "0x8D8671C9EE99A7B",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cbe2-601a-006f-3462-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:44 GMT",
- "x-ms-client-request-id" : "26021129-7903-4e6c-b922-3ddb7e6b1ce5"
+ "x-ms-request-id" : "660dd317-301a-00a3-7905-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:28 GMT",
+ "x-ms-client-request-id" : "d4b89a7a-5ce4-4622-ad2e-1acf14d7682d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease292506c6b6c8a051be4/leaseapitestbreaksharelease263499aaac49b8ba024",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease209027812a2e38ea404/leaseapitestbreaksharelease230930c45cd7c2dae24",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "850a1cef-4c45-4edf-a716-6e7b7525daae"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "644d215d-6c7b-4220-bde5-84dd3d529f01"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:44.8059617Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:44 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:29.6711684Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:29 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:44 GMT",
- "ETag" : "0x8D84479B86194E1",
+ "Date" : "Fri, 02 Oct 2020 21:46:28 GMT",
+ "ETag" : "0x8D8671C9EF7D204",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:44.8059617Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:29.6711684Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cbe5-601a-006f-3562-76d031000000",
- "x-ms-client-request-id" : "850a1cef-4c45-4edf-a716-6e7b7525daae",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:44.8059617Z"
+ "x-ms-request-id" : "660dd31a-301a-00a3-7a05-99f447000000",
+ "x-ms-client-request-id" : "644d215d-6c7b-4220-bde5-84dd3d529f01",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:29.6711684Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease292506c6b6c8a051be4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease209027812a2e38ea404?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0fb2c7ee-3b86-40d5-a042-ae123173ccb5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f0a98547-88f9-4ca1-8e35-b1bc46da2195"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479B854DE3E",
- "x-ms-lease-id" : "dd75c424-189e-4f3b-b4b3-4176074ded45",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:44 GMT",
+ "ETag" : "0x8D8671C9EE99A7B",
+ "x-ms-lease-id" : "b7c9d5e2-78cf-4fd6-bc2b-c9df20ba3f15",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cbe6-601a-006f-3662-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:44 GMT",
- "x-ms-client-request-id" : "0fb2c7ee-3b86-40d5-a042-ae123173ccb5"
+ "x-ms-request-id" : "660dd31b-301a-00a3-7b05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:28 GMT",
+ "x-ms-client-request-id" : "f0a98547-88f9-4ca1-8e35-b1bc46da2195"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease292506c6b6c8a051be4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease209027812a2e38ea404?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f6601499-a928-4604-827e-d05da501c4f3"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "eaf6ae79-0793-4b5b-b994-f4ad26addd69"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479B854DE3E",
+ "ETag" : "0x8D8671C9EE99A7B",
"x-ms-lease-time" : "15",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:44 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "d677cbe7-601a-006f-3762-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:44 GMT",
- "x-ms-client-request-id" : "f6601499-a928-4604-827e-d05da501c4f3"
+ "x-ms-request-id" : "660dd31c-301a-00a3-7c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:29 GMT",
+ "x-ms-client-request-id" : "eaf6ae79-0793-4b5b-b994-f4ad26addd69"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease292506c6b6c8a051be4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreaksharelease209027812a2e38ea404?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6d6d222e-44db-4936-b449-2cfed42811dd"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f869e7de-e48c-4455-9d1d-4aca4becafba"
},
"Response" : {
- "x-ms-lease-status" : "locked",
"x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "locked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "breaking",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:44 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:29 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:54:44 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:46:29 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:54:44 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:46:29 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D84479B854DE3E",
+ "ETag" : "0x8D8671C9EE99A7B",
"x-ms-has-immutability-policy" : "false",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cbe8-601a-006f-3862-76d031000000",
- "x-ms-client-request-id" : "6d6d222e-44db-4936-b449-2cfed42811dd"
+ "x-ms-request-id" : "660dd31d-301a-00a3-7d05-99f447000000",
+ "x-ms-client-request-id" : "f869e7de-e48c-4455-9d1d-4aca4becafba"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreaksharelease292506c6b6c8a051be4", "leaseapitestbreaksharelease263499aaac49b8ba024", "dd75c424-189e-4f3b-b4b3-4176074ded45" ]
+ "variables" : [ "leaseapitestbreaksharelease209027812a2e38ea404", "leaseapitestbreaksharelease230930c45cd7c2dae24", "b7c9d5e2-78cf-4fd6-bc2b-c9df20ba3f15" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseError.json
index 31ab062aae70..b219cf611ece 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleaseerror78059f381a80215a?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleaseerror64468074e8fa4d57?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "df664448-b96f-4568-ba6d-bd3dc764c8ef"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "35a320dd-2527-4cfd-9bb5-73b172e8f44c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C2E3F3FD",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "ETag" : "0x8D8671CA94AE9F5",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:46 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc7a-601a-006f-2262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "x-ms-client-request-id" : "df664448-b96f-4568-ba6d-bd3dc764c8ef"
+ "x-ms-request-id" : "660dd353-301a-00a3-1a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:46 GMT",
+ "x-ms-client-request-id" : "35a320dd-2527-4cfd-9bb5-73b172e8f44c"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleaseerror78059f381a80215a/leaseapitestbreakshareleaseerror1501768bca021c87",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleaseerror64468074e8fa4d57/leaseapitestbreakshareleaseerror70462778d6686a18",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d157a4ea-4d98-4181-b58f-8727cbc5dd90"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ee1e29a0-9f0c-4f6f-93c9-e27ddaba7187"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:02.5115857Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:47.0984634Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:47 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "ETag" : "0x8D84479C2EF3ED1",
+ "Date" : "Fri, 02 Oct 2020 21:46:46 GMT",
+ "ETag" : "0x8D8671CA95B03BA",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:02.5115857Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:47.0984634Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cc80-601a-006f-2762-76d031000000",
- "x-ms-client-request-id" : "d157a4ea-4d98-4181-b58f-8727cbc5dd90",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:02.5115857Z"
+ "x-ms-request-id" : "660dd355-301a-00a3-1b05-99f447000000",
+ "x-ms-client-request-id" : "ee1e29a0-9f0c-4f6f-93c9-e27ddaba7187",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:47.0984634Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestbreakshareleaseerror017458e77a83b982e?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestbreakshareleaseerror071087a5f225d2e86?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9afb12e9-0b9a-4ab3-91e7-4d925f792331"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8e538cdb-4379-4155-88cb-8bf148cdd261"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677cc81-601a-006f-2862-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677cc81-601a-006f-2862-76d031000000\nTime:2020-08-19T19:55:02.5786810Z",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "x-ms-client-request-id" : "9afb12e9-0b9a-4ab3-91e7-4d925f792331",
+ "x-ms-request-id" : "660dd356-301a-00a3-1c05-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd356-301a-00a3-1c05-99f447000000\nTime:2020-10-02T21:46:47.1880799Z",
+ "Date" : "Fri, 02 Oct 2020 21:46:46 GMT",
+ "x-ms-client-request-id" : "8e538cdb-4379-4155-88cb-8bf148cdd261",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreakshareleaseerror78059f381a80215a", "leaseapitestbreakshareleaseerror1501768bca021c87", "jtsleaseapitestbreakshareleaseerror017458e77a83b982e" ]
+ "variables" : [ "leaseapitestbreakshareleaseerror64468074e8fa4d57", "leaseapitestbreakshareleaseerror70462778d6686a18", "jtsleaseapitestbreakshareleaseerror071087a5f225d2e86" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseMin.json
index 9be9316f4ccf..1a6a28b39755 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseMin.json
@@ -1,98 +1,98 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin461242f4dc8b15b0d?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin958349c0ad59e59a9?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e6e19dcf-80b9-409f-9922-81a410e35aea"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "620f2cf4-8eea-49aa-9734-0e964fb5dfe9"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C1914599",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "ETag" : "0x8D8671CA8497953",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc41-601a-006f-7762-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:59 GMT",
- "x-ms-client-request-id" : "e6e19dcf-80b9-409f-9922-81a410e35aea"
+ "x-ms-request-id" : "660dd340-301a-00a3-0c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:44 GMT",
+ "x-ms-client-request-id" : "620f2cf4-8eea-49aa-9734-0e964fb5dfe9"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin461242f4dc8b15b0d/leaseapitestbreakshareleasemin93493f26c56d7f820",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin958349c0ad59e59a9/leaseapitestbreakshareleasemin53622a68b5697c02a",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8e4cba89-fadd-477a-ae57-cc8be6bac477"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "58faa7d3-47cf-4357-bc89-f5e1aa78c6bf"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:00.2890045Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:45.3982633Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:59 GMT",
- "ETag" : "0x8D84479C19C1B3D",
+ "Date" : "Fri, 02 Oct 2020 21:46:44 GMT",
+ "ETag" : "0x8D8671CA85795A9",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:00.2890045Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:45.3982633Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cc44-601a-006f-7862-76d031000000",
- "x-ms-client-request-id" : "8e4cba89-fadd-477a-ae57-cc8be6bac477",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:00.2890045Z"
+ "x-ms-request-id" : "660dd343-301a-00a3-0d05-99f447000000",
+ "x-ms-client-request-id" : "58faa7d3-47cf-4357-bc89-f5e1aa78c6bf",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:45.3982633Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin461242f4dc8b15b0d?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin958349c0ad59e59a9?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1d376709-03bd-4616-aba7-afeb969473bc"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "662a76c7-8d1b-47ca-85fb-8a6d597e48ad"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C1914599",
- "x-ms-lease-id" : "00efe583-4f1f-461c-88b7-343d8ad114df",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "ETag" : "0x8D8671CA8497953",
+ "x-ms-lease-id" : "fe847c0a-4c38-4fc3-817b-586981175ad4",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc45-601a-006f-7962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:00 GMT",
- "x-ms-client-request-id" : "1d376709-03bd-4616-aba7-afeb969473bc"
+ "x-ms-request-id" : "660dd344-301a-00a3-0e05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:44 GMT",
+ "x-ms-client-request-id" : "662a76c7-8d1b-47ca-85fb-8a6d597e48ad"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin461242f4dc8b15b0d?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasemin958349c0ad59e59a9?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1c9cb0bd-37fa-4d41-b61e-8a560f52d336"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "119c93b7-006f-45e1-aba2-c100d369b606"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C1914599",
+ "ETag" : "0x8D8671CA8497953",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "d677cc46-601a-006f-7a62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:00 GMT",
- "x-ms-client-request-id" : "1c9cb0bd-37fa-4d41-b61e-8a560f52d336"
+ "x-ms-request-id" : "660dd345-301a-00a3-0f05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:44 GMT",
+ "x-ms-client-request-id" : "119c93b7-006f-45e1-aba2-c100d369b606"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreakshareleasemin461242f4dc8b15b0d", "leaseapitestbreakshareleasemin93493f26c56d7f820" ]
+ "variables" : [ "leaseapitestbreakshareleasemin958349c0ad59e59a9", "leaseapitestbreakshareleasemin53622a68b5697c02a" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshot.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshot.json
index 24054d1f11fe..a6ee282a6acb 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshot.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshot.json
@@ -1,120 +1,120 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot659871883c2dfda?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot34117cd69b043e5?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "42109f91-5d57-4261-ada6-08906c50d8ef"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4fe855f7-ab1e-4673-affb-b30feed16ac9"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C1D44E47",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "ETag" : "0x8D8671CA8981C4B",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc47-601a-006f-7b62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:00 GMT",
- "x-ms-client-request-id" : "42109f91-5d57-4261-ada6-08906c50d8ef"
+ "x-ms-request-id" : "660dd346-301a-00a3-1005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:44 GMT",
+ "x-ms-client-request-id" : "4fe855f7-ab1e-4673-affb-b30feed16ac9"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot659871883c2dfda/leaseapitestbreakshareleasesnapshot555749f88897a60",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot34117cd69b043e5/leaseapitestbreakshareleasesnapshot19536bfb685a32d",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "be80a2fb-b603-44be-81e2-d947a306625d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c70b68da-22b6-4c8a-ab56-3a0b216a6084"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:00.8093739Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:45.9476511Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:00 GMT",
- "ETag" : "0x8D84479C1EB822B",
+ "Date" : "Fri, 02 Oct 2020 21:46:45 GMT",
+ "ETag" : "0x8D8671CA8AB6A1F",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:00.8093739Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:45.9476511Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cc4a-601a-006f-7c62-76d031000000",
- "x-ms-client-request-id" : "be80a2fb-b603-44be-81e2-d947a306625d",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:00.8093739Z"
+ "x-ms-request-id" : "660dd348-301a-00a3-1105-99f447000000",
+ "x-ms-client-request-id" : "c70b68da-22b6-4c8a-ab56-3a0b216a6084",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:45.9476511Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot659871883c2dfda?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot34117cd69b043e5?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a1fd22b0-fedc-4327-8374-509c39df022a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "903905d1-d35a-4dce-a48b-f6c221343e16"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-08-19T19:55:01.0000000Z",
+ "x-ms-snapshot" : "2020-10-02T21:46:46.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C1D44E47",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "ETag" : "0x8D8671CA8981C4B",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc4c-601a-006f-7d62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:00 GMT",
- "x-ms-client-request-id" : "a1fd22b0-fedc-4327-8374-509c39df022a"
+ "x-ms-request-id" : "660dd349-301a-00a3-1205-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:45 GMT",
+ "x-ms-client-request-id" : "903905d1-d35a-4dce-a48b-f6c221343e16"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot659871883c2dfda?sharesnapshot=2020-08-19T19:55:01.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot34117cd69b043e5?sharesnapshot=2020-10-02T21:46:46.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "feaac719-02d0-42ee-9753-dd366298bc7c"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e6d94b30-3fe8-4f83-aaf6-bc8bffcd9e85"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C1D44E47",
- "x-ms-lease-id" : "7d704e33-c355-4c4a-9179-4e1574851058",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "ETag" : "0x8D8671CA8981C4B",
+ "x-ms-lease-id" : "cf3d02be-8a4b-4584-a85b-aead932c9938",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc55-601a-006f-0462-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:01 GMT",
- "x-ms-client-request-id" : "feaac719-02d0-42ee-9753-dd366298bc7c"
+ "x-ms-request-id" : "660dd34a-301a-00a3-1305-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:45 GMT",
+ "x-ms-client-request-id" : "e6d94b30-3fe8-4f83-aaf6-bc8bffcd9e85"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot659871883c2dfda?sharesnapshot=2020-08-19T19:55:01.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshot34117cd69b043e5?sharesnapshot=2020-10-02T21:46:46.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6e55c867-93a4-4ab1-9c94-761fed4ceb68"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "28440c77-45cd-4dee-b952-1e0de1b0794a"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C1D44E47",
+ "ETag" : "0x8D8671CA8981C4B",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:00 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "d677cc5c-601a-006f-0a62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:01 GMT",
- "x-ms-client-request-id" : "6e55c867-93a4-4ab1-9c94-761fed4ceb68"
+ "x-ms-request-id" : "660dd34d-301a-00a3-1605-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:45 GMT",
+ "x-ms-client-request-id" : "28440c77-45cd-4dee-b952-1e0de1b0794a"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreakshareleasesnapshot659871883c2dfda", "leaseapitestbreakshareleasesnapshot555749f88897a60" ]
+ "variables" : [ "leaseapitestbreakshareleasesnapshot34117cd69b043e5", "leaseapitestbreakshareleasesnapshot19536bfb685a32d" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshotFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshotFail.json
index 54f1c47f59da..939792ee78a7 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshotFail.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestBreakShareLeaseSnapshotFail.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshotfail639842ed51446?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshotfail693180253129a?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ef84ced4-c9a1-4635-8034-e99e60d9eb5f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2d2fe8dc-d72a-4a46-a18b-d63f54d9ad4d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C2A4E3AD",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "ETag" : "0x8D8671CA8FF2DA5",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:46 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc5d-601a-006f-0b62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:01 GMT",
- "x-ms-client-request-id" : "ef84ced4-c9a1-4635-8034-e99e60d9eb5f"
+ "x-ms-request-id" : "660dd34f-301a-00a3-1705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:45 GMT",
+ "x-ms-client-request-id" : "2d2fe8dc-d72a-4a46-a18b-d63f54d9ad4d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshotfail639842ed51446/leaseapitestbreakshareleasesnapshotfail32227ea074e04",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshotfail693180253129a/leaseapitestbreakshareleasesnapshotfail6507691e6aaba",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a33a3807-8a19-41be-a8af-84f25bab81b2"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "29f82b59-549b-44ec-8adb-d14d9648a550"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:02.1613348Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:46.5921061Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:46 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:01 GMT",
- "ETag" : "0x8D84479C2B9CD24",
+ "Date" : "Fri, 02 Oct 2020 21:46:45 GMT",
+ "ETag" : "0x8D8671CA90DC025",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:02.1613348Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:46.5921061Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cc5f-601a-006f-0c62-76d031000000",
- "x-ms-client-request-id" : "a33a3807-8a19-41be-a8af-84f25bab81b2",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:02.1613348Z"
+ "x-ms-request-id" : "660dd351-301a-00a3-1805-99f447000000",
+ "x-ms-client-request-id" : "29f82b59-549b-44ec-8adb-d14d9648a550",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:46.5921061Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshotfail639842ed51446?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestbreakshareleasesnapshotfail693180253129a?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "49a77c98-2679-49a0-b5ae-8418c50148c5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f9de77e4-98d4-4950-b5e6-788db81924b5"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677cc65-601a-006f-0f62-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677cc65-601a-006f-0f62-76d031000000\nTime:2020-08-19T19:55:02.2394394Z",
- "Date" : "Wed, 19 Aug 2020 19:55:01 GMT",
- "x-ms-client-request-id" : "49a77c98-2679-49a0-b5ae-8418c50148c5",
+ "x-ms-request-id" : "660dd352-301a-00a3-1905-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd352-301a-00a3-1905-99f447000000\nTime:2020-10-02T21:46:46.6957418Z",
+ "Date" : "Fri, 02 Oct 2020 21:46:45 GMT",
+ "x-ms-client-request-id" : "f9de77e4-98d4-4950-b5e6-788db81924b5",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestbreakshareleasesnapshotfail639842ed51446", "leaseapitestbreakshareleasesnapshotfail32227ea074e04" ]
+ "variables" : [ "leaseapitestbreakshareleasesnapshotfail693180253129a", "leaseapitestbreakshareleasesnapshotfail6507691e6aaba" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLease.json
index c0a12d36adea..56febf370c47 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLease.json
@@ -1,119 +1,119 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease02580cbe8d4534e374f?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease8100027b4cb632cbf46?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "753fe0fe-6f69-4c3b-83a1-93f3b76a7ec0"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5060f98f-b007-4be9-8b08-f8a77648dcff"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C00B200",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "ETag" : "0x8D8671C80337539",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca79-601a-006f-3762-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "x-ms-client-request-id" : "753fe0fe-6f69-4c3b-83a1-93f3b76a7ec0"
+ "x-ms-request-id" : "660dd21b-301a-00a3-6105-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:37 GMT",
+ "x-ms-client-request-id" : "5060f98f-b007-4be9-8b08-f8a77648dcff"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease02580cbe8d4534e374f/leaseapitestchangefilelease665419209c6074d7e4f",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease8100027b4cb632cbf46/leaseapitestchangefilelease4771526745a3c6ade4b",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7525572a-9861-4858-a2e7-138987237852"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c76419e4-f096-4f63-bb0d-6cb5fea055fb"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:57.2710639Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:38.1478212Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:56 GMT",
- "ETag" : "0x8D844799C0C54EF",
+ "Date" : "Fri, 02 Oct 2020 21:45:37 GMT",
+ "ETag" : "0x8D8671C8041FB44",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:57.2710639Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:38.1478212Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca7b-601a-006f-3862-76d031000000",
- "x-ms-client-request-id" : "7525572a-9861-4858-a2e7-138987237852",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:57.2710639Z"
+ "x-ms-request-id" : "660dd21d-301a-00a3-6205-99f447000000",
+ "x-ms-client-request-id" : "c76419e4-f096-4f63-bb0d-6cb5fea055fb",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:38.1478212Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease02580cbe8d4534e374f/leaseapitestchangefilelease665419209c6074d7e4f?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease8100027b4cb632cbf46/leaseapitestchangefilelease4771526745a3c6ade4b?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7daa75e3-1b92-4807-b2bd-91672d7e6404"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "562f0306-5caf-4693-925e-b797dbf488d3"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C0C54EF",
- "x-ms-lease-id" : "909c13d1-2ea3-40b3-b8fc-0ab3e5d67a64",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "ETag" : "0x8D8671C8041FB44",
+ "x-ms-lease-id" : "13843c55-a1ca-443d-a65d-2bdfcd756c3c",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca7c-601a-006f-3962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "7daa75e3-1b92-4807-b2bd-91672d7e6404"
+ "x-ms-request-id" : "660dd21e-301a-00a3-6305-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:37 GMT",
+ "x-ms-client-request-id" : "562f0306-5caf-4693-925e-b797dbf488d3"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease02580cbe8d4534e374f/leaseapitestchangefilelease665419209c6074d7e4f?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease8100027b4cb632cbf46/leaseapitestchangefilelease4771526745a3c6ade4b?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9aaa1ae9-d180-40f3-acd2-b2913f362c9f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5adaf47b-2fa0-45c0-a846-c6c910be8fe9"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C0C54EF",
- "x-ms-lease-id" : "5e52db90-c426-4d46-a7fb-40ad7b404976",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "ETag" : "0x8D8671C8041FB44",
+ "x-ms-lease-id" : "047197b5-8f55-48f6-baf9-20bf0bc55c6a",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677ca7d-601a-006f-3a62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "9aaa1ae9-d180-40f3-acd2-b2913f362c9f"
+ "x-ms-request-id" : "660dd21f-301a-00a3-6405-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:37 GMT",
+ "x-ms-client-request-id" : "5adaf47b-2fa0-45c0-a846-c6c910be8fe9"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease02580cbe8d4534e374f/leaseapitestchangefilelease665419209c6074d7e4f?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefilelease8100027b4cb632cbf46/leaseapitestchangefilelease4771526745a3c6ade4b?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8f5504e9-9633-4b70-9348-165f185ff757"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "27616bd3-9662-4694-9841-b0c76d63b240"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C0C54EF",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "ETag" : "0x8D8671C8041FB44",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677ca7e-601a-006f-3b62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "8f5504e9-9633-4b70-9348-165f185ff757"
+ "x-ms-request-id" : "660dd221-301a-00a3-6605-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:37 GMT",
+ "x-ms-client-request-id" : "27616bd3-9662-4694-9841-b0c76d63b240"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangefilelease02580cbe8d4534e374f", "leaseapitestchangefilelease665419209c6074d7e4f", "909c13d1-2ea3-40b3-b8fc-0ab3e5d67a64", "5e52db90-c426-4d46-a7fb-40ad7b404976" ]
+ "variables" : [ "leaseapitestchangefilelease8100027b4cb632cbf46", "leaseapitestchangefilelease4771526745a3c6ade4b", "13843c55-a1ca-443d-a65d-2bdfcd756c3c", "047197b5-8f55-48f6-baf9-20bf0bc55c6a" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseError.json
index a02971e4dc89..7954959fbb55 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleaseerror213020118516208d?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleaseerror657776ca701381e6?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8483731f-9670-4392-96db-946bfdef8c4e"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d1aa0f5c-a40b-47d1-869c-f054906ededd"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C8C90C2",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:58 GMT",
+ "ETag" : "0x8D8671C80FDEDB6",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:39 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca84-601a-006f-4062-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "8483731f-9670-4392-96db-946bfdef8c4e"
+ "x-ms-request-id" : "660dd22a-301a-00a3-6b05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:38 GMT",
+ "x-ms-client-request-id" : "d1aa0f5c-a40b-47d1-869c-f054906ededd"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleaseerror213020118516208d/leaseapitestchangefileleaseerror3256581efd36fe2c",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleaseerror657776ca701381e6/leaseapitestchangefileleaseerror19570f7c5fad666e",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "dce1aa08-7530-4736-94ea-d46153f5748a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3ec51530-bb69-49e0-8532-d4d712881fdf"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:58.1977232Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:58 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:39.4877668Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:39 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "ETag" : "0x8D844799C99BA90",
+ "Date" : "Fri, 02 Oct 2020 21:45:38 GMT",
+ "ETag" : "0x8D8671C810E70E4",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:58.1977232Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:39.4877668Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca86-601a-006f-4162-76d031000000",
- "x-ms-client-request-id" : "dce1aa08-7530-4736-94ea-d46153f5748a",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:58.1977232Z"
+ "x-ms-request-id" : "660dd22c-301a-00a3-6c05-99f447000000",
+ "x-ms-client-request-id" : "3ec51530-bb69-49e0-8532-d4d712881fdf",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:39.4877668Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleaseerror213020118516208d/garbage?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleaseerror657776ca701381e6/garbage?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "25cc5be6-e71e-4f8e-ad2b-c1be137a0aa2"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a3cdb349-3777-4baa-ba8d-97d8a006838f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "321",
"StatusCode" : "400",
- "x-ms-request-id" : "d677ca87-601a-006f-4262-76d031000000",
- "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:d677ca87-601a-006f-4262-76d031000000\nTime:2020-08-19T19:53:58.2615627Zx-ms-lease-idid",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "25cc5be6-e71e-4f8e-ad2b-c1be137a0aa2",
+ "x-ms-request-id" : "660dd22d-301a-00a3-6d05-99f447000000",
+ "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:660dd22d-301a-00a3-6d05-99f447000000\nTime:2020-10-02T21:45:39.5916962Zx-ms-lease-idid",
+ "Date" : "Fri, 02 Oct 2020 21:45:38 GMT",
+ "x-ms-client-request-id" : "a3cdb349-3777-4baa-ba8d-97d8a006838f",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangefileleaseerror213020118516208d", "leaseapitestchangefileleaseerror3256581efd36fe2c" ]
+ "variables" : [ "leaseapitestchangefileleaseerror657776ca701381e6", "leaseapitestchangefileleaseerror19570f7c5fad666e" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseMin.json
index 25fb23fa59f6..a4d6f8cc81d1 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeFileLeaseMin.json
@@ -1,98 +1,98 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin15255ae85e87e1e3e?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin3477345191fa2320c?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fd50e7d4-27f2-44b7-83f8-d2d3473eeead"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "100fd30d-5e5a-4b55-b7b7-7ca71cd5c7c1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C4BF986",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "ETag" : "0x8D8671C809C0D73",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca7f-601a-006f-3c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "fd50e7d4-27f2-44b7-83f8-d2d3473eeead"
+ "x-ms-request-id" : "660dd223-301a-00a3-6705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:37 GMT",
+ "x-ms-client-request-id" : "100fd30d-5e5a-4b55-b7b7-7ca71cd5c7c1"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin15255ae85e87e1e3e/leaseapitestchangefileleasemin19731465c05ff873c",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin3477345191fa2320c/leaseapitestchangefileleasemin57846b09b888e6109",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7991162e-0d56-446b-925a-31f653b3a91f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "68e8bc78-c9e5-4540-9b15-ebd42326cf35"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:57.7674167Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:38.8533187Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "ETag" : "0x8D844799C5811B7",
+ "Date" : "Fri, 02 Oct 2020 21:45:38 GMT",
+ "ETag" : "0x8D8671C80ADA1C3",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:57.7674167Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:38.8533187Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca81-601a-006f-3d62-76d031000000",
- "x-ms-client-request-id" : "7991162e-0d56-446b-925a-31f653b3a91f",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:57.7674167Z"
+ "x-ms-request-id" : "660dd225-301a-00a3-6805-99f447000000",
+ "x-ms-client-request-id" : "68e8bc78-c9e5-4540-9b15-ebd42326cf35",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:38.8533187Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin15255ae85e87e1e3e/leaseapitestchangefileleasemin19731465c05ff873c?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin3477345191fa2320c/leaseapitestchangefileleasemin57846b09b888e6109?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "57716bd3-b9a8-4828-8c3a-86c8632b4d24"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "19b6251f-f08f-416b-a2c7-31196ac6eea4"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C5811B7",
- "x-ms-lease-id" : "9e66b120-eb51-4214-986a-a663b8f903b2",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "ETag" : "0x8D8671C80ADA1C3",
+ "x-ms-lease-id" : "5a431855-9cab-43e8-983a-ee4455917642",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca82-601a-006f-3e62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "57716bd3-b9a8-4828-8c3a-86c8632b4d24"
+ "x-ms-request-id" : "660dd228-301a-00a3-6905-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:38 GMT",
+ "x-ms-client-request-id" : "19b6251f-f08f-416b-a2c7-31196ac6eea4"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin15255ae85e87e1e3e/leaseapitestchangefileleasemin19731465c05ff873c?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangefileleasemin3477345191fa2320c/leaseapitestchangefileleasemin57846b09b888e6109?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "10d461aa-1e6c-4b8b-b4e2-a40d0567baa9"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f26a88c6-f90e-4a14-80a4-0e415f4923e6"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799C5811B7",
- "x-ms-lease-id" : "8f2e4239-1a55-4e7f-bd46-dd360ea27b8e",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:57 GMT",
+ "ETag" : "0x8D8671C80ADA1C3",
+ "x-ms-lease-id" : "059ce29d-ef63-4459-b62f-5ee76a9ceaec",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:38 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677ca83-601a-006f-3f62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:57 GMT",
- "x-ms-client-request-id" : "10d461aa-1e6c-4b8b-b4e2-a40d0567baa9"
+ "x-ms-request-id" : "660dd229-301a-00a3-6a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:38 GMT",
+ "x-ms-client-request-id" : "f26a88c6-f90e-4a14-80a4-0e415f4923e6"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangefileleasemin15255ae85e87e1e3e", "leaseapitestchangefileleasemin19731465c05ff873c", "8f2e4239-1a55-4e7f-bd46-dd360ea27b8e" ]
+ "variables" : [ "leaseapitestchangefileleasemin3477345191fa2320c", "leaseapitestchangefileleasemin57846b09b888e6109", "059ce29d-ef63-4459-b62f-5ee76a9ceaec" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLease.json
index 5bd23b267b7b..d991612907b9 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLease.json
@@ -1,120 +1,120 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease560949ef6de3feb7a4?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease69199d57005da84a64?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4f8f706a-a84f-4a91-8b6e-416f0cf60c14"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d6edab2b-9982-4654-9646-2f1bbed6ed8b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C31C4C54",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "ETag" : "0x8D8671CA995949F",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:47 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc85-601a-006f-2a62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "x-ms-client-request-id" : "4f8f706a-a84f-4a91-8b6e-416f0cf60c14"
+ "x-ms-request-id" : "660dd35a-301a-00a3-1f05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:46 GMT",
+ "x-ms-client-request-id" : "d6edab2b-9982-4654-9646-2f1bbed6ed8b"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease560949ef6de3feb7a4/leaseapitestchangesharelease208047ee12d485bd34",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease69199d57005da84a64/leaseapitestchangesharelease4409437ced62327364",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "281acb49-ae1a-4189-967d-74b09a56621a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "394a3509-fe31-4c79-a3c4-e3216265f53d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:02.8828519Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:47.5928125Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:47 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "ETag" : "0x8D84479C327E567",
+ "Date" : "Fri, 02 Oct 2020 21:46:46 GMT",
+ "ETag" : "0x8D8671CA9A6723D",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:02.8828519Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:47.5928125Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cc87-601a-006f-2b62-76d031000000",
- "x-ms-client-request-id" : "281acb49-ae1a-4189-967d-74b09a56621a",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:02.8828519Z"
+ "x-ms-request-id" : "660dd35d-301a-00a3-2005-99f447000000",
+ "x-ms-client-request-id" : "394a3509-fe31-4c79-a3c4-e3216265f53d",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:47.5928125Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease560949ef6de3feb7a4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease69199d57005da84a64?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ebd00864-48bd-482f-a5d2-3a73b672562d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "969f3bd4-5313-4a52-95c7-e9c0bf02efa1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C31C4C54",
- "x-ms-lease-id" : "e8181113-3806-4c55-8ce1-4115b96a5088",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "ETag" : "0x8D8671CA995949F",
+ "x-ms-lease-id" : "857b58c4-b499-4d3f-9895-3a8fae65a8d2",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:47 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc88-601a-006f-2c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "x-ms-client-request-id" : "ebd00864-48bd-482f-a5d2-3a73b672562d"
+ "x-ms-request-id" : "660dd35e-301a-00a3-2105-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:46 GMT",
+ "x-ms-client-request-id" : "969f3bd4-5313-4a52-95c7-e9c0bf02efa1"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease560949ef6de3feb7a4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease69199d57005da84a64?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fd6326b0-ea74-4c98-83b2-fe288cc32ff3"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9e089cb2-9e59-4281-ba19-2e1d6ae88679"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C31C4C54",
- "x-ms-lease-id" : "88151294-2429-4136-a8ed-4fadfa41a553",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "ETag" : "0x8D8671CA995949F",
+ "x-ms-lease-id" : "2062ce03-de9a-4dd6-ba10-9376992dae8f",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:47 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cc89-601a-006f-2d62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "x-ms-client-request-id" : "fd6326b0-ea74-4c98-83b2-fe288cc32ff3"
+ "x-ms-request-id" : "660dd35f-301a-00a3-2205-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:46 GMT",
+ "x-ms-client-request-id" : "9e089cb2-9e59-4281-ba19-2e1d6ae88679"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease560949ef6de3feb7a4?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangesharelease69199d57005da84a64?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "973c6a74-4da6-49d9-b3ff-1856116045ba"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "aa747997-c577-4fe5-85c5-63bc3cabeacc"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C31C4C54",
+ "ETag" : "0x8D8671CA995949F",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:02 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:47 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cc8a-601a-006f-2e62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:02 GMT",
- "x-ms-client-request-id" : "973c6a74-4da6-49d9-b3ff-1856116045ba"
+ "x-ms-request-id" : "660dd360-301a-00a3-2305-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:47 GMT",
+ "x-ms-client-request-id" : "aa747997-c577-4fe5-85c5-63bc3cabeacc"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangesharelease560949ef6de3feb7a4", "leaseapitestchangesharelease208047ee12d485bd34", "88151294-2429-4136-a8ed-4fadfa41a553" ]
+ "variables" : [ "leaseapitestchangesharelease69199d57005da84a64", "leaseapitestchangesharelease4409437ced62327364", "2062ce03-de9a-4dd6-ba10-9376992dae8f" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseError.json
index 59819fcd99aa..15394ca55b4d 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleaseerror396454ee687693da?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleaseerror688812d7afde11e5?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0d89dec9-12cb-4d63-a4df-0bd845d5ae59"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "852bcf0b-bc01-4989-9836-c42117470124"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C43D5A9B",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:04 GMT",
+ "ETag" : "0x8D8671CAB2617FB",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:50 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ccbb-601a-006f-5662-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:04 GMT",
- "x-ms-client-request-id" : "0d89dec9-12cb-4d63-a4df-0bd845d5ae59"
+ "x-ms-request-id" : "660dd378-301a-00a3-3405-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:49 GMT",
+ "x-ms-client-request-id" : "852bcf0b-bc01-4989-9836-c42117470124"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleaseerror396454ee687693da/leaseapitestchangeshareleaseerror7343235e738ee33c",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleaseerror688812d7afde11e5/leaseapitestchangeshareleaseerror627302c97b452885",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "87b07213-e054-4ab9-aa75-d86971a85be4"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "70f9766b-f276-42ba-8a18-a34b25d4003b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:04.7802057Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:04 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:50.2046538Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:50 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:04 GMT",
- "ETag" : "0x8D84479C44968C9",
+ "Date" : "Fri, 02 Oct 2020 21:46:49 GMT",
+ "ETag" : "0x8D8671CAB34FB4A",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:04.7802057Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:50.2046538Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ccbe-601a-006f-5862-76d031000000",
- "x-ms-client-request-id" : "87b07213-e054-4ab9-aa75-d86971a85be4",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:04.7802057Z"
+ "x-ms-request-id" : "660dd37a-301a-00a3-3505-99f447000000",
+ "x-ms-client-request-id" : "70f9766b-f276-42ba-8a18-a34b25d4003b",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:50.2046538Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestchangeshareleaseerror048295868e262afb?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestchangeshareleaseerror09309280c81aed5e?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1dec72ee-6b24-4690-b02d-f21bb9227cea"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "12bc731b-174c-4b43-8075-79fa5b48b202"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677ccbf-601a-006f-5962-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677ccbf-601a-006f-5962-76d031000000\nTime:2020-08-19T19:55:04.8603133Z",
- "Date" : "Wed, 19 Aug 2020 19:55:04 GMT",
- "x-ms-client-request-id" : "1dec72ee-6b24-4690-b02d-f21bb9227cea",
+ "x-ms-request-id" : "660dd37b-301a-00a3-3605-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd37b-301a-00a3-3605-99f447000000\nTime:2020-10-02T21:46:50.3062208Z",
+ "Date" : "Fri, 02 Oct 2020 21:46:49 GMT",
+ "x-ms-client-request-id" : "12bc731b-174c-4b43-8075-79fa5b48b202",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangeshareleaseerror396454ee687693da", "leaseapitestchangeshareleaseerror7343235e738ee33c", "jtsleaseapitestchangeshareleaseerror048295868e262afb" ]
+ "variables" : [ "leaseapitestchangeshareleaseerror688812d7afde11e5", "leaseapitestchangeshareleaseerror627302c97b452885", "jtsleaseapitestchangeshareleaseerror09309280c81aed5e" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseMin.json
index 61e76b58d644..fe0fb841a02a 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseMin.json
@@ -1,98 +1,98 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin458258048f3a5b49f?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin606265d14f32c4529?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a8de097b-e55c-400d-b7b6-51739c9d1914"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "acf55ef7-3be0-454c-bf14-1060df89c186"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C36E24C5",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "ETag" : "0x8D8671CA9FEC92C",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc8c-601a-006f-2f62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "a8de097b-e55c-400d-b7b6-51739c9d1914"
+ "x-ms-request-id" : "660dd364-301a-00a3-2505-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:47 GMT",
+ "x-ms-client-request-id" : "acf55ef7-3be0-454c-bf14-1060df89c186"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin458258048f3a5b49f/leaseapitestchangeshareleasemin899875d7de0f13114",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin606265d14f32c4529/leaseapitestchangeshareleasemin68340b9f62d170f97",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "33657372-2cdb-43ee-89b5-d486be8a29a3"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f10d04e0-a331-4189-87a0-bc1bf4d05123"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:03.4182344Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:48.2742926Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "ETag" : "0x8D84479C37996C8",
+ "Date" : "Fri, 02 Oct 2020 21:46:47 GMT",
+ "ETag" : "0x8D8671CAA0E6E8E",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:03.4182344Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:48.2742926Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cc8e-601a-006f-3062-76d031000000",
- "x-ms-client-request-id" : "33657372-2cdb-43ee-89b5-d486be8a29a3",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:03.4182344Z"
+ "x-ms-request-id" : "660dd366-301a-00a3-2605-99f447000000",
+ "x-ms-client-request-id" : "f10d04e0-a331-4189-87a0-bc1bf4d05123",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:48.2742926Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin458258048f3a5b49f?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin606265d14f32c4529?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "533d8bc5-8229-4171-89d1-566883ecb277"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f2240639-bacc-4422-9311-9871af0d0ab6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C36E24C5",
- "x-ms-lease-id" : "363a1403-70eb-453a-8863-0cd1f1ad1b3b",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "ETag" : "0x8D8671CA9FEC92C",
+ "x-ms-lease-id" : "c7c126e6-29bd-4773-a1d2-1de4da4a1cd4",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cc90-601a-006f-3262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "533d8bc5-8229-4171-89d1-566883ecb277"
+ "x-ms-request-id" : "660dd367-301a-00a3-2705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:47 GMT",
+ "x-ms-client-request-id" : "f2240639-bacc-4422-9311-9871af0d0ab6"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin458258048f3a5b49f?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasemin606265d14f32c4529?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d0102745-54ab-4c69-92df-243c354fc15e"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3e324725-981f-49dd-92bb-7e1c2c2c410f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C36E24C5",
- "x-ms-lease-id" : "b249e612-490c-4b88-be04-3dc0e20d654a",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "ETag" : "0x8D8671CA9FEC92C",
+ "x-ms-lease-id" : "e3025740-b299-4a82-beb9-35b7ae35524d",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cc95-601a-006f-3562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "d0102745-54ab-4c69-92df-243c354fc15e"
+ "x-ms-request-id" : "660dd368-301a-00a3-2805-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:47 GMT",
+ "x-ms-client-request-id" : "3e324725-981f-49dd-92bb-7e1c2c2c410f"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangeshareleasemin458258048f3a5b49f", "leaseapitestchangeshareleasemin899875d7de0f13114", "b249e612-490c-4b88-be04-3dc0e20d654a" ]
+ "variables" : [ "leaseapitestchangeshareleasemin606265d14f32c4529", "leaseapitestchangeshareleasemin68340b9f62d170f97", "e3025740-b299-4a82-beb9-35b7ae35524d" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshot.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshot.json
index 59df5e5ff8d6..5042cd7d671b 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshot.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshot.json
@@ -1,142 +1,142 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot0331682d3d1857?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot57853e3e3f0d83?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "605cc7a7-f2a2-422d-a762-127646485c99"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "146003ad-06b5-4305-aabe-b6bea0612027"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C3B4D7B0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "ETag" : "0x8D8671CAA642C7F",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cca4-601a-006f-4362-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "605cc7a7-f2a2-422d-a762-127646485c99"
+ "x-ms-request-id" : "660dd369-301a-00a3-2905-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:47 GMT",
+ "x-ms-client-request-id" : "146003ad-06b5-4305-aabe-b6bea0612027"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot0331682d3d1857/leaseapitestchangeshareleasesnapshot971345c7df0a99",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot57853e3e3f0d83/leaseapitestchangeshareleasesnapshot57640a27252ff8",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1ab3c766-2c13-4b91-8025-6e3b11a2c36e"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0e20a835-8e7a-4b12-b875-06048cacf493"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:03.8815637Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:48.9247524Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "ETag" : "0x8D84479C3C04995",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "ETag" : "0x8D8671CAA71AF24",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:03.8815637Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:48.9247524Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cca6-601a-006f-4462-76d031000000",
- "x-ms-client-request-id" : "1ab3c766-2c13-4b91-8025-6e3b11a2c36e",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:03.8815637Z"
+ "x-ms-request-id" : "660dd36b-301a-00a3-2a05-99f447000000",
+ "x-ms-client-request-id" : "0e20a835-8e7a-4b12-b875-06048cacf493",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:48.9247524Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot0331682d3d1857?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot57853e3e3f0d83?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9ddbc46a-dd11-45d3-bbc8-17ea72c11e19"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e109ee02-5d31-478d-aa59-9ed429cd4c48"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-08-19T19:55:03.0000000Z",
+ "x-ms-snapshot" : "2020-10-02T21:46:49.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C3B4D7B0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "ETag" : "0x8D8671CAA642C7F",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cca8-601a-006f-4562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "9ddbc46a-dd11-45d3-bbc8-17ea72c11e19"
+ "x-ms-request-id" : "660dd36c-301a-00a3-2b05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "x-ms-client-request-id" : "e109ee02-5d31-478d-aa59-9ed429cd4c48"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot0331682d3d1857?sharesnapshot=2020-08-19T19:55:03.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot57853e3e3f0d83?sharesnapshot=2020-10-02T21:46:49.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "14e96126-07f3-439f-b150-71b8d0b82e9b"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "658e54d1-1722-4fbb-b6ed-c14fb2f887ed"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C3B4D7B0",
- "x-ms-lease-id" : "ad5d87fc-d3df-4e5e-827a-b1563eecb0bc",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "ETag" : "0x8D8671CAA642C7F",
+ "x-ms-lease-id" : "5e886e06-e4d9-4535-82ec-9c18a81710cb",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cca9-601a-006f-4662-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "14e96126-07f3-439f-b150-71b8d0b82e9b"
+ "x-ms-request-id" : "660dd36d-301a-00a3-2c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "x-ms-client-request-id" : "658e54d1-1722-4fbb-b6ed-c14fb2f887ed"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot0331682d3d1857?sharesnapshot=2020-08-19T19:55:03.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot57853e3e3f0d83?sharesnapshot=2020-10-02T21:46:49.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3fc6a99f-7c15-4e90-901e-cc4a76e8e872"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1c666834-2c79-41ef-a19b-2fb95d5b8b1e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C3B4D7B0",
- "x-ms-lease-id" : "650c4587-e3d3-47d6-aa61-315a33bf71a0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "ETag" : "0x8D8671CAA642C7F",
+ "x-ms-lease-id" : "5616f937-0439-4703-911f-21bf5a6942cf",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677ccaa-601a-006f-4762-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "3fc6a99f-7c15-4e90-901e-cc4a76e8e872"
+ "x-ms-request-id" : "660dd36e-301a-00a3-2d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "x-ms-client-request-id" : "1c666834-2c79-41ef-a19b-2fb95d5b8b1e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot0331682d3d1857?sharesnapshot=2020-08-19T19:55:03.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshot57853e3e3f0d83?sharesnapshot=2020-10-02T21:46:49.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "47494adc-4c37-44a0-bd08-15d9fe2067aa"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6913b0bb-70f2-4705-8737-7dc14cc9941d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C3B4D7B0",
+ "ETag" : "0x8D8671CAA642C7F",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:03 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:48 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677ccab-601a-006f-4862-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:03 GMT",
- "x-ms-client-request-id" : "47494adc-4c37-44a0-bd08-15d9fe2067aa"
+ "x-ms-request-id" : "660dd36f-301a-00a3-2e05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "x-ms-client-request-id" : "6913b0bb-70f2-4705-8737-7dc14cc9941d"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangeshareleasesnapshot0331682d3d1857", "leaseapitestchangeshareleasesnapshot971345c7df0a99", "650c4587-e3d3-47d6-aa61-315a33bf71a0" ]
+ "variables" : [ "leaseapitestchangeshareleasesnapshot57853e3e3f0d83", "leaseapitestchangeshareleasesnapshot57640a27252ff8", "5616f937-0439-4703-911f-21bf5a6942cf" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshotFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshotFail.json
index f6ed2a80c394..9a4e0be62d65 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshotFail.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestChangeShareLeaseSnapshotFail.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshotfail040330bacc60?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshotfail228878a97051?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3ef07d47-34c2-48fa-877d-a6bae211716f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "407f3ca3-6f92-42f3-8bdc-1d2007819bf0"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479C4074CA1",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:04 GMT",
+ "ETag" : "0x8D8671CAADAA9D8",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:49 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ccaf-601a-006f-4b62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:55:04 GMT",
- "x-ms-client-request-id" : "3ef07d47-34c2-48fa-877d-a6bae211716f"
+ "x-ms-request-id" : "660dd371-301a-00a3-3005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "x-ms-client-request-id" : "407f3ca3-6f92-42f3-8bdc-1d2007819bf0"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshotfail040330bacc60/leaseapitestchangeshareleasesnapshotfail694094709f0d",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshotfail228878a97051/leaseapitestchangeshareleasesnapshotfail61041707d179",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7959f317-0c1a-4b4b-878c-13cf876ac8f2"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8c35190e-41d8-46ce-bf77-265faf05d1ad"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:55:04.4289542Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:55:04 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:49.7063026Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:49 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:55:04 GMT",
- "ETag" : "0x8D84479C413D006",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "ETag" : "0x8D8671CAAE8F072",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:55:04.4289542Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:49.7063026Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ccb7-601a-006f-5262-76d031000000",
- "x-ms-client-request-id" : "7959f317-0c1a-4b4b-878c-13cf876ac8f2",
- "x-ms-file-last-write-time" : "2020-08-19T19:55:04.4289542Z"
+ "x-ms-request-id" : "660dd375-301a-00a3-3205-99f447000000",
+ "x-ms-client-request-id" : "8c35190e-41d8-46ce-bf77-265faf05d1ad",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:49.7063026Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshotfail040330bacc60?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestchangeshareleasesnapshotfail228878a97051?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7e61301a-b31b-4083-a058-fa8f0bfe2984"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f7dd1ce7-4c21-4408-bbd4-dd1ce6fb4712"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677ccb8-601a-006f-5362-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677ccb8-601a-006f-5362-76d031000000\nTime:2020-08-19T19:55:04.4950531Z",
- "Date" : "Wed, 19 Aug 2020 19:55:04 GMT",
- "x-ms-client-request-id" : "7e61301a-b31b-4083-a058-fa8f0bfe2984",
+ "x-ms-request-id" : "660dd376-301a-00a3-3305-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd376-301a-00a3-3305-99f447000000\nTime:2020-10-02T21:46:49.7978712Z",
+ "Date" : "Fri, 02 Oct 2020 21:46:48 GMT",
+ "x-ms-client-request-id" : "f7dd1ce7-4c21-4408-bbd4-dd1ce6fb4712",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestchangeshareleasesnapshotfail040330bacc60", "leaseapitestchangeshareleasesnapshotfail694094709f0d", "23175635-a629-40b0-9566-a545729e171a" ]
+ "variables" : [ "leaseapitestchangeshareleasesnapshotfail228878a97051", "leaseapitestchangeshareleasesnapshotfail61041707d179", "c454f9a3-aa7b-4c89-a551-81bbfceb8029" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseFileLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseFileLeaseError.json
index 15bbbab5cef4..48ab080f4bbc 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseFileLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseFileLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasefileleaseerror655195632e23c1ba?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasefileleaseerror9897936a1b01f176?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6fd14b74-1b0d-4cf0-ab07-de1548967e0d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e778f971-0bf9-42e8-819c-4943ad185c44"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799ACC3F7F",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "ETag" : "0x8D8671C7EC6ACC6",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:35 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca32-601a-006f-7862-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "x-ms-client-request-id" : "6fd14b74-1b0d-4cf0-ab07-de1548967e0d"
+ "x-ms-request-id" : "660dd206-301a-00a3-5205-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:34 GMT",
+ "x-ms-client-request-id" : "e778f971-0bf9-42e8-819c-4943ad185c44"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasefileleaseerror655195632e23c1ba/leaseapitestreleasefileleaseerror950929211fa526e0",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasefileleaseerror9897936a1b01f176/leaseapitestreleasefileleaseerror9779281c0aaee404",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9117905a-88f8-48d3-9d42-e273b8a8cab4"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ecc33cdc-1c4f-43f0-be60-7c2a5ec885bf"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:55.2446184Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:55 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:35.7781495Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:35 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "ETag" : "0x8D844799AD71EE8",
+ "Date" : "Fri, 02 Oct 2020 21:45:34 GMT",
+ "ETag" : "0x8D8671C7ED865F7",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:55.2446184Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:35.7781495Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca38-601a-006f-7d62-76d031000000",
- "x-ms-client-request-id" : "9117905a-88f8-48d3-9d42-e273b8a8cab4",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:55.2446184Z"
+ "x-ms-request-id" : "660dd208-301a-00a3-5305-99f447000000",
+ "x-ms-client-request-id" : "ecc33cdc-1c4f-43f0-be60-7c2a5ec885bf",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:35.7781495Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasefileleaseerror655195632e23c1ba/garbage?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasefileleaseerror9897936a1b01f176/garbage?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "aa5c7128-b982-49f0-86bf-6bd6c4b2b4f8"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1619de96-9408-41bf-a842-d450b48b5492"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "321",
"StatusCode" : "400",
- "x-ms-request-id" : "d677ca39-601a-006f-7e62-76d031000000",
- "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:d677ca39-601a-006f-7e62-76d031000000\nTime:2020-08-19T19:53:55.4575652Zx-ms-lease-idid",
- "Date" : "Wed, 19 Aug 2020 19:53:55 GMT",
- "x-ms-client-request-id" : "aa5c7128-b982-49f0-86bf-6bd6c4b2b4f8",
+ "x-ms-request-id" : "660dd209-301a-00a3-5405-99f447000000",
+ "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:660dd209-301a-00a3-5405-99f447000000\nTime:2020-10-02T21:45:35.8921554Zx-ms-lease-idid",
+ "Date" : "Fri, 02 Oct 2020 21:45:35 GMT",
+ "x-ms-client-request-id" : "1619de96-9408-41bf-a842-d450b48b5492",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleasefileleaseerror655195632e23c1ba", "leaseapitestreleasefileleaseerror950929211fa526e0" ]
+ "variables" : [ "leaseapitestreleasefileleaseerror9897936a1b01f176", "leaseapitestreleasefileleaseerror9779281c0aaee404" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json
index 37cabbabf364..8700bf6c7f95 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLease.json
@@ -1,131 +1,130 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaseleasef089228913?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease386931054e?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7866e3a3-ea3b-4fc6-be28-6988792d205a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2251eb99-696d-4585-82e6-e29775e0f7c2"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799A32C9B3",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "ETag" : "0x8D8671C7DE21804",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:34 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca1e-601a-006f-6962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:53 GMT",
- "x-ms-client-request-id" : "7866e3a3-ea3b-4fc6-be28-6988792d205a"
+ "x-ms-request-id" : "660dd1ee-301a-00a3-4205-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:33 GMT",
+ "x-ms-client-request-id" : "2251eb99-696d-4585-82e6-e29775e0f7c2"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaseleasef089228913/leaseapitestreleaseleaseleaseapitestreleaseleasef089703651",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease386931054e/leaseapitestreleaseleaseleaseapitestreleaselease3862560598",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "eb136bb9-2b62-431b-9f5c-e14f6cdaf236"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c7727cce-9f8e-449a-9521-cd17244e47ec"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:54.2699255Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:34.2890995Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:34 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:53 GMT",
- "ETag" : "0x8D844799A4264F7",
+ "Date" : "Fri, 02 Oct 2020 21:45:33 GMT",
+ "ETag" : "0x8D8671C7DF52FF3",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:54.2699255Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:34.2890995Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca20-601a-006f-6a62-76d031000000",
- "x-ms-client-request-id" : "eb136bb9-2b62-431b-9f5c-e14f6cdaf236",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:54.2699255Z"
+ "x-ms-request-id" : "660dd1f2-301a-00a3-4505-99f447000000",
+ "x-ms-client-request-id" : "c7727cce-9f8e-449a-9521-cd17244e47ec",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:34.2890995Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaseleasef089228913/leaseapitestreleaseleaseleaseapitestreleaseleasef089703651?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease386931054e/leaseapitestreleaseleaseleaseapitestreleaselease3862560598?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "44c58fe8-6887-4e21-9dc2-37c5eba39c9f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "76f58e26-f50f-43f0-aac4-b41315aaa8d7"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799A4264F7",
- "x-ms-lease-id" : "17507539-3be6-4d52-bc32-fe409807cc3b",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "ETag" : "0x8D8671C7DF52FF3",
+ "x-ms-lease-id" : "c6a63e5b-928e-46f7-b794-43056a0eef25",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:34 GMT",
"retry-after" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca23-601a-006f-6c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "x-ms-client-request-id" : "44c58fe8-6887-4e21-9dc2-37c5eba39c9f"
+ "x-ms-request-id" : "660dd1f3-301a-00a3-4605-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:33 GMT",
+ "x-ms-client-request-id" : "76f58e26-f50f-43f0-aac4-b41315aaa8d7"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaseleasef089228913/leaseapitestreleaseleaseleaseapitestreleaseleasef089703651?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease386931054e/leaseapitestreleaseleaseleaseapitestreleaselease3862560598?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "870212d2-642d-4f8d-aedf-84b6dd700310"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6d107bd9-5bca-42ad-aadf-d50238b01692"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799A4264F7",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "ETag" : "0x8D8671C7DF52FF3",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:34 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677ca24-601a-006f-6d62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "x-ms-client-request-id" : "870212d2-642d-4f8d-aedf-84b6dd700310"
+ "x-ms-request-id" : "660dd1f4-301a-00a3-4705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:33 GMT",
+ "x-ms-client-request-id" : "6d107bd9-5bca-42ad-aadf-d50238b01692"
},
"Exception" : null
}, {
"Method" : "HEAD",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaseleasef089228913/leaseapitestreleaseleaseleaseapitestreleaseleasef089703651",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleaseleaseapitestreleaselease386931054e/leaseapitestreleaseleaseleaseapitestreleaselease3862560598",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2b99df3f-e6c4-4f4a-afed-f902292a1974"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1219e776-0089-42f3-802e-ad67e804bc73"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "unlocked",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:54.2699255Z",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:34.2890995Z",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:34 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:45:33 GMT",
"x-ms-server-encrypted" : "true",
"x-ms-type" : "File",
- "ETag" : "0x8D844799A4264F7",
+ "ETag" : "0x8D8671C7DF52FF3",
"x-ms-file-attributes" : "Archive",
- "Vary" : "Origin",
- "x-ms-file-change-time" : "2020-08-19T19:53:54.2699255Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:34.2890995Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "50",
- "x-ms-request-id" : "d677ca25-601a-006f-6e62-76d031000000",
- "x-ms-client-request-id" : "2b99df3f-e6c4-4f4a-afed-f902292a1974",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:54.2699255Z",
+ "x-ms-request-id" : "660dd1f8-301a-00a3-4905-99f447000000",
+ "x-ms-client-request-id" : "1219e776-0089-42f3-802e-ad67e804bc73",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:34.2890995Z",
"Content-Type" : "application/octet-stream"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleaseleaseleaseapitestreleaseleasef089228913", "leaseapitestreleaseleaseleaseapitestreleaseleasef089703651" ]
+ "variables" : [ "leaseapitestreleaseleaseleaseapitestreleaselease386931054e", "leaseapitestreleaseleaseleaseapitestreleaselease3862560598" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json
index 25605e9455e3..11ef1ced48e2 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseLeaseMin.json
@@ -1,97 +1,97 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin299093d7fb2463f0e4a?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin59114988136985b3a4f?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "73e5669f-09f2-4c6b-9025-d449702a7708"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "70db28e5-f152-4ebf-b641-1e22ad9af4ca"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799A869E48",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "ETag" : "0x8D8671C7E5E89DB",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:34 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca26-601a-006f-6f62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "x-ms-client-request-id" : "73e5669f-09f2-4c6b-9025-d449702a7708"
+ "x-ms-request-id" : "660dd1fd-301a-00a3-4d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:34 GMT",
+ "x-ms-client-request-id" : "70db28e5-f152-4ebf-b641-1e22ad9af4ca"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin299093d7fb2463f0e4a/leaseapitestreleaseleasemin410902fac376c287a48",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin59114988136985b3a4f/leaseapitestreleaseleasemin91774a64a9da875f742",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e77947ac-62bc-4dc2-b21a-dad73fe73a94"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ea93b8b7-4488-40ce-8639-31b6b5fe643d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:53:54.8083077Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:35.1026737Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:35 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "ETag" : "0x8D844799A948B85",
+ "Date" : "Fri, 02 Oct 2020 21:45:34 GMT",
+ "ETag" : "0x8D8671C7E715431",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:53:54.8083077Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:35.1026737Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677ca28-601a-006f-7062-76d031000000",
- "x-ms-client-request-id" : "e77947ac-62bc-4dc2-b21a-dad73fe73a94",
- "x-ms-file-last-write-time" : "2020-08-19T19:53:54.8083077Z"
+ "x-ms-request-id" : "660dd1ff-301a-00a3-4e05-99f447000000",
+ "x-ms-client-request-id" : "ea93b8b7-4488-40ce-8639-31b6b5fe643d",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:35.1026737Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin299093d7fb2463f0e4a/leaseapitestreleaseleasemin410902fac376c287a48?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin59114988136985b3a4f/leaseapitestreleaseleasemin91774a64a9da875f742?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ec962890-29e7-46dc-b1db-fae3a743c190"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f4f143d6-22de-40ca-b59a-183fcba54513"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799A948B85",
- "x-ms-lease-id" : "63a31b97-6d16-4acd-bdf2-429e0cf657e8",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "ETag" : "0x8D8671C7E715431",
+ "x-ms-lease-id" : "1c8a05c0-7ef6-4b9c-816b-42d5e92f0b96",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:35 GMT",
"retry-after" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677ca29-601a-006f-7162-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "x-ms-client-request-id" : "ec962890-29e7-46dc-b1db-fae3a743c190"
+ "x-ms-request-id" : "660dd203-301a-00a3-5005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:34 GMT",
+ "x-ms-client-request-id" : "f4f143d6-22de-40ca-b59a-183fcba54513"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin299093d7fb2463f0e4a/leaseapitestreleaseleasemin410902fac376c287a48?comp=lease",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseleasemin59114988136985b3a4f/leaseapitestreleaseleasemin91774a64a9da875f742?comp=lease",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "8d28bf5b-57cd-4a68-8f8c-4fd17152840a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e3a3f200-5b52-44ec-8e67-10201695b74b"
},
"Response" : {
"Transfer-Encoding" : "chunked",
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799A948B85",
- "Last-Modified" : "Wed, 19 Aug 2020 19:53:54 GMT",
+ "ETag" : "0x8D8671C7E715431",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:35 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677ca2a-601a-006f-7262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:53:54 GMT",
- "x-ms-client-request-id" : "8d28bf5b-57cd-4a68-8f8c-4fd17152840a"
+ "x-ms-request-id" : "660dd204-301a-00a3-5105-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:34 GMT",
+ "x-ms-client-request-id" : "e3a3f200-5b52-44ec-8e67-10201695b74b"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleaseleasemin299093d7fb2463f0e4a", "leaseapitestreleaseleasemin410902fac376c287a48" ]
+ "variables" : [ "leaseapitestreleaseleasemin59114988136985b3a4f", "leaseapitestreleaseleasemin91774a64a9da875f742" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLease.json
index 1c888f455af4..927cafa3f35f 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLease.json
@@ -1,127 +1,126 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73682ba2d2d63ffc44?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73779dbb6e4a786ff4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "430545e2-e180-4da4-89e7-f28c1c75efb7"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "92616ac0-d19c-4adc-ac4f-b17863e2e22e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AA96BDE2",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "ETag" : "0x8D8671C906B04EF",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb68-601a-006f-5d62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "x-ms-client-request-id" : "430545e2-e180-4da4-89e7-f28c1c75efb7"
+ "x-ms-request-id" : "660dd2af-301a-00a3-4205-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:04 GMT",
+ "x-ms-client-request-id" : "92616ac0-d19c-4adc-ac4f-b17863e2e22e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73682ba2d2d63ffc44/leaseapitestreleasesharelease094386c917844b7614",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73779dbb6e4a786ff4/leaseapitestreleasesharelease4722406aa9f0f431a4",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5228e469-e860-4c03-9c6c-8784ef17551d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e1b3db7c-2ab8-4f16-97e3-0a4da95cf921"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:21.7465164Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:05.3680234Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "ETag" : "0x8D84479AAA2FD4C",
+ "Date" : "Fri, 02 Oct 2020 21:46:04 GMT",
+ "ETag" : "0x8D8671C907B746A",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:21.7465164Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:05.3680234Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb6a-601a-006f-5e62-76d031000000",
- "x-ms-client-request-id" : "5228e469-e860-4c03-9c6c-8784ef17551d",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:21.7465164Z"
+ "x-ms-request-id" : "660dd2b1-301a-00a3-4305-99f447000000",
+ "x-ms-client-request-id" : "e1b3db7c-2ab8-4f16-97e3-0a4da95cf921",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:05.3680234Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73682ba2d2d63ffc44?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73779dbb6e4a786ff4?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "59408b0f-75cb-4756-be91-80bd9413649b"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "212a765d-70eb-4c20-97b4-76221218614c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AA96BDE2",
- "x-ms-lease-id" : "ef4964cf-be31-4421-bf46-33287fd6ffdd",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "ETag" : "0x8D8671C906B04EF",
+ "x-ms-lease-id" : "b7166d90-fdb5-4a62-9b8e-566500ad7c2e",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb6b-601a-006f-5f62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "x-ms-client-request-id" : "59408b0f-75cb-4756-be91-80bd9413649b"
+ "x-ms-request-id" : "660dd2b4-301a-00a3-4605-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:04 GMT",
+ "x-ms-client-request-id" : "212a765d-70eb-4c20-97b4-76221218614c"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73682ba2d2d63ffc44?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73779dbb6e4a786ff4?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "50f280e6-10b8-4778-bf27-eacd8c61c3e5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f62552fe-6c64-4973-8747-78176382ebc1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AA96BDE2",
+ "ETag" : "0x8D8671C906B04EF",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cb6c-601a-006f-6062-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "x-ms-client-request-id" : "50f280e6-10b8-4778-bf27-eacd8c61c3e5"
+ "x-ms-request-id" : "660dd2b5-301a-00a3-4705-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:04 GMT",
+ "x-ms-client-request-id" : "f62552fe-6c64-4973-8747-78176382ebc1"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73682ba2d2d63ffc44?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleasesharelease73779dbb6e4a786ff4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "28aacb3c-9314-478d-b8cb-52c6dfec4c5b"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4fbece91-fa07-4f0e-88d6-7b2c5e137dcf"
},
"Response" : {
- "x-ms-lease-status" : "unlocked",
"x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:54:21 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:46:05 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:46:04 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D84479AA96BDE2",
+ "ETag" : "0x8D8671C906B04EF",
"x-ms-has-immutability-policy" : "false",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb6d-601a-006f-6162-76d031000000",
- "x-ms-client-request-id" : "28aacb3c-9314-478d-b8cb-52c6dfec4c5b"
+ "x-ms-request-id" : "660dd2b6-301a-00a3-4805-99f447000000",
+ "x-ms-client-request-id" : "4fbece91-fa07-4f0e-88d6-7b2c5e137dcf"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleasesharelease73682ba2d2d63ffc44", "leaseapitestreleasesharelease094386c917844b7614" ]
+ "variables" : [ "leaseapitestreleasesharelease73779dbb6e4a786ff4", "leaseapitestreleasesharelease4722406aa9f0f431a4" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseError.json
index ef76d15568c0..32c0c68bcb31 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleaseerror50316c2364e0f3c?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleaseerror15143865bcddf70?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b4cafa45-5bb5-4182-9db5-9cf8cfd9b8b2"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b0f4bca4-8877-4483-86c8-7e2f3ebad4d6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AB9AA19F",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "ETag" : "0x8D8671C91E38EF6",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb8b-601a-006f-7962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "x-ms-client-request-id" : "b4cafa45-5bb5-4182-9db5-9cf8cfd9b8b2"
+ "x-ms-request-id" : "660dd2ce-301a-00a3-5805-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:06 GMT",
+ "x-ms-client-request-id" : "b0f4bca4-8877-4483-86c8-7e2f3ebad4d6"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleaseerror50316c2364e0f3c/leaseapitestreleaseshareleaseerror83803ee93f853aa",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleaseerror15143865bcddf70/leaseapitestreleaseshareleaseerror261717cf5cf811e",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "41e8d866-38fb-419a-bd38-041efacd302b"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8ca22b1f-4a87-4c6e-b21e-dca6b0a6c876"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:23.4577389Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:07.8307610Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:07 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "ETag" : "0x8D84479ABA819ED",
+ "Date" : "Fri, 02 Oct 2020 21:46:07 GMT",
+ "ETag" : "0x8D8671C91F33D1A",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:23.4577389Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:07.8307610Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb8d-601a-006f-7a62-76d031000000",
- "x-ms-client-request-id" : "41e8d866-38fb-419a-bd38-041efacd302b",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:23.4577389Z"
+ "x-ms-request-id" : "660dd2d0-301a-00a3-5905-99f447000000",
+ "x-ms-client-request-id" : "8ca22b1f-4a87-4c6e-b21e-dca6b0a6c876",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:07.8307610Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestreleaseshareleaseerror019741fd690a7bb2?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestreleaseshareleaseerror0459698ae180d767?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "986622b1-0b69-4e63-bc25-874f71dd5df5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7265051f-a9e3-45a5-b4cb-f234e3a38bf7"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "321",
"StatusCode" : "400",
- "x-ms-request-id" : "d677cb8f-601a-006f-7b62-76d031000000",
- "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:d677cb8f-601a-006f-7b62-76d031000000\nTime:2020-08-19T19:54:23.5215706Zx-ms-lease-idid",
- "Date" : "Wed, 19 Aug 2020 19:54:23 GMT",
- "x-ms-client-request-id" : "986622b1-0b69-4e63-bc25-874f71dd5df5",
+ "x-ms-request-id" : "660dd2d1-301a-00a3-5a05-99f447000000",
+ "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:660dd2d1-301a-00a3-5a05-99f447000000\nTime:2020-10-02T21:46:07.9281364Zx-ms-lease-idid",
+ "Date" : "Fri, 02 Oct 2020 21:46:07 GMT",
+ "x-ms-client-request-id" : "7265051f-a9e3-45a5-b4cb-f234e3a38bf7",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleaseshareleaseerror50316c2364e0f3c", "leaseapitestreleaseshareleaseerror83803ee93f853aa", "jtsleaseapitestreleaseshareleaseerror019741fd690a7bb2" ]
+ "variables" : [ "leaseapitestreleaseshareleaseerror15143865bcddf70", "leaseapitestreleaseshareleaseerror261717cf5cf811e", "jtsleaseapitestreleaseshareleaseerror0459698ae180d767" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseMin.json
index b5f2870d69b1..95ca27c040a5 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseMin.json
@@ -1,98 +1,98 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin7130376a41a60655?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin25957cd900ebce72?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "98c55336-04f5-4890-8629-1d1d22c79b43"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "cf0e668a-7481-49df-8a91-3cb22f3654f6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AAE1B735",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "ETag" : "0x8D8671C90D300BC",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb6e-601a-006f-6262-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "x-ms-client-request-id" : "98c55336-04f5-4890-8629-1d1d22c79b43"
+ "x-ms-request-id" : "660dd2b7-301a-00a3-4905-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:05 GMT",
+ "x-ms-client-request-id" : "cf0e668a-7481-49df-8a91-3cb22f3654f6"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin7130376a41a60655/leaseapitestreleaseshareleasemin810748752dadeeeb",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin25957cd900ebce72/leaseapitestreleaseshareleasemin28550d09c84b3376",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c3bfc390-557c-4e43-a3fa-f621312303e1"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "cb91a044-5167-4f11-b676-03102870f027"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:22.2298603Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:06.0465029Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:06 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "ETag" : "0x8D84479AAECBDEB",
+ "Date" : "Fri, 02 Oct 2020 21:46:05 GMT",
+ "ETag" : "0x8D8671C90E2FB85",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:22.2298603Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:06.0465029Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb71-601a-006f-6362-76d031000000",
- "x-ms-client-request-id" : "c3bfc390-557c-4e43-a3fa-f621312303e1",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:22.2298603Z"
+ "x-ms-request-id" : "660dd2b9-301a-00a3-4a05-99f447000000",
+ "x-ms-client-request-id" : "cb91a044-5167-4f11-b676-03102870f027",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:06.0465029Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin7130376a41a60655?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin25957cd900ebce72?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e45dc0d0-5474-45c8-ab63-5adefec82149"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "826787bd-7900-43d7-8c24-76eeae398b94"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AAE1B735",
- "x-ms-lease-id" : "58b34f38-0bfa-485d-bdcd-15749c1e8cd4",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "ETag" : "0x8D8671C90D300BC",
+ "x-ms-lease-id" : "f2618462-950c-480e-96af-670e5b86bf1a",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb72-601a-006f-6462-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "e45dc0d0-5474-45c8-ab63-5adefec82149"
+ "x-ms-request-id" : "660dd2ba-301a-00a3-4b05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:05 GMT",
+ "x-ms-client-request-id" : "826787bd-7900-43d7-8c24-76eeae398b94"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin7130376a41a60655?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasemin25957cd900ebce72?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cb4f73aa-e674-41b5-83ce-3496b5a671cf"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "12350306-8347-4d1e-8920-b46c0a1a6441"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AAE1B735",
+ "ETag" : "0x8D8671C90D300BC",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cb73-601a-006f-6562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "cb4f73aa-e674-41b5-83ce-3496b5a671cf"
+ "x-ms-request-id" : "660dd2bb-301a-00a3-4c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:05 GMT",
+ "x-ms-client-request-id" : "12350306-8347-4d1e-8920-b46c0a1a6441"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleaseshareleasemin7130376a41a60655", "leaseapitestreleaseshareleasemin810748752dadeeeb" ]
+ "variables" : [ "leaseapitestreleaseshareleasemin25957cd900ebce72", "leaseapitestreleaseshareleasemin28550d09c84b3376" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshot.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshot.json
index 162964cfa4a5..20f2cd60250c 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshot.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshot.json
@@ -1,120 +1,120 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot222991fae4ccfa?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot71119e57608c0b?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5a4ea275-0439-44ed-ad1d-0f69c3aef98d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "37f5b1ea-2a40-4e11-a41d-1c4083a738a1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AB207957",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "ETag" : "0x8D8671C912B907E",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb74-601a-006f-6662-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "5a4ea275-0439-44ed-ad1d-0f69c3aef98d"
+ "x-ms-request-id" : "660dd2bd-301a-00a3-4d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:05 GMT",
+ "x-ms-client-request-id" : "37f5b1ea-2a40-4e11-a41d-1c4083a738a1"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot222991fae4ccfa/leaseapitestreleaseshareleasesnapshot750089f3a20e8f",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot71119e57608c0b/leaseapitestreleaseshareleasesnapshot583319f2959398",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e9151239-6c49-43ed-86b0-df4dd32841b1"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c818e64c-9d33-4f0e-888e-4febc2c75d57"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:22.6411552Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:06.6399209Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:06 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "ETag" : "0x8D84479AB2B8020",
+ "Date" : "Fri, 02 Oct 2020 21:46:05 GMT",
+ "ETag" : "0x8D8671C913D87E9",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:22.6411552Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:06.6399209Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb76-601a-006f-6762-76d031000000",
- "x-ms-client-request-id" : "e9151239-6c49-43ed-86b0-df4dd32841b1",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:22.6411552Z"
+ "x-ms-request-id" : "660dd2bf-301a-00a3-4e05-99f447000000",
+ "x-ms-client-request-id" : "c818e64c-9d33-4f0e-888e-4febc2c75d57",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:06.6399209Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot222991fae4ccfa?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot71119e57608c0b?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "db0a76b1-280d-4405-b84a-43ccb348b9e5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "af7ae4cb-629f-4ae7-8e23-1ddc8425b951"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-08-19T19:54:22.0000000Z",
+ "x-ms-snapshot" : "2020-10-02T21:46:06.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AB207957",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "ETag" : "0x8D8671C912B907E",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb78-601a-006f-6962-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "db0a76b1-280d-4405-b84a-43ccb348b9e5"
+ "x-ms-request-id" : "660dd2c0-301a-00a3-4f05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:05 GMT",
+ "x-ms-client-request-id" : "af7ae4cb-629f-4ae7-8e23-1ddc8425b951"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot222991fae4ccfa?sharesnapshot=2020-08-19T19:54:22.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot71119e57608c0b?sharesnapshot=2020-10-02T21:46:06.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c1daaa36-a2ab-4d47-8635-ef540a34a1af"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f554bfae-4b06-4dee-bb61-381c1ad3f8de"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AB207957",
- "x-ms-lease-id" : "9eebd4df-c95b-41e9-a160-2b5ea1011308",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "ETag" : "0x8D8671C912B907E",
+ "x-ms-lease-id" : "a6955810-4940-40e7-860f-34fa356fd9a6",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb79-601a-006f-6a62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "c1daaa36-a2ab-4d47-8635-ef540a34a1af"
+ "x-ms-request-id" : "660dd2c4-301a-00a3-5205-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:06 GMT",
+ "x-ms-client-request-id" : "f554bfae-4b06-4dee-bb61-381c1ad3f8de"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot222991fae4ccfa?sharesnapshot=2020-08-19T19:54:22.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshot71119e57608c0b?sharesnapshot=2020-10-02T21:46:06.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "11ebff69-67e9-4239-b18e-d63294fc40b4"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "74b32c26-88a5-47a4-b13e-57dc0ea115ba"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AB207957",
+ "ETag" : "0x8D8671C912B907E",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:22 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cb7c-601a-006f-6d62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "11ebff69-67e9-4239-b18e-d63294fc40b4"
+ "x-ms-request-id" : "660dd2c5-301a-00a3-5305-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:06 GMT",
+ "x-ms-client-request-id" : "74b32c26-88a5-47a4-b13e-57dc0ea115ba"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleaseshareleasesnapshot222991fae4ccfa", "leaseapitestreleaseshareleasesnapshot750089f3a20e8f" ]
+ "variables" : [ "leaseapitestreleaseshareleasesnapshot71119e57608c0b", "leaseapitestreleaseshareleasesnapshot583319f2959398" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshotFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshotFail.json
index e1e320d84b66..5443c882b7f9 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshotFail.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestReleaseShareLeaseSnapshotFail.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshotfail467050b8079e?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshotfail3240412a27ab?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "89b26ce2-98ff-48dd-92ae-15852f9d1c57"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5833191e-5dd6-44a2-bc72-5e91024b4722"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AB677A5F",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "ETag" : "0x8D8671C91944F9E",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb86-601a-006f-7562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "89b26ce2-98ff-48dd-92ae-15852f9d1c57"
+ "x-ms-request-id" : "660dd2c9-301a-00a3-5505-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:06 GMT",
+ "x-ms-client-request-id" : "5833191e-5dd6-44a2-bc72-5e91024b4722"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshotfail467050b8079e/leaseapitestreleaseshareleasesnapshotfail0971893eb8e5",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshotfail3240412a27ab/leaseapitestreleaseshareleasesnapshotfail80139c875767",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ec30e5c4-e912-4aa4-bf30-1eefc0e63b2a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c62cb67b-a3e1-4d3a-a139-4139b31717e1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:23.1124928Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:23 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:07.3163981Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:07 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "ETag" : "0x8D84479AB736BC0",
+ "Date" : "Fri, 02 Oct 2020 21:46:06 GMT",
+ "ETag" : "0x8D8671C91A4C0CD",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:23.1124928Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:07.3163981Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb88-601a-006f-7662-76d031000000",
- "x-ms-client-request-id" : "ec30e5c4-e912-4aa4-bf30-1eefc0e63b2a",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:23.1124928Z"
+ "x-ms-request-id" : "660dd2cb-301a-00a3-5605-99f447000000",
+ "x-ms-client-request-id" : "c62cb67b-a3e1-4d3a-a139-4139b31717e1",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:07.3163981Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshotfail467050b8079e?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestreleaseshareleasesnapshotfail3240412a27ab?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "01e150e9-39a4-4641-855d-80922cb4463f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1db254f3-56db-4577-8108-f92f89c0d9c3"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677cb89-601a-006f-7762-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677cb89-601a-006f-7762-76d031000000\nTime:2020-08-19T19:54:23.1763247Z",
- "Date" : "Wed, 19 Aug 2020 19:54:22 GMT",
- "x-ms-client-request-id" : "01e150e9-39a4-4641-855d-80922cb4463f",
+ "x-ms-request-id" : "660dd2cc-301a-00a3-5705-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd2cc-301a-00a3-5705-99f447000000\nTime:2020-10-02T21:46:07.4257914Z",
+ "Date" : "Fri, 02 Oct 2020 21:46:06 GMT",
+ "x-ms-client-request-id" : "1db254f3-56db-4577-8108-f92f89c0d9c3",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestreleaseshareleasesnapshotfail467050b8079e", "leaseapitestreleaseshareleasesnapshotfail0971893eb8e5" ]
+ "variables" : [ "leaseapitestreleaseshareleasesnapshotfail3240412a27ab", "leaseapitestreleaseshareleasesnapshotfail80139c875767" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLease.json
index d75b1b3df2b7..32d2763de083 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLease.json
@@ -1,128 +1,127 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease02366b3227e40d76e47?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease448389d81d73780b146?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "070475d5-6450-4b50-af01-9559b56b830b"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6786ef17-f380-4ea5-8105-36fe8788483e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799F999BE3",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:03 GMT",
+ "ETag" : "0x8D8671C84F0C0E3",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:46 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cacc-601a-006f-7562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:02 GMT",
- "x-ms-client-request-id" : "070475d5-6450-4b50-af01-9559b56b830b"
+ "x-ms-request-id" : "660dd26c-301a-00a3-1a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:45 GMT",
+ "x-ms-client-request-id" : "6786ef17-f380-4ea5-8105-36fe8788483e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease02366b3227e40d76e47/leaseapitestrenewsharelease69761db8a3b93017444",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease448389d81d73780b146/leaseapitestrenewsharelease6475968538adb102c49",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "de3e3c3f-35c6-4b27-8185-fda4f32d712d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8e9f2649-dffc-4509-b3db-dac8c7f20e7b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:03.3043659Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:03 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:45:46.1104379Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:46 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:03 GMT",
- "ETag" : "0x8D844799FA4F0CB",
+ "Date" : "Fri, 02 Oct 2020 21:45:45 GMT",
+ "ETag" : "0x8D8671C8500FAFB",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:03.3043659Z",
+ "x-ms-file-change-time" : "2020-10-02T21:45:46.1104379Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cacf-601a-006f-7662-76d031000000",
- "x-ms-client-request-id" : "de3e3c3f-35c6-4b27-8185-fda4f32d712d",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:03.3043659Z"
+ "x-ms-request-id" : "660dd26e-301a-00a3-1b05-99f447000000",
+ "x-ms-client-request-id" : "8e9f2649-dffc-4509-b3db-dac8c7f20e7b",
+ "x-ms-file-last-write-time" : "2020-10-02T21:45:46.1104379Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease02366b3227e40d76e47?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease448389d81d73780b146?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c83040e3-369d-416d-91ed-060666bd7b2a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "de01811c-4710-4ce4-ae2b-5f26dbf2ae4c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799F999BE3",
- "x-ms-lease-id" : "a0fb8fb1-17c0-45da-85a2-c6a095a32368",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:03 GMT",
+ "ETag" : "0x8D8671C84F0C0E3",
+ "x-ms-lease-id" : "4f4b0f8a-098f-404d-a4d0-7b5bc1333de6",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:46 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cad0-601a-006f-7762-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:03 GMT",
- "x-ms-client-request-id" : "c83040e3-369d-416d-91ed-060666bd7b2a"
+ "x-ms-request-id" : "660dd26f-301a-00a3-1c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:45:45 GMT",
+ "x-ms-client-request-id" : "de01811c-4710-4ce4-ae2b-5f26dbf2ae4c"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease02366b3227e40d76e47?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease448389d81d73780b146?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e600f90c-d373-4412-9fdd-3d9032e56396"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f1025c57-e2bc-497e-bdde-dc391ba2bc7e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D844799F999BE3",
- "x-ms-lease-id" : "a0fb8fb1-17c0-45da-85a2-c6a095a32368",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:03 GMT",
+ "ETag" : "0x8D8671C84F0C0E3",
+ "x-ms-lease-id" : "4f4b0f8a-098f-404d-a4d0-7b5bc1333de6",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:46 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cb4e-601a-006f-4a62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:19 GMT",
- "x-ms-client-request-id" : "e600f90c-d373-4412-9fdd-3d9032e56396"
+ "x-ms-request-id" : "660dd28f-301a-00a3-2b05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:01 GMT",
+ "x-ms-client-request-id" : "f1025c57-e2bc-497e-bdde-dc391ba2bc7e"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease02366b3227e40d76e47?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewsharelease448389d81d73780b146?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "88a45eb5-0c8e-4b16-be36-eb20fccfc857"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "55e7d408-00db-43e8-a3d9-159a9355f08a"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "locked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "leased",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:03 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:45:46 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 7:54:03 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 21:45:46 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 19:54:19 GMT",
+ "Date" : "Fri, 02 Oct 2020 21:46:01 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D844799F999BE3",
+ "ETag" : "0x8D8671C84F0C0E3",
"x-ms-has-immutability-policy" : "false",
"x-ms-lease-duration" : "infinite",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb50-601a-006f-4b62-76d031000000",
- "x-ms-client-request-id" : "88a45eb5-0c8e-4b16-be36-eb20fccfc857"
+ "x-ms-request-id" : "660dd292-301a-00a3-2c05-99f447000000",
+ "x-ms-client-request-id" : "55e7d408-00db-43e8-a3d9-159a9355f08a"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestrenewsharelease02366b3227e40d76e47", "leaseapitestrenewsharelease69761db8a3b93017444" ]
+ "variables" : [ "leaseapitestrenewsharelease448389d81d73780b146", "leaseapitestrenewsharelease6475968538adb102c49" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseError.json
index 2a329f52aea7..0f6a64dc222e 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseError.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleaseerror39622bebd1c1d22e?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleaseerror14951e1425b1018a?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3467d483-7034-44f1-b911-54bcf453a5e6"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "aa8f3d9a-b503-4db7-81c2-db50518528dd"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AA5E3E6B",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "ETag" : "0x8D8671C9019F089",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:04 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb64-601a-006f-5a62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "3467d483-7034-44f1-b911-54bcf453a5e6"
+ "x-ms-request-id" : "660dd2a9-301a-00a3-3f05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:03 GMT",
+ "x-ms-client-request-id" : "aa8f3d9a-b503-4db7-81c2-db50518528dd"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleaseerror39622bebd1c1d22e/leaseapitestrenewshareleaseerror71854c8306dbded5",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleaseerror14951e1425b1018a/leaseapitestrenewshareleaseerror683435a68c4955b6",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "33e4657f-73b6-4da7-bf13-c9b12c180239"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "644ba2c7-c5d4-4edb-ae80-c5a642151a19"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:21.3672468Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:04.8346474Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:04 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "ETag" : "0x8D84479AA691E14",
+ "Date" : "Fri, 02 Oct 2020 21:46:04 GMT",
+ "ETag" : "0x8D8671C902A116A",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:21.3672468Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:04.8346474Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb66-601a-006f-5b62-76d031000000",
- "x-ms-client-request-id" : "33e4657f-73b6-4da7-bf13-c9b12c180239",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:21.3672468Z"
+ "x-ms-request-id" : "660dd2ab-301a-00a3-4005-99f447000000",
+ "x-ms-client-request-id" : "644ba2c7-c5d4-4edb-ae80-c5a642151a19",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:04.8346474Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestrenewshareleaseerror0089318e6fb08ae0d?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsleaseapitestrenewshareleaseerror05814413d22f95f9e?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ea14136e-841d-456d-b71a-f4cd593bf8b6"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2be56866-8a67-4d7d-b8e0-dcf060945704"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "321",
"StatusCode" : "400",
- "x-ms-request-id" : "d677cb67-601a-006f-5c62-76d031000000",
- "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:d677cb67-601a-006f-5c62-76d031000000\nTime:2020-08-19T19:54:21.4591013Zx-ms-lease-idid",
- "Date" : "Wed, 19 Aug 2020 19:54:21 GMT",
- "x-ms-client-request-id" : "ea14136e-841d-456d-b71a-f4cd593bf8b6",
+ "x-ms-request-id" : "660dd2ad-301a-00a3-4105-99f447000000",
+ "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:660dd2ad-301a-00a3-4105-99f447000000\nTime:2020-10-02T21:46:04.9330865Zx-ms-lease-idid",
+ "Date" : "Fri, 02 Oct 2020 21:46:04 GMT",
+ "x-ms-client-request-id" : "2be56866-8a67-4d7d-b8e0-dcf060945704",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestrenewshareleaseerror39622bebd1c1d22e", "leaseapitestrenewshareleaseerror71854c8306dbded5", "jtsleaseapitestrenewshareleaseerror0089318e6fb08ae0d" ]
+ "variables" : [ "leaseapitestrenewshareleaseerror14951e1425b1018a", "leaseapitestrenewshareleaseerror683435a68c4955b6", "jtsleaseapitestrenewshareleaseerror05814413d22f95f9e" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseMin.json
index 5e024b86ac44..fa83fb71a23b 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseMin.json
@@ -1,98 +1,98 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin25447be2aea13957f?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin920789fdd74d5a388?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "55038e48-3234-4428-94ac-0b538f854415"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a90e8d1c-45d6-4782-8ba6-66d38e570310"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A98394CC",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:19 GMT",
+ "ETag" : "0x8D8671C8EF672E2",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb51-601a-006f-4c62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:19 GMT",
- "x-ms-client-request-id" : "55038e48-3234-4428-94ac-0b538f854415"
+ "x-ms-request-id" : "660dd293-301a-00a3-2d05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "x-ms-client-request-id" : "a90e8d1c-45d6-4782-8ba6-66d38e570310"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin25447be2aea13957f/leaseapitestrenewshareleasemin345666c69a54a7356",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin920789fdd74d5a388/leaseapitestrenewshareleasemin6151653e578b9cb91",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e1f27d3b-ffa9-42d2-9257-cbbdff50c6d9"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1e5eaf2c-7fcc-4d5b-b33e-eff7a781db24"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:19.9502384Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:19 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:02.9212971Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:02 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:19 GMT",
- "ETag" : "0x8D84479A990E630",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "ETag" : "0x8D8671C8F061D2B",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:19.9502384Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:02.9212971Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb53-601a-006f-4d62-76d031000000",
- "x-ms-client-request-id" : "e1f27d3b-ffa9-42d2-9257-cbbdff50c6d9",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:19.9502384Z"
+ "x-ms-request-id" : "660dd295-301a-00a3-2e05-99f447000000",
+ "x-ms-client-request-id" : "1e5eaf2c-7fcc-4d5b-b33e-eff7a781db24",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:02.9212971Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin25447be2aea13957f?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin920789fdd74d5a388?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "78ffa86c-9d5c-4997-acea-b37266e8003a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7cd61907-05d7-4e8a-a15e-e4c110f58d8b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A98394CC",
- "x-ms-lease-id" : "34a985e6-d2eb-4ce1-aad3-2a4f3fc21668",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:19 GMT",
+ "ETag" : "0x8D8671C8EF672E2",
+ "x-ms-lease-id" : "01d76b2d-48db-4c01-a360-beefda2e2d00",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb54-601a-006f-4e62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:19 GMT",
- "x-ms-client-request-id" : "78ffa86c-9d5c-4997-acea-b37266e8003a"
+ "x-ms-request-id" : "660dd297-301a-00a3-2f05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "x-ms-client-request-id" : "7cd61907-05d7-4e8a-a15e-e4c110f58d8b"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin25447be2aea13957f?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasemin920789fdd74d5a388?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e3cbd29e-e6a3-4769-9ba4-8d80a9b4037c"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "15258943-8cef-4b8b-b9bc-5dfba4ebab10"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A98394CC",
- "x-ms-lease-id" : "34a985e6-d2eb-4ce1-aad3-2a4f3fc21668",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:19 GMT",
+ "ETag" : "0x8D8671C8EF672E2",
+ "x-ms-lease-id" : "01d76b2d-48db-4c01-a360-beefda2e2d00",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cb55-601a-006f-4f62-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:19 GMT",
- "x-ms-client-request-id" : "e3cbd29e-e6a3-4769-9ba4-8d80a9b4037c"
+ "x-ms-request-id" : "660dd298-301a-00a3-3005-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "x-ms-client-request-id" : "15258943-8cef-4b8b-b9bc-5dfba4ebab10"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestrenewshareleasemin25447be2aea13957f", "leaseapitestrenewshareleasemin345666c69a54a7356" ]
+ "variables" : [ "leaseapitestrenewshareleasemin920789fdd74d5a388", "leaseapitestrenewshareleasemin6151653e578b9cb91" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshot.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshot.json
index d4ae01d3df28..e9f6b2828736 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshot.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshot.json
@@ -1,142 +1,142 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot0863510322f2c22?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot031911014d9fbde?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6c3cb0ca-9db6-43cf-aa3d-3d9b0aea867f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2f8c5d6c-fa39-498a-b8c0-d966e2853b60"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A9CD5592",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:20 GMT",
+ "ETag" : "0x8D8671C8F5DF97A",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb58-601a-006f-5162-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "6c3cb0ca-9db6-43cf-aa3d-3d9b0aea867f"
+ "x-ms-request-id" : "660dd299-301a-00a3-3105-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "x-ms-client-request-id" : "2f8c5d6c-fa39-498a-b8c0-d966e2853b60"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot0863510322f2c22/leaseapitestrenewshareleasesnapshot098255505876e83",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot031911014d9fbde/leaseapitestrenewshareleasesnapshot63963da0d996de2",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f8e39ec6-b656-4912-ae07-d1e91f482078"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "913c26d5-e7a6-4e3a-a1aa-ebcf74796b82"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:20.4415890Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:20 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:03.5967743Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:03 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "ETag" : "0x8D84479A9DBDF92",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "ETag" : "0x8D8671C8F6D2EFF",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:20.4415890Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:03.5967743Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb5a-601a-006f-5262-76d031000000",
- "x-ms-client-request-id" : "f8e39ec6-b656-4912-ae07-d1e91f482078",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:20.4415890Z"
+ "x-ms-request-id" : "660dd29b-301a-00a3-3205-99f447000000",
+ "x-ms-client-request-id" : "913c26d5-e7a6-4e3a-a1aa-ebcf74796b82",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:03.5967743Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot0863510322f2c22?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot031911014d9fbde?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5da6e2fd-7c87-4030-99a0-744c6552badf"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7533f326-6b65-4d61-a31d-86e6fead3dee"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-08-19T19:54:20.0000000Z",
+ "x-ms-snapshot" : "2020-10-02T21:46:03.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A9CD5592",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:20 GMT",
+ "ETag" : "0x8D8671C8F5DF97A",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb5b-601a-006f-5362-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "5da6e2fd-7c87-4030-99a0-744c6552badf"
+ "x-ms-request-id" : "660dd29c-301a-00a3-3305-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "x-ms-client-request-id" : "7533f326-6b65-4d61-a31d-86e6fead3dee"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot0863510322f2c22?sharesnapshot=2020-08-19T19:54:20.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot031911014d9fbde?sharesnapshot=2020-10-02T21:46:03.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "13b659ac-8fea-4104-b24d-5a8ab4f08e12"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "210b8dc7-a03f-438d-a142-36b250b7f7a2"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A9CD5592",
- "x-ms-lease-id" : "e43866b3-a08f-407e-a638-15cf49a62ec5",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:20 GMT",
+ "ETag" : "0x8D8671C8F5DF97A",
+ "x-ms-lease-id" : "81a96631-3f2a-4825-a040-45ffb1b2d225",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb5c-601a-006f-5462-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "13b659ac-8fea-4104-b24d-5a8ab4f08e12"
+ "x-ms-request-id" : "660dd2a2-301a-00a3-3905-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:02 GMT",
+ "x-ms-client-request-id" : "210b8dc7-a03f-438d-a142-36b250b7f7a2"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot0863510322f2c22?sharesnapshot=2020-08-19T19:54:20.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot031911014d9fbde?sharesnapshot=2020-10-02T21:46:03.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d278d215-e4dd-4fbb-b5c2-159924ce605a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6ee724a3-271c-4525-a8b6-8004d411ac35"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A9CD5592",
- "x-ms-lease-id" : "e43866b3-a08f-407e-a638-15cf49a62ec5",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:20 GMT",
+ "ETag" : "0x8D8671C8F5DF97A",
+ "x-ms-lease-id" : "81a96631-3f2a-4825-a040-45ffb1b2d225",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cb5d-601a-006f-5562-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "d278d215-e4dd-4fbb-b5c2-159924ce605a"
+ "x-ms-request-id" : "660dd2a3-301a-00a3-3a05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:03 GMT",
+ "x-ms-client-request-id" : "6ee724a3-271c-4525-a8b6-8004d411ac35"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot0863510322f2c22?sharesnapshot=2020-08-19T19:54:20.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshot031911014d9fbde?sharesnapshot=2020-10-02T21:46:03.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "4512fb39-27a3-4bec-aecd-e296cd2d9ed2"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5969aefe-f12c-44fc-8770-7244cb5eabeb"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479A9CD5592",
+ "ETag" : "0x8D8671C8F5DF97A",
"x-ms-lease-time" : "0",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:20 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "d677cb5e-601a-006f-5662-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "4512fb39-27a3-4bec-aecd-e296cd2d9ed2"
+ "x-ms-request-id" : "660dd2a4-301a-00a3-3b05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:03 GMT",
+ "x-ms-client-request-id" : "5969aefe-f12c-44fc-8770-7244cb5eabeb"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestrenewshareleasesnapshot0863510322f2c22", "leaseapitestrenewshareleasesnapshot098255505876e83" ]
+ "variables" : [ "leaseapitestrenewshareleasesnapshot031911014d9fbde", "leaseapitestrenewshareleasesnapshot63963da0d996de2" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshotFail.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshotFail.json
index 212c3553153c..3518930ca590 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshotFail.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/LeaseAPITestRenewShareLeaseSnapshotFail.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshotfail754914e3acd93?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshotfail282607cad0dd8?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3b8bb633-54b7-45cb-bacd-7288c331cd5a"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "534cccbd-8a7d-441d-b6ad-43499f08849e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D84479AA268275",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:20 GMT",
+ "ETag" : "0x8D8671C8FCB2659",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:04 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "d677cb5f-601a-006f-5762-76d031000000",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "3b8bb633-54b7-45cb-bacd-7288c331cd5a"
+ "x-ms-request-id" : "660dd2a5-301a-00a3-3c05-99f447000000",
+ "Date" : "Fri, 02 Oct 2020 21:46:03 GMT",
+ "x-ms-client-request-id" : "534cccbd-8a7d-441d-b6ad-43499f08849e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshotfail754914e3acd93/leaseapitestrenewshareleasesnapshotfail2440266bdf9bd",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshotfail282607cad0dd8/leaseapitestrenewshareleasesnapshotfail178892ab1bbcc",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e31efeef-ca0a-4bee-beec-392baeea7b35"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1c0fd1b1-7de8-4895-a93c-f37792277546"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "4010187179898695473*11459378189709739967",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-08-19T19:54:21.0139958Z",
- "Last-Modified" : "Wed, 19 Aug 2020 19:54:21 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T21:46:04.3242878Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 21:46:04 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "ETag" : "0x8D84479AA333736",
+ "Date" : "Fri, 02 Oct 2020 21:46:03 GMT",
+ "ETag" : "0x8D8671C8FDC317E",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-08-19T19:54:21.0139958Z",
+ "x-ms-file-change-time" : "2020-10-02T21:46:04.3242878Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "d677cb62-601a-006f-5862-76d031000000",
- "x-ms-client-request-id" : "e31efeef-ca0a-4bee-beec-392baeea7b35",
- "x-ms-file-last-write-time" : "2020-08-19T19:54:21.0139958Z"
+ "x-ms-request-id" : "660dd2a7-301a-00a3-3d05-99f447000000",
+ "x-ms-client-request-id" : "1c0fd1b1-7de8-4895-a93c-f37792277546",
+ "x-ms-file-last-write-time" : "2020-10-02T21:46:04.3242878Z"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshotfail754914e3acd93?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/leaseapitestrenewshareleasesnapshotfail282607cad0dd8?sharesnapshot=2020-08-19T19:26:08.0000000Z&comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "40eae593-408b-4e22-9e08-133619bee657"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8c3ffd14-fe20-4434-aa9f-abd4cbb1dd45"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -64,13 +64,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "d677cb63-601a-006f-5962-76d031000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:d677cb63-601a-006f-5962-76d031000000\nTime:2020-08-19T19:54:21.0878373Z",
- "Date" : "Wed, 19 Aug 2020 19:54:20 GMT",
- "x-ms-client-request-id" : "40eae593-408b-4e22-9e08-133619bee657",
+ "x-ms-request-id" : "660dd2a8-301a-00a3-3e05-99f447000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:660dd2a8-301a-00a3-3e05-99f447000000\nTime:2020-10-02T21:46:04.4197347Z",
+ "Date" : "Fri, 02 Oct 2020 21:46:03 GMT",
+ "x-ms-client-request-id" : "8c3ffd14-fe20-4434-aa9f-abd4cbb1dd45",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "leaseapitestrenewshareleasesnapshotfail754914e3acd93", "leaseapitestrenewshareleasesnapshotfail2440266bdf9bd" ]
+ "variables" : [ "leaseapitestrenewshareleasesnapshotfail282607cad0dd8", "leaseapitestrenewshareleasesnapshotfail178892ab1bbcc" ]
}
\ No newline at end of file
From 0605756f8523b163008c462520997a523bcaa872 Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 16:02:35 -0700
Subject: [PATCH 07/12] Fixed test records
---
.../FileServiceAPITestsRestoreShareError.json | 20 +--
.../FileServiceAPITestsRestoreShareMax.json | 138 ++++++------------
.../FileServiceAPITestsRestoreShareMin.json | 138 ++++++------------
.../session-records/ShareAPITestsExists.json | 39 +++--
.../ShareAPITestsExistsError.json | 15 +-
.../ShareAPITestsGetProperties.json | 38 +++--
.../ShareAPITestsGetPropertiesError.json | 17 +--
.../ShareAPITestsGetPropertiesLease.json | 55 ++++---
.../ShareAPITestsGetPropertiesLeaseError.json | 33 ++---
.../ShareAPITestsSetMetadata.json | 74 +++++-----
.../ShareAPITestsSetMetadataError.json | 16 +-
.../ShareAPITestsSetMetadataLease.json | 52 +++----
.../ShareAPITestsSetMetadataLeaseError.json | 32 ++--
.../ShareAPITestsSetQuota.json | 76 +++++-----
.../ShareAPITestsSetQuotaError.json | 16 +-
.../ShareAPITestsSetQuotaLease.json | 52 +++----
.../ShareAPITestsSetQuotaLeaseError.json | 32 ++--
17 files changed, 361 insertions(+), 482 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json
index d1de4cea440e..73e4e835db29 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json
@@ -1,26 +1,26 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoreshareerror0834516fbccc1b6?restype=share&comp=undelete",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoreshareerror022251d4629ff49?restype=share&comp=undelete",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "aa2e9ede-b843-4ea4-84ec-80c728085847"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a4861634-851e-4158-ab66-a6c8befbe72e"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-error-code" : "ShareNotFound",
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "f1d72008-401a-00e3-5e68-2994dc000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:f1d72008-401a-00e3-5e68-2994dc000000\nTime:2020-05-13T20:49:31.8730046Z",
- "Date" : "Wed, 13 May 2020 20:49:30 GMT",
- "x-ms-client-request-id" : "aa2e9ede-b843-4ea4-84ec-80c728085847",
+ "x-ms-request-id" : "1e3d1185-801a-00a6-620c-99269c000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:1e3d1185-801a-00a6-620c-99269c000000\nTime:2020-10-02T22:34:15.7017615Z",
+ "Date" : "Fri, 02 Oct 2020 22:34:14 GMT",
+ "x-ms-client-request-id" : "a4861634-851e-4158-ab66-a6c8befbe72e",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestsrestoreshareerror718108b4e114b1", "jtsfileserviceapitestsrestoreshareerror0834516fbccc1b6" ]
+ "variables" : [ "fileserviceapitestsrestoreshareerror39700bc3b18f6d", "jtsfileserviceapitestsrestoreshareerror022251d4629ff49" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json
index cd81c9854a8e..5ffb6bb1ac4f 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json
@@ -1,148 +1,94 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemax01760715caff6e33?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax0588038b0320d1b6?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "a7ece045-770b-4d1b-93f4-9eb41367b33b"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "7a4e0462-3641-441f-aebb-5eba3e35caf3"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F77EE91F128B",
- "Last-Modified" : "Wed, 13 May 2020 20:47:54 GMT",
+ "ETag" : "0x8D8672339109A5E",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:45 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "4abc2a97-101a-00a3-4d67-2993e4000000",
- "Date" : "Wed, 13 May 2020 20:47:53 GMT",
- "x-ms-client-request-id" : "a7ece045-770b-4d1b-93f4-9eb41367b33b"
+ "x-ms-request-id" : "1e3d114b-801a-00a6-4a0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
+ "x-ms-client-request-id" : "7a4e0462-3641-441f-aebb-5eba3e35caf3"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemax01760715caff6e33/javapathfileserviceapitestsrestoresharemax17370168b7921",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax0588038b0320d1b6/javapathfileserviceapitestsrestoresharemax114954e1f7ec6",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "ad57a715-d702-4c3b-a0a3-c09c71519319"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1b3181df-2001-44d4-acaf-1ffd692e0185"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
+ "x-ms-version" : "2020-02-10",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T20:47:54.9145531Z",
- "Last-Modified" : "Wed, 13 May 2020 20:47:54 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T22:33:45.2735012Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:45 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 13 May 2020 20:47:54 GMT",
- "ETag" : "0x8D7F77EE95A05BB",
+ "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
+ "ETag" : "0x8D86723391E6624",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T20:47:54.9145531Z",
+ "x-ms-file-change-time" : "2020-10-02T22:33:45.2735012Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "4abc2a9c-101a-00a3-4e67-2993e4000000",
- "x-ms-client-request-id" : "ad57a715-d702-4c3b-a0a3-c09c71519319",
- "x-ms-file-last-write-time" : "2020-05-13T20:47:54.9145531Z"
+ "x-ms-request-id" : "1e3d114d-801a-00a6-4b0c-99269c000000",
+ "x-ms-client-request-id" : "1b3181df-2001-44d4-acaf-1ffd692e0185",
+ "x-ms-file-last-write-time" : "2020-10-02T22:33:45.2735012Z"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemax01760715caff6e33?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax0588038b0320d1b6?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "d6018d09-6e11-43db-85cf-108d6df41e0a"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "625fe958-bda0-430b-ad6d-050e20891480"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "4abc2a9d-101a-00a3-4f67-2993e4000000",
- "Date" : "Wed, 13 May 2020 20:47:54 GMT",
- "x-ms-client-request-id" : "d6018d09-6e11-43db-85cf-108d6df41e0a"
+ "x-ms-request-id" : "1e3d114e-801a-00a6-4c0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
+ "x-ms-client-request-id" : "625fe958-bda0-430b-ad6d-050e20891480"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemax01760715caff6e33&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemax0588038b0320d1b6&include=deleted&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "09ce506e-ec82-476c-aac5-6d50089b2c9d"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "ee800787-dc67-429b-bed7-39533191879f"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "4abc2ac0-101a-00a3-5967-2993e4000000",
- "Body" : "jtsfileserviceapitestsrestoresharemax01760715caff6e33jtsfileserviceapitestsrestoresharemax01760715caff6e33true01D62967C6A84142Wed, 13 May 2020 20:47:54 GMT\"0x8D7F77EE91F128B\"5120TransactionOptimized5/13/2020 8:47:54 PM$account-encryption-keyfalseWed, 13 May 2020 20:47:55 GMT1",
- "Date" : "Wed, 13 May 2020 20:48:25 GMT",
- "x-ms-client-request-id" : "09ce506e-ec82-476c-aac5-6d50089b2c9d",
+ "x-ms-request-id" : "1e3d1183-801a-00a6-610c-99269c000000",
+ "Body" : "jtsfileserviceapitestsrestoresharemax0588038b0320d1b6",
+ "Date" : "Fri, 02 Oct 2020 22:34:14 GMT",
+ "x-ms-client-request-id" : "ee800787-dc67-429b-bed7-39533191879f",
"Content-Type" : "application/xml"
},
"Exception" : null
- }, {
- "Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemax01760715caff6e33?restype=share&comp=undelete",
- "Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "08088bf4-d8b5-401f-83c3-21272e9df7e1"
- },
- "Response" : {
- "x-ms-version" : "2019-12-12",
- "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F77EFB920CC2",
- "Last-Modified" : "Wed, 13 May 2020 20:48:25 GMT",
- "retry-after" : "0",
- "Content-Length" : "0",
- "StatusCode" : "201",
- "x-ms-request-id" : "4abc2ac3-101a-00a3-5b67-2993e4000000",
- "Date" : "Wed, 13 May 2020 20:48:25 GMT",
- "x-ms-client-request-id" : "08088bf4-d8b5-401f-83c3-21272e9df7e1"
- },
- "Exception" : null
- }, {
- "Method" : "HEAD",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemax01760715caff6e33/javapathfileserviceapitestsrestoresharemax17370168b7921",
- "Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "7eef0ad9-6b4c-421b-b9ad-706cacc8a02f"
- },
- "Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-lease-status" : "unlocked",
- "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
- "x-ms-file-id" : "13835128424026341376",
- "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T20:47:54.9145531Z",
- "x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 13 May 2020 20:47:54 GMT",
- "retry-after" : "0",
- "StatusCode" : "200",
- "Date" : "Wed, 13 May 2020 20:48:25 GMT",
- "x-ms-server-encrypted" : "true",
- "x-ms-type" : "File",
- "ETag" : "0x8D7F77EE95A05BB",
- "x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T20:47:54.9145531Z",
- "x-ms-file-parent-id" : "0",
- "Content-Length" : "2",
- "x-ms-request-id" : "4abc2ac5-101a-00a3-5c67-2993e4000000",
- "x-ms-client-request-id" : "7eef0ad9-6b4c-421b-b9ad-706cacc8a02f",
- "x-ms-file-last-write-time" : "2020-05-13T20:47:54.9145531Z",
- "Content-Type" : "application/octet-stream"
- },
- "Exception" : null
} ],
- "variables" : [ "fileserviceapitestsrestoresharemax31014f76acc84db", "jtsfileserviceapitestsrestoresharemax01760715caff6e33", "javapathfileserviceapitestsrestoresharemax17370168b7921" ]
+ "variables" : [ "fileserviceapitestsrestoresharemax84706c78cd6b063", "jtsfileserviceapitestsrestoresharemax0588038b0320d1b6", "javapathfileserviceapitestsrestoresharemax114954e1f7ec6" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json
index dfd9c6e89b92..1630a1b9a013 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json
@@ -1,148 +1,94 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemin0897829a753155be?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin086789d18da29739?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "09463eda-9977-4bb7-8584-88e7276060f3"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "010960b7-346f-4fed-815a-009f5bbe7511"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F77E920A11A5",
- "Last-Modified" : "Wed, 13 May 2020 20:45:28 GMT",
+ "ETag" : "0x8D8672326DDD6CE",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:14 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "b45277d4-b01a-005e-7e67-291dc1000000",
- "Date" : "Wed, 13 May 2020 20:45:27 GMT",
- "x-ms-client-request-id" : "09463eda-9977-4bb7-8584-88e7276060f3"
+ "x-ms-request-id" : "1e3d1103-801a-00a6-2d0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:13 GMT",
+ "x-ms-client-request-id" : "010960b7-346f-4fed-815a-009f5bbe7511"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemin0897829a753155be/javapathfileserviceapitestsrestoresharemin1375769dbd697",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin086789d18da29739/javapathfileserviceapitestsrestoresharemin1706847ca42e5",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "c72ef752-369d-49b2-8a40-c1d11b13b49b"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "05818e0b-7a28-4218-8766-e61c0e00bfee"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
+ "x-ms-version" : "2020-02-10",
+ "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T20:45:29.2700348Z",
- "Last-Modified" : "Wed, 13 May 2020 20:45:29 GMT",
+ "x-ms-file-creation-time" : "2020-10-02T22:33:14.7868356Z",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:14 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 13 May 2020 20:45:28 GMT",
- "ETag" : "0x8D7F77E928A6EBC",
+ "Date" : "Fri, 02 Oct 2020 22:33:13 GMT",
+ "ETag" : "0x8D8672326F280C4",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T20:45:29.2700348Z",
+ "x-ms-file-change-time" : "2020-10-02T22:33:14.7868356Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "b45277d7-b01a-005e-7f67-291dc1000000",
- "x-ms-client-request-id" : "c72ef752-369d-49b2-8a40-c1d11b13b49b",
- "x-ms-file-last-write-time" : "2020-05-13T20:45:29.2700348Z"
+ "x-ms-request-id" : "1e3d1105-801a-00a6-2e0c-99269c000000",
+ "x-ms-client-request-id" : "05818e0b-7a28-4218-8766-e61c0e00bfee",
+ "x-ms-file-last-write-time" : "2020-10-02T22:33:14.7868356Z"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemin0897829a753155be?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin086789d18da29739?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "10336cad-3045-4bef-ba0a-40b5fa4f54cf"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "99c1d601-1ea4-4ff3-a6a8-151ba08a70d2"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "b45277d9-b01a-005e-0167-291dc1000000",
- "Date" : "Wed, 13 May 2020 20:45:30 GMT",
- "x-ms-client-request-id" : "10336cad-3045-4bef-ba0a-40b5fa4f54cf"
+ "x-ms-request-id" : "1e3d1106-801a-00a6-2f0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:14 GMT",
+ "x-ms-client-request-id" : "99c1d601-1ea4-4ff3-a6a8-151ba08a70d2"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemin0897829a753155be&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemin086789d18da29739&include=deleted&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "42ecd512-34c5-4374-9d50-cfb2765e2a4d"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c296fcda-1ef8-4dba-ab36-e312bd8039eb"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "b452780b-b01a-005e-0f67-291dc1000000",
- "Body" : "jtsfileserviceapitestsrestoresharemin0897829a753155bejtsfileserviceapitestsrestoresharemin0897829a753155betrue01D629676F936336Wed, 13 May 2020 20:45:28 GMT\"0x8D7F77E920A11A5\"5120TransactionOptimized5/13/2020 8:45:28 PM$account-encryption-keyfalseWed, 13 May 2020 20:45:30 GMT1",
- "Date" : "Wed, 13 May 2020 20:46:01 GMT",
- "x-ms-client-request-id" : "42ecd512-34c5-4374-9d50-cfb2765e2a4d",
+ "x-ms-request-id" : "1e3d1149-801a-00a6-490c-99269c000000",
+ "Body" : "jtsfileserviceapitestsrestoresharemin086789d18da29739",
+ "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
+ "x-ms-client-request-id" : "c296fcda-1ef8-4dba-ab36-e312bd8039eb",
"Content-Type" : "application/xml"
},
"Exception" : null
- }, {
- "Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemin0897829a753155be?restype=share&comp=undelete",
- "Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "8c0668d9-dd99-44fc-9861-6e0bda239e1d"
- },
- "Response" : {
- "x-ms-version" : "2019-12-12",
- "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F77EA5B0391A",
- "Last-Modified" : "Wed, 13 May 2020 20:46:01 GMT",
- "retry-after" : "0",
- "Content-Length" : "0",
- "StatusCode" : "201",
- "x-ms-request-id" : "b452780d-b01a-005e-1067-291dc1000000",
- "Date" : "Wed, 13 May 2020 20:46:01 GMT",
- "x-ms-client-request-id" : "8c0668d9-dd99-44fc-9861-6e0bda239e1d"
- },
- "Exception" : null
- }, {
- "Method" : "HEAD",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceapitestsrestoresharemin0897829a753155be/javapathfileserviceapitestsrestoresharemin1375769dbd697",
- "Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "232e6adc-2cb4-40b8-82af-a4097a54552a"
- },
- "Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-lease-status" : "unlocked",
- "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
- "x-ms-file-id" : "13835128424026341376",
- "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T20:45:29.2700348Z",
- "x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 13 May 2020 20:45:29 GMT",
- "retry-after" : "0",
- "StatusCode" : "200",
- "Date" : "Wed, 13 May 2020 20:46:01 GMT",
- "x-ms-server-encrypted" : "true",
- "x-ms-type" : "File",
- "ETag" : "0x8D7F77E928A6EBC",
- "x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T20:45:29.2700348Z",
- "x-ms-file-parent-id" : "0",
- "Content-Length" : "2",
- "x-ms-request-id" : "b452780f-b01a-005e-1167-291dc1000000",
- "x-ms-client-request-id" : "232e6adc-2cb4-40b8-82af-a4097a54552a",
- "x-ms-file-last-write-time" : "2020-05-13T20:45:29.2700348Z",
- "Content-Type" : "application/octet-stream"
- },
- "Exception" : null
} ],
- "variables" : [ "fileserviceapitestsrestoresharemin3464497acc466c6", "jtsfileserviceapitestsrestoresharemin0897829a753155be", "javapathfileserviceapitestsrestoresharemin1375769dbd697" ]
+ "variables" : [ "fileserviceapitestsrestoresharemin11130e76ccc2151", "jtsfileserviceapitestsrestoresharemin086789d18da29739", "javapathfileserviceapitestsrestoresharemin1706847ca42e5" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExists.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExists.json
index 531c7df68d5b..4cb700ad1472 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExists.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExists.json
@@ -1,54 +1,53 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsexistsshareapitestsexistsf1b21359d4f2c82?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsexistsshareapitestsexistsb9c91221ef708db?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "390d5a06-ed7d-4159-b0b6-e3f4be0d2ed4"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "09b0e32d-23d0-47bb-ba79-ee01a2eea8a7"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C8741F453",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:22 GMT",
+ "ETag" : "0x8D86726DC718DC0",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:47 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f813-601a-0022-6a75-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:22 GMT",
- "x-ms-client-request-id" : "390d5a06-ed7d-4159-b0b6-e3f4be0d2ed4"
+ "x-ms-request-id" : "99657487-c01a-0021-200f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 22:59:46 GMT",
+ "x-ms-client-request-id" : "09b0e32d-23d0-47bb-ba79-ee01a2eea8a7"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsexistsshareapitestsexistsf1b21359d4f2c82?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsexistsshareapitestsexistsb9c91221ef708db?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "bda2ca64-af25-43fa-9b7e-1ae903be3eb5"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d0bd6c89-e1fd-4dd3-ac40-4e25eadb7c2c"
},
"Response" : {
- "x-ms-lease-status" : "unlocked",
"x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:22 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:47 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 10:09:22 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 22:59:47 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 22:09:22 GMT",
+ "Date" : "Fri, 02 Oct 2020 22:59:47 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D8448C8741F453",
+ "ETag" : "0x8D86726DC718DC0",
"x-ms-has-immutability-policy" : "false",
"Content-Length" : "0",
- "x-ms-request-id" : "8c89f816-601a-0022-6b75-761fdd000000",
- "x-ms-client-request-id" : "bda2ca64-af25-43fa-9b7e-1ae903be3eb5"
+ "x-ms-request-id" : "99657489-c01a-0021-210f-99b5f9000000",
+ "x-ms-client-request-id" : "d0bd6c89-e1fd-4dd3-ac40-4e25eadb7c2c"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestsexistsshareapitestsexistsf1b21359d4f2c82" ]
+ "variables" : [ "shareapitestsexistsshareapitestsexistsb9c91221ef708db" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExistsError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExistsError.json
index a2ea465e600b..f0e45e8b8e5a 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExistsError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsExistsError.json
@@ -1,25 +1,24 @@
{
"networkCallRecords" : [ {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsexistserrorshareapitestsexistserror38149921de?restype=share&sig=REDACTED",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsexistserrorshareapitestsexistserroraff9713787?restype=share&sig=REDACTED",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "86938f60-98c2-4de9-a974-198db586ae9c"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a8189f00-f08d-45ee-bdf4-6ddab275e6d8"
},
"Response" : {
"Server" : "Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-error-code" : "AuthenticationFailed",
"retry-after" : "0",
"Content-Length" : "407",
"StatusCode" : "403",
- "x-ms-request-id" : "8c89f81b-601a-0022-6e75-761fdd000000",
- "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:8c89f81b-601a-0022-6e75-761fdd000000\nTime:2020-08-19T22:09:23.2965243Zsr is mandatory. Cannot be empty",
- "Date" : "Wed, 19 Aug 2020 22:09:23 GMT",
+ "x-ms-request-id" : "9965748d-c01a-0021-240f-99b5f9000000",
+ "Body" : "AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:9965748d-c01a-0021-240f-99b5f9000000\nTime:2020-10-02T22:59:48.3837052Zsr is mandatory. Cannot be empty",
+ "Date" : "Fri, 02 Oct 2020 22:59:47 GMT",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestsexistserrorshareapitestsexistserror38149921de" ]
+ "variables" : [ "shareapitestsexistserrorshareapitestsexistserroraff9713787" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json
index 7126c963b116..9b0e62cedf80 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetProperties.json
@@ -1,56 +1,54 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetproperties96946ffdaef14ab2245?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetproperties04801eff728e7756e4d?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "857734d1-999a-4143-aea4-1989f6196dee"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "76ae7b24-5d29-4772-bc83-84ba49a12eb1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C8EE1B5BF",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:35 GMT",
+ "ETag" : "0x8D86726E0C3D6E8",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:55 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f873-601a-0022-2475-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:35 GMT",
- "x-ms-client-request-id" : "857734d1-999a-4143-aea4-1989f6196dee"
+ "x-ms-request-id" : "996574d9-c01a-0021-540f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 22:59:54 GMT",
+ "x-ms-client-request-id" : "76ae7b24-5d29-4772-bc83-84ba49a12eb1"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetproperties96946ffdaef14ab2245?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetproperties04801eff728e7756e4d?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c225a7eb-c8fd-4039-81e6-eefe52989285"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "740181a9-8499-489e-a76e-7464e282b714"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:35 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:55 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 10:09:35 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 22:59:55 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 22:09:35 GMT",
+ "Date" : "Fri, 02 Oct 2020 22:59:54 GMT",
"x-ms-has-legal-hold" : "false",
- "Access-Control-Expose-Headers" : "x-ms-meta-testmetadata",
"x-ms-share-quota" : "1",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D8448C8EE1B5BF",
+ "ETag" : "0x8D86726E0C3D6E8",
"x-ms-has-immutability-policy" : "false",
"x-ms-meta-testmetadata" : "value",
"Content-Length" : "0",
- "x-ms-request-id" : "8c89f875-601a-0022-2575-761fdd000000",
- "x-ms-client-request-id" : "c225a7eb-c8fd-4039-81e6-eefe52989285"
+ "x-ms-request-id" : "996574dc-c01a-0021-560f-99b5f9000000",
+ "x-ms-client-request-id" : "740181a9-8499-489e-a76e-7464e282b714"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestsgetproperties96946ffdaef14ab2245" ]
+ "variables" : [ "shareapitestsgetproperties04801eff728e7756e4d" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json
index 64d087f921f2..c6963adf520d 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesError.json
@@ -1,27 +1,26 @@
{
"networkCallRecords" : [ {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieserror12376c37812e8d51d?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieserror88709e1877d1da1c4?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "660fe661-7ffa-460a-9efb-a44aa4273413"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e3dacbaf-974c-4995-b124-add2c3906fa4"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-error-code" : "ShareNotFound",
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "8c89f87f-601a-0022-2c75-761fdd000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:8c89f87f-601a-0022-2c75-761fdd000000\nTime:2020-08-19T22:09:36.9711730Z",
- "Date" : "Wed, 19 Aug 2020 22:09:36 GMT",
- "x-ms-client-request-id" : "660fe661-7ffa-460a-9efb-a44aa4273413",
+ "x-ms-request-id" : "996574e6-c01a-0021-5d0f-99b5f9000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:996574e6-c01a-0021-5d0f-99b5f9000000\nTime:2020-10-02T22:59:56.3723848Z",
+ "Date" : "Fri, 02 Oct 2020 22:59:55 GMT",
+ "x-ms-client-request-id" : "e3dacbaf-974c-4995-b124-add2c3906fa4",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestsgetpropertieserror12376c37812e8d51d" ]
+ "variables" : [ "shareapitestsgetpropertieserror88709e1877d1da1c4" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLease.json
index f40d6b0335a3..d6aa1c41775c 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLease.json
@@ -1,77 +1,76 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieslease53515c859c78d3e0f?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieslease07251829f95d49264?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "80f1fab4-83c7-440f-b47e-c71bd1205519"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8755f65b-a0a3-425f-b814-ef5bcd34cf03"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C8F17C39E",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:35 GMT",
+ "ETag" : "0x8D86726E10075C6",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:55 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f877-601a-0022-2775-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:35 GMT",
- "x-ms-client-request-id" : "80f1fab4-83c7-440f-b47e-c71bd1205519"
+ "x-ms-request-id" : "996574de-c01a-0021-580f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 22:59:54 GMT",
+ "x-ms-client-request-id" : "8755f65b-a0a3-425f-b814-ef5bcd34cf03"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieslease53515c859c78d3e0f?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieslease07251829f95d49264?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "105240aa-c6df-4917-bec6-2de33a2d9529"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "519e9c9b-f2e9-4ddf-b6c5-2963cec656a8"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C8F17C39E",
- "x-ms-lease-id" : "d1aaaff3-82e9-4305-9faa-55fb57d04502",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:35 GMT",
+ "ETag" : "0x8D86726E10075C6",
+ "x-ms-lease-id" : "7a5d963a-7294-43e5-a87b-2ef13a89d62d",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:55 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f879-601a-0022-2875-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:35 GMT",
- "x-ms-client-request-id" : "105240aa-c6df-4917-bec6-2de33a2d9529"
+ "x-ms-request-id" : "996574e0-c01a-0021-590f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 22:59:54 GMT",
+ "x-ms-client-request-id" : "519e9c9b-f2e9-4ddf-b6c5-2963cec656a8"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieslease53515c859c78d3e0f?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertieslease07251829f95d49264?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b6fa6935-044c-47d5-98ba-96c44205e594"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2bb753a8-81ba-4532-bd3e-6b85557e383b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "locked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "leased",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:35 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:55 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 10:09:35 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 22:59:55 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 22:09:36 GMT",
+ "Date" : "Fri, 02 Oct 2020 22:59:54 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D8448C8F17C39E",
+ "ETag" : "0x8D86726E10075C6",
"x-ms-has-immutability-policy" : "false",
"x-ms-lease-duration" : "infinite",
"Content-Length" : "0",
- "x-ms-request-id" : "8c89f87a-601a-0022-2975-761fdd000000",
- "x-ms-client-request-id" : "b6fa6935-044c-47d5-98ba-96c44205e594"
+ "x-ms-request-id" : "996574e1-c01a-0021-5a0f-99b5f9000000",
+ "x-ms-client-request-id" : "2bb753a8-81ba-4532-bd3e-6b85557e383b"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestsgetpropertieslease53515c859c78d3e0f" ]
+ "variables" : [ "shareapitestsgetpropertieslease07251829f95d49264" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLeaseError.json
index d40fe134d0a0..45b0de3f3c61 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsGetPropertiesLeaseError.json
@@ -1,48 +1,47 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertiesleaseerror44336f00e460ad?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertiesleaseerror87068143b15a80?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "76da6619-aa85-4602-8ae2-016f2bea0a76"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9c24b32a-f150-4ee7-918a-f0cf5a81f85f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C8F816DF4",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:36 GMT",
+ "ETag" : "0x8D86726E155AA2C",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:59:55 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f87c-601a-0022-2a75-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:36 GMT",
- "x-ms-client-request-id" : "76da6619-aa85-4602-8ae2-016f2bea0a76"
+ "x-ms-request-id" : "996574e3-c01a-0021-5b0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 22:59:55 GMT",
+ "x-ms-client-request-id" : "9c24b32a-f150-4ee7-918a-f0cf5a81f85f"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertiesleaseerror44336f00e460ad?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestsgetpropertiesleaseerror87068143b15a80?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "70c2d51d-1af5-4203-973f-c7a1b4b5019b"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "2e9914b3-c7e7-4d58-9702-269a5c1c9063"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-error-code" : "LeaseNotPresentWithContainerOperation",
"retry-after" : "0",
"Content-Length" : "252",
"StatusCode" : "412",
- "x-ms-request-id" : "8c89f87e-601a-0022-2b75-761fdd000000",
- "Body" : "LeaseNotPresentWithContainerOperationThere is currently no lease on the file share.\nRequestId:8c89f87e-601a-0022-2b75-761fdd000000\nTime:2020-08-19T22:09:36.7480151Z",
- "Date" : "Wed, 19 Aug 2020 22:09:36 GMT",
- "x-ms-client-request-id" : "70c2d51d-1af5-4203-973f-c7a1b4b5019b",
+ "x-ms-request-id" : "996574e5-c01a-0021-5c0f-99b5f9000000",
+ "Body" : "LeaseNotPresentWithContainerOperationThere is currently no lease on the file share.\nRequestId:996574e5-c01a-0021-5c0f-99b5f9000000\nTime:2020-10-02T22:59:56.0771744Z",
+ "Date" : "Fri, 02 Oct 2020 22:59:55 GMT",
+ "x-ms-client-request-id" : "2e9914b3-c7e7-4d58-9702-269a5c1c9063",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestsgetpropertiesleaseerror44336f00e460ad" ]
+ "variables" : [ "shareapitestsgetpropertiesleaseerror87068143b15a80" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json
index 127190a7783c..0723511d88b0 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadata.json
@@ -1,108 +1,104 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadataa0a4379169?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata7a5395640a?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "89576d71-d0fe-466f-b1e9-cbcabbbb9fb9"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "88daf062-0be1-4b9c-8439-6fdd1023128c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C927CE863",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:41 GMT",
+ "ETag" : "0x8D86726E52F51C0",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8b4-601a-0022-5175-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:41 GMT",
- "x-ms-client-request-id" : "89576d71-d0fe-466f-b1e9-cbcabbbb9fb9"
+ "x-ms-request-id" : "99657523-c01a-0021-060f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:01 GMT",
+ "x-ms-client-request-id" : "88daf062-0be1-4b9c-8439-6fdd1023128c"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadataa0a4379169?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata7a5395640a?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c2068eca-ec00-4bc4-a081-bc3f20d45a70"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "68a92310-1d9c-4ef9-a5eb-105374dcf926"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:41 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:02 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 10:09:41 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 23:00:02 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 22:09:41 GMT",
+ "Date" : "Fri, 02 Oct 2020 23:00:01 GMT",
"x-ms-has-legal-hold" : "false",
- "Access-Control-Expose-Headers" : "x-ms-meta-testmetadata",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D8448C927CE863",
+ "ETag" : "0x8D86726E52F51C0",
"x-ms-has-immutability-policy" : "false",
"x-ms-meta-testmetadata" : "value",
"Content-Length" : "0",
- "x-ms-request-id" : "8c89f8bb-601a-0022-5575-761fdd000000",
- "x-ms-client-request-id" : "c2068eca-ec00-4bc4-a081-bc3f20d45a70"
+ "x-ms-request-id" : "99657525-c01a-0021-070f-99b5f9000000",
+ "x-ms-client-request-id" : "68a92310-1d9c-4ef9-a5eb-105374dcf926"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadataa0a4379169?restype=share&comp=metadata",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata7a5395640a?restype=share&comp=metadata",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d8842135-421c-4adc-9e3e-4dcf7de8a12e"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "50637e9a-8ebb-4382-84bb-7c9009982705"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C92FE8BA6",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:42 GMT",
+ "ETag" : "0x8D86726E54F847C",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "8c89f8bc-601a-0022-5675-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:42 GMT",
- "x-ms-client-request-id" : "d8842135-421c-4adc-9e3e-4dcf7de8a12e"
+ "x-ms-request-id" : "99657527-c01a-0021-080f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:01 GMT",
+ "x-ms-client-request-id" : "50637e9a-8ebb-4382-84bb-7c9009982705"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadataa0a4379169?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatashareapitestssetmetadata7a5395640a?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7fdce304-361e-4a4a-8a60-32c1df747a1f"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5fc5ff02-b638-4a5f-8976-eeb194537683"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:42 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:02 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 10:09:41 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 23:00:02 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 22:09:42 GMT",
+ "Date" : "Fri, 02 Oct 2020 23:00:01 GMT",
"x-ms-has-legal-hold" : "false",
- "Access-Control-Expose-Headers" : "x-ms-meta-afterset",
"x-ms-share-quota" : "5120",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D8448C92FE8BA6",
+ "ETag" : "0x8D86726E54F847C",
"x-ms-has-immutability-policy" : "false",
"x-ms-meta-afterset" : "value",
"Content-Length" : "0",
- "x-ms-request-id" : "8c89f8cc-601a-0022-6575-761fdd000000",
- "x-ms-client-request-id" : "7fdce304-361e-4a4a-8a60-32c1df747a1f"
+ "x-ms-request-id" : "99657529-c01a-0021-090f-99b5f9000000",
+ "x-ms-client-request-id" : "5fc5ff02-b638-4a5f-8976-eeb194537683"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetmetadatashareapitestssetmetadataa0a4379169" ]
+ "variables" : [ "shareapitestssetmetadatashareapitestssetmetadata7a5395640a" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json
index 655510b83ebd..5ab19b337037 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataError.json
@@ -1,11 +1,11 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadataerror7512825eca9d28afe4?restype=share&comp=metadata",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadataerror82834da8be01bb62d4?restype=share&comp=metadata",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "2155a67f-5446-405e-a4a3-1d614d40a8f9"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "03ffb982-94f3-4f33-9300-b97f6767daaa"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -14,13 +14,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "8c89f8d6-601a-0022-6c75-761fdd000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:8c89f8d6-601a-0022-6c75-761fdd000000\nTime:2020-08-19T22:09:43.4767626Z",
- "Date" : "Wed, 19 Aug 2020 22:09:43 GMT",
- "x-ms-client-request-id" : "2155a67f-5446-405e-a4a3-1d614d40a8f9",
+ "x-ms-request-id" : "99657535-c01a-0021-0f0f-99b5f9000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:99657535-c01a-0021-0f0f-99b5f9000000\nTime:2020-10-02T23:00:03.8927248Z",
+ "Date" : "Fri, 02 Oct 2020 23:00:03 GMT",
+ "x-ms-client-request-id" : "03ffb982-94f3-4f33-9300-b97f6767daaa",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetmetadataerror7512825eca9d28afe4" ]
+ "variables" : [ "shareapitestssetmetadataerror82834da8be01bb62d4" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLease.json
index 3ee84c625e76..b579cc27b2d5 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLease.json
@@ -1,68 +1,68 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatalease96001e9f4e5c9d6a44?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatalease655122c9a387181744?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fda73bce-beda-47a0-a14a-9df6301a5e9d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3b513412-bfad-4131-96b0-960b1109ff83"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C93294D0E",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:42 GMT",
+ "ETag" : "0x8D86726E58B6526",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8ce-601a-0022-6775-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:42 GMT",
- "x-ms-client-request-id" : "fda73bce-beda-47a0-a14a-9df6301a5e9d"
+ "x-ms-request-id" : "9965752d-c01a-0021-0a0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:02 GMT",
+ "x-ms-client-request-id" : "3b513412-bfad-4131-96b0-960b1109ff83"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatalease96001e9f4e5c9d6a44?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatalease655122c9a387181744?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a3f59445-f3e2-412e-86ae-235cd9d906e3"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3665414d-75bc-4a8e-b07f-ca7a9e7c99cf"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C93294D0E",
- "x-ms-lease-id" : "7ad176f9-fbea-40d2-9a7f-4ff058e14499",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:42 GMT",
+ "ETag" : "0x8D86726E58B6526",
+ "x-ms-lease-id" : "67acdbe1-c788-473b-b780-975c7384d868",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8d0-601a-0022-6875-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:42 GMT",
- "x-ms-client-request-id" : "a3f59445-f3e2-412e-86ae-235cd9d906e3"
+ "x-ms-request-id" : "9965752f-c01a-0021-0b0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:02 GMT",
+ "x-ms-client-request-id" : "3665414d-75bc-4a8e-b07f-ca7a9e7c99cf"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatalease96001e9f4e5c9d6a44?restype=share&comp=metadata",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadatalease655122c9a387181744?restype=share&comp=metadata",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "82cf5a78-1b4d-432f-993a-57012af8b5af"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e243967d-0f76-4f7f-8207-ca42a4f33f6e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C933CD87D",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:42 GMT",
+ "ETag" : "0x8D86726E5A68DBD",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "8c89f8d1-601a-0022-6975-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:42 GMT",
- "x-ms-client-request-id" : "82cf5a78-1b4d-432f-993a-57012af8b5af"
+ "x-ms-request-id" : "99657530-c01a-0021-0c0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:02 GMT",
+ "x-ms-client-request-id" : "e243967d-0f76-4f7f-8207-ca42a4f33f6e"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetmetadatalease96001e9f4e5c9d6a44" ]
+ "variables" : [ "shareapitestssetmetadatalease655122c9a387181744" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLeaseError.json
index a19ea33cbf89..8d3b033b4613 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetMetadataLeaseError.json
@@ -1,32 +1,32 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadataleaseerror021912230201b3e?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadataleaseerror723598bdd1c8760?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c72a5fc5-3eb7-440e-ab26-ed11b5c22bf3"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c47fbaec-4a7e-4dfe-9187-3c2b8f84bcb4"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C9364DA30",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:43 GMT",
+ "ETag" : "0x8D86726E5D94532",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8d3-601a-0022-6a75-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:43 GMT",
- "x-ms-client-request-id" : "c72a5fc5-3eb7-440e-ab26-ed11b5c22bf3"
+ "x-ms-request-id" : "99657531-c01a-0021-0d0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:02 GMT",
+ "x-ms-client-request-id" : "c47fbaec-4a7e-4dfe-9187-3c2b8f84bcb4"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadataleaseerror021912230201b3e?restype=share&comp=metadata",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetmetadataleaseerror723598bdd1c8760?restype=share&comp=metadata",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c39cb7a8-1274-4fca-bb0e-7c710116d834"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "47426095-4ac8-46cc-b58c-a7d75880cdfd"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -35,13 +35,13 @@
"retry-after" : "0",
"Content-Length" : "252",
"StatusCode" : "412",
- "x-ms-request-id" : "8c89f8d5-601a-0022-6b75-761fdd000000",
- "Body" : "LeaseNotPresentWithContainerOperationThere is currently no lease on the file share.\nRequestId:8c89f8d5-601a-0022-6b75-761fdd000000\nTime:2020-08-19T22:09:43.2606105Z",
- "Date" : "Wed, 19 Aug 2020 22:09:43 GMT",
- "x-ms-client-request-id" : "c39cb7a8-1274-4fca-bb0e-7c710116d834",
+ "x-ms-request-id" : "99657533-c01a-0021-0e0f-99b5f9000000",
+ "Body" : "LeaseNotPresentWithContainerOperationThere is currently no lease on the file share.\nRequestId:99657533-c01a-0021-0e0f-99b5f9000000\nTime:2020-10-02T23:00:03.6395448Z",
+ "Date" : "Fri, 02 Oct 2020 23:00:02 GMT",
+ "x-ms-client-request-id" : "47426095-4ac8-46cc-b58c-a7d75880cdfd",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetmetadataleaseerror021912230201b3e" ]
+ "variables" : [ "shareapitestssetmetadataleaseerror723598bdd1c8760" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json
index 77c9acfc0792..c0f91e401f83 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuota.json
@@ -1,104 +1,102 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota594282713d632?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota76346274242cb?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0f2d4d04-8a0e-4e0e-abec-07e58fa13b61"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "44c01446-526c-422b-8371-48267e0d6864"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C91C27762",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "ETag" : "0x8D86726E42B6E2E",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:00 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8a4-601a-0022-4775-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:40 GMT",
- "x-ms-client-request-id" : "0f2d4d04-8a0e-4e0e-abec-07e58fa13b61"
+ "x-ms-request-id" : "99657512-c01a-0021-790f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 22:59:59 GMT",
+ "x-ms-client-request-id" : "44c01446-526c-422b-8371-48267e0d6864"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota594282713d632?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota76346274242cb?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "66cef104-d0a2-475f-9722-c391e545f4d1"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4a720f9f-cb22-46e8-bb49-444cc15ecb4a"
},
"Response" : {
- "x-ms-lease-status" : "unlocked",
"x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:00 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 10:09:40 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 23:00:00 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "Date" : "Fri, 02 Oct 2020 22:59:59 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "1",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D8448C91C27762",
+ "ETag" : "0x8D86726E42B6E2E",
"x-ms-has-immutability-policy" : "false",
"Content-Length" : "0",
- "x-ms-request-id" : "8c89f8a7-601a-0022-4875-761fdd000000",
- "x-ms-client-request-id" : "66cef104-d0a2-475f-9722-c391e545f4d1"
+ "x-ms-request-id" : "99657515-c01a-0021-7a0f-99b5f9000000",
+ "x-ms-client-request-id" : "4a720f9f-cb22-46e8-bb49-444cc15ecb4a"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota594282713d632?restype=share&comp=properties",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota76346274242cb?restype=share&comp=properties",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "53156bdc-bf5b-4660-8334-914067416946"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6eb83ec7-72b8-4ad7-b41a-85a98194b746"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C91DAE56F",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "ETag" : "0x8D86726E44A1A5C",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:00 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "8c89f8a8-601a-0022-4975-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:40 GMT",
- "x-ms-client-request-id" : "53156bdc-bf5b-4660-8334-914067416946"
+ "x-ms-request-id" : "99657516-c01a-0021-7b0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:00 GMT",
+ "x-ms-client-request-id" : "6eb83ec7-72b8-4ad7-b41a-85a98194b746"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota594282713d632?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotashareapitestssetquota76346274242cb?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "80cec905-e89c-4108-9f11-706ad55c6762"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "280d2dea-5de5-496d-8c0c-52fa24c934e5"
},
"Response" : {
- "x-ms-lease-status" : "unlocked",
"x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "Access-Control-Allow-Origin" : "*",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:00 GMT",
"retry-after" : "0",
- "x-ms-access-tier-change-time" : "8/19/2020 10:09:40 PM",
+ "x-ms-access-tier-change-time" : "Fri, 02 Oct 2020 23:00:00 GMT",
"StatusCode" : "200",
- "Date" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "Date" : "Fri, 02 Oct 2020 23:00:00 GMT",
"x-ms-has-legal-hold" : "false",
"x-ms-share-quota" : "2",
"x-ms-access-tier" : "TransactionOptimized",
- "ETag" : "0x8D8448C91DAE56F",
+ "ETag" : "0x8D86726E44A1A5C",
"x-ms-has-immutability-policy" : "false",
"Content-Length" : "0",
- "x-ms-request-id" : "8c89f8a9-601a-0022-4a75-761fdd000000",
- "x-ms-client-request-id" : "80cec905-e89c-4108-9f11-706ad55c6762"
+ "x-ms-request-id" : "99657517-c01a-0021-7c0f-99b5f9000000",
+ "x-ms-client-request-id" : "280d2dea-5de5-496d-8c0c-52fa24c934e5"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetquotashareapitestssetquota594282713d632" ]
+ "variables" : [ "shareapitestssetquotashareapitestssetquota76346274242cb" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json
index e43e53b857b0..b9e4e6ec4e1f 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaError.json
@@ -1,11 +1,11 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotaerror596673328cb5903e04f?restype=share&comp=properties",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotaerror037775f583fedd71649?restype=share&comp=properties",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ae4d6a32-04c9-4758-b025-d8f4c865def4"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6e7368d4-9fdf-469c-84f1-c70840cc628e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -14,13 +14,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "8c89f8b2-601a-0022-5075-761fdd000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:8c89f8b2-601a-0022-5075-761fdd000000\nTime:2020-08-19T22:09:41.5443996Z",
- "Date" : "Wed, 19 Aug 2020 22:09:41 GMT",
- "x-ms-client-request-id" : "ae4d6a32-04c9-4758-b025-d8f4c865def4",
+ "x-ms-request-id" : "99657522-c01a-0021-050f-99b5f9000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:99657522-c01a-0021-050f-99b5f9000000\nTime:2020-10-02T23:00:02.2715739Z",
+ "Date" : "Fri, 02 Oct 2020 23:00:01 GMT",
+ "x-ms-client-request-id" : "6e7368d4-9fdf-469c-84f1-c70840cc628e",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetquotaerror596673328cb5903e04f" ]
+ "variables" : [ "shareapitestssetquotaerror037775f583fedd71649" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLease.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLease.json
index 17c669175512..269b5afe8606 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLease.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLease.json
@@ -1,68 +1,68 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotalease53478315cd930f0244e?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotalease787760568a4d7231e48?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7564c735-0d6f-42c1-8f44-a6ebd992c751"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3376d894-f43b-44de-ae0e-a46740ed4f2d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C920866A4",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "ETag" : "0x8D86726E483D780",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:01 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8aa-601a-0022-4b75-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:40 GMT",
- "x-ms-client-request-id" : "7564c735-0d6f-42c1-8f44-a6ebd992c751"
+ "x-ms-request-id" : "99657518-c01a-0021-7d0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:00 GMT",
+ "x-ms-client-request-id" : "3376d894-f43b-44de-ae0e-a46740ed4f2d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotalease53478315cd930f0244e?comp=lease&restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotalease787760568a4d7231e48?comp=lease&restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a853351b-dafa-49f3-8ccf-811bf69fe4d0"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "037ebfea-7d42-4ad4-8604-7d19e6bb018d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C920866A4",
- "x-ms-lease-id" : "e510d52e-936d-4655-80c8-e4ae8c715682",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:40 GMT",
+ "ETag" : "0x8D86726E483D780",
+ "x-ms-lease-id" : "6aefc03a-2e9a-49cd-afbe-cc8254d2f162",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:01 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8ac-601a-0022-4c75-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:40 GMT",
- "x-ms-client-request-id" : "a853351b-dafa-49f3-8ccf-811bf69fe4d0"
+ "x-ms-request-id" : "9965751a-c01a-0021-7e0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:00 GMT",
+ "x-ms-client-request-id" : "037ebfea-7d42-4ad4-8604-7d19e6bb018d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotalease53478315cd930f0244e?restype=share&comp=properties",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotalease787760568a4d7231e48?restype=share&comp=properties",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "d9fc7e01-4434-4db0-b2a8-c842aaf917ef"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a1e9076d-3f5b-4205-bbfd-3d707c0c63c8"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C921CB540",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:41 GMT",
+ "ETag" : "0x8D86726E4A14ABF",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:01 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "8c89f8ad-601a-0022-4d75-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:40 GMT",
- "x-ms-client-request-id" : "d9fc7e01-4434-4db0-b2a8-c842aaf917ef"
+ "x-ms-request-id" : "9965751b-c01a-0021-7f0f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:00 GMT",
+ "x-ms-client-request-id" : "a1e9076d-3f5b-4205-bbfd-3d707c0c63c8"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetquotalease53478315cd930f0244e" ]
+ "variables" : [ "shareapitestssetquotalease787760568a4d7231e48" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLeaseError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLeaseError.json
index a34ec43929cb..f233fd59acdf 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLeaseError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/ShareAPITestsSetQuotaLeaseError.json
@@ -1,32 +1,32 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotaleaseerror45919fe797cceaad2?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotaleaseerror45395bc1c91921167?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9fa6cb92-9211-4d95-afb1-df1c6c3dc09c"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "113a88fa-cb18-4978-8a92-4cf8a3e60f5a"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8448C9243304E",
- "Last-Modified" : "Wed, 19 Aug 2020 22:09:41 GMT",
+ "ETag" : "0x8D86726E4DB563A",
+ "Last-Modified" : "Fri, 02 Oct 2020 23:00:01 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8c89f8af-601a-0022-4e75-761fdd000000",
- "Date" : "Wed, 19 Aug 2020 22:09:41 GMT",
- "x-ms-client-request-id" : "9fa6cb92-9211-4d95-afb1-df1c6c3dc09c"
+ "x-ms-request-id" : "9965751f-c01a-0021-030f-99b5f9000000",
+ "Date" : "Fri, 02 Oct 2020 23:00:01 GMT",
+ "x-ms-client-request-id" : "113a88fa-cb18-4978-8a92-4cf8a3e60f5a"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotaleaseerror45919fe797cceaad2?restype=share&comp=properties",
+ "Uri" : "https://REDACTED.file.core.windows.net/shareapitestssetquotaleaseerror45395bc1c91921167?restype=share&comp=properties",
"Headers" : {
"x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.1 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a5532209-c813-48a0-ba04-033627fdd77d"
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5671334e-9dc1-4663-bc6c-e086f01823de"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -35,13 +35,13 @@
"retry-after" : "0",
"Content-Length" : "252",
"StatusCode" : "412",
- "x-ms-request-id" : "8c89f8b1-601a-0022-4f75-761fdd000000",
- "Body" : "LeaseNotPresentWithContainerOperationThere is currently no lease on the file share.\nRequestId:8c89f8b1-601a-0022-4f75-761fdd000000\nTime:2020-08-19T22:09:41.3562665Z",
- "Date" : "Wed, 19 Aug 2020 22:09:41 GMT",
- "x-ms-client-request-id" : "a5532209-c813-48a0-ba04-033627fdd77d",
+ "x-ms-request-id" : "99657521-c01a-0021-040f-99b5f9000000",
+ "Body" : "LeaseNotPresentWithContainerOperationThere is currently no lease on the file share.\nRequestId:99657521-c01a-0021-040f-99b5f9000000\nTime:2020-10-02T23:00:01.9873734Z",
+ "Date" : "Fri, 02 Oct 2020 23:00:01 GMT",
+ "x-ms-client-request-id" : "5671334e-9dc1-4663-bc6c-e086f01823de",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "shareapitestssetquotaleaseerror45919fe797cceaad2" ]
+ "variables" : [ "shareapitestssetquotaleaseerror45395bc1c91921167" ]
}
\ No newline at end of file
From c0c6c37c65b682be37af8f4aab8fd92123c21cbd Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Fri, 2 Oct 2020 16:39:49 -0700
Subject: [PATCH 08/12] Added some test records
---
...ileServiceAPITestsListSharesWithArgs0.json | 138 +++++++++---------
...ileServiceAPITestsListSharesWithArgs1.json | 138 +++++++++---------
...ileServiceAPITestsListSharesWithArgs2.json | 138 +++++++++---------
...eServiceAPITestsListSharesWithFilter1.json | 116 +++++++--------
...eServiceAPITestsListSharesWithFilter2.json | 116 +++++++--------
...eServiceAPITestsListSharesWithFilter3.json | 134 ++++++++---------
...eServiceAPITestsListSharesWithFilter4.json | 116 +++++++--------
7 files changed, 448 insertions(+), 448 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json
index 3c0207c0a47b..1affda716d09 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json
@@ -1,150 +1,150 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs0287973933937d0?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b60?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "97d2ac8c-a6dd-4a36-bcf9-5bd90a3448d8"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "28f42e92-a518-4024-a449-6607ccd092e5"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D161DBF966",
- "Last-Modified" : "Wed, 13 May 2020 00:05:44 GMT",
+ "ETag" : "0x8D867232306CFF8",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec9962f1-901a-0049-74ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:43 GMT",
- "x-ms-client-request-id" : "97d2ac8c-a6dd-4a36-bcf9-5bd90a3448d8"
+ "x-ms-request-id" : "1e3d10b9-801a-00a6-800c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "x-ms-client-request-id" : "28f42e92-a518-4024-a449-6607ccd092e5"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs0287973933937d1?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b61?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "3f168a0c-25fb-48d9-bf61-d12b18645a41"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a318e68c-0086-4b82-8ff9-67d421f06ca5"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D161F3F40F",
- "Last-Modified" : "Wed, 13 May 2020 00:05:44 GMT",
+ "ETag" : "0x8D8672323174D97",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec9962f5-901a-0049-75ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:43 GMT",
- "x-ms-client-request-id" : "3f168a0c-25fb-48d9-bf61-d12b18645a41"
+ "x-ms-request-id" : "1e3d10bb-801a-00a6-010c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "x-ms-client-request-id" : "a318e68c-0086-4b82-8ff9-67d421f06ca5"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs0287973933937d2?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b62?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "b4fc6caa-ae31-4e4a-9e1a-f84db8838b27"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "973f49fd-1149-47ff-879b-4fa6a2fe96b0"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D162013DC0",
- "Last-Modified" : "Wed, 13 May 2020 00:05:44 GMT",
+ "ETag" : "0x8D867232324BD5F",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec9962f7-901a-0049-76ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:43 GMT",
- "x-ms-client-request-id" : "b4fc6caa-ae31-4e4a-9e1a-f84db8838b27"
+ "x-ms-request-id" : "1e3d10be-801a-00a6-020c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "x-ms-client-request-id" : "973f49fd-1149-47ff-879b-4fa6a2fe96b0"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs0287973933937d2?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b62?restype=share&comp=snapshot",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "b72f65a1-2a35-4cd9-a183-3026d7c41729"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "19ecee82-7a13-46a5-af65-b451be2a7b01"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-snapshot" : "2020-05-13T00:05:44.0000000Z",
+ "x-ms-version" : "2020-02-10",
+ "x-ms-snapshot" : "2020-10-02T22:33:08.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D162013DC0",
- "Last-Modified" : "Wed, 13 May 2020 00:05:44 GMT",
+ "ETag" : "0x8D867232324BD5F",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec9962f9-901a-0049-77ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:44 GMT",
- "x-ms-client-request-id" : "b72f65a1-2a35-4cd9-a183-3026d7c41729"
+ "x-ms-request-id" : "1e3d10c0-801a-00a6-030c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "x-ms-client-request-id" : "19ecee82-7a13-46a5-af65-b451be2a7b01"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs0287973933937d3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b63?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "50e95a8e-9f97-4e6e-910a-de3254d158c6"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "dc3f4f98-92d7-4695-89e1-b3615fb932d9"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1621D09EB",
- "Last-Modified" : "Wed, 13 May 2020 00:05:45 GMT",
+ "ETag" : "0x8D8672323423584",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec9962fa-901a-0049-78ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:44 GMT",
- "x-ms-client-request-id" : "50e95a8e-9f97-4e6e-910a-de3254d158c6"
+ "x-ms-request-id" : "1e3d10c1-801a-00a6-040c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "x-ms-client-request-id" : "dc3f4f98-92d7-4695-89e1-b3615fb932d9"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs0287973933937d3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b63?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "e5729c4f-b712-4ee7-b0fe-c194fda24723"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c96db41a-f59b-4451-beef-66de3e9f730a"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "ec9962fc-901a-0049-79ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:44 GMT",
- "x-ms-client-request-id" : "e5729c4f-b712-4ee7-b0fe-c194fda24723"
+ "x-ms-request-id" : "1e3d10c3-801a-00a6-050c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "x-ms-client-request-id" : "c96db41a-f59b-4451-beef-66de3e9f730a"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs0287973933937d&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs053798dcc5d9b6&include=&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "01285a7c-7e17-4c7f-838e-f977ad673cbd"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9ac9fafc-f1c2-44eb-8682-a400ca6f402d"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "ec9962fd-901a-0049-7aba-28b4ca000000",
- "Body" : "fileserviceapitestslistshareswithargs0287973933937dfileserviceapitestslistshareswithargs0287973933937d0Wed, 13 May 2020 00:05:44 GMT\"0x8D7F6D161DBF966\"2TransactionOptimized5/13/2020 12:05:44 AM$account-encryption-keyfalsefileserviceapitestslistshareswithargs0287973933937d1Wed, 13 May 2020 00:05:44 GMT\"0x8D7F6D161F3F40F\"2TransactionOptimized5/13/2020 12:05:44 AM$account-encryption-keyfalsefileserviceapitestslistshareswithargs0287973933937d2Wed, 13 May 2020 00:05:44 GMT\"0x8D7F6D162013DC0\"2TransactionOptimized5/13/2020 12:05:44 AM$account-encryption-keyfalse",
- "Date" : "Wed, 13 May 2020 00:05:44 GMT",
- "x-ms-client-request-id" : "01285a7c-7e17-4c7f-838e-f977ad673cbd",
+ "x-ms-request-id" : "1e3d10c4-801a-00a6-060c-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithargs053798dcc5d9b6fileserviceapitestslistshareswithargs053798dcc5d9b60Fri, 02 Oct 2020 22:33:08 GMT\"0x8D867232306CFF8\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:08 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithargs053798dcc5d9b61Fri, 02 Oct 2020 22:33:08 GMT\"0x8D8672323174D97\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:08 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithargs053798dcc5d9b62Fri, 02 Oct 2020 22:33:08 GMT\"0x8D867232324BD5F\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:08 GMT$account-encryption-keyfalse",
+ "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "x-ms-client-request-id" : "9ac9fafc-f1c2-44eb-8682-a400ca6f402d",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithargs0287973933937d" ]
+ "variables" : [ "fileserviceapitestslistshareswithargs053798dcc5d9b6" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json
index d620419ef9fa..f145928cc1cd 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json
@@ -1,150 +1,150 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs1851901836d71c0?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e710?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "63f1c2ba-3755-4bcf-bddd-6ea504fc1d12"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "36e19a06-ff34-4513-a4c4-a42bcba88154"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D162ED5DA6",
- "Last-Modified" : "Wed, 13 May 2020 00:05:46 GMT",
+ "ETag" : "0x8D8672323A28E9B",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec9962ff-901a-0049-7bba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:45 GMT",
- "x-ms-client-request-id" : "63f1c2ba-3755-4bcf-bddd-6ea504fc1d12"
+ "x-ms-request-id" : "1e3d10c6-801a-00a6-080c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "x-ms-client-request-id" : "36e19a06-ff34-4513-a4c4-a42bcba88154"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs1851901836d71c1?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e711?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "3de9f27d-11f2-4080-80f5-a20128748c28"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f22082e7-5742-4d78-975e-d52a69e6818e"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D162FAA756",
- "Last-Modified" : "Wed, 13 May 2020 00:05:46 GMT",
+ "ETag" : "0x8D8672323B18555",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec996301-901a-0049-7cba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:45 GMT",
- "x-ms-client-request-id" : "3de9f27d-11f2-4080-80f5-a20128748c28"
+ "x-ms-request-id" : "1e3d10c8-801a-00a6-090c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "x-ms-client-request-id" : "f22082e7-5742-4d78-975e-d52a69e6818e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs1851901836d71c2?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e712?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "9fdb8b37-f1aa-4b0f-aeea-f088b268b7ae"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "82c6814b-9511-4841-a431-cd8ad5dd5444"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D16308B479",
- "Last-Modified" : "Wed, 13 May 2020 00:05:46 GMT",
+ "ETag" : "0x8D8672323C13F88",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec996303-901a-0049-7dba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:45 GMT",
- "x-ms-client-request-id" : "9fdb8b37-f1aa-4b0f-aeea-f088b268b7ae"
+ "x-ms-request-id" : "1e3d10ca-801a-00a6-0a0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "x-ms-client-request-id" : "82c6814b-9511-4841-a431-cd8ad5dd5444"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs1851901836d71c2?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e712?restype=share&comp=snapshot",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "b1249562-cb45-4fd5-8ce9-9be3c7f19bc2"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "de302917-a079-4394-b8e7-e2335d09dd6a"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-snapshot" : "2020-05-13T00:05:46.0000000Z",
+ "x-ms-version" : "2020-02-10",
+ "x-ms-snapshot" : "2020-10-02T22:33:09.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D16308B479",
- "Last-Modified" : "Wed, 13 May 2020 00:05:46 GMT",
+ "ETag" : "0x8D8672323C13F88",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec996305-901a-0049-7eba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:45 GMT",
- "x-ms-client-request-id" : "b1249562-cb45-4fd5-8ce9-9be3c7f19bc2"
+ "x-ms-request-id" : "1e3d10cd-801a-00a6-0b0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "x-ms-client-request-id" : "de302917-a079-4394-b8e7-e2335d09dd6a"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs1851901836d71c3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e713?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "50c26e2e-1618-44d0-8cf9-0b77287f6bc3"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a725baa5-cf80-4f12-bbeb-5334ca4c867c"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D163248090",
- "Last-Modified" : "Wed, 13 May 2020 00:05:46 GMT",
+ "ETag" : "0x8D8672323DBD0FE",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec996306-901a-0049-7fba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:45 GMT",
- "x-ms-client-request-id" : "50c26e2e-1618-44d0-8cf9-0b77287f6bc3"
+ "x-ms-request-id" : "1e3d10ce-801a-00a6-0c0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "x-ms-client-request-id" : "a725baa5-cf80-4f12-bbeb-5334ca4c867c"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs1851901836d71c3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e713?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "5dde6c41-3b1b-4d5f-9981-78700c2c6072"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "dba71a7f-7662-4249-91db-d30a9ecf8ee3"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "ec996308-901a-0049-80ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:45 GMT",
- "x-ms-client-request-id" : "5dde6c41-3b1b-4d5f-9981-78700c2c6072"
+ "x-ms-request-id" : "1e3d10d0-801a-00a6-0d0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "x-ms-client-request-id" : "dba71a7f-7662-4249-91db-d30a9ecf8ee3"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs1851901836d71c&include=metadata&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs148554fd736e71&include=metadata&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "60353fee-d078-4779-9fe1-e110a0d6b85f"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e35753db-bc2d-4320-b010-ef26d489df1d"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "ec996309-901a-0049-01ba-28b4ca000000",
- "Body" : "fileserviceapitestslistshareswithargs1851901836d71cfileserviceapitestslistshareswithargs1851901836d71c0Wed, 13 May 2020 00:05:46 GMT\"0x8D7F6D162ED5DA6\"2TransactionOptimized5/13/2020 12:05:46 AM$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs1851901836d71c1Wed, 13 May 2020 00:05:46 GMT\"0x8D7F6D162FAA756\"2TransactionOptimized5/13/2020 12:05:46 AM$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs1851901836d71c2Wed, 13 May 2020 00:05:46 GMT\"0x8D7F6D16308B479\"2TransactionOptimized5/13/2020 12:05:46 AM$account-encryption-keyfalsevalue",
- "Date" : "Wed, 13 May 2020 00:05:46 GMT",
- "x-ms-client-request-id" : "60353fee-d078-4779-9fe1-e110a0d6b85f",
+ "x-ms-request-id" : "1e3d10d1-801a-00a6-0e0c-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithargs148554fd736e71fileserviceapitestslistshareswithargs148554fd736e710Fri, 02 Oct 2020 22:33:09 GMT\"0x8D8672323A28E9B\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:09 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs148554fd736e711Fri, 02 Oct 2020 22:33:09 GMT\"0x8D8672323B18555\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:09 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs148554fd736e712Fri, 02 Oct 2020 22:33:09 GMT\"0x8D8672323C13F88\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:09 GMT$account-encryption-keyfalsevalue",
+ "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "x-ms-client-request-id" : "e35753db-bc2d-4320-b010-ef26d489df1d",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithargs1851901836d71c" ]
+ "variables" : [ "fileserviceapitestslistshareswithargs148554fd736e71" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json
index 98c68628023a..642e14346615 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json
@@ -1,150 +1,150 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs26569333a00e450?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c80?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "5500e743-bbef-4487-a985-7b7b6de89908"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "92fb9304-d2e9-4e1a-8b96-6eb0617b19af"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1638B98BB",
- "Last-Modified" : "Wed, 13 May 2020 00:05:47 GMT",
+ "ETag" : "0x8D86723243BDC07",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec99630b-901a-0049-02ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:46 GMT",
- "x-ms-client-request-id" : "5500e743-bbef-4487-a985-7b7b6de89908"
+ "x-ms-request-id" : "1e3d10d3-801a-00a6-100c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "x-ms-client-request-id" : "92fb9304-d2e9-4e1a-8b96-6eb0617b19af"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs26569333a00e451?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c81?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "ea00509e-5e01-4452-ac7c-759e763c4b0c"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1e32caf8-548c-42f6-8973-cc40b91f6fe4"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D163990980",
- "Last-Modified" : "Wed, 13 May 2020 00:05:47 GMT",
+ "ETag" : "0x8D8672324494BDD",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec99630d-901a-0049-03ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:46 GMT",
- "x-ms-client-request-id" : "ea00509e-5e01-4452-ac7c-759e763c4b0c"
+ "x-ms-request-id" : "1e3d10d5-801a-00a6-110c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "x-ms-client-request-id" : "1e32caf8-548c-42f6-8973-cc40b91f6fe4"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs26569333a00e452?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c82?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "a9487e94-451e-4c5a-afce-287501ed3963"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1e703345-ef8b-457b-8345-35becc8ff698"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D163A604F1",
- "Last-Modified" : "Wed, 13 May 2020 00:05:47 GMT",
+ "ETag" : "0x8D8672324597B49",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec99630f-901a-0049-04ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:46 GMT",
- "x-ms-client-request-id" : "a9487e94-451e-4c5a-afce-287501ed3963"
+ "x-ms-request-id" : "1e3d10d8-801a-00a6-130c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "x-ms-client-request-id" : "1e703345-ef8b-457b-8345-35becc8ff698"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs26569333a00e452?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c82?restype=share&comp=snapshot",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "9c9ae362-975c-43a3-b616-e01414ae7d25"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6ff270ee-4438-4590-80aa-54ea7ede2e16"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-snapshot" : "2020-05-13T00:05:48.0000000Z",
+ "x-ms-version" : "2020-02-10",
+ "x-ms-snapshot" : "2020-10-02T22:33:10.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D163A604F1",
- "Last-Modified" : "Wed, 13 May 2020 00:05:47 GMT",
+ "ETag" : "0x8D8672324597B49",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "56645087-401a-0065-4fba-285865000000",
- "Date" : "Wed, 13 May 2020 00:05:47 GMT",
- "x-ms-client-request-id" : "9c9ae362-975c-43a3-b616-e01414ae7d25"
+ "x-ms-request-id" : "1e3d10db-801a-00a6-150c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "x-ms-client-request-id" : "6ff270ee-4438-4590-80aa-54ea7ede2e16"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs26569333a00e453?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c83?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "4340fde3-8ba1-4a17-a49b-bc6df7c59210"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "926996f8-46ec-45b4-b550-612d55d91201"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D163EC6DCD",
- "Last-Modified" : "Wed, 13 May 2020 00:05:48 GMT",
+ "ETag" : "0x8D8672324737071",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec996311-901a-0049-05ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:47 GMT",
- "x-ms-client-request-id" : "4340fde3-8ba1-4a17-a49b-bc6df7c59210"
+ "x-ms-request-id" : "1e3d10dc-801a-00a6-160c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "x-ms-client-request-id" : "926996f8-46ec-45b4-b550-612d55d91201"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs26569333a00e453?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c83?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "f428248a-6cf9-483e-ae54-d299106fb864"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "e684ce1a-d059-4a8f-88cb-bd274df2c8f3"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "5664508c-401a-0065-50ba-285865000000",
- "Date" : "Wed, 13 May 2020 00:05:47 GMT",
- "x-ms-client-request-id" : "f428248a-6cf9-483e-ae54-d299106fb864"
+ "x-ms-request-id" : "1e3d10de-801a-00a6-170c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "x-ms-client-request-id" : "e684ce1a-d059-4a8f-88cb-bd274df2c8f3"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs26569333a00e45&include=metadata%2csnapshots&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs25746512cba6c8&include=metadata%2Csnapshots&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "5a66549c-000d-4feb-b4a6-9bfa538e20d0"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "010fb2e1-b482-4e41-8d6d-d30f1aae0367"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "ec996313-901a-0049-06ba-28b4ca000000",
- "Body" : "fileserviceapitestslistshareswithargs26569333a00e45fileserviceapitestslistshareswithargs26569333a00e450Wed, 13 May 2020 00:05:47 GMT\"0x8D7F6D1638B98BB\"2TransactionOptimized5/13/2020 12:05:47 AM$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs26569333a00e451Wed, 13 May 2020 00:05:47 GMT\"0x8D7F6D163990980\"2TransactionOptimized5/13/2020 12:05:47 AM$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs26569333a00e4522020-05-13T00:05:48.0000000ZWed, 13 May 2020 00:05:47 GMT\"0x8D7F6D163A604F1\"2$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs26569333a00e452Wed, 13 May 2020 00:05:47 GMT\"0x8D7F6D163A604F1\"2TransactionOptimized5/13/2020 12:05:47 AM$account-encryption-keyfalsevalue",
- "Date" : "Wed, 13 May 2020 00:05:47 GMT",
- "x-ms-client-request-id" : "5a66549c-000d-4feb-b4a6-9bfa538e20d0",
+ "x-ms-request-id" : "1e3d10e0-801a-00a6-180c-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithargs25746512cba6c8fileserviceapitestslistshareswithargs25746512cba6c80Fri, 02 Oct 2020 22:33:10 GMT\"0x8D86723243BDC07\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:10 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs25746512cba6c81Fri, 02 Oct 2020 22:33:10 GMT\"0x8D8672324494BDD\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:10 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs25746512cba6c822020-10-02T22:33:10.0000000ZFri, 02 Oct 2020 22:33:10 GMT\"0x8D8672324597B49\"unlockedavailable2$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs25746512cba6c82Fri, 02 Oct 2020 22:33:10 GMT\"0x8D8672324597B49\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:10 GMT$account-encryption-keyfalsevalue",
+ "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "x-ms-client-request-id" : "010fb2e1-b482-4e41-8d6d-d30f1aae0367",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithargs26569333a00e45" ]
+ "variables" : [ "fileserviceapitestslistshareswithargs25746512cba6c8" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json
index 1eec0cee01ee..7615daa11524 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json
@@ -1,128 +1,128 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter15083852cc2980?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d0?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "393ece54-ab23-48a8-926b-cf36a87d423d"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "00e5c947-6584-44cc-bd46-f23892e24bd7"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B06FB294",
- "Last-Modified" : "Wed, 13 May 2020 00:07:56 GMT",
+ "ETag" : "0x8D8672320B8F73F",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf06c-801a-0037-2fba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:56 GMT",
- "x-ms-client-request-id" : "393ece54-ab23-48a8-926b-cf36a87d423d"
+ "x-ms-request-id" : "1e3d1085-801a-00a6-650b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
+ "x-ms-client-request-id" : "00e5c947-6584-44cc-bd46-f23892e24bd7"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter15083852cc2981?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d1?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "ad1dbfe0-7659-49e5-8634-4df2f66775eb"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1b646026-a606-4aa9-a906-7055def18e65"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B07D4A6B",
- "Last-Modified" : "Wed, 13 May 2020 00:07:56 GMT",
+ "ETag" : "0x8D8672320C7EDE5",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf06e-801a-0037-30ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:56 GMT",
- "x-ms-client-request-id" : "ad1dbfe0-7659-49e5-8634-4df2f66775eb"
+ "x-ms-request-id" : "1e3d1087-801a-00a6-660b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
+ "x-ms-client-request-id" : "1b646026-a606-4aa9-a906-7055def18e65"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter15083852cc2982?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d2?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "73be5505-b76f-4840-b760-090833108a20"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "457ecaba-043c-4ecf-9de6-905422f0d787"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B08BCCE6",
- "Last-Modified" : "Wed, 13 May 2020 00:07:56 GMT",
+ "ETag" : "0x8D8672320D4E873",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf070-801a-0037-31ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:56 GMT",
- "x-ms-client-request-id" : "73be5505-b76f-4840-b760-090833108a20"
+ "x-ms-request-id" : "1e3d108b-801a-00a6-670b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
+ "x-ms-client-request-id" : "457ecaba-043c-4ecf-9de6-905422f0d787"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter15083852cc2983?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d3?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "7c3016ca-0e58-44d0-aaf5-1f4c0d9eb165"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1bf3df9f-8338-4ebc-8693-e5742c6b3f91"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B09A4F58",
- "Last-Modified" : "Wed, 13 May 2020 00:07:56 GMT",
+ "ETag" : "0x8D8672320E2584C",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf072-801a-0037-32ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:56 GMT",
- "x-ms-client-request-id" : "7c3016ca-0e58-44d0-aaf5-1f4c0d9eb165"
+ "x-ms-request-id" : "1e3d108d-801a-00a6-680b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
+ "x-ms-client-request-id" : "1bf3df9f-8338-4ebc-8693-e5742c6b3f91"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter15083852cc2983?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d3?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "057a1e52-9a68-4055-85b9-c3b7edb54edd"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c5e4dcb0-2e10-45a8-a131-5e262eefec49"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "9cbaf074-801a-0037-33ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:56 GMT",
- "x-ms-client-request-id" : "057a1e52-9a68-4055-85b9-c3b7edb54edd"
+ "x-ms-request-id" : "1e3d1090-801a-00a6-690b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
+ "x-ms-client-request-id" : "c5e4dcb0-2e10-45a8-a131-5e262eefec49"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter15083852cc298&include=metadata&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter1821156960f6d&include=metadata&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "dd593591-ca07-40d5-aab4-1bdbacd851db"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "029a8a30-1f5a-4939-8fc8-e870b4f5e978"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "9cbaf075-801a-0037-34ba-28248d000000",
- "Body" : "fileserviceapitestslistshareswithfilter15083852cc298fileserviceapitestslistshareswithfilter15083852cc2980Wed, 13 May 2020 00:07:56 GMT\"0x8D7F6D1B06FB294\"1TransactionOptimized5/13/2020 12:07:56 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter15083852cc2981Wed, 13 May 2020 00:07:56 GMT\"0x8D7F6D1B07D4A6B\"2TransactionOptimized5/13/2020 12:07:56 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter15083852cc2982Wed, 13 May 2020 00:07:56 GMT\"0x8D7F6D1B08BCCE6\"3TransactionOptimized5/13/2020 12:07:56 AM$account-encryption-keyfalsevalue",
- "Date" : "Wed, 13 May 2020 00:07:56 GMT",
- "x-ms-client-request-id" : "dd593591-ca07-40d5-aab4-1bdbacd851db",
+ "x-ms-request-id" : "1e3d1091-801a-00a6-6a0b-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithfilter1821156960f6dfileserviceapitestslistshareswithfilter1821156960f6d0Fri, 02 Oct 2020 22:33:04 GMT\"0x8D8672320B8F73F\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:04 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter1821156960f6d1Fri, 02 Oct 2020 22:33:04 GMT\"0x8D8672320C7EDE5\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:04 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter1821156960f6d2Fri, 02 Oct 2020 22:33:04 GMT\"0x8D8672320D4E873\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:04 GMT$account-encryption-keyfalsevalue",
+ "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
+ "x-ms-client-request-id" : "029a8a30-1f5a-4939-8fc8-e870b4f5e978",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter15083852cc298" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter1821156960f6d" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json
index 40ca1b912e5b..1b1867fa4f81 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json
@@ -1,128 +1,128 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter2693552bf1e7a0?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d780?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "0ecf21ea-ce55-434a-b49a-f87a9452f0bb"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "fca136e0-ac76-4925-abf9-ebf6bf2a3233"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B107357E",
- "Last-Modified" : "Wed, 13 May 2020 00:07:57 GMT",
+ "ETag" : "0x8D86723214C01CD",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf076-801a-0037-35ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:57 GMT",
- "x-ms-client-request-id" : "0ecf21ea-ce55-434a-b49a-f87a9452f0bb"
+ "x-ms-request-id" : "1e3d1095-801a-00a6-6b0b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "x-ms-client-request-id" : "fca136e0-ac76-4925-abf9-ebf6bf2a3233"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter2693552bf1e7a1?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d781?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "4de12565-27c5-4880-a3d6-397fdab8e2a3"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3810a5a8-e360-4829-b96c-e688842bca1e"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B1151B97",
- "Last-Modified" : "Wed, 13 May 2020 00:07:57 GMT",
+ "ETag" : "0x8D86723215B46B5",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf078-801a-0037-36ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:57 GMT",
- "x-ms-client-request-id" : "4de12565-27c5-4880-a3d6-397fdab8e2a3"
+ "x-ms-request-id" : "1e3d1097-801a-00a6-6c0b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "x-ms-client-request-id" : "3810a5a8-e360-4829-b96c-e688842bca1e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter2693552bf1e7a2?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d782?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "ffc2987e-531d-4280-be8a-f945119cd6c0"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "67a83cea-be85-4d11-9501-0794e70f5d9f"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B12301A7",
- "Last-Modified" : "Wed, 13 May 2020 00:07:57 GMT",
+ "ETag" : "0x8D86723216A3D73",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf07c-801a-0037-39ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:57 GMT",
- "x-ms-client-request-id" : "ffc2987e-531d-4280-be8a-f945119cd6c0"
+ "x-ms-request-id" : "1e3d1099-801a-00a6-6d0b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "x-ms-client-request-id" : "67a83cea-be85-4d11-9501-0794e70f5d9f"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter2693552bf1e7a3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d783?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "18be4d49-0136-4216-a559-1c87f7f9014a"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "531c98e7-3db8-416f-bc20-986322f34790"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B13135F2",
- "Last-Modified" : "Wed, 13 May 2020 00:07:57 GMT",
+ "ETag" : "0x8D867232176E9DA",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf07e-801a-0037-3aba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:57 GMT",
- "x-ms-client-request-id" : "18be4d49-0136-4216-a559-1c87f7f9014a"
+ "x-ms-request-id" : "1e3d109d-801a-00a6-6f0b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "x-ms-client-request-id" : "531c98e7-3db8-416f-bc20-986322f34790"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter2693552bf1e7a3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d783?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "440228f1-d9c5-47a6-9c12-cc75a0d999db"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b830c00e-3468-430d-a175-f776e4ede5a8"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "9cbaf080-801a-0037-3bba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:57 GMT",
- "x-ms-client-request-id" : "440228f1-d9c5-47a6-9c12-cc75a0d999db"
+ "x-ms-request-id" : "1e3d109f-801a-00a6-700b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "x-ms-client-request-id" : "b830c00e-3468-430d-a175-f776e4ede5a8"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter2693552bf1e7a&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter255376e9f0d78&include=&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "249c988d-95e1-4f45-b1cf-a094374b64e6"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6a33d668-7662-4499-aebc-19cc54cdbbab"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "9cbaf081-801a-0037-3cba-28248d000000",
- "Body" : "fileserviceapitestslistshareswithfilter2693552bf1e7afileserviceapitestslistshareswithfilter2693552bf1e7a0Wed, 13 May 2020 00:07:57 GMT\"0x8D7F6D1B107357E\"1TransactionOptimized5/13/2020 12:07:57 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter2693552bf1e7a1Wed, 13 May 2020 00:07:57 GMT\"0x8D7F6D1B1151B97\"2TransactionOptimized5/13/2020 12:07:57 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter2693552bf1e7a2Wed, 13 May 2020 00:07:57 GMT\"0x8D7F6D1B12301A7\"3TransactionOptimized5/13/2020 12:07:57 AM$account-encryption-keyfalse",
- "Date" : "Wed, 13 May 2020 00:07:57 GMT",
- "x-ms-client-request-id" : "249c988d-95e1-4f45-b1cf-a094374b64e6",
+ "x-ms-request-id" : "1e3d10a0-801a-00a6-710b-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithfilter255376e9f0d78fileserviceapitestslistshareswithfilter255376e9f0d780Fri, 02 Oct 2020 22:33:05 GMT\"0x8D86723214C01CD\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:05 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter255376e9f0d781Fri, 02 Oct 2020 22:33:05 GMT\"0x8D86723215B46B5\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:05 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter255376e9f0d782Fri, 02 Oct 2020 22:33:05 GMT\"0x8D86723216A3D73\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:05 GMT$account-encryption-keyfalse",
+ "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "x-ms-client-request-id" : "6a33d668-7662-4499-aebc-19cc54cdbbab",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter2693552bf1e7a" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter255376e9f0d78" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json
index 9678638efc1e..fd1686e1e673 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json
@@ -1,149 +1,149 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter340996b2fa5950?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc090?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "01c109ca-ae54-486c-a43e-de64fe5798a6"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "102aee96-8756-4321-9b74-d2bff2dc6d5d"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B198C392",
- "Last-Modified" : "Wed, 13 May 2020 00:07:58 GMT",
+ "ETag" : "0x8D8672321D60A52",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf084-801a-0037-3dba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:58 GMT",
- "x-ms-client-request-id" : "01c109ca-ae54-486c-a43e-de64fe5798a6"
+ "x-ms-request-id" : "1e3d10a2-801a-00a6-720b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "x-ms-client-request-id" : "102aee96-8756-4321-9b74-d2bff2dc6d5d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter340996b2fa5951?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc091?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "0fe7cb29-5b1d-4a2d-aaf7-d28c5f9c0a00"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b541ab60-de97-469f-b62d-b00377cb84ba"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B1A570DA",
- "Last-Modified" : "Wed, 13 May 2020 00:07:58 GMT",
+ "ETag" : "0x8D8672321E85CF8",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf086-801a-0037-3eba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:58 GMT",
- "x-ms-client-request-id" : "0fe7cb29-5b1d-4a2d-aaf7-d28c5f9c0a00"
+ "x-ms-request-id" : "1e3d10a4-801a-00a6-730b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "x-ms-client-request-id" : "b541ab60-de97-469f-b62d-b00377cb84ba"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter340996b2fa5952?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc092?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "f8f2a3dd-c432-4225-9a72-77b3d2c38623"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "84361178-a4e2-4965-9a64-dc61f35f75e8"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B1B3A521",
- "Last-Modified" : "Wed, 13 May 2020 00:07:58 GMT",
+ "ETag" : "0x8D8672321F753B7",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf088-801a-0037-3fba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:58 GMT",
- "x-ms-client-request-id" : "f8f2a3dd-c432-4225-9a72-77b3d2c38623"
+ "x-ms-request-id" : "1e3d10a6-801a-00a6-740b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "x-ms-client-request-id" : "84361178-a4e2-4965-9a64-dc61f35f75e8"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter340996b2fa5953?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc093?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "6bf218ce-a4ee-458b-8998-b3c2758e88b7"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "cbf9929b-9ea7-41e2-82ee-728f7919ffa9"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B1C0EECF",
- "Last-Modified" : "Wed, 13 May 2020 00:07:58 GMT",
+ "ETag" : "0x8D867232204001D",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf092-801a-0037-40ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:58 GMT",
- "x-ms-client-request-id" : "6bf218ce-a4ee-458b-8998-b3c2758e88b7"
+ "x-ms-request-id" : "1e3d10a8-801a-00a6-750b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "x-ms-client-request-id" : "cbf9929b-9ea7-41e2-82ee-728f7919ffa9"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter340996b2fa5953?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc093?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "5316c91c-3c46-49c3-8bc9-a91621d5625b"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c2830a1b-646d-425a-a033-68b425b06792"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "9cbaf094-801a-0037-41ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:58 GMT",
- "x-ms-client-request-id" : "5316c91c-3c46-49c3-8bc9-a91621d5625b"
+ "x-ms-request-id" : "1e3d10aa-801a-00a6-760b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "x-ms-client-request-id" : "c2830a1b-646d-425a-a033-68b425b06792"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter340996b2fa595&maxresults=2&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter327974178cc09&maxresults=2&include=&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "9338ab5d-a8eb-4bfb-b054-508631d9d04f"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "73648625-6842-42b2-b373-54ff799617e0"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "9cbaf095-801a-0037-42ba-28248d000000",
- "Body" : "fileserviceapitestslistshareswithfilter340996b2fa5952fileserviceapitestslistshareswithfilter340996b2fa5950Wed, 13 May 2020 00:07:58 GMT\"0x8D7F6D1B198C392\"1TransactionOptimized5/13/2020 12:07:58 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter340996b2fa5951Wed, 13 May 2020 00:07:58 GMT\"0x8D7F6D1B1A570DA\"2TransactionOptimized5/13/2020 12:07:58 AM$account-encryption-keyfalse/kasobolcanarytest/fileserviceapitestslistshareswithfilter340996b2fa5952",
- "Date" : "Wed, 13 May 2020 00:07:58 GMT",
- "x-ms-client-request-id" : "9338ab5d-a8eb-4bfb-b054-508631d9d04f",
+ "x-ms-request-id" : "1e3d10ab-801a-00a6-770b-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithfilter327974178cc092fileserviceapitestslistshareswithfilter327974178cc090Fri, 02 Oct 2020 22:33:06 GMT\"0x8D8672321D60A52\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:06 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter327974178cc091Fri, 02 Oct 2020 22:33:06 GMT\"0x8D8672321E85CF8\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:06 GMT$account-encryption-keyfalse/seanmcccanada/fileserviceapitestslistshareswithfilter327974178cc092",
+ "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "x-ms-client-request-id" : "73648625-6842-42b2-b373-54ff799617e0",
"Content-Type" : "application/xml"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter340996b2fa595&marker=/kasobolcanarytest/fileserviceapitestslistshareswithfilter340996b2fa5952&maxresults=2&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter327974178cc09&marker=/seanmcccanada/fileserviceapitestslistshareswithfilter327974178cc092&maxresults=2&include=&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "8b3e2749-993c-431f-8043-7a4c8876aa56"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "aed2777f-9b07-41b4-8c29-f36a55a2b061"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "9cbaf096-801a-0037-43ba-28248d000000",
- "Body" : "fileserviceapitestslistshareswithfilter340996b2fa595/kasobolcanarytest/fileserviceapitestslistshareswithfilter340996b2fa59522fileserviceapitestslistshareswithfilter340996b2fa5952Wed, 13 May 2020 00:07:58 GMT\"0x8D7F6D1B1B3A521\"3TransactionOptimized5/13/2020 12:07:58 AM$account-encryption-keyfalse",
- "Date" : "Wed, 13 May 2020 00:07:58 GMT",
- "x-ms-client-request-id" : "8b3e2749-993c-431f-8043-7a4c8876aa56",
+ "x-ms-request-id" : "1e3d10ac-801a-00a6-780b-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithfilter327974178cc09/seanmcccanada/fileserviceapitestslistshareswithfilter327974178cc0922fileserviceapitestslistshareswithfilter327974178cc092Fri, 02 Oct 2020 22:33:06 GMT\"0x8D8672321F753B7\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:06 GMT$account-encryption-keyfalse",
+ "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "x-ms-client-request-id" : "aed2777f-9b07-41b4-8c29-f36a55a2b061",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter340996b2fa595" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter327974178cc09" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json
index a5276a9157da..32c17747c88f 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json
@@ -1,128 +1,128 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter4652494fb90f60?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8450?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "2a10f45d-b86b-4d4e-b153-24545420d181"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c1e2f3c4-94b9-4fd6-b1da-5f8f4c4e4b39"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B2335489",
- "Last-Modified" : "Wed, 13 May 2020 00:07:59 GMT",
+ "ETag" : "0x8D86723226F57BD",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf097-801a-0037-44ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:59 GMT",
- "x-ms-client-request-id" : "2a10f45d-b86b-4d4e-b153-24545420d181"
+ "x-ms-request-id" : "1e3d10ae-801a-00a6-7a0b-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "x-ms-client-request-id" : "c1e2f3c4-94b9-4fd6-b1da-5f8f4c4e4b39"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter4652494fb90f61?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8451?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "b0c55d1f-9597-4c0d-bf93-eb3fcbacb04c"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c90e32a7-8a5e-40e5-a59d-65a6ff109fa3"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B24028EA",
- "Last-Modified" : "Wed, 13 May 2020 00:07:59 GMT",
+ "ETag" : "0x8D867232280BFDB",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf099-801a-0037-45ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:59 GMT",
- "x-ms-client-request-id" : "b0c55d1f-9597-4c0d-bf93-eb3fcbacb04c"
+ "x-ms-request-id" : "1e3d10b0-801a-00a6-7b0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "x-ms-client-request-id" : "c90e32a7-8a5e-40e5-a59d-65a6ff109fa3"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter4652494fb90f62?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8452?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "0c7ab52c-0481-41aa-849d-881ecab221b8"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "6f2a7947-be8d-49f7-8287-33c24f6e158d"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B24CD62E",
- "Last-Modified" : "Wed, 13 May 2020 00:07:59 GMT",
+ "ETag" : "0x8D86723228EF32A",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf09b-801a-0037-46ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:59 GMT",
- "x-ms-client-request-id" : "0c7ab52c-0481-41aa-849d-881ecab221b8"
+ "x-ms-request-id" : "1e3d10b2-801a-00a6-7c0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "x-ms-client-request-id" : "6f2a7947-be8d-49f7-8287-33c24f6e158d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter4652494fb90f63?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8453?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "603d7676-f68b-436b-bfe0-22860d34ca01"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c216212c-cc7c-42db-aeb6-e7c7241e8824"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1B25AE360",
- "Last-Modified" : "Wed, 13 May 2020 00:07:59 GMT",
+ "ETag" : "0x8D86723229D9BAD",
+ "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf09d-801a-0037-47ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:59 GMT",
- "x-ms-client-request-id" : "603d7676-f68b-436b-bfe0-22860d34ca01"
+ "x-ms-request-id" : "1e3d10b5-801a-00a6-7d0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "x-ms-client-request-id" : "c216212c-cc7c-42db-aeb6-e7c7241e8824"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter4652494fb90f63?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8453?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "b32320f4-43e4-4007-b4e1-4dd861d5cada"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "577736d0-cb83-434e-a37c-96f92aef1221"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "9cbaf09f-801a-0037-48ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:59 GMT",
- "x-ms-client-request-id" : "b32320f4-43e4-4007-b4e1-4dd861d5cada"
+ "x-ms-request-id" : "1e3d10b7-801a-00a6-7e0c-99269c000000",
+ "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "x-ms-client-request-id" : "577736d0-cb83-434e-a37c-96f92aef1221"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter4652494fb90f6&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter45962713cd845&include=deleted&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "4cd190d0-6adc-44d5-9e67-dddc09a81310"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c80e8bf5-2ca5-420a-adba-fc879d1db120"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "9cbaf0a0-801a-0037-49ba-28248d000000",
- "Body" : "fileserviceapitestslistshareswithfilter4652494fb90f6fileserviceapitestslistshareswithfilter4652494fb90f60Wed, 13 May 2020 00:07:59 GMT\"0x8D7F6D1B2335489\"1TransactionOptimized5/13/2020 12:07:59 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter4652494fb90f61Wed, 13 May 2020 00:07:59 GMT\"0x8D7F6D1B24028EA\"2TransactionOptimized5/13/2020 12:07:59 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter4652494fb90f62Wed, 13 May 2020 00:07:59 GMT\"0x8D7F6D1B24CD62E\"3TransactionOptimized5/13/2020 12:07:59 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter4652494fb90f63true01D628BA8FE3BC27Wed, 13 May 2020 00:07:59 GMT\"0x8D7F6D1B25AE360\"4TransactionOptimized5/13/2020 12:07:59 AM$account-encryption-keyfalseWed, 13 May 2020 00:07:59 GMT1",
- "Date" : "Wed, 13 May 2020 00:07:59 GMT",
- "x-ms-client-request-id" : "4cd190d0-6adc-44d5-9e67-dddc09a81310",
+ "x-ms-request-id" : "1e3d10b8-801a-00a6-7f0c-99269c000000",
+ "Body" : "fileserviceapitestslistshareswithfilter45962713cd845fileserviceapitestslistshareswithfilter45962713cd8450Fri, 02 Oct 2020 22:33:07 GMT\"0x8D86723226F57BD\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:07 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter45962713cd8451Fri, 02 Oct 2020 22:33:07 GMT\"0x8D867232280BFDB\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:07 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter45962713cd8452Fri, 02 Oct 2020 22:33:07 GMT\"0x8D86723228EF32A\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:07 GMT$account-encryption-keyfalse",
+ "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "x-ms-client-request-id" : "c80e8bf5-2ca5-420a-adba-fc879d1db120",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter4652494fb90f6" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter45962713cd845" ]
}
\ No newline at end of file
From 311bbe618e3af2ea7b70864c616bb7c20e713ec1 Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Mon, 5 Oct 2020 09:53:50 -0700
Subject: [PATCH 09/12] Added test records with undelete share enabled
---
...ileServiceAPITestsListSharesWithArgs0.json | 96 ++++++------
...ileServiceAPITestsListSharesWithArgs1.json | 96 ++++++------
...ileServiceAPITestsListSharesWithArgs2.json | 96 ++++++------
...ileServiceAPITestsListSharesWithArgs3.json | 138 +++++++++---------
...eServiceAPITestsListSharesWithFilter0.json | 116 +++++++--------
...eServiceAPITestsListSharesWithFilter1.json | 80 +++++-----
...eServiceAPITestsListSharesWithFilter2.json | 80 +++++-----
...eServiceAPITestsListSharesWithFilter3.json | 92 ++++++------
...eServiceAPITestsListSharesWithFilter4.json | 80 +++++-----
.../FileServiceAPITestsRestoreShareError.json | 14 +-
.../FileServiceAPITestsRestoreShareMax.json | 114 +++++++++++----
.../FileServiceAPITestsRestoreShareMin.json | 114 +++++++++++----
12 files changed, 612 insertions(+), 504 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json
index 1affda716d09..208a72951207 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs0.json
@@ -1,117 +1,117 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b60?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs019212831395540?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "28f42e92-a518-4024-a449-6607ccd092e5"
+ "x-ms-client-request-id" : "c3fab6e4-6741-4e67-801a-23776f12770f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D867232306CFF8",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "ETag" : "0x8D8694F0B6041B0",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:28 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10b9-801a-00a6-800c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
- "x-ms-client-request-id" : "28f42e92-a518-4024-a449-6607ccd092e5"
+ "x-ms-request-id" : "da75e5f1-d01a-0067-7e37-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:28 GMT",
+ "x-ms-client-request-id" : "c3fab6e4-6741-4e67-801a-23776f12770f"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b61?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs019212831395541?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a318e68c-0086-4b82-8ff9-67d421f06ca5"
+ "x-ms-client-request-id" : "f50d6a6a-c074-4170-8ddf-a1a01bffe7e4"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672323174D97",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "ETag" : "0x8D8694F0B8ED71C",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10bb-801a-00a6-010c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
- "x-ms-client-request-id" : "a318e68c-0086-4b82-8ff9-67d421f06ca5"
+ "x-ms-request-id" : "da75e5f5-d01a-0067-7f37-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:28 GMT",
+ "x-ms-client-request-id" : "f50d6a6a-c074-4170-8ddf-a1a01bffe7e4"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b62?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs019212831395542?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "973f49fd-1149-47ff-879b-4fa6a2fe96b0"
+ "x-ms-client-request-id" : "944c2331-eb3d-46d7-b344-9b59e0f003d7"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D867232324BD5F",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "ETag" : "0x8D8694F0BA04079",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10be-801a-00a6-020c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
- "x-ms-client-request-id" : "973f49fd-1149-47ff-879b-4fa6a2fe96b0"
+ "x-ms-request-id" : "da75e5f7-d01a-0067-8037-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:29 GMT",
+ "x-ms-client-request-id" : "944c2331-eb3d-46d7-b344-9b59e0f003d7"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b62?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs019212831395542?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "19ecee82-7a13-46a5-af65-b451be2a7b01"
+ "x-ms-client-request-id" : "460ef7e8-2b60-4aa9-837d-abf645fddc8d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-10-02T22:33:08.0000000Z",
+ "x-ms-snapshot" : "2020-10-05T16:52:29.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D867232324BD5F",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "ETag" : "0x8D8694F0BA04079",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10c0-801a-00a6-030c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
- "x-ms-client-request-id" : "19ecee82-7a13-46a5-af65-b451be2a7b01"
+ "x-ms-request-id" : "da75e5f9-d01a-0067-0137-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:29 GMT",
+ "x-ms-client-request-id" : "460ef7e8-2b60-4aa9-837d-abf645fddc8d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b63?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs019212831395543?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "dc3f4f98-92d7-4695-89e1-b3615fb932d9"
+ "x-ms-client-request-id" : "e77ace75-f603-406c-8810-1d9885e6c263"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672323423584",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:08 GMT",
+ "ETag" : "0x8D8694F0BEF8535",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10c1-801a-00a6-040c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
- "x-ms-client-request-id" : "dc3f4f98-92d7-4695-89e1-b3615fb932d9"
+ "x-ms-request-id" : "da75e5fa-d01a-0067-0237-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:29 GMT",
+ "x-ms-client-request-id" : "e77ace75-f603-406c-8810-1d9885e6c263"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs053798dcc5d9b63?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs019212831395543?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c96db41a-f59b-4451-beef-66de3e9f730a"
+ "x-ms-client-request-id" : "e4615a12-554f-4230-b176-fbe3016c663e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -119,18 +119,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d10c3-801a-00a6-050c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
- "x-ms-client-request-id" : "c96db41a-f59b-4451-beef-66de3e9f730a"
+ "x-ms-request-id" : "da75e5fc-d01a-0067-0337-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:30 GMT",
+ "x-ms-client-request-id" : "e4615a12-554f-4230-b176-fbe3016c663e"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs053798dcc5d9b6&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs01921283139554&include=&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "9ac9fafc-f1c2-44eb-8682-a400ca6f402d"
+ "x-ms-client-request-id" : "682e7c17-3d34-4f08-8e9a-94acd1aafe6c"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -138,13 +138,13 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d10c4-801a-00a6-060c-99269c000000",
- "Body" : "fileserviceapitestslistshareswithargs053798dcc5d9b6fileserviceapitestslistshareswithargs053798dcc5d9b60Fri, 02 Oct 2020 22:33:08 GMT\"0x8D867232306CFF8\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:08 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithargs053798dcc5d9b61Fri, 02 Oct 2020 22:33:08 GMT\"0x8D8672323174D97\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:08 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithargs053798dcc5d9b62Fri, 02 Oct 2020 22:33:08 GMT\"0x8D867232324BD5F\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:08 GMT$account-encryption-keyfalse",
- "Date" : "Fri, 02 Oct 2020 22:33:07 GMT",
- "x-ms-client-request-id" : "9ac9fafc-f1c2-44eb-8682-a400ca6f402d",
+ "x-ms-request-id" : "da75e5fd-d01a-0067-0437-9be6dd000000",
+ "Body" : "fileserviceapitestslistshareswithargs01921283139554fileserviceapitestslistshareswithargs019212831395540Mon, 05 Oct 2020 16:52:28 GMT\"0x8D8694F0B6041B0\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:28 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithargs019212831395541Mon, 05 Oct 2020 16:52:29 GMT\"0x8D8694F0B8ED71C\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:29 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithargs019212831395542Mon, 05 Oct 2020 16:52:29 GMT\"0x8D8694F0BA04079\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:29 GMT$account-encryption-keyfalse",
+ "Date" : "Mon, 05 Oct 2020 16:52:30 GMT",
+ "x-ms-client-request-id" : "682e7c17-3d34-4f08-8e9a-94acd1aafe6c",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithargs053798dcc5d9b6" ]
+ "variables" : [ "fileserviceapitestslistshareswithargs01921283139554" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json
index f145928cc1cd..bd3f1f117bb5 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs1.json
@@ -1,117 +1,117 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e710?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs12120003dca2e00?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "36e19a06-ff34-4513-a4c4-a42bcba88154"
+ "x-ms-client-request-id" : "171a4dcf-556f-4cab-b25c-264fba351b62"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672323A28E9B",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "ETag" : "0x8D8694F0D12A130",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:31 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10c6-801a-00a6-080c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
- "x-ms-client-request-id" : "36e19a06-ff34-4513-a4c4-a42bcba88154"
+ "x-ms-request-id" : "da75e60d-d01a-0067-1237-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:31 GMT",
+ "x-ms-client-request-id" : "171a4dcf-556f-4cab-b25c-264fba351b62"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e711?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs12120003dca2e01?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f22082e7-5742-4d78-975e-d52a69e6818e"
+ "x-ms-client-request-id" : "41a1dead-3823-42f6-9bcd-0af1c0d0d0de"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672323B18555",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "ETag" : "0x8D8694F0D231FF8",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:31 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10c8-801a-00a6-090c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
- "x-ms-client-request-id" : "f22082e7-5742-4d78-975e-d52a69e6818e"
+ "x-ms-request-id" : "da75e611-d01a-0067-1537-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:31 GMT",
+ "x-ms-client-request-id" : "41a1dead-3823-42f6-9bcd-0af1c0d0d0de"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e712?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs12120003dca2e02?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "82c6814b-9511-4841-a431-cd8ad5dd5444"
+ "x-ms-client-request-id" : "87defd33-a1e4-4ec0-bec3-5ad24b6dd080"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672323C13F88",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "ETag" : "0x8D8694F0D33C5D1",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:31 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10ca-801a-00a6-0a0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
- "x-ms-client-request-id" : "82c6814b-9511-4841-a431-cd8ad5dd5444"
+ "x-ms-request-id" : "da75e613-d01a-0067-1637-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:31 GMT",
+ "x-ms-client-request-id" : "87defd33-a1e4-4ec0-bec3-5ad24b6dd080"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e712?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs12120003dca2e02?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "de302917-a079-4394-b8e7-e2335d09dd6a"
+ "x-ms-client-request-id" : "2946c2ef-0d4b-4afc-b160-7cf1db2efd14"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-10-02T22:33:09.0000000Z",
+ "x-ms-snapshot" : "2020-10-05T16:52:31.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672323C13F88",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "ETag" : "0x8D8694F0D33C5D1",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:31 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10cd-801a-00a6-0b0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
- "x-ms-client-request-id" : "de302917-a079-4394-b8e7-e2335d09dd6a"
+ "x-ms-request-id" : "da75e615-d01a-0067-1737-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:31 GMT",
+ "x-ms-client-request-id" : "2946c2ef-0d4b-4afc-b160-7cf1db2efd14"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e713?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs12120003dca2e03?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a725baa5-cf80-4f12-bbeb-5334ca4c867c"
+ "x-ms-client-request-id" : "cec832a1-1a7c-4fa7-9cbe-09c1d8ac1f7c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672323DBD0FE",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:09 GMT",
+ "ETag" : "0x8D8694F0D570DDC",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:32 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10ce-801a-00a6-0c0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
- "x-ms-client-request-id" : "a725baa5-cf80-4f12-bbeb-5334ca4c867c"
+ "x-ms-request-id" : "da75e617-d01a-0067-1837-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:31 GMT",
+ "x-ms-client-request-id" : "cec832a1-1a7c-4fa7-9cbe-09c1d8ac1f7c"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs148554fd736e713?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs12120003dca2e03?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "dba71a7f-7662-4249-91db-d30a9ecf8ee3"
+ "x-ms-client-request-id" : "38bf104f-903c-4da3-98eb-c16020efef56"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -119,18 +119,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d10d0-801a-00a6-0d0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
- "x-ms-client-request-id" : "dba71a7f-7662-4249-91db-d30a9ecf8ee3"
+ "x-ms-request-id" : "da75e619-d01a-0067-1937-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:32 GMT",
+ "x-ms-client-request-id" : "38bf104f-903c-4da3-98eb-c16020efef56"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs148554fd736e71&include=metadata&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs12120003dca2e0&include=metadata&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e35753db-bc2d-4320-b010-ef26d489df1d"
+ "x-ms-client-request-id" : "81ee0caf-9dd4-4cac-b1d9-2c4304f9e706"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -138,13 +138,13 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d10d1-801a-00a6-0e0c-99269c000000",
- "Body" : "fileserviceapitestslistshareswithargs148554fd736e71fileserviceapitestslistshareswithargs148554fd736e710Fri, 02 Oct 2020 22:33:09 GMT\"0x8D8672323A28E9B\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:09 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs148554fd736e711Fri, 02 Oct 2020 22:33:09 GMT\"0x8D8672323B18555\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:09 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs148554fd736e712Fri, 02 Oct 2020 22:33:09 GMT\"0x8D8672323C13F88\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:09 GMT$account-encryption-keyfalsevalue",
- "Date" : "Fri, 02 Oct 2020 22:33:08 GMT",
- "x-ms-client-request-id" : "e35753db-bc2d-4320-b010-ef26d489df1d",
+ "x-ms-request-id" : "da75e61a-d01a-0067-1a37-9be6dd000000",
+ "Body" : "fileserviceapitestslistshareswithargs12120003dca2e0fileserviceapitestslistshareswithargs12120003dca2e00Mon, 05 Oct 2020 16:52:31 GMT\"0x8D8694F0D12A130\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:31 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs12120003dca2e01Mon, 05 Oct 2020 16:52:31 GMT\"0x8D8694F0D231FF8\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:31 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs12120003dca2e02Mon, 05 Oct 2020 16:52:31 GMT\"0x8D8694F0D33C5D1\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:31 GMT$account-encryption-keyfalsevalue",
+ "Date" : "Mon, 05 Oct 2020 16:52:32 GMT",
+ "x-ms-client-request-id" : "81ee0caf-9dd4-4cac-b1d9-2c4304f9e706",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithargs148554fd736e71" ]
+ "variables" : [ "fileserviceapitestslistshareswithargs12120003dca2e0" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json
index 642e14346615..0b7f0dba60e4 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs2.json
@@ -1,117 +1,117 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c80?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs245778e35ea4090?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "92fb9304-d2e9-4e1a-8b96-6eb0617b19af"
+ "x-ms-client-request-id" : "e007158e-1999-47a7-9f96-2f20193b6e1f"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86723243BDC07",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
+ "ETag" : "0x8D8694F0DD11686",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:32 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10d3-801a-00a6-100c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
- "x-ms-client-request-id" : "92fb9304-d2e9-4e1a-8b96-6eb0617b19af"
+ "x-ms-request-id" : "da75e61b-d01a-0067-1b37-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:32 GMT",
+ "x-ms-client-request-id" : "e007158e-1999-47a7-9f96-2f20193b6e1f"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c81?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs245778e35ea4091?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1e32caf8-548c-42f6-8973-cc40b91f6fe4"
+ "x-ms-client-request-id" : "d8b07c5a-c050-4a47-9ff2-6c43464beebb"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672324494BDD",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
+ "ETag" : "0x8D8694F0DE2CE0E",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:32 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10d5-801a-00a6-110c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
- "x-ms-client-request-id" : "1e32caf8-548c-42f6-8973-cc40b91f6fe4"
+ "x-ms-request-id" : "da75e61d-d01a-0067-1c37-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:32 GMT",
+ "x-ms-client-request-id" : "d8b07c5a-c050-4a47-9ff2-6c43464beebb"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c82?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs245778e35ea4092?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1e703345-ef8b-457b-8345-35becc8ff698"
+ "x-ms-client-request-id" : "7ae2ed88-96c0-4408-99ae-b309cd52637d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672324597B49",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
+ "ETag" : "0x8D8694F0DF373F0",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:33 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10d8-801a-00a6-130c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
- "x-ms-client-request-id" : "1e703345-ef8b-457b-8345-35becc8ff698"
+ "x-ms-request-id" : "da75e623-d01a-0067-1f37-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:32 GMT",
+ "x-ms-client-request-id" : "7ae2ed88-96c0-4408-99ae-b309cd52637d"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c82?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs245778e35ea4092?restype=share&comp=snapshot",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6ff270ee-4438-4590-80aa-54ea7ede2e16"
+ "x-ms-client-request-id" : "6efdb448-06d6-43b7-bd7a-9b848c5c9bd7"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-snapshot" : "2020-10-02T22:33:10.0000000Z",
+ "x-ms-snapshot" : "2020-10-05T16:52:33.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672324597B49",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
+ "ETag" : "0x8D8694F0DF373F0",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:33 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10db-801a-00a6-150c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
- "x-ms-client-request-id" : "6ff270ee-4438-4590-80aa-54ea7ede2e16"
+ "x-ms-request-id" : "da75e625-d01a-0067-2037-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:33 GMT",
+ "x-ms-client-request-id" : "6efdb448-06d6-43b7-bd7a-9b848c5c9bd7"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c83?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs245778e35ea4093?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "926996f8-46ec-45b4-b550-612d55d91201"
+ "x-ms-client-request-id" : "e1638638-2f70-40e9-9836-7da2d8a67457"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672324737071",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:10 GMT",
+ "ETag" : "0x8D8694F0E14988D",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:33 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10dc-801a-00a6-160c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
- "x-ms-client-request-id" : "926996f8-46ec-45b4-b550-612d55d91201"
+ "x-ms-request-id" : "da75e626-d01a-0067-2137-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:33 GMT",
+ "x-ms-client-request-id" : "e1638638-2f70-40e9-9836-7da2d8a67457"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs25746512cba6c83?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs245778e35ea4093?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "e684ce1a-d059-4a8f-88cb-bd274df2c8f3"
+ "x-ms-client-request-id" : "4042b108-ebba-40f3-973a-72f9a3cfaa6e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -119,18 +119,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d10de-801a-00a6-170c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
- "x-ms-client-request-id" : "e684ce1a-d059-4a8f-88cb-bd274df2c8f3"
+ "x-ms-request-id" : "da75e628-d01a-0067-2237-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:33 GMT",
+ "x-ms-client-request-id" : "4042b108-ebba-40f3-973a-72f9a3cfaa6e"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs25746512cba6c8&include=metadata%2Csnapshots&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs245778e35ea409&include=metadata%2Csnapshots&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "010fb2e1-b482-4e41-8d6d-d30f1aae0367"
+ "x-ms-client-request-id" : "d0fb2c5e-7306-4533-ba2e-5ccec358e3b0"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -138,13 +138,13 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d10e0-801a-00a6-180c-99269c000000",
- "Body" : "fileserviceapitestslistshareswithargs25746512cba6c8fileserviceapitestslistshareswithargs25746512cba6c80Fri, 02 Oct 2020 22:33:10 GMT\"0x8D86723243BDC07\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:10 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs25746512cba6c81Fri, 02 Oct 2020 22:33:10 GMT\"0x8D8672324494BDD\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:10 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs25746512cba6c822020-10-02T22:33:10.0000000ZFri, 02 Oct 2020 22:33:10 GMT\"0x8D8672324597B49\"unlockedavailable2$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs25746512cba6c82Fri, 02 Oct 2020 22:33:10 GMT\"0x8D8672324597B49\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:10 GMT$account-encryption-keyfalsevalue",
- "Date" : "Fri, 02 Oct 2020 22:33:09 GMT",
- "x-ms-client-request-id" : "010fb2e1-b482-4e41-8d6d-d30f1aae0367",
+ "x-ms-request-id" : "da75e629-d01a-0067-2337-9be6dd000000",
+ "Body" : "fileserviceapitestslistshareswithargs245778e35ea409fileserviceapitestslistshareswithargs245778e35ea4090Mon, 05 Oct 2020 16:52:32 GMT\"0x8D8694F0DD11686\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:32 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs245778e35ea4091Mon, 05 Oct 2020 16:52:32 GMT\"0x8D8694F0DE2CE0E\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:32 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs245778e35ea40922020-10-05T16:52:33.0000000ZMon, 05 Oct 2020 16:52:33 GMT\"0x8D8694F0DF373F0\"unlockedavailable2$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs245778e35ea4092Mon, 05 Oct 2020 16:52:33 GMT\"0x8D8694F0DF373F0\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:33 GMT$account-encryption-keyfalsevalue",
+ "Date" : "Mon, 05 Oct 2020 16:52:33 GMT",
+ "x-ms-client-request-id" : "d0fb2c5e-7306-4533-ba2e-5ccec358e3b0",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithargs25746512cba6c8" ]
+ "variables" : [ "fileserviceapitestslistshareswithargs245778e35ea409" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs3.json
index b68e4bfaa678..8085db10da4a 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs3.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithArgs3.json
@@ -1,150 +1,150 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs365077926a0fdd0?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs3026522bb19ec10?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "cca4a967-7955-4e4c-b83d-8ddde79b7f14"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "d2d4e4e6-df93-4b59-8201-bc4dfd039782"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D16460DB1A",
- "Last-Modified" : "Wed, 13 May 2020 00:05:48 GMT",
+ "ETag" : "0x8D8694F0E8C7DCD",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:34 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "5664508e-401a-0065-51ba-285865000000",
- "Date" : "Wed, 13 May 2020 00:05:48 GMT",
- "x-ms-client-request-id" : "cca4a967-7955-4e4c-b83d-8ddde79b7f14"
+ "x-ms-request-id" : "da75e62b-d01a-0067-2437-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:33 GMT",
+ "x-ms-client-request-id" : "d2d4e4e6-df93-4b59-8201-bc4dfd039782"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs365077926a0fdd1?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs3026522bb19ec11?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "697207d0-ac7e-4eb7-b168-4c797570e630"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "40f442d0-160e-43b5-b7d2-146a90f2163e"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1646D55C8",
- "Last-Modified" : "Wed, 13 May 2020 00:05:48 GMT",
+ "ETag" : "0x8D8694F0E9D71E2",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:34 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec996314-901a-0049-07ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:48 GMT",
- "x-ms-client-request-id" : "697207d0-ac7e-4eb7-b168-4c797570e630"
+ "x-ms-request-id" : "da75e62d-d01a-0067-2537-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:34 GMT",
+ "x-ms-client-request-id" : "40f442d0-160e-43b5-b7d2-146a90f2163e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs365077926a0fdd2?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs3026522bb19ec12?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "6607e9b2-9cfe-4005-b8b7-604008e2a861"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "8f79220f-c3c9-4850-a91e-d8483fb2210f"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1647B6E70",
- "Last-Modified" : "Wed, 13 May 2020 00:05:49 GMT",
+ "ETag" : "0x8D8694F0EABF456",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:34 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "56645090-401a-0065-52ba-285865000000",
- "Date" : "Wed, 13 May 2020 00:05:48 GMT",
- "x-ms-client-request-id" : "6607e9b2-9cfe-4005-b8b7-604008e2a861"
+ "x-ms-request-id" : "da75e62f-d01a-0067-2637-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:34 GMT",
+ "x-ms-client-request-id" : "8f79220f-c3c9-4850-a91e-d8483fb2210f"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs365077926a0fdd2?restype=share&comp=snapshot",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs3026522bb19ec12?restype=share&comp=snapshot",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "3d3df315-a8b9-4d84-9efe-50271f75ed58"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "bbf625b1-0a1a-45c1-9812-6b4672ea430e"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
- "x-ms-snapshot" : "2020-05-13T00:05:49.0000000Z",
+ "x-ms-version" : "2020-02-10",
+ "x-ms-snapshot" : "2020-10-05T16:52:34.0000000Z",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1647B6E70",
- "Last-Modified" : "Wed, 13 May 2020 00:05:49 GMT",
+ "ETag" : "0x8D8694F0EABF456",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:34 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "ec996316-901a-0049-08ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:48 GMT",
- "x-ms-client-request-id" : "3d3df315-a8b9-4d84-9efe-50271f75ed58"
+ "x-ms-request-id" : "da75e631-d01a-0067-2737-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:34 GMT",
+ "x-ms-client-request-id" : "bbf625b1-0a1a-45c1-9812-6b4672ea430e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs365077926a0fdd3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs3026522bb19ec13?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "39b494df-1516-4059-98b6-a5ed41d2f7f6"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "a0f10693-6a4d-42d5-a84a-69157438313e"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D164982534",
- "Last-Modified" : "Wed, 13 May 2020 00:05:49 GMT",
+ "ETag" : "0x8D8694F0ECA3217",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:52:34 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "56645092-401a-0065-53ba-285865000000",
- "Date" : "Wed, 13 May 2020 00:05:48 GMT",
- "x-ms-client-request-id" : "39b494df-1516-4059-98b6-a5ed41d2f7f6"
+ "x-ms-request-id" : "da75e632-d01a-0067-2837-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:34 GMT",
+ "x-ms-client-request-id" : "a0f10693-6a4d-42d5-a84a-69157438313e"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithargs365077926a0fdd3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithargs3026522bb19ec13?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "78fa8063-1e1b-4f1a-81b9-b55b9aa558f2"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3625953f-4808-417c-8286-d0115b9e5764"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "ec996319-901a-0049-09ba-28b4ca000000",
- "Date" : "Wed, 13 May 2020 00:05:48 GMT",
- "x-ms-client-request-id" : "78fa8063-1e1b-4f1a-81b9-b55b9aa558f2"
+ "x-ms-request-id" : "da75e634-d01a-0067-2937-9be6dd000000",
+ "Date" : "Mon, 05 Oct 2020 16:52:34 GMT",
+ "x-ms-client-request-id" : "3625953f-4808-417c-8286-d0115b9e5764"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs365077926a0fdd&include=deleted%2cmetadata%2csnapshots&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithargs3026522bb19ec1&include=deleted%2Cmetadata%2Csnapshots&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "e848a16a-3378-40db-aae9-e25a29aa5dde"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b1ebc945-d3a2-48c8-aa2d-3e8c559efd61"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "56645094-401a-0065-54ba-285865000000",
- "Body" : "fileserviceapitestslistshareswithargs365077926a0fddfileserviceapitestslistshareswithargs365077926a0fdd0Wed, 13 May 2020 00:05:48 GMT\"0x8D7F6D16460DB1A\"2TransactionOptimized5/13/2020 12:05:48 AM$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs365077926a0fdd1Wed, 13 May 2020 00:05:48 GMT\"0x8D7F6D1646D55C8\"2TransactionOptimized5/13/2020 12:05:48 AM$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs365077926a0fdd22020-05-13T00:05:49.0000000ZWed, 13 May 2020 00:05:49 GMT\"0x8D7F6D1647B6E70\"2$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs365077926a0fdd2Wed, 13 May 2020 00:05:49 GMT\"0x8D7F6D1647B6E70\"2TransactionOptimized5/13/2020 12:05:49 AM$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs365077926a0fdd3true01D628BA422147E0Wed, 13 May 2020 00:05:49 GMT\"0x8D7F6D164982534\"2TransactionOptimized5/13/2020 12:05:49 AM$account-encryption-keyfalseWed, 13 May 2020 00:05:49 GMT1value",
- "Date" : "Wed, 13 May 2020 00:05:48 GMT",
- "x-ms-client-request-id" : "e848a16a-3378-40db-aae9-e25a29aa5dde",
+ "x-ms-request-id" : "da75e635-d01a-0067-2a37-9be6dd000000",
+ "Body" : "fileserviceapitestslistshareswithargs3026522bb19ec1fileserviceapitestslistshareswithargs3026522bb19ec10Mon, 05 Oct 2020 16:52:34 GMT\"0x8D8694F0E8C7DCD\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:34 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs3026522bb19ec11Mon, 05 Oct 2020 16:52:34 GMT\"0x8D8694F0E9D71E2\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:34 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs3026522bb19ec122020-10-05T16:52:34.0000000ZMon, 05 Oct 2020 16:52:34 GMT\"0x8D8694F0EABF456\"unlockedavailable2$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs3026522bb19ec12Mon, 05 Oct 2020 16:52:34 GMT\"0x8D8694F0EABF456\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:52:34 GMT$account-encryption-keyfalsevaluefileserviceapitestslistshareswithargs3026522bb19ec13true01D69B37EC535931Mon, 05 Oct 2020 16:52:34 GMT\"0x8D8694F0ECA3217\"unlockedbroken2TransactionOptimizedMon, 05 Oct 2020 16:52:34 GMT$account-encryption-keyfalseMon, 05 Oct 2020 16:52:34 GMT1value",
+ "Date" : "Mon, 05 Oct 2020 16:52:34 GMT",
+ "x-ms-client-request-id" : "b1ebc945-d3a2-48c8-aa2d-3e8c559efd61",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithargs365077926a0fdd" ]
+ "variables" : [ "fileserviceapitestslistshareswithargs3026522bb19ec1" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json
index a673db30696a..2b80280b66ad 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter0.json
@@ -1,128 +1,128 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter0872639bea23c0?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter057953dbda32d0?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "ccf47f21-ff51-4d1d-aefe-1d20277d88ac"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "acc34721-1c69-4446-9a0d-c380770c4768"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1AF61F892",
- "Last-Modified" : "Wed, 13 May 2020 00:07:54 GMT",
+ "ETag" : "0x8D8694F1F92C5FC",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf05e-801a-0037-28ba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:54 GMT",
- "x-ms-client-request-id" : "ccf47f21-ff51-4d1d-aefe-1d20277d88ac"
+ "x-ms-request-id" : "53d5cfaa-401a-00cc-1137-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:01 GMT",
+ "x-ms-client-request-id" : "acc34721-1c69-4446-9a0d-c380770c4768"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter0872639bea23c1?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter057953dbda32d1?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "79f8e940-b868-424a-8996-76e3950211ee"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "1df89d1c-5a9f-4653-bf0e-0cfb15cf0074"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1AF7B2C11",
- "Last-Modified" : "Wed, 13 May 2020 00:07:54 GMT",
+ "ETag" : "0x8D8694F1FBB6689",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf062-801a-0037-2aba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:54 GMT",
- "x-ms-client-request-id" : "79f8e940-b868-424a-8996-76e3950211ee"
+ "x-ms-request-id" : "53d5cfad-401a-00cc-1237-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:01 GMT",
+ "x-ms-client-request-id" : "1df89d1c-5a9f-4653-bf0e-0cfb15cf0074"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter0872639bea23c2?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter057953dbda32d2?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "82de917c-d771-48b4-88a4-b66e4d5e9d38"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5bfec0dd-845d-4f7f-921d-67ebdeea5bd2"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1AF8875B6",
- "Last-Modified" : "Wed, 13 May 2020 00:07:54 GMT",
+ "ETag" : "0x8D8694F1FCEA518",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:02 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf064-801a-0037-2bba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:54 GMT",
- "x-ms-client-request-id" : "82de917c-d771-48b4-88a4-b66e4d5e9d38"
+ "x-ms-request-id" : "53d5cfaf-401a-00cc-1337-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:02 GMT",
+ "x-ms-client-request-id" : "5bfec0dd-845d-4f7f-921d-67ebdeea5bd2"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter0872639bea23c3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter057953dbda32d3?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "c5a249c6-c1da-4a8a-915c-882433e02bd0"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b5e28623-befb-49ff-b845-632d691d6186"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F6D1AF957136",
- "Last-Modified" : "Wed, 13 May 2020 00:07:55 GMT",
+ "ETag" : "0x8D8694F1FE083CA",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:03 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "9cbaf066-801a-0037-2cba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:54 GMT",
- "x-ms-client-request-id" : "c5a249c6-c1da-4a8a-915c-882433e02bd0"
+ "x-ms-request-id" : "53d5cfb2-401a-00cc-1437-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:02 GMT",
+ "x-ms-client-request-id" : "b5e28623-befb-49ff-b845-632d691d6186"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/fileserviceapitestslistshareswithfilter0872639bea23c3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter057953dbda32d3?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "9c45e9ad-0897-4185-9069-56ec6fd29c15"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "3bb4cdda-b31e-418b-a6dd-b38a540849c4"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "9cbaf068-801a-0037-2dba-28248d000000",
- "Date" : "Wed, 13 May 2020 00:07:54 GMT",
- "x-ms-client-request-id" : "9c45e9ad-0897-4185-9069-56ec6fd29c15"
+ "x-ms-request-id" : "53d5cfb4-401a-00cc-1537-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:02 GMT",
+ "x-ms-client-request-id" : "3bb4cdda-b31e-418b-a6dd-b38a540849c4"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter0872639bea23c&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter057953dbda32d&include=&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "b9398950-d9fe-4886-81b5-a9d7ba035ac2"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "b9983713-6fdc-45e7-b59b-e0a98c5c614a"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "9cbaf069-801a-0037-2eba-28248d000000",
- "Body" : "fileserviceapitestslistshareswithfilter0872639bea23cfileserviceapitestslistshareswithfilter0872639bea23c0Wed, 13 May 2020 00:07:54 GMT\"0x8D7F6D1AF61F892\"1TransactionOptimized5/13/2020 12:07:54 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter0872639bea23c1Wed, 13 May 2020 00:07:54 GMT\"0x8D7F6D1AF7B2C11\"2TransactionOptimized5/13/2020 12:07:54 AM$account-encryption-keyfalsefileserviceapitestslistshareswithfilter0872639bea23c2Wed, 13 May 2020 00:07:54 GMT\"0x8D7F6D1AF8875B6\"3TransactionOptimized5/13/2020 12:07:54 AM$account-encryption-keyfalse",
- "Date" : "Wed, 13 May 2020 00:07:54 GMT",
- "x-ms-client-request-id" : "b9398950-d9fe-4886-81b5-a9d7ba035ac2",
+ "x-ms-request-id" : "53d5cfb6-401a-00cc-1637-9b9917000000",
+ "Body" : "fileserviceapitestslistshareswithfilter057953dbda32dfileserviceapitestslistshareswithfilter057953dbda32d0Mon, 05 Oct 2020 16:53:02 GMT\"0x8D8694F1F92C5FC\"unlockedavailable1TransactionOptimizedMon, 05 Oct 2020 16:53:02 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter057953dbda32d1Mon, 05 Oct 2020 16:53:02 GMT\"0x8D8694F1FBB6689\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:53:02 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter057953dbda32d2Mon, 05 Oct 2020 16:53:02 GMT\"0x8D8694F1FCEA518\"unlockedavailable3TransactionOptimizedMon, 05 Oct 2020 16:53:02 GMT$account-encryption-keyfalse",
+ "Date" : "Mon, 05 Oct 2020 16:53:03 GMT",
+ "x-ms-client-request-id" : "b9983713-6fdc-45e7-b59b-e0a98c5c614a",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter0872639bea23c" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter057953dbda32d" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json
index 7615daa11524..a313e362873c 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter1.json
@@ -1,95 +1,95 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d0?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter185394f97fb530?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "00e5c947-6584-44cc-bd46-f23892e24bd7"
+ "x-ms-client-request-id" : "b8848d39-9624-424d-8d88-ddd6f90aa766"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672320B8F73F",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "ETag" : "0x8D8694F21616798",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d1085-801a-00a6-650b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
- "x-ms-client-request-id" : "00e5c947-6584-44cc-bd46-f23892e24bd7"
+ "x-ms-request-id" : "53d5cfb7-401a-00cc-1737-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:04 GMT",
+ "x-ms-client-request-id" : "b8848d39-9624-424d-8d88-ddd6f90aa766"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d1?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter185394f97fb531?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1b646026-a606-4aa9-a906-7055def18e65"
+ "x-ms-client-request-id" : "47ec9484-9513-41c3-bb6e-6068d991442b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672320C7EDE5",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "ETag" : "0x8D8694F217282C6",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d1087-801a-00a6-660b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
- "x-ms-client-request-id" : "1b646026-a606-4aa9-a906-7055def18e65"
+ "x-ms-request-id" : "53d5cfb9-401a-00cc-1837-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:04 GMT",
+ "x-ms-client-request-id" : "47ec9484-9513-41c3-bb6e-6068d991442b"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d2?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter185394f97fb532?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "457ecaba-043c-4ecf-9de6-905422f0d787"
+ "x-ms-client-request-id" : "56a10a74-27d9-4fee-ac95-3ea8ca1e7abf"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672320D4E873",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "ETag" : "0x8D8694F21839DF0",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d108b-801a-00a6-670b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
- "x-ms-client-request-id" : "457ecaba-043c-4ecf-9de6-905422f0d787"
+ "x-ms-request-id" : "53d5cfbb-401a-00cc-1937-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:04 GMT",
+ "x-ms-client-request-id" : "56a10a74-27d9-4fee-ac95-3ea8ca1e7abf"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter185394f97fb533?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1bf3df9f-8338-4ebc-8693-e5742c6b3f91"
+ "x-ms-client-request-id" : "c4859cc8-8740-48a5-8087-dc9b4398b11c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672320E2584C",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:04 GMT",
+ "ETag" : "0x8D8694F219443D1",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:05 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d108d-801a-00a6-680b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
- "x-ms-client-request-id" : "1bf3df9f-8338-4ebc-8693-e5742c6b3f91"
+ "x-ms-request-id" : "53d5cfbd-401a-00cc-1a37-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:04 GMT",
+ "x-ms-client-request-id" : "c4859cc8-8740-48a5-8087-dc9b4398b11c"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter1821156960f6d3?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter185394f97fb533?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c5e4dcb0-2e10-45a8-a131-5e262eefec49"
+ "x-ms-client-request-id" : "775a5885-df4c-4a81-b1aa-310552527ac7"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -97,18 +97,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d1090-801a-00a6-690b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
- "x-ms-client-request-id" : "c5e4dcb0-2e10-45a8-a131-5e262eefec49"
+ "x-ms-request-id" : "53d5cfbf-401a-00cc-1b37-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:05 GMT",
+ "x-ms-client-request-id" : "775a5885-df4c-4a81-b1aa-310552527ac7"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter1821156960f6d&include=metadata&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter185394f97fb53&include=metadata&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "029a8a30-1f5a-4939-8fc8-e870b4f5e978"
+ "x-ms-client-request-id" : "8a2a3ed4-3e7d-4e79-a82e-9dae3042ade5"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -116,13 +116,13 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d1091-801a-00a6-6a0b-99269c000000",
- "Body" : "fileserviceapitestslistshareswithfilter1821156960f6dfileserviceapitestslistshareswithfilter1821156960f6d0Fri, 02 Oct 2020 22:33:04 GMT\"0x8D8672320B8F73F\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:04 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter1821156960f6d1Fri, 02 Oct 2020 22:33:04 GMT\"0x8D8672320C7EDE5\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:04 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter1821156960f6d2Fri, 02 Oct 2020 22:33:04 GMT\"0x8D8672320D4E873\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:04 GMT$account-encryption-keyfalsevalue",
- "Date" : "Fri, 02 Oct 2020 22:33:03 GMT",
- "x-ms-client-request-id" : "029a8a30-1f5a-4939-8fc8-e870b4f5e978",
+ "x-ms-request-id" : "53d5cfc1-401a-00cc-1c37-9b9917000000",
+ "Body" : "fileserviceapitestslistshareswithfilter185394f97fb53fileserviceapitestslistshareswithfilter185394f97fb530Mon, 05 Oct 2020 16:53:05 GMT\"0x8D8694F21616798\"unlockedavailable1TransactionOptimizedMon, 05 Oct 2020 16:53:05 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter185394f97fb531Mon, 05 Oct 2020 16:53:05 GMT\"0x8D8694F217282C6\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:53:05 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter185394f97fb532Mon, 05 Oct 2020 16:53:05 GMT\"0x8D8694F21839DF0\"unlockedavailable3TransactionOptimizedMon, 05 Oct 2020 16:53:05 GMT$account-encryption-keyfalsevalue",
+ "Date" : "Mon, 05 Oct 2020 16:53:05 GMT",
+ "x-ms-client-request-id" : "8a2a3ed4-3e7d-4e79-a82e-9dae3042ade5",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter1821156960f6d" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter185394f97fb53" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json
index 1b1867fa4f81..edba52637506 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter2.json
@@ -1,95 +1,95 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d780?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter24798616164cd0?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "fca136e0-ac76-4925-abf9-ebf6bf2a3233"
+ "x-ms-client-request-id" : "4cb4f08d-7bf3-43f0-96cd-092a70ffec5b"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86723214C01CD",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "ETag" : "0x8D8694F220D13C5",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d1095-801a-00a6-6b0b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
- "x-ms-client-request-id" : "fca136e0-ac76-4925-abf9-ebf6bf2a3233"
+ "x-ms-request-id" : "53d5cfc2-401a-00cc-1d37-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:05 GMT",
+ "x-ms-client-request-id" : "4cb4f08d-7bf3-43f0-96cd-092a70ffec5b"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d781?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter24798616164cd1?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "3810a5a8-e360-4829-b96c-e688842bca1e"
+ "x-ms-client-request-id" : "3e21087a-75ad-4d66-a037-05be5ecbf1f4"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86723215B46B5",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "ETag" : "0x8D8694F221EF273",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d1097-801a-00a6-6c0b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
- "x-ms-client-request-id" : "3810a5a8-e360-4829-b96c-e688842bca1e"
+ "x-ms-request-id" : "53d5cfc4-401a-00cc-1e37-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:05 GMT",
+ "x-ms-client-request-id" : "3e21087a-75ad-4d66-a037-05be5ecbf1f4"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d782?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter24798616164cd2?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "67a83cea-be85-4d11-9501-0794e70f5d9f"
+ "x-ms-client-request-id" : "b2357cb6-8dbd-4986-992f-3abf8163e2e1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86723216A3D73",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "ETag" : "0x8D8694F222F9854",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:06 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d1099-801a-00a6-6d0b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
- "x-ms-client-request-id" : "67a83cea-be85-4d11-9501-0794e70f5d9f"
+ "x-ms-request-id" : "53d5cfc6-401a-00cc-1f37-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:06 GMT",
+ "x-ms-client-request-id" : "b2357cb6-8dbd-4986-992f-3abf8163e2e1"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d783?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter24798616164cd3?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "531c98e7-3db8-416f-bc20-986322f34790"
+ "x-ms-client-request-id" : "72278ab9-0fae-484b-8250-60582827344c"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D867232176E9DA",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:05 GMT",
+ "ETag" : "0x8D8694F2240DA9C",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d109d-801a-00a6-6f0b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
- "x-ms-client-request-id" : "531c98e7-3db8-416f-bc20-986322f34790"
+ "x-ms-request-id" : "53d5cfc8-401a-00cc-2037-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:06 GMT",
+ "x-ms-client-request-id" : "72278ab9-0fae-484b-8250-60582827344c"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter255376e9f0d783?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter24798616164cd3?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b830c00e-3468-430d-a175-f776e4ede5a8"
+ "x-ms-client-request-id" : "6d2ddc6c-efb0-40c4-a308-38a44bd2f6bc"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -97,18 +97,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d109f-801a-00a6-700b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
- "x-ms-client-request-id" : "b830c00e-3468-430d-a175-f776e4ede5a8"
+ "x-ms-request-id" : "53d5cfca-401a-00cc-2137-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:06 GMT",
+ "x-ms-client-request-id" : "6d2ddc6c-efb0-40c4-a308-38a44bd2f6bc"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter255376e9f0d78&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter24798616164cd&include=&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6a33d668-7662-4499-aebc-19cc54cdbbab"
+ "x-ms-client-request-id" : "82682a1a-e4e5-4710-9e37-eade5c8efd90"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -116,13 +116,13 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d10a0-801a-00a6-710b-99269c000000",
- "Body" : "fileserviceapitestslistshareswithfilter255376e9f0d78fileserviceapitestslistshareswithfilter255376e9f0d780Fri, 02 Oct 2020 22:33:05 GMT\"0x8D86723214C01CD\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:05 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter255376e9f0d781Fri, 02 Oct 2020 22:33:05 GMT\"0x8D86723215B46B5\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:05 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter255376e9f0d782Fri, 02 Oct 2020 22:33:05 GMT\"0x8D86723216A3D73\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:05 GMT$account-encryption-keyfalse",
- "Date" : "Fri, 02 Oct 2020 22:33:04 GMT",
- "x-ms-client-request-id" : "6a33d668-7662-4499-aebc-19cc54cdbbab",
+ "x-ms-request-id" : "53d5cfcb-401a-00cc-2237-9b9917000000",
+ "Body" : "fileserviceapitestslistshareswithfilter24798616164cdfileserviceapitestslistshareswithfilter24798616164cd0Mon, 05 Oct 2020 16:53:06 GMT\"0x8D8694F220D13C5\"unlockedavailable1TransactionOptimizedMon, 05 Oct 2020 16:53:06 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter24798616164cd1Mon, 05 Oct 2020 16:53:06 GMT\"0x8D8694F221EF273\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:53:06 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter24798616164cd2Mon, 05 Oct 2020 16:53:06 GMT\"0x8D8694F222F9854\"unlockedavailable3TransactionOptimizedMon, 05 Oct 2020 16:53:06 GMT$account-encryption-keyfalse",
+ "Date" : "Mon, 05 Oct 2020 16:53:06 GMT",
+ "x-ms-client-request-id" : "82682a1a-e4e5-4710-9e37-eade5c8efd90",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter255376e9f0d78" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter24798616164cd" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json
index fd1686e1e673..4009e00bd81b 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter3.json
@@ -1,95 +1,95 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc090?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter317047a0cd8920?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "102aee96-8756-4321-9b74-d2bff2dc6d5d"
+ "x-ms-client-request-id" : "cda51a44-2355-451c-9ab1-46b8fdce3f73"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672321D60A52",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "ETag" : "0x8D8694F22B563C9",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10a2-801a-00a6-720b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
- "x-ms-client-request-id" : "102aee96-8756-4321-9b74-d2bff2dc6d5d"
+ "x-ms-request-id" : "53d5cfcc-401a-00cc-2338-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:06 GMT",
+ "x-ms-client-request-id" : "cda51a44-2355-451c-9ab1-46b8fdce3f73"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc091?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter317047a0cd8921?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "b541ab60-de97-469f-b62d-b00377cb84ba"
+ "x-ms-client-request-id" : "5e938ff8-6348-444c-a2e0-5ae5a271fbdc"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672321E85CF8",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "ETag" : "0x8D8694F22C40D56",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:07 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10a4-801a-00a6-730b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
- "x-ms-client-request-id" : "b541ab60-de97-469f-b62d-b00377cb84ba"
+ "x-ms-request-id" : "53d5cfce-401a-00cc-2438-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:06 GMT",
+ "x-ms-client-request-id" : "5e938ff8-6348-444c-a2e0-5ae5a271fbdc"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc092?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter317047a0cd8922?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "84361178-a4e2-4965-9a64-dc61f35f75e8"
+ "x-ms-client-request-id" : "b20286be-b19d-4cee-b9c9-6ca845b76be4"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672321F753B7",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "ETag" : "0x8D8694F22D416D1",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10a6-801a-00a6-740b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
- "x-ms-client-request-id" : "84361178-a4e2-4965-9a64-dc61f35f75e8"
+ "x-ms-request-id" : "53d5cfd1-401a-00cc-2538-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:08 GMT",
+ "x-ms-client-request-id" : "b20286be-b19d-4cee-b9c9-6ca845b76be4"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc093?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter317047a0cd8923?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "cbf9929b-9ea7-41e2-82ee-728f7919ffa9"
+ "x-ms-client-request-id" : "ae93fbe8-8f7b-4a1c-8d12-d038fe844f91"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D867232204001D",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:06 GMT",
+ "ETag" : "0x8D8694F22E3D21D",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10a8-801a-00a6-750b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
- "x-ms-client-request-id" : "cbf9929b-9ea7-41e2-82ee-728f7919ffa9"
+ "x-ms-request-id" : "53d5cfd3-401a-00cc-2638-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:08 GMT",
+ "x-ms-client-request-id" : "ae93fbe8-8f7b-4a1c-8d12-d038fe844f91"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter327974178cc093?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter317047a0cd8923?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c2830a1b-646d-425a-a033-68b425b06792"
+ "x-ms-client-request-id" : "e0e15c5e-2275-477a-820f-6e4fa1004371"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -97,18 +97,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d10aa-801a-00a6-760b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
- "x-ms-client-request-id" : "c2830a1b-646d-425a-a033-68b425b06792"
+ "x-ms-request-id" : "53d5cfd5-401a-00cc-2738-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:08 GMT",
+ "x-ms-client-request-id" : "e0e15c5e-2275-477a-820f-6e4fa1004371"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter327974178cc09&maxresults=2&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter317047a0cd892&maxresults=2&include=&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "73648625-6842-42b2-b373-54ff799617e0"
+ "x-ms-client-request-id" : "0f01145c-523d-42b4-ad10-3a80e55b832e"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -116,20 +116,20 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d10ab-801a-00a6-770b-99269c000000",
- "Body" : "fileserviceapitestslistshareswithfilter327974178cc092fileserviceapitestslistshareswithfilter327974178cc090Fri, 02 Oct 2020 22:33:06 GMT\"0x8D8672321D60A52\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:06 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter327974178cc091Fri, 02 Oct 2020 22:33:06 GMT\"0x8D8672321E85CF8\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:06 GMT$account-encryption-keyfalse/seanmcccanada/fileserviceapitestslistshareswithfilter327974178cc092",
- "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
- "x-ms-client-request-id" : "73648625-6842-42b2-b373-54ff799617e0",
+ "x-ms-request-id" : "53d5cfd6-401a-00cc-2838-9b9917000000",
+ "Body" : "fileserviceapitestslistshareswithfilter317047a0cd8922fileserviceapitestslistshareswithfilter317047a0cd8920Mon, 05 Oct 2020 16:53:07 GMT\"0x8D8694F22B563C9\"unlockedavailable1TransactionOptimizedMon, 05 Oct 2020 16:53:07 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter317047a0cd8921Mon, 05 Oct 2020 16:53:07 GMT\"0x8D8694F22C40D56\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:53:07 GMT$account-encryption-keyfalse/kasobolcanarytest/fileserviceapitestslistshareswithfilter317047a0cd8922",
+ "Date" : "Mon, 05 Oct 2020 16:53:08 GMT",
+ "x-ms-client-request-id" : "0f01145c-523d-42b4-ad10-3a80e55b832e",
"Content-Type" : "application/xml"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter327974178cc09&marker=/seanmcccanada/fileserviceapitestslistshareswithfilter327974178cc092&maxresults=2&include=&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter317047a0cd892&marker=/kasobolcanarytest/fileserviceapitestslistshareswithfilter317047a0cd8922&maxresults=2&include=&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "aed2777f-9b07-41b4-8c29-f36a55a2b061"
+ "x-ms-client-request-id" : "3cca15df-0b6c-444a-95bd-f109ea8c22f9"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -137,13 +137,13 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d10ac-801a-00a6-780b-99269c000000",
- "Body" : "fileserviceapitestslistshareswithfilter327974178cc09/seanmcccanada/fileserviceapitestslistshareswithfilter327974178cc0922fileserviceapitestslistshareswithfilter327974178cc092Fri, 02 Oct 2020 22:33:06 GMT\"0x8D8672321F753B7\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:06 GMT$account-encryption-keyfalse",
- "Date" : "Fri, 02 Oct 2020 22:33:05 GMT",
- "x-ms-client-request-id" : "aed2777f-9b07-41b4-8c29-f36a55a2b061",
+ "x-ms-request-id" : "53d5cfd7-401a-00cc-2938-9b9917000000",
+ "Body" : "fileserviceapitestslistshareswithfilter317047a0cd892/kasobolcanarytest/fileserviceapitestslistshareswithfilter317047a0cd89222fileserviceapitestslistshareswithfilter317047a0cd8922Mon, 05 Oct 2020 16:53:08 GMT\"0x8D8694F22D416D1\"unlockedavailable3TransactionOptimizedMon, 05 Oct 2020 16:53:08 GMT$account-encryption-keyfalse",
+ "Date" : "Mon, 05 Oct 2020 16:53:08 GMT",
+ "x-ms-client-request-id" : "3cca15df-0b6c-444a-95bd-f109ea8c22f9",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter327974178cc09" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter317047a0cd892" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json
index 32c17747c88f..38d170f109a5 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsListSharesWithFilter4.json
@@ -1,95 +1,95 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8450?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter453455dc5a2f50?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c1e2f3c4-94b9-4fd6-b1da-5f8f4c4e4b39"
+ "x-ms-client-request-id" : "e2958cc6-8d97-442f-9c61-53e0ca8618fc"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86723226F57BD",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "ETag" : "0x8D8694F23607390",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:08 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10ae-801a-00a6-7a0b-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
- "x-ms-client-request-id" : "c1e2f3c4-94b9-4fd6-b1da-5f8f4c4e4b39"
+ "x-ms-request-id" : "53d5cfd9-401a-00cc-2a38-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:08 GMT",
+ "x-ms-client-request-id" : "e2958cc6-8d97-442f-9c61-53e0ca8618fc"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8451?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter453455dc5a2f51?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c90e32a7-8a5e-40e5-a59d-65a6ff109fa3"
+ "x-ms-client-request-id" : "997121b9-29f0-4f11-9ebb-a4c1226ba734"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D867232280BFDB",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "ETag" : "0x8D8694F236F4443",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10b0-801a-00a6-7b0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
- "x-ms-client-request-id" : "c90e32a7-8a5e-40e5-a59d-65a6ff109fa3"
+ "x-ms-request-id" : "53d5cfdb-401a-00cc-2b38-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:09 GMT",
+ "x-ms-client-request-id" : "997121b9-29f0-4f11-9ebb-a4c1226ba734"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8452?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter453455dc5a2f52?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "6f2a7947-be8d-49f7-8287-33c24f6e158d"
+ "x-ms-client-request-id" : "7f354d03-e408-4dcd-9be2-8ad12d9ba96e"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86723228EF32A",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "ETag" : "0x8D8694F237F74D3",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10b2-801a-00a6-7c0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
- "x-ms-client-request-id" : "6f2a7947-be8d-49f7-8287-33c24f6e158d"
+ "x-ms-request-id" : "53d5cfdd-401a-00cc-2c38-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:09 GMT",
+ "x-ms-client-request-id" : "7f354d03-e408-4dcd-9be2-8ad12d9ba96e"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8453?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter453455dc5a2f53?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c216212c-cc7c-42db-aeb6-e7c7241e8824"
+ "x-ms-client-request-id" : "8cd7d791-a9c1-44b2-9df2-fbd3b678d048"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86723229D9BAD",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:07 GMT",
+ "ETag" : "0x8D8694F238FF39B",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:53:09 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d10b5-801a-00a6-7d0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
- "x-ms-client-request-id" : "c216212c-cc7c-42db-aeb6-e7c7241e8824"
+ "x-ms-request-id" : "53d5cfdf-401a-00cc-2d38-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:09 GMT",
+ "x-ms-client-request-id" : "8cd7d791-a9c1-44b2-9df2-fbd3b678d048"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter45962713cd8453?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/fileserviceapitestslistshareswithfilter453455dc5a2f53?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "577736d0-cb83-434e-a37c-96f92aef1221"
+ "x-ms-client-request-id" : "aeb476a8-0e51-4305-aeff-8095b6eb96f9"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -97,18 +97,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d10b7-801a-00a6-7e0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
- "x-ms-client-request-id" : "577736d0-cb83-434e-a37c-96f92aef1221"
+ "x-ms-request-id" : "53d5cfe1-401a-00cc-2e38-9b9917000000",
+ "Date" : "Mon, 05 Oct 2020 16:53:09 GMT",
+ "x-ms-client-request-id" : "aeb476a8-0e51-4305-aeff-8095b6eb96f9"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter45962713cd845&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=fileserviceapitestslistshareswithfilter453455dc5a2f5&include=deleted&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c80e8bf5-2ca5-420a-adba-fc879d1db120"
+ "x-ms-client-request-id" : "20b3921f-5320-467c-8535-7ebc22e58fab"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -116,13 +116,13 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d10b8-801a-00a6-7f0c-99269c000000",
- "Body" : "fileserviceapitestslistshareswithfilter45962713cd845fileserviceapitestslistshareswithfilter45962713cd8450Fri, 02 Oct 2020 22:33:07 GMT\"0x8D86723226F57BD\"unlockedavailable1TransactionOptimizedFri, 02 Oct 2020 22:33:07 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter45962713cd8451Fri, 02 Oct 2020 22:33:07 GMT\"0x8D867232280BFDB\"unlockedavailable2TransactionOptimizedFri, 02 Oct 2020 22:33:07 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter45962713cd8452Fri, 02 Oct 2020 22:33:07 GMT\"0x8D86723228EF32A\"unlockedavailable3TransactionOptimizedFri, 02 Oct 2020 22:33:07 GMT$account-encryption-keyfalse",
- "Date" : "Fri, 02 Oct 2020 22:33:06 GMT",
- "x-ms-client-request-id" : "c80e8bf5-2ca5-420a-adba-fc879d1db120",
+ "x-ms-request-id" : "53d5cfe2-401a-00cc-2f38-9b9917000000",
+ "Body" : "fileserviceapitestslistshareswithfilter453455dc5a2f5fileserviceapitestslistshareswithfilter453455dc5a2f50Mon, 05 Oct 2020 16:53:08 GMT\"0x8D8694F23607390\"unlockedavailable1TransactionOptimizedMon, 05 Oct 2020 16:53:08 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter453455dc5a2f51Mon, 05 Oct 2020 16:53:09 GMT\"0x8D8694F236F4443\"unlockedavailable2TransactionOptimizedMon, 05 Oct 2020 16:53:09 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter453455dc5a2f52Mon, 05 Oct 2020 16:53:09 GMT\"0x8D8694F237F74D3\"unlockedavailable3TransactionOptimizedMon, 05 Oct 2020 16:53:09 GMT$account-encryption-keyfalsefileserviceapitestslistshareswithfilter453455dc5a2f53true01D69B38011935F0Mon, 05 Oct 2020 16:53:09 GMT\"0x8D8694F238FF39B\"unlockedbroken4TransactionOptimizedMon, 05 Oct 2020 16:53:09 GMT$account-encryption-keyfalseMon, 05 Oct 2020 16:53:09 GMT1",
+ "Date" : "Mon, 05 Oct 2020 16:53:09 GMT",
+ "x-ms-client-request-id" : "20b3921f-5320-467c-8535-7ebc22e58fab",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestslistshareswithfilter45962713cd845" ]
+ "variables" : [ "fileserviceapitestslistshareswithfilter453455dc5a2f5" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json
index 73e4e835db29..0845774b484f 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareError.json
@@ -1,11 +1,11 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoreshareerror022251d4629ff49?restype=share&comp=undelete",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoreshareerror019575e3091236d?restype=share&comp=undelete",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "a4861634-851e-4158-ab66-a6c8befbe72e"
+ "x-ms-client-request-id" : "cdb91f93-14b2-406e-b831-cc8e5ff11e13"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -14,13 +14,13 @@
"retry-after" : "0",
"Content-Length" : "217",
"StatusCode" : "404",
- "x-ms-request-id" : "1e3d1185-801a-00a6-620c-99269c000000",
- "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:1e3d1185-801a-00a6-620c-99269c000000\nTime:2020-10-02T22:34:15.7017615Z",
- "Date" : "Fri, 02 Oct 2020 22:34:14 GMT",
- "x-ms-client-request-id" : "a4861634-851e-4158-ab66-a6c8befbe72e",
+ "x-ms-request-id" : "88cdb829-501a-00c0-0337-9b0e1f000000",
+ "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:88cdb829-501a-00c0-0337-9b0e1f000000\nTime:2020-10-05T16:51:30.0219244Z",
+ "Date" : "Mon, 05 Oct 2020 16:51:29 GMT",
+ "x-ms-client-request-id" : "cdb91f93-14b2-406e-b831-cc8e5ff11e13",
"Content-Type" : "application/xml"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceapitestsrestoreshareerror39700bc3b18f6d", "jtsfileserviceapitestsrestoreshareerror022251d4629ff49" ]
+ "variables" : [ "fileserviceapitestsrestoreshareerror23233374012cce", "jtsfileserviceapitestsrestoreshareerror019575e3091236d" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json
index 5ffb6bb1ac4f..b89ffc7d1a35 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMax.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax0588038b0320d1b6?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax04442303eeb2ca97?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "7a4e0462-3641-441f-aebb-5eba3e35caf3"
+ "x-ms-client-request-id" : "20766ae4-40fe-4133-91b0-41fac9f4a5cd"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672339109A5E",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:45 GMT",
+ "ETag" : "0x8D8694EBB3646C7",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:50:14 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d114b-801a-00a6-4a0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
- "x-ms-client-request-id" : "7a4e0462-3641-441f-aebb-5eba3e35caf3"
+ "x-ms-request-id" : "9e621d84-201a-0073-5b37-9baeb2000000",
+ "Date" : "Mon, 05 Oct 2020 16:50:13 GMT",
+ "x-ms-client-request-id" : "20766ae4-40fe-4133-91b0-41fac9f4a5cd"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax0588038b0320d1b6/javapathfileserviceapitestsrestoresharemax114954e1f7ec6",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax04442303eeb2ca97/javapathfileserviceapitestsrestoresharemax1580103a060a9",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "1b3181df-2001-44d4-acaf-1ffd692e0185"
+ "x-ms-client-request-id" : "8c7ed25e-bfa5-4cdc-bf7f-25bddaa055b0"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
+ "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-10-02T22:33:45.2735012Z",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:45 GMT",
+ "x-ms-file-creation-time" : "2020-10-05T16:50:14.6201724Z",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:50:14 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
- "ETag" : "0x8D86723391E6624",
+ "Date" : "Mon, 05 Oct 2020 16:50:13 GMT",
+ "ETag" : "0x8D8694EBB73887C",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-10-02T22:33:45.2735012Z",
+ "x-ms-file-change-time" : "2020-10-05T16:50:14.6201724Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "1e3d114d-801a-00a6-4b0c-99269c000000",
- "x-ms-client-request-id" : "1b3181df-2001-44d4-acaf-1ffd692e0185",
- "x-ms-file-last-write-time" : "2020-10-02T22:33:45.2735012Z"
+ "x-ms-request-id" : "9e621d87-201a-0073-5c37-9baeb2000000",
+ "x-ms-client-request-id" : "8c7ed25e-bfa5-4cdc-bf7f-25bddaa055b0",
+ "x-ms-file-last-write-time" : "2020-10-05T16:50:14.6201724Z"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax0588038b0320d1b6?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax04442303eeb2ca97?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "625fe958-bda0-430b-ad6d-050e20891480"
+ "x-ms-client-request-id" : "3e6e0564-aeba-45b6-9cdb-5b10dfbdc173"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -63,18 +63,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d114e-801a-00a6-4c0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
- "x-ms-client-request-id" : "625fe958-bda0-430b-ad6d-050e20891480"
+ "x-ms-request-id" : "9e621d88-201a-0073-5d37-9baeb2000000",
+ "Date" : "Mon, 05 Oct 2020 16:50:14 GMT",
+ "x-ms-client-request-id" : "3e6e0564-aeba-45b6-9cdb-5b10dfbdc173"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemax0588038b0320d1b6&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemax04442303eeb2ca97&include=deleted&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "ee800787-dc67-429b-bed7-39533191879f"
+ "x-ms-client-request-id" : "afea4a82-f811-4fd3-b6ac-5a1c78ae5004"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -82,13 +82,67 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d1183-801a-00a6-610c-99269c000000",
- "Body" : "jtsfileserviceapitestsrestoresharemax0588038b0320d1b6",
- "Date" : "Fri, 02 Oct 2020 22:34:14 GMT",
- "x-ms-client-request-id" : "ee800787-dc67-429b-bed7-39533191879f",
+ "x-ms-request-id" : "9e621db0-201a-0073-6a37-9baeb2000000",
+ "Body" : "jtsfileserviceapitestsrestoresharemax04442303eeb2ca97jtsfileserviceapitestsrestoresharemax04442303eeb2ca97true01D69B3798BF9343Mon, 05 Oct 2020 16:50:14 GMT\"0x8D8694EBB3646C7\"unlockedbroken5120TransactionOptimizedMon, 05 Oct 2020 16:50:14 GMT$account-encryption-keyfalseMon, 05 Oct 2020 16:50:15 GMT1",
+ "Date" : "Mon, 05 Oct 2020 16:50:44 GMT",
+ "x-ms-client-request-id" : "afea4a82-f811-4fd3-b6ac-5a1c78ae5004",
"Content-Type" : "application/xml"
},
"Exception" : null
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax04442303eeb2ca97?restype=share&comp=undelete",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "877c0ebb-33d5-4ae0-8e06-ced24297e95b"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8694ECDDE78E4",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:50:45 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "9e621db2-201a-0073-6b37-9baeb2000000",
+ "Date" : "Mon, 05 Oct 2020 16:50:44 GMT",
+ "x-ms-client-request-id" : "877c0ebb-33d5-4ae0-8e06-ced24297e95b"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "HEAD",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemax04442303eeb2ca97/javapathfileserviceapitestsrestoresharemax1580103a060a9",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "be21914b-7060-48c1-b7e7-e253e134b727"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
+ "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
+ "x-ms-file-id" : "13835128424026341376",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "x-ms-file-creation-time" : "2020-10-05T16:50:14.6201724Z",
+ "x-ms-lease-state" : "available",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:50:14 GMT",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Mon, 05 Oct 2020 16:50:44 GMT",
+ "x-ms-server-encrypted" : "true",
+ "x-ms-type" : "File",
+ "ETag" : "0x8D8694EBB73887C",
+ "x-ms-file-attributes" : "Archive",
+ "x-ms-file-change-time" : "2020-10-05T16:50:14.6201724Z",
+ "x-ms-file-parent-id" : "0",
+ "Content-Length" : "2",
+ "x-ms-request-id" : "9e621db5-201a-0073-6c37-9baeb2000000",
+ "x-ms-client-request-id" : "be21914b-7060-48c1-b7e7-e253e134b727",
+ "x-ms-file-last-write-time" : "2020-10-05T16:50:14.6201724Z",
+ "Content-Type" : "application/octet-stream"
+ },
+ "Exception" : null
} ],
- "variables" : [ "fileserviceapitestsrestoresharemax84706c78cd6b063", "jtsfileserviceapitestsrestoresharemax0588038b0320d1b6", "javapathfileserviceapitestsrestoresharemax114954e1f7ec6" ]
+ "variables" : [ "fileserviceapitestsrestoresharemax85747e2c0ca2666", "jtsfileserviceapitestsrestoresharemax04442303eeb2ca97", "javapathfileserviceapitestsrestoresharemax1580103a060a9" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json
index 1630a1b9a013..6a6eecc5f0c5 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAPITestsRestoreShareMin.json
@@ -1,61 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin086789d18da29739?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin042584f17d6a0141?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "010960b7-346f-4fed-815a-009f5bbe7511"
+ "x-ms-client-request-id" : "39c3b996-39e0-44ce-a9c7-79a48f83f7c1"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D8672326DDD6CE",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:14 GMT",
+ "ETag" : "0x8D8694E9BB1D3DC",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:49:21 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "1e3d1103-801a-00a6-2d0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:13 GMT",
- "x-ms-client-request-id" : "010960b7-346f-4fed-815a-009f5bbe7511"
+ "x-ms-request-id" : "439377d4-001a-0039-4b37-9b0d3d000000",
+ "Date" : "Mon, 05 Oct 2020 16:49:21 GMT",
+ "x-ms-client-request-id" : "39c3b996-39e0-44ce-a9c7-79a48f83f7c1"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin086789d18da29739/javapathfileserviceapitestsrestoresharemin1706847ca42e5",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin042584f17d6a0141/javapathfileserviceapitestsrestoresharemin148210a5f29cf",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "05818e0b-7a28-4218-8766-e61c0e00bfee"
+ "x-ms-client-request-id" : "42424aa0-70e0-42ce-b806-c54bb878d781"
},
"Response" : {
"x-ms-version" : "2020-02-10",
- "x-ms-file-permission-key" : "5144323600546320195*17277118026500876237",
+ "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-10-02T22:33:14.7868356Z",
- "Last-Modified" : "Fri, 02 Oct 2020 22:33:14 GMT",
+ "x-ms-file-creation-time" : "2020-10-05T16:49:22.0121511Z",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:49:22 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Fri, 02 Oct 2020 22:33:13 GMT",
- "ETag" : "0x8D8672326F280C4",
+ "Date" : "Mon, 05 Oct 2020 16:49:21 GMT",
+ "ETag" : "0x8D8694E9C182FA7",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-10-02T22:33:14.7868356Z",
+ "x-ms-file-change-time" : "2020-10-05T16:49:22.0121511Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "1e3d1105-801a-00a6-2e0c-99269c000000",
- "x-ms-client-request-id" : "05818e0b-7a28-4218-8766-e61c0e00bfee",
- "x-ms-file-last-write-time" : "2020-10-02T22:33:14.7868356Z"
+ "x-ms-request-id" : "439377d7-001a-0039-4c37-9b0d3d000000",
+ "x-ms-client-request-id" : "42424aa0-70e0-42ce-b806-c54bb878d781",
+ "x-ms-file-last-write-time" : "2020-10-05T16:49:22.0121511Z"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin086789d18da29739?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin042584f17d6a0141?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "99c1d601-1ea4-4ff3-a6a8-151ba08a70d2"
+ "x-ms-client-request-id" : "34dfc35c-3716-4c5e-b86e-d53c3f3b3cc7"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -63,18 +63,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "1e3d1106-801a-00a6-2f0c-99269c000000",
- "Date" : "Fri, 02 Oct 2020 22:33:14 GMT",
- "x-ms-client-request-id" : "99c1d601-1ea4-4ff3-a6a8-151ba08a70d2"
+ "x-ms-request-id" : "439377d8-001a-0039-4d37-9b0d3d000000",
+ "Date" : "Mon, 05 Oct 2020 16:49:22 GMT",
+ "x-ms-client-request-id" : "34dfc35c-3716-4c5e-b86e-d53c3f3b3cc7"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemin086789d18da29739&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceapitestsrestoresharemin042584f17d6a0141&include=deleted&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "c296fcda-1ef8-4dba-ab36-e312bd8039eb"
+ "x-ms-client-request-id" : "4b1b0e75-b701-4d73-9240-7d8c12d23c38"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -82,13 +82,67 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "1e3d1149-801a-00a6-490c-99269c000000",
- "Body" : "jtsfileserviceapitestsrestoresharemin086789d18da29739",
- "Date" : "Fri, 02 Oct 2020 22:33:44 GMT",
- "x-ms-client-request-id" : "c296fcda-1ef8-4dba-ab36-e312bd8039eb",
+ "x-ms-request-id" : "43937813-001a-0039-6337-9b0d3d000000",
+ "Body" : "jtsfileserviceapitestsrestoresharemin042584f17d6a0141jtsfileserviceapitestsrestoresharemin042584f17d6a0141true01D69B37793D47ABMon, 05 Oct 2020 16:49:21 GMT\"0x8D8694E9BB1D3DC\"unlockedbroken5120TransactionOptimizedMon, 05 Oct 2020 16:49:21 GMT$account-encryption-keyfalseMon, 05 Oct 2020 16:49:22 GMT1",
+ "Date" : "Mon, 05 Oct 2020 16:49:52 GMT",
+ "x-ms-client-request-id" : "4b1b0e75-b701-4d73-9240-7d8c12d23c38",
"Content-Type" : "application/xml"
},
"Exception" : null
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin042584f17d6a0141?restype=share&comp=undelete",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "24e9bf86-a0f2-48cf-9f5e-5d60c902de24"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "ETag" : "0x8D8694EAEAA1A69",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:49:53 GMT",
+ "retry-after" : "0",
+ "Content-Length" : "0",
+ "StatusCode" : "201",
+ "x-ms-request-id" : "43937815-001a-0039-6437-9b0d3d000000",
+ "Date" : "Mon, 05 Oct 2020 16:49:52 GMT",
+ "x-ms-client-request-id" : "24e9bf86-a0f2-48cf-9f5e-5d60c902de24"
+ },
+ "Exception" : null
+ }, {
+ "Method" : "HEAD",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceapitestsrestoresharemin042584f17d6a0141/javapathfileserviceapitestsrestoresharemin148210a5f29cf",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "920bc526-596b-4e5b-87d6-ac139db749a4"
+ },
+ "Response" : {
+ "x-ms-version" : "2020-02-10",
+ "x-ms-lease-status" : "unlocked",
+ "x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
+ "x-ms-file-id" : "13835128424026341376",
+ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "x-ms-file-creation-time" : "2020-10-05T16:49:22.0121511Z",
+ "x-ms-lease-state" : "available",
+ "Last-Modified" : "Mon, 05 Oct 2020 16:49:22 GMT",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "Date" : "Mon, 05 Oct 2020 16:49:53 GMT",
+ "x-ms-server-encrypted" : "true",
+ "x-ms-type" : "File",
+ "ETag" : "0x8D8694E9C182FA7",
+ "x-ms-file-attributes" : "Archive",
+ "x-ms-file-change-time" : "2020-10-05T16:49:22.0121511Z",
+ "x-ms-file-parent-id" : "0",
+ "Content-Length" : "2",
+ "x-ms-request-id" : "43937817-001a-0039-6537-9b0d3d000000",
+ "x-ms-client-request-id" : "920bc526-596b-4e5b-87d6-ac139db749a4",
+ "x-ms-file-last-write-time" : "2020-10-05T16:49:22.0121511Z",
+ "Content-Type" : "application/octet-stream"
+ },
+ "Exception" : null
} ],
- "variables" : [ "fileserviceapitestsrestoresharemin11130e76ccc2151", "jtsfileserviceapitestsrestoresharemin086789d18da29739", "javapathfileserviceapitestsrestoresharemin1706847ca42e5" ]
+ "variables" : [ "fileserviceapitestsrestoresharemin09680b6f05071c6", "jtsfileserviceapitestsrestoresharemin042584f17d6a0141", "javapathfileserviceapitestsrestoresharemin148210a5f29cf" ]
}
\ No newline at end of file
From cbe9b0a103708848d660e29d1933c7eae367804d Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Mon, 5 Oct 2020 10:18:20 -0700
Subject: [PATCH 10/12] Fixed async tests
---
.../share/options/ShareCreateOptions.java | 1 -
.../share/ShareAsyncJavaDocCodeSamples.java | 3 +-
.../ShareServiceAsyncJavaDocCodeSamples.java | 2 +-
...leServiceAsyncAPITestsRestoreShareMax.json | 128 ++++++++--------
...leServiceAsyncAPITestsRestoreShareMin.json | 141 ++++++++++--------
5 files changed, 144 insertions(+), 131 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
index 5762765828f7..9c498e918a1c 100644
--- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
+++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareCreateOptions.java
@@ -5,7 +5,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.storage.file.share.models.ShareAccessTier;
-import com.azure.storage.file.share.models.ShareRequestConditions;
import java.util.Map;
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
index 10b00ca0f0d7..9ae13b950cf4 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
@@ -152,7 +152,8 @@ public void createWithResponseOptions() {
shareAsyncClient.createWithResponse(new ShareCreateOptions()
.setMetadata(Collections.singletonMap("share", "metadata")).setQuotaInGb(1)
.setAccessTier(ShareAccessTier.HOT)).subscribe(
- response -> System.out.printf("Creating the share completed with status code %d", response.getStatusCode()),
+ response -> System.out.printf("Creating the share completed with status code %d",
+ response.getStatusCode()),
error -> System.err.print(error.toString()),
() -> System.out.println("Complete creating the share!")
);
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java
index bf27f21ccf3c..b03cb16a033e 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareServiceAsyncJavaDocCodeSamples.java
@@ -138,7 +138,7 @@ public void createShareAsyncWithOptions() {
response.getStatusCode()),
error -> System.err.print(error.toString()),
() -> System.out.println("Complete creating the share!")
- );
+ );
// END: com.azure.storage.file.share.ShareServiceAsyncClient.createShareWithResponse#String-ShareCreateOptions
}
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMax.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMax.json
index fe601fdd037f..685c916489e4 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMax.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMax.json
@@ -1,148 +1,148 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax0911127f9c038?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax06132475ad46c?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "75ce953c-acbe-4065-a2ce-c2980ccc5036"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "c9d743a2-8d30-44d9-9c01-b7bcdd5263c3"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F780C17F3935",
- "Last-Modified" : "Wed, 13 May 2020 21:01:07 GMT",
+ "ETag" : "0x8D8695281B9D389",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:17:15 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "5b3be217-b01a-0071-7369-29100a000000",
- "Date" : "Wed, 13 May 2020 21:01:06 GMT",
- "x-ms-client-request-id" : "75ce953c-acbe-4065-a2ce-c2980ccc5036"
+ "x-ms-request-id" : "40e1cb3a-801a-009e-5d3b-9be5ff000000",
+ "Date" : "Mon, 05 Oct 2020 17:17:15 GMT",
+ "x-ms-client-request-id" : "c9d743a2-8d30-44d9-9c01-b7bcdd5263c3"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax0911127f9c038/javapathfileserviceasyncapitestsrestoresharemax129471f8728",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax06132475ad46c/javapathfileserviceasyncapitestsrestoresharemax1759497cf0a",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "404ab206-9a9c-4ed1-bd96-c02915cb8c1a"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "86f51214-35cd-4f13-b4ca-b8e81065b262"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T21:01:07.3904226Z",
- "Last-Modified" : "Wed, 13 May 2020 21:01:07 GMT",
+ "x-ms-file-creation-time" : "2020-10-05T17:17:16.1616860Z",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:17:16 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 13 May 2020 21:01:06 GMT",
- "ETag" : "0x8D7F780C1B43E62",
+ "Date" : "Mon, 05 Oct 2020 17:17:15 GMT",
+ "ETag" : "0x8D8695281F721DC",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T21:01:07.3904226Z",
+ "x-ms-file-change-time" : "2020-10-05T17:17:16.1616860Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "5b3be21a-b01a-0071-7469-29100a000000",
- "x-ms-client-request-id" : "404ab206-9a9c-4ed1-bd96-c02915cb8c1a",
- "x-ms-file-last-write-time" : "2020-05-13T21:01:07.3904226Z"
+ "x-ms-request-id" : "40e1cb3e-801a-009e-5e3b-9be5ff000000",
+ "x-ms-client-request-id" : "86f51214-35cd-4f13-b4ca-b8e81065b262",
+ "x-ms-file-last-write-time" : "2020-10-05T17:17:16.1616860Z"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax0911127f9c038?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax06132475ad46c?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "6621e35a-0aca-4b31-a804-5fc06730aa1e"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f163fd98-532b-469f-917b-aec82ad65dfd"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "5b3be21c-b01a-0071-7569-29100a000000",
- "Date" : "Wed, 13 May 2020 21:01:07 GMT",
- "x-ms-client-request-id" : "6621e35a-0aca-4b31-a804-5fc06730aa1e"
+ "x-ms-request-id" : "40e1cb3f-801a-009e-5f3b-9be5ff000000",
+ "Date" : "Mon, 05 Oct 2020 17:17:15 GMT",
+ "x-ms-client-request-id" : "f163fd98-532b-469f-917b-aec82ad65dfd"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=jtsfileserviceasyncapitestsrestoresharemax0911127f9c038&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceasyncapitestsrestoresharemax06132475ad46c&include=deleted&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "aa24ce54-dc7c-4c69-abc7-3fed2f1552a1"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "4c9da164-b419-4b24-bca3-a0820d407a42"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "5b3be264-b01a-0071-2369-29100a000000",
- "Body" : "jtsfileserviceasyncapitestsrestoresharemax0911127f9c038jtsfileserviceasyncapitestsrestoresharemax0911127f9c038true01D629699F080F9AWed, 13 May 2020 21:01:07 GMT\"0x8D7F780C17F3935\"5120TransactionOptimized5/13/2020 9:01:07 PM$account-encryption-keyfalseWed, 13 May 2020 21:01:07 GMT1",
- "Date" : "Wed, 13 May 2020 21:01:37 GMT",
- "x-ms-client-request-id" : "aa24ce54-dc7c-4c69-abc7-3fed2f1552a1",
+ "x-ms-request-id" : "40e1cb40-801a-009e-603b-9be5ff000000",
+ "Body" : "jtsfileserviceasyncapitestsrestoresharemax06132475ad46cjtsfileserviceasyncapitestsrestoresharemax06132475ad46ctrue01D69B3B5F4319A3Mon, 05 Oct 2020 17:17:15 GMT\"0x8D8695281B9D389\"unlockedbroken5120TransactionOptimizedMon, 05 Oct 2020 17:17:15 GMT$account-encryption-keyfalseMon, 05 Oct 2020 17:17:16 GMT1",
+ "Date" : "Mon, 05 Oct 2020 17:17:15 GMT",
+ "x-ms-client-request-id" : "4c9da164-b419-4b24-bca3-a0820d407a42",
"Content-Type" : "application/xml"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax0911127f9c038?restype=share&comp=undelete",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax06132475ad46c?restype=share&comp=undelete",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "78ed0880-419a-4b9d-b651-b7c6970f352d"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "9fc617dc-50ed-4a60-aa47-cd56ca1b121f"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F780D3F2C768",
- "Last-Modified" : "Wed, 13 May 2020 21:01:37 GMT",
+ "ETag" : "0x8D86952945383FC",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:17:46 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "5b3be266-b01a-0071-2469-29100a000000",
- "Date" : "Wed, 13 May 2020 21:01:37 GMT",
- "x-ms-client-request-id" : "78ed0880-419a-4b9d-b651-b7c6970f352d"
+ "x-ms-request-id" : "40e1cb96-801a-009e-0b3b-9be5ff000000",
+ "Date" : "Mon, 05 Oct 2020 17:17:46 GMT",
+ "x-ms-client-request-id" : "9fc617dc-50ed-4a60-aa47-cd56ca1b121f"
},
"Exception" : null
}, {
"Method" : "HEAD",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax0911127f9c038/javapathfileserviceasyncapitestsrestoresharemax129471f8728",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemax06132475ad46c/javapathfileserviceasyncapitestsrestoresharemax1759497cf0a",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "892fce13-18fd-4d10-93ea-6b3bb33137c0"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f7967f5f-5ce2-4aed-9712-2ac045287f17"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "unlocked",
"x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T21:01:07.3904226Z",
+ "x-ms-file-creation-time" : "2020-10-05T17:17:16.1616860Z",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 13 May 2020 21:01:07 GMT",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:17:16 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 13 May 2020 21:01:37 GMT",
+ "Date" : "Mon, 05 Oct 2020 17:17:46 GMT",
"x-ms-server-encrypted" : "true",
"x-ms-type" : "File",
- "ETag" : "0x8D7F780C1B43E62",
+ "ETag" : "0x8D8695281F721DC",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T21:01:07.3904226Z",
+ "x-ms-file-change-time" : "2020-10-05T17:17:16.1616860Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "2",
- "x-ms-request-id" : "5b3be269-b01a-0071-2569-29100a000000",
- "x-ms-client-request-id" : "892fce13-18fd-4d10-93ea-6b3bb33137c0",
- "x-ms-file-last-write-time" : "2020-05-13T21:01:07.3904226Z",
+ "x-ms-request-id" : "40e1cb99-801a-009e-0c3b-9be5ff000000",
+ "x-ms-client-request-id" : "f7967f5f-5ce2-4aed-9712-2ac045287f17",
+ "x-ms-file-last-write-time" : "2020-10-05T17:17:16.1616860Z",
"Content-Type" : "application/octet-stream"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceasyncapitestsrestoresharemax69925b2e37a99", "jtsfileserviceasyncapitestsrestoresharemax0911127f9c038", "javapathfileserviceasyncapitestsrestoresharemax129471f8728" ]
+ "variables" : [ "fileserviceasyncapitestsrestoresharemax77868ec9db15c", "jtsfileserviceasyncapitestsrestoresharemax06132475ad46c", "javapathfileserviceasyncapitestsrestoresharemax1759497cf0a" ]
}
\ No newline at end of file
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json
index d3809d6642aa..b71fb176dc25 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json
@@ -1,148 +1,161 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0952197916edc?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "8a139f49-33c7-4670-9c2a-df21251f5c94"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f5aa3dc6-123d-4627-a935-de5102d8eae0"
+ },
+ "Response" : null,
+ "Exception" : {
+ "ClassName" : "io.netty.handler.ssl.SslHandshakeTimeoutException",
+ "ErrorMessage" : "handshake timed out after 10000ms"
+ }
+ }, {
+ "Method" : "PUT",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share",
+ "Headers" : {
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "f5aa3dc6-123d-4627-a935-de5102d8eae0"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F780806CEC4C",
- "Last-Modified" : "Wed, 13 May 2020 20:59:17 GMT",
+ "ETag" : "0x8D869526384D342",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:16:25 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "472d3cdf-601a-00db-7a69-29301c000000",
- "Date" : "Wed, 13 May 2020 20:59:17 GMT",
- "x-ms-client-request-id" : "8a139f49-33c7-4670-9c2a-df21251f5c94"
+ "x-ms-request-id" : "8a804ea9-301a-0050-753b-9b3471000000",
+ "Date" : "Mon, 05 Oct 2020 17:16:24 GMT",
+ "x-ms-client-request-id" : "f5aa3dc6-123d-4627-a935-de5102d8eae0"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0952197916edc/javapathfileserviceasyncapitestsrestoresharemin10300615e3e",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab/javapathfileserviceasyncapitestsrestoresharemin186602168c7",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "9a20cff2-f3e2-4517-9654-a9702c7de9db"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0132acfe-8a9a-4599-80f4-7b6a214d9bd7"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T20:59:18.3977539Z",
- "Last-Modified" : "Wed, 13 May 2020 20:59:18 GMT",
+ "x-ms-file-creation-time" : "2020-10-05T17:16:25.9091539Z",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:16:25 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Wed, 13 May 2020 20:59:17 GMT",
- "ETag" : "0x8D7F78080BD4843",
+ "Date" : "Mon, 05 Oct 2020 17:16:25 GMT",
+ "ETag" : "0x8D8695264033453",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T20:59:18.3977539Z",
+ "x-ms-file-change-time" : "2020-10-05T17:16:25.9091539Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "472d3ce4-601a-00db-7b69-29301c000000",
- "x-ms-client-request-id" : "9a20cff2-f3e2-4517-9654-a9702c7de9db",
- "x-ms-file-last-write-time" : "2020-05-13T20:59:18.3977539Z"
+ "x-ms-request-id" : "8a804eac-301a-0050-763b-9b3471000000",
+ "x-ms-client-request-id" : "0132acfe-8a9a-4599-80f4-7b6a214d9bd7",
+ "x-ms-file-last-write-time" : "2020-10-05T17:16:25.9091539Z"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0952197916edc?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "baaa6f92-2835-4016-8af0-4d80ede140e9"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0c5b0a70-e0ee-4ee2-9d60-94de1bbb243c"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "472d3ce5-601a-00db-7c69-29301c000000",
- "Date" : "Wed, 13 May 2020 20:59:18 GMT",
- "x-ms-client-request-id" : "baaa6f92-2835-4016-8af0-4d80ede140e9"
+ "x-ms-request-id" : "8a804eb0-301a-0050-793b-9b3471000000",
+ "Date" : "Mon, 05 Oct 2020 17:16:25 GMT",
+ "x-ms-client-request-id" : "0c5b0a70-e0ee-4ee2-9d60-94de1bbb243c"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net?prefix=jtsfileserviceasyncapitestsrestoresharemin0952197916edc&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab&include=deleted&comp=list",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "09ac03e0-84e0-4621-8c18-3986acbc3f8d"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "5989b1fb-5832-4239-aeeb-265d926a9d0b"
},
"Response" : {
"Transfer-Encoding" : "chunked",
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "472d3d13-601a-00db-0669-29301c000000",
- "Body" : "jtsfileserviceasyncapitestsrestoresharemin0952197916edcjtsfileserviceasyncapitestsrestoresharemin0952197916edctrue01D629695E093270Wed, 13 May 2020 20:59:17 GMT\"0x8D7F780806CEC4C\"5120TransactionOptimized5/13/2020 8:59:17 PM$account-encryption-keyfalseWed, 13 May 2020 20:59:18 GMT1",
- "Date" : "Wed, 13 May 2020 20:59:48 GMT",
- "x-ms-client-request-id" : "09ac03e0-84e0-4621-8c18-3986acbc3f8d",
+ "x-ms-request-id" : "8a804eb2-301a-0050-7a3b-9b3471000000",
+ "Body" : "jtsfileserviceasyncapitestsrestoresharemin0007365cea2abjtsfileserviceasyncapitestsrestoresharemin0007365cea2abtrue01D69B3B410F717BMon, 05 Oct 2020 17:16:25 GMT\"0x8D869526384D342\"unlockedbroken5120TransactionOptimizedMon, 05 Oct 2020 17:16:25 GMT$account-encryption-keyfalseMon, 05 Oct 2020 17:16:26 GMT1",
+ "Date" : "Mon, 05 Oct 2020 17:16:25 GMT",
+ "x-ms-client-request-id" : "5989b1fb-5832-4239-aeeb-265d926a9d0b",
"Content-Type" : "application/xml"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0952197916edc?restype=share&comp=undelete",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share&comp=undelete",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "bb1a75da-b4d2-40c3-b32c-faa1359f903a"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "0bf98679-6e12-4b38-8f77-dd3e5c0feeea"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D7F78093176509",
- "Last-Modified" : "Wed, 13 May 2020 20:59:49 GMT",
+ "ETag" : "0x8D86952766D51F7",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:16:56 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "472d3d16-601a-00db-0769-29301c000000",
- "Date" : "Wed, 13 May 2020 20:59:49 GMT",
- "x-ms-client-request-id" : "bb1a75da-b4d2-40c3-b32c-faa1359f903a"
+ "x-ms-request-id" : "8a804ee2-301a-0050-113b-9b3471000000",
+ "Date" : "Mon, 05 Oct 2020 17:16:55 GMT",
+ "x-ms-client-request-id" : "0bf98679-6e12-4b38-8f77-dd3e5c0feeea"
},
"Exception" : null
}, {
"Method" : "HEAD",
- "Uri" : "https://kasobolcanarytest.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0952197916edc/javapathfileserviceasyncapitestsrestoresharemin10300615e3e",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab/javapathfileserviceasyncapitestsrestoresharemin186602168c7",
"Headers" : {
- "x-ms-version" : "2019-12-12",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.5.0-beta.1 (11.0.6; Windows 10 10.0)",
- "x-ms-client-request-id" : "af4024d3-b90e-4d2f-a9e4-7c4297231373"
+ "x-ms-version" : "2020-02-10",
+ "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
+ "x-ms-client-request-id" : "86f365ae-23af-4925-92e5-542176b2d72b"
},
"Response" : {
- "x-ms-version" : "2019-12-12",
+ "x-ms-version" : "2020-02-10",
"x-ms-lease-status" : "unlocked",
"x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-05-13T20:59:18.3977539Z",
+ "x-ms-file-creation-time" : "2020-10-05T17:16:25.9091539Z",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Wed, 13 May 2020 20:59:18 GMT",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:16:25 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Wed, 13 May 2020 20:59:49 GMT",
+ "Date" : "Mon, 05 Oct 2020 17:16:56 GMT",
"x-ms-server-encrypted" : "true",
"x-ms-type" : "File",
- "ETag" : "0x8D7F78080BD4843",
+ "ETag" : "0x8D8695264033453",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-05-13T20:59:18.3977539Z",
+ "x-ms-file-change-time" : "2020-10-05T17:16:25.9091539Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "2",
- "x-ms-request-id" : "472d3d1c-601a-00db-0869-29301c000000",
- "x-ms-client-request-id" : "af4024d3-b90e-4d2f-a9e4-7c4297231373",
- "x-ms-file-last-write-time" : "2020-05-13T20:59:18.3977539Z",
+ "x-ms-request-id" : "8a804ee5-301a-0050-123b-9b3471000000",
+ "x-ms-client-request-id" : "86f365ae-23af-4925-92e5-542176b2d72b",
+ "x-ms-file-last-write-time" : "2020-10-05T17:16:25.9091539Z",
"Content-Type" : "application/octet-stream"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceasyncapitestsrestoresharemin48763e9a8eca4", "jtsfileserviceasyncapitestsrestoresharemin0952197916edc", "javapathfileserviceasyncapitestsrestoresharemin10300615e3e" ]
+ "variables" : [ "fileserviceasyncapitestsrestoresharemin40432984f1163", "jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab", "javapathfileserviceasyncapitestsrestoresharemin186602168c7" ]
}
\ No newline at end of file
From 0a28f0bc11d3f6a283a880899cf1ab728e79a12a Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Mon, 5 Oct 2020 10:34:36 -0700
Subject: [PATCH 11/12] Added full recording
---
...leServiceAsyncAPITestsRestoreShareMin.json | 105 ++++++++----------
1 file changed, 46 insertions(+), 59 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json
index b71fb176dc25..d322aac95ae9 100644
--- a/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json
+++ b/sdk/storage/azure-storage-file-share/src/test/resources/session-records/FileServiceAsyncAPITestsRestoreShareMin.json
@@ -1,74 +1,61 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0034596dde394?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f5aa3dc6-123d-4627-a935-de5102d8eae0"
- },
- "Response" : null,
- "Exception" : {
- "ClassName" : "io.netty.handler.ssl.SslHandshakeTimeoutException",
- "ErrorMessage" : "handshake timed out after 10000ms"
- }
- }, {
- "Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share",
- "Headers" : {
- "x-ms-version" : "2020-02-10",
- "User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "f5aa3dc6-123d-4627-a935-de5102d8eae0"
+ "x-ms-client-request-id" : "1da8011b-3b0f-4218-bc2b-1e54e3c2f4e6"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D869526384D342",
- "Last-Modified" : "Mon, 05 Oct 2020 17:16:25 GMT",
+ "ETag" : "0x8D86954B32FB9C2",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:32:57 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8a804ea9-301a-0050-753b-9b3471000000",
- "Date" : "Mon, 05 Oct 2020 17:16:24 GMT",
- "x-ms-client-request-id" : "f5aa3dc6-123d-4627-a935-de5102d8eae0"
+ "x-ms-request-id" : "2f2a3ea1-801a-0018-3c3d-9b2946000000",
+ "Date" : "Mon, 05 Oct 2020 17:32:57 GMT",
+ "x-ms-client-request-id" : "1da8011b-3b0f-4218-bc2b-1e54e3c2f4e6"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab/javapathfileserviceasyncapitestsrestoresharemin186602168c7",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0034596dde394/javapathfileserviceasyncapitestsrestoresharemin130576aa57b",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0132acfe-8a9a-4599-80f4-7b6a214d9bd7"
+ "x-ms-client-request-id" : "d8c7ee7d-a343-4147-9da7-70baadf08ae8"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-10-05T17:16:25.9091539Z",
- "Last-Modified" : "Mon, 05 Oct 2020 17:16:25 GMT",
+ "x-ms-file-creation-time" : "2020-10-05T17:32:58.3769077Z",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:32:58 GMT",
"retry-after" : "0",
"StatusCode" : "201",
"x-ms-request-server-encrypted" : "true",
- "Date" : "Mon, 05 Oct 2020 17:16:25 GMT",
- "ETag" : "0x8D8695264033453",
+ "Date" : "Mon, 05 Oct 2020 17:32:57 GMT",
+ "ETag" : "0x8D86954B391C3F5",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-10-05T17:16:25.9091539Z",
+ "x-ms-file-change-time" : "2020-10-05T17:32:58.3769077Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "0",
- "x-ms-request-id" : "8a804eac-301a-0050-763b-9b3471000000",
- "x-ms-client-request-id" : "0132acfe-8a9a-4599-80f4-7b6a214d9bd7",
- "x-ms-file-last-write-time" : "2020-10-05T17:16:25.9091539Z"
+ "x-ms-request-id" : "2f2a3ea4-801a-0018-3d3d-9b2946000000",
+ "x-ms-client-request-id" : "d8c7ee7d-a343-4147-9da7-70baadf08ae8",
+ "x-ms-file-last-write-time" : "2020-10-05T17:32:58.3769077Z"
},
"Exception" : null
}, {
"Method" : "DELETE",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0034596dde394?restype=share",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0c5b0a70-e0ee-4ee2-9d60-94de1bbb243c"
+ "x-ms-client-request-id" : "12c424ea-49ea-4980-8c63-ce87e6ca04ae"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -76,18 +63,18 @@
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "202",
- "x-ms-request-id" : "8a804eb0-301a-0050-793b-9b3471000000",
- "Date" : "Mon, 05 Oct 2020 17:16:25 GMT",
- "x-ms-client-request-id" : "0c5b0a70-e0ee-4ee2-9d60-94de1bbb243c"
+ "x-ms-request-id" : "2f2a3ea5-801a-0018-3e3d-9b2946000000",
+ "Date" : "Mon, 05 Oct 2020 17:32:57 GMT",
+ "x-ms-client-request-id" : "12c424ea-49ea-4980-8c63-ce87e6ca04ae"
},
"Exception" : null
}, {
"Method" : "GET",
- "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab&include=deleted&comp=list",
+ "Uri" : "https://REDACTED.file.core.windows.net?prefix=jtsfileserviceasyncapitestsrestoresharemin0034596dde394&include=deleted&comp=list",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "5989b1fb-5832-4239-aeeb-265d926a9d0b"
+ "x-ms-client-request-id" : "2d8e90f8-f77c-4893-85c0-c155535c16a2"
},
"Response" : {
"Transfer-Encoding" : "chunked",
@@ -95,41 +82,41 @@
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"retry-after" : "0",
"StatusCode" : "200",
- "x-ms-request-id" : "8a804eb2-301a-0050-7a3b-9b3471000000",
- "Body" : "jtsfileserviceasyncapitestsrestoresharemin0007365cea2abjtsfileserviceasyncapitestsrestoresharemin0007365cea2abtrue01D69B3B410F717BMon, 05 Oct 2020 17:16:25 GMT\"0x8D869526384D342\"unlockedbroken5120TransactionOptimizedMon, 05 Oct 2020 17:16:25 GMT$account-encryption-keyfalseMon, 05 Oct 2020 17:16:26 GMT1",
- "Date" : "Mon, 05 Oct 2020 17:16:25 GMT",
- "x-ms-client-request-id" : "5989b1fb-5832-4239-aeeb-265d926a9d0b",
+ "x-ms-request-id" : "2f2a3ea6-801a-0018-3f3d-9b2946000000",
+ "Body" : "jtsfileserviceasyncapitestsrestoresharemin0034596dde394jtsfileserviceasyncapitestsrestoresharemin0034596dde394true01D69B3D90B90F3FMon, 05 Oct 2020 17:32:57 GMT\"0x8D86954B32FB9C2\"unlockedbroken5120TransactionOptimizedMon, 05 Oct 2020 17:32:57 GMT$account-encryption-keyfalseMon, 05 Oct 2020 17:32:58 GMT1",
+ "Date" : "Mon, 05 Oct 2020 17:32:57 GMT",
+ "x-ms-client-request-id" : "2d8e90f8-f77c-4893-85c0-c155535c16a2",
"Content-Type" : "application/xml"
},
"Exception" : null
}, {
"Method" : "PUT",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab?restype=share&comp=undelete",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0034596dde394?restype=share&comp=undelete",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "0bf98679-6e12-4b38-8f77-dd3e5c0feeea"
+ "x-ms-client-request-id" : "81a03284-4cca-4768-865f-11a3caf506b0"
},
"Response" : {
"x-ms-version" : "2020-02-10",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "ETag" : "0x8D86952766D51F7",
- "Last-Modified" : "Mon, 05 Oct 2020 17:16:56 GMT",
+ "ETag" : "0x8D86954C5D7E2DA",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:33:29 GMT",
"retry-after" : "0",
"Content-Length" : "0",
"StatusCode" : "201",
- "x-ms-request-id" : "8a804ee2-301a-0050-113b-9b3471000000",
- "Date" : "Mon, 05 Oct 2020 17:16:55 GMT",
- "x-ms-client-request-id" : "0bf98679-6e12-4b38-8f77-dd3e5c0feeea"
+ "x-ms-request-id" : "2f2a3ec7-801a-0018-483d-9b2946000000",
+ "Date" : "Mon, 05 Oct 2020 17:33:28 GMT",
+ "x-ms-client-request-id" : "81a03284-4cca-4768-865f-11a3caf506b0"
},
"Exception" : null
}, {
"Method" : "HEAD",
- "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab/javapathfileserviceasyncapitestsrestoresharemin186602168c7",
+ "Uri" : "https://REDACTED.file.core.windows.net/jtsfileserviceasyncapitestsrestoresharemin0034596dde394/javapathfileserviceasyncapitestsrestoresharemin130576aa57b",
"Headers" : {
"x-ms-version" : "2020-02-10",
"User-Agent" : "azsdk-java-azure-storage-file-share/12.7.0-beta.2 (11.0.7; Windows 10; 10.0)",
- "x-ms-client-request-id" : "86f365ae-23af-4925-92e5-542176b2d72b"
+ "x-ms-client-request-id" : "83c7207c-fde2-45f0-a2dc-27d1f02c1f9d"
},
"Response" : {
"x-ms-version" : "2020-02-10",
@@ -137,25 +124,25 @@
"x-ms-file-permission-key" : "9064745170435706323*15378836105569756509",
"x-ms-file-id" : "13835128424026341376",
"Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-file-creation-time" : "2020-10-05T17:16:25.9091539Z",
+ "x-ms-file-creation-time" : "2020-10-05T17:32:58.3769077Z",
"x-ms-lease-state" : "available",
- "Last-Modified" : "Mon, 05 Oct 2020 17:16:25 GMT",
+ "Last-Modified" : "Mon, 05 Oct 2020 17:32:58 GMT",
"retry-after" : "0",
"StatusCode" : "200",
- "Date" : "Mon, 05 Oct 2020 17:16:56 GMT",
+ "Date" : "Mon, 05 Oct 2020 17:33:28 GMT",
"x-ms-server-encrypted" : "true",
"x-ms-type" : "File",
- "ETag" : "0x8D8695264033453",
+ "ETag" : "0x8D86954B391C3F5",
"x-ms-file-attributes" : "Archive",
- "x-ms-file-change-time" : "2020-10-05T17:16:25.9091539Z",
+ "x-ms-file-change-time" : "2020-10-05T17:32:58.3769077Z",
"x-ms-file-parent-id" : "0",
"Content-Length" : "2",
- "x-ms-request-id" : "8a804ee5-301a-0050-123b-9b3471000000",
- "x-ms-client-request-id" : "86f365ae-23af-4925-92e5-542176b2d72b",
- "x-ms-file-last-write-time" : "2020-10-05T17:16:25.9091539Z",
+ "x-ms-request-id" : "2f2a3eca-801a-0018-493d-9b2946000000",
+ "x-ms-client-request-id" : "83c7207c-fde2-45f0-a2dc-27d1f02c1f9d",
+ "x-ms-file-last-write-time" : "2020-10-05T17:32:58.3769077Z",
"Content-Type" : "application/octet-stream"
},
"Exception" : null
} ],
- "variables" : [ "fileserviceasyncapitestsrestoresharemin40432984f1163", "jtsfileserviceasyncapitestsrestoresharemin0007365cea2ab", "javapathfileserviceasyncapitestsrestoresharemin186602168c7" ]
+ "variables" : [ "fileserviceasyncapitestsrestoresharemin199619db1dab6", "jtsfileserviceasyncapitestsrestoresharemin0034596dde394", "javapathfileserviceasyncapitestsrestoresharemin130576aa57b" ]
}
\ No newline at end of file
From a4e9e94d2b3902fed9c09888042019d9141479e8 Mon Sep 17 00:00:00 2001
From: Gauri Prasad
Date: Mon, 5 Oct 2020 10:58:37 -0700
Subject: [PATCH 12/12] Lambda indentation
---
.../storage/file/share/ShareAsyncJavaDocCodeSamples.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
index 9ae13b950cf4..7b70ae5142e5 100644
--- a/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
+++ b/sdk/storage/azure-storage-file-share/src/samples/java/com/azure/storage/file/share/ShareAsyncJavaDocCodeSamples.java
@@ -154,8 +154,8 @@ public void createWithResponseOptions() {
.setAccessTier(ShareAccessTier.HOT)).subscribe(
response -> System.out.printf("Creating the share completed with status code %d",
response.getStatusCode()),
- error -> System.err.print(error.toString()),
- () -> System.out.println("Complete creating the share!")
+ error -> System.err.print(error.toString()),
+ () -> System.out.println("Complete creating the share!")
);
// END: com.azure.storage.file.share.ShareAsyncClient.createWithResponse#ShareCreateOptions
}