diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json
index eff211f9ac50..d756bb794dac 100644
--- a/sdk/storage/storage-blob-changefeed/package.json
+++ b/sdk/storage/storage-blob-changefeed/package.json
@@ -95,7 +95,7 @@
]
},
"dependencies": {
- "@azure/storage-blob": "^12.3.0-prerelease.1",
+ "@azure/storage-blob": "^12.3.0-beta.1",
"@azure/abort-controller": "^1.0.0",
"@azure/core-http": "^1.1.6",
"@azure/core-lro": "^1.0.2",
diff --git a/sdk/storage/storage-blob/CHANGELOG.md b/sdk/storage/storage-blob/CHANGELOG.md
index 8ca231003544..611d56554142 100644
--- a/sdk/storage/storage-blob/CHANGELOG.md
+++ b/sdk/storage/storage-blob/CHANGELOG.md
@@ -1,6 +1,6 @@
# Release History
-## 12.3.0-prerelease.1 (2020-10-13)
+## 12.3.0-beta.1 (2020-10-13)
- Updated Azure Storage Service API version to 2020-02-10.
- Added support for Blob Last Access Time tracking.
diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json
index b297306707d4..97071d20ba2d 100644
--- a/sdk/storage/storage-blob/package.json
+++ b/sdk/storage/storage-blob/package.json
@@ -1,7 +1,7 @@
{
"name": "@azure/storage-blob",
"sdk-type": "client",
- "version": "12.3.0-prerelease.1",
+ "version": "12.3.0-beta.1",
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
"main": "./dist/index.js",
"module": "./dist-esm/storage-blob/src/index.js",
@@ -32,7 +32,7 @@
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
- "build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-prerelease.1 --use=@microsoft.azure/autorest.typescript@5.0.1",
+ "build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-beta.1 --use=@microsoft.azure/autorest.typescript@5.0.1",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && npm run build:es6 && cross-env ONLY_NODE=true rollup -c 2>&1 && npm run build:prep-samples",
diff --git a/sdk/storage/storage-blob/src/BlobServiceClient.ts b/sdk/storage/storage-blob/src/BlobServiceClient.ts
index be92ba62bcde..4b23c429c95d 100644
--- a/sdk/storage/storage-blob/src/BlobServiceClient.ts
+++ b/sdk/storage/storage-blob/src/BlobServiceClient.ts
@@ -1162,7 +1162,7 @@ export class BlobServiceClient extends StorageClient {
// AsyncIterableIterator to iterate over containers
const listSegmentOptions: ServiceListContainersSegmentOptions = {
...options,
- include
+ ...(include.length > 0 ? { include } : {})
};
const iter = this.listItems(listSegmentOptions);
diff --git a/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts b/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts
index 5628fb00a058..6710606071bb 100644
--- a/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts
+++ b/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts
@@ -11,7 +11,7 @@
import * as coreHttp from "@azure/core-http";
const packageName = "azure-storage-blob";
-const packageVersion = "12.3.0-prerelease.1";
+const packageVersion = "12.3.0-beta.1";
export class StorageClientContext extends coreHttp.ServiceClient {
url: string;
diff --git a/sdk/storage/storage-blob/src/utils/constants.ts b/sdk/storage/storage-blob/src/utils/constants.ts
index 4fe297629113..e20f8c57f035 100644
--- a/sdk/storage/storage-blob/src/utils/constants.ts
+++ b/sdk/storage/storage-blob/src/utils/constants.ts
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-export const SDK_VERSION: string = "12.3.0-prerelease.1";
+export const SDK_VERSION: string = "12.3.0-beta.1";
export const SERVICE_VERSION: string = "2020-02-10";
export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB
diff --git a/sdk/storage/storage-file-datalake/CHANGELOG.md b/sdk/storage/storage-file-datalake/CHANGELOG.md
index 5611c25a0c4d..0dd39efe0446 100644
--- a/sdk/storage/storage-file-datalake/CHANGELOG.md
+++ b/sdk/storage/storage-file-datalake/CHANGELOG.md
@@ -1,6 +1,6 @@
# Release History
-## 12.2.0-prerelease.1 (2020-10-13)
+## 12.2.0-beta.1 (2020-10-13)
- Updated Azure Storage Service API version to 2020-02-10.
- Added support for Directory SAS.
diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json
index 481ac4f4b045..125daafa1a06 100644
--- a/sdk/storage/storage-file-datalake/package.json
+++ b/sdk/storage/storage-file-datalake/package.json
@@ -1,6 +1,6 @@
{
"name": "@azure/storage-file-datalake",
- "version": "12.2.0-prerelease.1",
+ "version": "12.2.0-beta.1",
"description": "Microsoft Azure Storage SDK for JavaScript - DataLake",
"sdk-type": "client",
"main": "./dist/index.js",
@@ -102,7 +102,7 @@
"@azure/core-paging": "^1.1.1",
"@azure/core-tracing": "1.0.0-preview.9",
"@azure/logger": "^1.0.0",
- "@azure/storage-blob": "^12.3.0-prerelease.1",
+ "@azure/storage-blob": "^12.3.0-beta.1",
"events": "^3.0.0",
"tslib": "^2.0.0"
},
diff --git a/sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_for_directory_should_work_for_permissions_m_e_o_p.js b/sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_for_directory_should_work_for_permissions_m_e_o_p.js
similarity index 100%
rename from sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_for_directory_should_work_for_permissions_m_e_o_p.js
rename to sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_for_directory_should_work_for_permissions_m_e_o_p.js
diff --git a/sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_agentobjectid_preauthorizedagentobjectid.js b/sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_agentobjectid_preauthorizedagentobjectid.js
similarity index 100%
rename from sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_agentobjectid_preauthorizedagentobjectid.js
rename to sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_agentobjectid_preauthorizedagentobjectid.js
diff --git a/sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_correlationid.js b/sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_correlationid.js
similarity index 100%
rename from sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_correlationid.js
rename to sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_delegation_sas/recording_generateuserdelegationsas_should_work_with_correlationid.js
diff --git a/sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_could_calculate_directory_depth.js b/sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_could_calculate_directory_depth.js
similarity index 100%
rename from sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_could_calculate_directory_depth.js
rename to sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_could_calculate_directory_depth.js
diff --git a/sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_directory_should_work_for_permissions_m_e_o_p.js b/sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_directory_should_work_for_permissions_m_e_o_p.js
similarity index 100%
rename from sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_directory_should_work_for_permissions_m_e_o_p.js
rename to sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_directory_should_work_for_permissions_m_e_o_p.js
diff --git a/sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_file_should_work_for_permissions_m_e_o_p.js b/sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_file_should_work_for_permissions_m_e_o_p.js
similarity index 100%
rename from sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_file_should_work_for_permissions_m_e_o_p.js
rename to sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_file_should_work_for_permissions_m_e_o_p.js
diff --git a/sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_filesystem_should_work_for_permissions_m_e_o_p.js b/sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_filesystem_should_work_for_permissions_m_e_o_p.js
similarity index 100%
rename from sdk/storage/storage-file-datalake/recordings/node/shared_access_signature_sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_filesystem_should_work_for_permissions_m_e_o_p.js
rename to sdk/storage/storage-file-datalake/recordings/node/sas_generation_nodejs_only_for_directory_sas/recording_generatedatalakesasqueryparameters_for_filesystem_should_work_for_permissions_m_e_o_p.js
diff --git a/sdk/storage/storage-file-datalake/src/utils/constants.ts b/sdk/storage/storage-file-datalake/src/utils/constants.ts
index bcfc48e7e282..b771928239f0 100644
--- a/sdk/storage/storage-file-datalake/src/utils/constants.ts
+++ b/sdk/storage/storage-file-datalake/src/utils/constants.ts
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-export const SDK_VERSION: string = "12.2.0-prerelease.1";
+export const SDK_VERSION: string = "12.2.0-beta.1";
export const SERVICE_VERSION: string = "2020-02-10";
export const KB: number = 1024;
diff --git a/sdk/storage/storage-file-datalake/test/node/sas.spec.ts b/sdk/storage/storage-file-datalake/test/node/sas.spec.ts
index 548f61031b34..eb7dd7f59264 100644
--- a/sdk/storage/storage-file-datalake/test/node/sas.spec.ts
+++ b/sdk/storage/storage-file-datalake/test/node/sas.spec.ts
@@ -673,7 +673,7 @@ describe("Shared Access Signature (SAS) generation Node.js only", () => {
});
});
-describe("Shared Access Signature (SAS) generation Node.js only for directory SAS", () => {
+describe("SAS generation Node.js only for directory SAS", () => {
let recorder: Recorder;
let serviceClient: DataLakeServiceClient;
let fileSystemClient: DataLakeFileSystemClient;
@@ -860,7 +860,7 @@ describe("Shared Access Signature (SAS) generation Node.js only for directory SA
});
});
-describe("Shared Access Signature (SAS) generation Node.js only for delegation SAS", () => {
+describe("SAS generation Node.js only for delegation SAS", () => {
let recorder: Recorder;
let oauthServiceClient: DataLakeServiceClient;
let fileSystemClient: DataLakeFileSystemClient;
diff --git a/sdk/storage/storage-file-share/CHANGELOG.md b/sdk/storage/storage-file-share/CHANGELOG.md
index f519ad49d868..1c3ed0249b17 100644
--- a/sdk/storage/storage-file-share/CHANGELOG.md
+++ b/sdk/storage/storage-file-share/CHANGELOG.md
@@ -1,6 +1,6 @@
# Release History
-## 12.3.0-prerelease.1 (2020-10-13)
+## 12.3.0-beta.1 (2020-10-13)
- Updated Azure Storage Service API version to 2020-02-10.
- Added support for SMB Multichannel.
diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json
index 5007e1631ca8..5468ed856b81 100644
--- a/sdk/storage/storage-file-share/package.json
+++ b/sdk/storage/storage-file-share/package.json
@@ -1,7 +1,7 @@
{
"name": "@azure/storage-file-share",
"sdk-type": "client",
- "version": "12.3.0-prerelease.1",
+ "version": "12.3.0-beta.1",
"description": "Microsoft Azure Storage SDK for JavaScript - File",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
@@ -28,7 +28,7 @@
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
- "build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-prerelease.1 --use=@microsoft.azure/autorest.typescript@5.0.1",
+ "build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-beta.1 --use=@microsoft.azure/autorest.typescript@5.0.1",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && npm run build:es6 && cross-env ONLY_NODE=true rollup -c 2>&1 && npm run build:prep-samples",
diff --git a/sdk/storage/storage-file-share/recordings/browsers/fileserviceclient/recording_setproperties.json b/sdk/storage/storage-file-share/recordings/browsers/fileserviceclient/recording_setproperties.json
index 003c95b672aa..90874400a985 100644
--- a/sdk/storage/storage-file-share/recordings/browsers/fileserviceclient/recording_setproperties.json
+++ b/sdk/storage/storage-file-share/recordings/browsers/fileserviceclient/recording_setproperties.json
@@ -4,61 +4,65 @@
"method": "GET",
"url": "https://fakestorageaccount.file.core.windows.net/",
"query": {
- "comp": "properties",
- "restype": "service"
+ "restype": "service",
+ "comp": "properties"
},
"requestBody": null,
"status": 200,
- "response": "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT***86400GETexample.com**8888GETexample.com**8888GETexample.com**8888GETexample.com**8888",
+ "response": "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH***86400GETexample.com**8888GETexample.com**8888false",
"responseHeaders": {
- "date": "Wed, 11 Sep 2019 02:24:13 GMT",
+ "content-type": "application/xml",
+ "date": "Sat, 10 Oct 2020 04:21:47 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"transfer-encoding": "chunked",
- "content-type": "application/xml",
- "x-ms-request-id": "252c6c58-d01a-0019-2948-684a94000000",
- "x-ms-version": "2019-02-02",
- "x-ms-client-request-id": "b5abf3c1-f876-4d70-8ecc-fa470fb30819"
+ "x-ms-client-request-id": "77fc52a0-95ca-466a-9c11-23b07e099c1b",
+ "x-ms-request-id": "776634be-901a-004c-3dbc-9efe96000000",
+ "x-ms-version": "2020-02-10"
}
},
{
"method": "PUT",
"url": "https://fakestorageaccount.file.core.windows.net/",
"query": {
- "comp": "properties",
- "restype": "service"
+ "restype": "service",
+ "comp": "properties"
},
- "requestBody": "1.0truetruetrue31.0truetruetrue4*DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT**86400example.comGET**8888example.comGET**8888example.comGET**8888example.comGET**8888",
+ "requestBody": "1.0truetruetrue31.0truetruetrue4*DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH**86400example.comGET**8888example.comGET**8888example.comGET**8888",
"status": 202,
"response": "",
"responseHeaders": {
- "date": "Wed, 11 Sep 2019 02:24:14 GMT",
+ "content-length": "0",
+ "date": "Sat, 10 Oct 2020 04:21:48 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-request-id": "252c6c5a-d01a-0019-2b48-684a94000000",
- "x-ms-version": "2019-02-02",
- "x-ms-client-request-id": "7035c756-35bf-4298-b2a6-deee03355e64",
- "content-length": "0"
+ "x-ms-client-request-id": "b072c9be-86c6-4510-bc52-5a909cf83c77",
+ "x-ms-request-id": "776634c2-901a-004c-3fbc-9efe96000000",
+ "x-ms-version": "2020-02-10"
}
},
{
"method": "GET",
"url": "https://fakestorageaccount.file.core.windows.net/",
"query": {
- "comp": "properties",
- "restype": "service"
+ "restype": "service",
+ "comp": "properties"
},
"requestBody": null,
"status": 200,
- "response": "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT***86400GETexample.com**8888GETexample.com**8888GETexample.com**8888GETexample.com**8888",
+ "response": "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH***86400GETexample.com**8888GETexample.com**8888GETexample.com**8888false",
"responseHeaders": {
- "date": "Wed, 11 Sep 2019 02:24:19 GMT",
+ "content-type": "application/xml",
+ "date": "Sat, 10 Oct 2020 04:21:54 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"transfer-encoding": "chunked",
- "content-type": "application/xml",
- "x-ms-request-id": "252c6c67-d01a-0019-2f48-684a94000000",
- "x-ms-version": "2019-02-02",
- "x-ms-client-request-id": "f7582cfb-f18b-4839-9364-7f6dfe00c36a"
+ "x-ms-client-request-id": "e4a395c3-1868-446c-86e3-937cfd28e28c",
+ "x-ms-request-id": "776634d0-901a-004c-44bc-9efe96000000",
+ "x-ms-version": "2020-02-10"
}
}
],
- "uniqueTestInfo": {}
+ "uniqueTestInfo": {
+ "uniqueName": {},
+ "newDate": {}
+ },
+ "hash": "7d1b87f258355828270f126918250abb"
}
\ No newline at end of file
diff --git a/sdk/storage/storage-file-share/recordings/browsers/leaseclient_for_share/recording_acquirelease_for_snapshot.json b/sdk/storage/storage-file-share/recordings/browsers/leaseclient_for_share/recording_acquirelease_for_snapshot.json
index 3051d8245f1e..ae036b6c05ed 100644
--- a/sdk/storage/storage-file-share/recordings/browsers/leaseclient_for_share/recording_acquirelease_for_snapshot.json
+++ b/sdk/storage/storage-file-share/recordings/browsers/leaseclient_for_share/recording_acquirelease_for_snapshot.json
@@ -2,7 +2,7 @@
"recordings": [
{
"method": "PUT",
- "url": "https://fakestorageaccount.file.core.windows.net/share160121919772707416",
+ "url": "https://fakestorageaccount.file.core.windows.net/share160230371435605703",
"query": {
"restype": "share"
},
@@ -11,18 +11,18 @@
"response": "",
"responseHeaders": {
"content-length": "0",
- "date": "Sun, 27 Sep 2020 15:06:37 GMT",
- "etag": "\"0x8D862F6EEDB15F8\"",
- "last-modified": "Sun, 27 Sep 2020 15:06:38 GMT",
+ "date": "Sat, 10 Oct 2020 04:21:54 GMT",
+ "etag": "\"0x8D86CD405269335\"",
+ "last-modified": "Sat, 10 Oct 2020 04:21:54 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-client-request-id": "bb9ce5c1-e2dc-45d4-8875-17161012a8db",
- "x-ms-request-id": "0ce68bae-701a-0026-5adf-9426be000000",
+ "x-ms-client-request-id": "ec88425d-60fb-47e6-b1ef-e3cc46570b57",
+ "x-ms-request-id": "776634d3-901a-004c-46bc-9efe96000000",
"x-ms-version": "2020-02-10"
}
},
{
"method": "PUT",
- "url": "https://fakestorageaccount.file.core.windows.net/share160121919772707416",
+ "url": "https://fakestorageaccount.file.core.windows.net/share160230371435605703",
"query": {
"restype": "share",
"comp": "snapshot"
@@ -32,21 +32,21 @@
"response": "",
"responseHeaders": {
"content-length": "0",
- "date": "Sun, 27 Sep 2020 15:06:38 GMT",
- "etag": "\"0x8D862F6EEDB15F8\"",
- "last-modified": "Sun, 27 Sep 2020 15:06:38 GMT",
+ "date": "Sat, 10 Oct 2020 04:21:55 GMT",
+ "etag": "\"0x8D86CD405269335\"",
+ "last-modified": "Sat, 10 Oct 2020 04:21:54 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-client-request-id": "48a681f1-8333-4fe3-ae5a-5674b78890ea",
- "x-ms-request-id": "0ce68bb2-701a-0026-5cdf-9426be000000",
- "x-ms-snapshot": "2020-09-27T15:06:38.0000000Z",
+ "x-ms-client-request-id": "628f1ce3-128e-48f8-b6eb-fc5b04cedee1",
+ "x-ms-request-id": "776634d7-901a-004c-48bc-9efe96000000",
+ "x-ms-snapshot": "2020-10-10T04:21:55.0000000Z",
"x-ms-version": "2020-02-10"
}
},
{
"method": "PUT",
- "url": "https://fakestorageaccount.file.core.windows.net/share160121919772707416",
+ "url": "https://fakestorageaccount.file.core.windows.net/share160230371435605703",
"query": {
- "sharesnapshot": "2020-09-27T15:06:38.0000000Z",
+ "sharesnapshot": "2020-10-10T04:21:55.0000000Z",
"comp": "lease",
"restype": "share"
},
@@ -55,21 +55,21 @@
"response": "",
"responseHeaders": {
"content-length": "0",
- "date": "Sun, 27 Sep 2020 15:06:38 GMT",
- "etag": "\"0x8D862F6EEDB15F8\"",
- "last-modified": "Sun, 27 Sep 2020 15:06:38 GMT",
+ "date": "Sat, 10 Oct 2020 04:21:55 GMT",
+ "etag": "\"0x8D86CD405269335\"",
+ "last-modified": "Sat, 10 Oct 2020 04:21:54 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-client-request-id": "c87e9430-8bde-45ff-9bff-4ec2520ab3c1",
+ "x-ms-client-request-id": "656f18e6-d7d1-456b-a5a0-de6e947e36eb",
"x-ms-lease-id": "e9890485-bf47-4d9a-b3d0-aceb18506124",
- "x-ms-request-id": "0ce68bb5-701a-0026-5fdf-9426be000000",
+ "x-ms-request-id": "776634da-901a-004c-4abc-9efe96000000",
"x-ms-version": "2020-02-10"
}
},
{
"method": "GET",
- "url": "https://fakestorageaccount.file.core.windows.net/share160121919772707416",
+ "url": "https://fakestorageaccount.file.core.windows.net/share160230371435605703",
"query": {
- "sharesnapshot": "2020-09-27T15:06:38.0000000Z",
+ "sharesnapshot": "2020-10-10T04:21:55.0000000Z",
"restype": "share"
},
"requestBody": null,
@@ -77,26 +77,26 @@
"response": "",
"responseHeaders": {
"content-length": "0",
- "date": "Sun, 27 Sep 2020 15:06:39 GMT",
- "etag": "\"0x8D862F6EEDB15F8\"",
- "last-modified": "Sun, 27 Sep 2020 15:06:38 GMT",
+ "date": "Sat, 10 Oct 2020 04:21:56 GMT",
+ "etag": "\"0x8D86CD405269335\"",
+ "last-modified": "Sat, 10 Oct 2020 04:21:54 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-access-tier": "TransactionOptimized",
- "x-ms-access-tier-change-time": "Sun, 27 Sep 2020 15:06:38 GMT",
- "x-ms-client-request-id": "1fd5806c-25d7-433e-b5b7-7f62050c5d54",
+ "x-ms-access-tier-change-time": "Sat, 10 Oct 2020 04:21:54 GMT",
+ "x-ms-client-request-id": "e1cc8bb9-9aee-4379-99bf-223e27a15fe6",
"x-ms-has-immutability-policy": "false",
"x-ms-has-legal-hold": "false",
"x-ms-lease-duration": "infinite",
"x-ms-lease-state": "leased",
"x-ms-lease-status": "locked",
- "x-ms-request-id": "0ce68bb7-701a-0026-61df-9426be000000",
+ "x-ms-request-id": "776634dd-901a-004c-4cbc-9efe96000000",
"x-ms-share-quota": "5120",
"x-ms-version": "2020-02-10"
}
},
{
"method": "GET",
- "url": "https://fakestorageaccount.file.core.windows.net/share160121919772707416",
+ "url": "https://fakestorageaccount.file.core.windows.net/share160230371435605703",
"query": {
"restype": "share"
},
@@ -105,25 +105,48 @@
"response": "",
"responseHeaders": {
"content-length": "0",
- "date": "Sun, 27 Sep 2020 15:06:40 GMT",
- "etag": "\"0x8D862F6EEDB15F8\"",
- "last-modified": "Sun, 27 Sep 2020 15:06:38 GMT",
+ "date": "Sat, 10 Oct 2020 04:21:57 GMT",
+ "etag": "\"0x8D86CD405269335\"",
+ "last-modified": "Sat, 10 Oct 2020 04:21:54 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-access-tier": "TransactionOptimized",
- "x-ms-access-tier-change-time": "Sun, 27 Sep 2020 15:06:38 GMT",
- "x-ms-client-request-id": "a9d29e0c-eeb3-4635-883c-1a6e93df3a02",
+ "x-ms-access-tier-change-time": "Sat, 10 Oct 2020 04:21:54 GMT",
+ "x-ms-client-request-id": "9f99d919-3f2a-4011-b2de-31e9b92451a2",
"x-ms-has-immutability-policy": "false",
"x-ms-has-legal-hold": "false",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
- "x-ms-request-id": "0ce68bbb-701a-0026-63df-9426be000000",
+ "x-ms-request-id": "776634e0-901a-004c-4ebc-9efe96000000",
"x-ms-share-quota": "5120",
"x-ms-version": "2020-02-10"
}
},
+ {
+ "method": "PUT",
+ "url": "https://fakestorageaccount.file.core.windows.net/share160230371435605703",
+ "query": {
+ "sharesnapshot": "2020-10-10T04:21:55.0000000Z",
+ "comp": "lease",
+ "restype": "share"
+ },
+ "requestBody": null,
+ "status": 200,
+ "response": "",
+ "responseHeaders": {
+ "content-length": "0",
+ "date": "Sat, 10 Oct 2020 04:21:57 GMT",
+ "etag": "\"0x8D86CD405269335\"",
+ "last-modified": "Sat, 10 Oct 2020 04:21:54 GMT",
+ "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
+ "x-ms-client-request-id": "7a2c6622-bf65-4cef-babd-2d1c886f51c4",
+ "x-ms-lease-time": "0",
+ "x-ms-request-id": "776634e5-901a-004c-51bc-9efe96000000",
+ "x-ms-version": "2020-02-10"
+ }
+ },
{
"method": "DELETE",
- "url": "https://fakestorageaccount.file.core.windows.net/share160121919772707416",
+ "url": "https://fakestorageaccount.file.core.windows.net/share160230371435605703",
"query": {
"restype": "share"
},
@@ -132,19 +155,19 @@
"response": "",
"responseHeaders": {
"content-length": "0",
- "date": "Sun, 27 Sep 2020 15:06:40 GMT",
+ "date": "Sat, 10 Oct 2020 04:21:58 GMT",
"server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0",
- "x-ms-client-request-id": "842dfb16-9844-4777-a9c1-f452d8029413",
- "x-ms-request-id": "0ce68bbe-701a-0026-65df-9426be000000",
+ "x-ms-client-request-id": "bd29e983-3a68-4922-96f0-ed45fcd83d26",
+ "x-ms-request-id": "776634e7-901a-004c-53bc-9efe96000000",
"x-ms-version": "2020-02-10"
}
}
],
"uniqueTestInfo": {
"uniqueName": {
- "share": "share160121919772707416"
+ "share": "share160230371435605703"
},
"newDate": {}
},
- "hash": "1aaef4f799559d32403e139e0fb00404"
+ "hash": "8a1b842ede74dce1f9477edc6371f29e"
}
\ No newline at end of file
diff --git a/sdk/storage/storage-file-share/recordings/node/fileserviceclient/recording_setproperties.js b/sdk/storage/storage-file-share/recordings/node/fileserviceclient/recording_setproperties.js
index 6a057e3ca4c5..1e24d88af66f 100644
--- a/sdk/storage/storage-file-share/recordings/node/fileserviceclient/recording_setproperties.js
+++ b/sdk/storage/storage-file-share/recordings/node/fileserviceclient/recording_setproperties.js
@@ -1,66 +1,71 @@
let nock = require('nock');
-module.exports.testInfo = {}
+module.exports.hash = "f5ef0646640da888d3d19fc431bf8367";
+
+module.exports.testInfo = {"uniqueName":{},"newDate":{}}
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
.get('/')
.query(true)
- .reply(200, "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT***86400GETexample.com**8888GETexample.com**8888GETexample.com**8888GETexample.com**8888", [ 'Transfer-Encoding',
+ .reply(200, "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH***86400GETexample.com**8888false", [
+ 'Transfer-Encoding',
'chunked',
'Content-Type',
'application/xml',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- 'bf44a376-d01a-0056-3b47-688e8c000000',
+ 'e7871bc5-d01a-005d-57bc-9e6422000000',
'x-ms-client-request-id',
- '9b4295ab-3e8b-4149-be2b-6412f2dc9834',
+ 'a2bb75da-8683-4ecb-8519-00afab2231f8',
'x-ms-version',
- '2019-02-02',
+ '2020-02-10',
'Access-Control-Expose-Headers',
'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Length,Date,Transfer-Encoding',
'Access-Control-Allow-Origin',
'*',
'Date',
- 'Wed, 11 Sep 2019 02:20:34 GMT' ]);
-
+ 'Sat, 10 Oct 2020 04:20:42 GMT'
+]);
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
- .put('/', "1.0truetruetrue31.0truetruetrue4*DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT**86400example.comGET**8888example.comGET**8888example.comGET**8888example.comGET**8888")
+ .put('/', "1.0truetruetrue31.0truetruetrue4*DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH**86400example.comGET**8888example.comGET**8888")
.query(true)
- .reply(202, "", [ 'Content-Length',
+ .reply(202, "", [
+ 'Content-Length',
'0',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '4b3374e7-001a-0054-7747-688c76000000',
+ 'e7871bc7-d01a-005d-58bc-9e6422000000',
'x-ms-client-request-id',
- '36817a18-c47e-42f4-8184-c14480e934dd',
+ '4eaeb91e-e5bf-4ece-8d6b-98da1a9ea34e',
'x-ms-version',
- '2019-02-02',
+ '2020-02-10',
'Date',
- 'Wed, 11 Sep 2019 02:20:35 GMT' ]);
-
+ 'Sat, 10 Oct 2020 04:20:43 GMT'
+]);
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
.get('/')
.query(true)
- .reply(200, "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT***86400GETexample.com**8888GETexample.com**8888GETexample.com**8888GETexample.com**8888", [ 'Transfer-Encoding',
+ .reply(200, "1.0truetruetrue31.0truetruetrue4DELETE,GET,HEAD,MERGE,POST,OPTIONS,PUT,PATCH***86400GETexample.com**8888GETexample.com**8888false", [
+ 'Transfer-Encoding',
'chunked',
'Content-Type',
'application/xml',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '7b569903-001a-001b-4147-68486e000000',
+ 'e7871bd8-d01a-005d-5cbc-9e6422000000',
'x-ms-client-request-id',
- '4261d8cc-6a46-441f-b89f-65e4216317e9',
+ '83bda732-be36-442e-9015-f84e5b7863af',
'x-ms-version',
- '2019-02-02',
+ '2020-02-10',
'Access-Control-Expose-Headers',
'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Length,Date,Transfer-Encoding',
'Access-Control-Allow-Origin',
'*',
'Date',
- 'Wed, 11 Sep 2019 02:20:40 GMT' ]);
-
+ 'Sat, 10 Oct 2020 04:20:48 GMT'
+]);
diff --git a/sdk/storage/storage-file-share/recordings/node/leaseclient_for_share/recording_acquirelease_for_snapshot.js b/sdk/storage/storage-file-share/recordings/node/leaseclient_for_share/recording_acquirelease_for_snapshot.js
index 49dce7515172..8e28531cdb4c 100644
--- a/sdk/storage/storage-file-share/recordings/node/leaseclient_for_share/recording_acquirelease_for_snapshot.js
+++ b/sdk/storage/storage-file-share/recordings/node/leaseclient_for_share/recording_acquirelease_for_snapshot.js
@@ -1,95 +1,95 @@
let nock = require('nock');
-module.exports.hash = "605aa7c32fc39d9cef1923e874e73573";
+module.exports.hash = "66acba6578a6fe70ffea703bf23c4fa7";
-module.exports.testInfo = {"uniqueName":{"share":"share160121913935406942"},"newDate":{}}
+module.exports.testInfo = {"uniqueName":{"share":"share160230364967002560"},"newDate":{}}
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
- .put('/share160121913935406942')
+ .put('/share160230364967002560')
.query(true)
.reply(201, "", [
'Content-Length',
'0',
'Last-Modified',
- 'Sun, 27 Sep 2020 15:05:39 GMT',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
'ETag',
- '"0x8D862F6CBE30EE1"',
+ '"0x8D86CD3DE6BB9AC"',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '09ab19ae-701a-006b-03df-94e952000000',
+ 'e7871bda-d01a-005d-5dbc-9e6422000000',
'x-ms-client-request-id',
- '989c429b-eff5-4ad5-b6fa-92bdb27c3fa1',
+ '5c83f43f-9443-4c5a-bb98-1cd3f5c9de94',
'x-ms-version',
'2020-02-10',
'Date',
- 'Sun, 27 Sep 2020 15:05:38 GMT'
+ 'Sat, 10 Oct 2020 04:20:49 GMT'
]);
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
- .put('/share160121913935406942')
+ .put('/share160230364967002560')
.query(true)
.reply(201, "", [
'Content-Length',
'0',
'Last-Modified',
- 'Sun, 27 Sep 2020 15:05:39 GMT',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
'ETag',
- '"0x8D862F6CBE30EE1"',
+ '"0x8D86CD3DE6BB9AC"',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '09ab19b0-701a-006b-04df-94e952000000',
+ 'e7871bdc-d01a-005d-5ebc-9e6422000000',
'x-ms-client-request-id',
- '8ca972b5-5c7f-4c70-9883-f6ef73c41657',
+ '0ee6db24-ecf7-4cd6-a112-c375a7f122f4',
'x-ms-version',
'2020-02-10',
'x-ms-snapshot',
- '2020-09-27T15:05:39.0000000Z',
+ '2020-10-10T04:20:50.0000000Z',
'Date',
- 'Sun, 27 Sep 2020 15:05:39 GMT'
+ 'Sat, 10 Oct 2020 04:20:49 GMT'
]);
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
- .put('/share160121913935406942')
+ .put('/share160230364967002560')
.query(true)
.reply(201, "", [
'Content-Length',
'0',
'Last-Modified',
- 'Sun, 27 Sep 2020 15:05:39 GMT',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
'ETag',
- '"0x8D862F6CBE30EE1"',
+ '"0x8D86CD3DE6BB9AC"',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '09ab19b1-701a-006b-05df-94e952000000',
+ 'e7871bdf-d01a-005d-60bc-9e6422000000',
'x-ms-client-request-id',
- 'bd6b7325-2e67-4d9e-a523-6c8fc329cae9',
+ '4148ddc9-2148-4119-8282-ed74bd923bd9',
'x-ms-version',
'2020-02-10',
'x-ms-lease-id',
'e9890485-bf47-4d9a-b3d0-aceb18506124',
'Date',
- 'Sun, 27 Sep 2020 15:05:39 GMT'
+ 'Sat, 10 Oct 2020 04:20:49 GMT'
]);
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
- .get('/share160121913935406942')
+ .get('/share160230364967002560')
.query(true)
.reply(200, "", [
'Content-Length',
'0',
'Last-Modified',
- 'Sun, 27 Sep 2020 15:05:39 GMT',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
'ETag',
- '"0x8D862F6CBE30EE1"',
+ '"0x8D86CD3DE6BB9AC"',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '09ab19b3-701a-006b-06df-94e952000000',
+ 'e7871be0-d01a-005d-61bc-9e6422000000',
'x-ms-client-request-id',
- 'a0782773-a8d9-40d8-9f81-5d1bc9b9a568',
+ '7654ee54-f431-4b6e-8f11-910cb77c3c6e',
'x-ms-version',
'2020-02-10',
'x-ms-lease-status',
@@ -107,31 +107,31 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam
'x-ms-access-tier',
'TransactionOptimized',
'x-ms-access-tier-change-time',
- 'Sun, 27 Sep 2020 15:05:39 GMT',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
'Access-Control-Expose-Headers',
'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Last-Modified,ETag,x-ms-lease-status,x-ms-lease-state,x-ms-lease-duration,x-ms-has-immutability-policy,x-ms-has-legal-hold,x-ms-share-quota,x-ms-access-tier,x-ms-access-tier-change-time,Content-Length,Date,Transfer-Encoding',
'Access-Control-Allow-Origin',
'*',
'Date',
- 'Sun, 27 Sep 2020 15:05:39 GMT'
+ 'Sat, 10 Oct 2020 04:20:50 GMT'
]);
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
- .get('/share160121913935406942')
+ .get('/share160230364967002560')
.query(true)
.reply(200, "", [
'Content-Length',
'0',
'Last-Modified',
- 'Sun, 27 Sep 2020 15:05:39 GMT',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
'ETag',
- '"0x8D862F6CBE30EE1"',
+ '"0x8D86CD3DE6BB9AC"',
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '09ab19b6-701a-006b-07df-94e952000000',
+ 'e7871be3-d01a-005d-62bc-9e6422000000',
'x-ms-client-request-id',
- 'e34ff711-1b5b-4d8b-9876-0d6a0c5d6b4e',
+ 'c51a0fa7-3861-4d9a-bb94-481a720a741e',
'x-ms-version',
'2020-02-10',
'x-ms-lease-status',
@@ -147,17 +147,41 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam
'x-ms-access-tier',
'TransactionOptimized',
'x-ms-access-tier-change-time',
- 'Sun, 27 Sep 2020 15:05:39 GMT',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
'Access-Control-Expose-Headers',
'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Last-Modified,ETag,x-ms-lease-status,x-ms-lease-state,x-ms-has-immutability-policy,x-ms-has-legal-hold,x-ms-share-quota,x-ms-access-tier,x-ms-access-tier-change-time,Content-Length,Date,Transfer-Encoding',
'Access-Control-Allow-Origin',
'*',
'Date',
- 'Sun, 27 Sep 2020 15:05:40 GMT'
+ 'Sat, 10 Oct 2020 04:20:50 GMT'
]);
nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
- .delete('/share160121913935406942')
+ .put('/share160230364967002560')
+ .query(true)
+ .reply(200, "", [
+ 'Content-Length',
+ '0',
+ 'Last-Modified',
+ 'Sat, 10 Oct 2020 04:20:49 GMT',
+ 'ETag',
+ '"0x8D86CD3DE6BB9AC"',
+ 'Server',
+ 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
+ 'x-ms-request-id',
+ 'e7871be5-d01a-005d-63bc-9e6422000000',
+ 'x-ms-client-request-id',
+ '62f74de0-32d1-4dcf-ac45-25e6b8576284',
+ 'x-ms-version',
+ '2020-02-10',
+ 'x-ms-lease-time',
+ '0',
+ 'Date',
+ 'Sat, 10 Oct 2020 04:20:50 GMT'
+]);
+
+nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true})
+ .delete('/share160230364967002560')
.query(true)
.reply(202, "", [
'Content-Length',
@@ -165,11 +189,11 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam
'Server',
'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0',
'x-ms-request-id',
- '09ab19b7-701a-006b-08df-94e952000000',
+ 'e7871be6-d01a-005d-64bc-9e6422000000',
'x-ms-client-request-id',
- '526d4b18-9d40-4816-b1e2-d47879e50506',
+ '62f08376-2653-4731-bff3-ebda59e6b7d1',
'x-ms-version',
'2020-02-10',
'Date',
- 'Sun, 27 Sep 2020 15:05:40 GMT'
+ 'Sat, 10 Oct 2020 04:20:51 GMT'
]);
diff --git a/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts b/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts
index 7b8f5bf8e124..adab378c137e 100644
--- a/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts
+++ b/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts
@@ -11,7 +11,7 @@
import * as coreHttp from "@azure/core-http";
const packageName = "azure-storage-file-share";
-const packageVersion = "12.3.0-prerelease.1";
+const packageVersion = "12.3.0-beta.1";
export class StorageClientContext extends coreHttp.ServiceClient {
version: string;
diff --git a/sdk/storage/storage-file-share/src/utils/constants.ts b/sdk/storage/storage-file-share/src/utils/constants.ts
index 3f20bfdc339e..0c26d3215ecb 100644
--- a/sdk/storage/storage-file-share/src/utils/constants.ts
+++ b/sdk/storage/storage-file-share/src/utils/constants.ts
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-export const SDK_VERSION: string = "12.3.0-prerelease.1";
+export const SDK_VERSION: string = "12.3.0-beta.1";
export const SERVICE_VERSION: string = "2020-02-10";
export const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
diff --git a/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts b/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts
index 5653287e2a8e..db4eacb6d45f 100644
--- a/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts
+++ b/sdk/storage/storage-file-share/test/fileserviceclient.spec.ts
@@ -329,7 +329,14 @@ describe("FileServiceClient", () => {
serviceProperties.cors.push(newCORS);
}
- await serviceClient.setProperties(serviceProperties);
+ // SMB multi-channel is returned by getProperties() even when the feature is not supproted on the account.
+ const newServiceProperties = {
+ cors: serviceProperties.cors,
+ minuteMetrics: serviceProperties.minuteMetrics,
+ hourMetrics: serviceProperties.hourMetrics
+ }
+
+ await serviceClient.setProperties(newServiceProperties);
await delay(5 * 1000);
const result = await serviceClient.getProperties();
diff --git a/sdk/storage/storage-file-share/test/leaseclient.spec.ts b/sdk/storage/storage-file-share/test/leaseclient.spec.ts
index 05f2128276ce..4707d8a9cb39 100644
--- a/sdk/storage/storage-file-share/test/leaseclient.spec.ts
+++ b/sdk/storage/storage-file-share/test/leaseclient.spec.ts
@@ -389,6 +389,8 @@ describe("LeaseClient for share", () => {
assert.equal(result.leaseDuration, undefined);
assert.equal(result.leaseState, "available");
assert.equal(result.leaseStatus, "unlocked");
+
+ await leaseClient.releaseLease();
});
it("acquireLease without proposed lease id, with a finite duration", async () => {