@azure/storage-file-share 12.9.0-alpha.20211109.1 → 12.9.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Release History
2
2
 
3
+ ## 12.9.0-beta.2 (2021-12-03)
4
+
5
+ ### Features Added
6
+
7
+ - Added support for service version 2021-02-12.
8
+ - Added support for premium file share `provisionedBandwidthMiBps` property.
9
+
3
10
  ## 12.9.0-beta.1 (2021-11-09)
4
11
 
5
12
  ### Features Added
package/dist/index.js CHANGED
@@ -311,8 +311,8 @@ function ipRangeToString(ipRange) {
311
311
 
312
312
  // Copyright (c) Microsoft Corporation.
313
313
  // Licensed under the MIT license.
314
- const SDK_VERSION = "12.9.0-beta.1";
315
- const SERVICE_VERSION = "2020-12-06";
314
+ const SDK_VERSION = "12.9.0-beta.2";
315
+ const SERVICE_VERSION = "2021-02-12";
316
316
  const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
317
317
  const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
318
318
  const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = 5;
@@ -1694,6 +1694,13 @@ const SharePropertiesInternal = {
1694
1694
  name: "Number"
1695
1695
  }
1696
1696
  },
1697
+ provisionedBandwidthMiBps: {
1698
+ serializedName: "ProvisionedBandwidthMiBps",
1699
+ xmlName: "ProvisionedBandwidthMiBps",
1700
+ type: {
1701
+ name: "Number"
1702
+ }
1703
+ },
1697
1704
  nextAllowedQuotaDowngradeTime: {
1698
1705
  serializedName: "NextAllowedQuotaDowngradeTime",
1699
1706
  xmlName: "NextAllowedQuotaDowngradeTime",
@@ -2640,6 +2647,13 @@ const ShareGetPropertiesHeaders = {
2640
2647
  name: "DateTimeRfc1123"
2641
2648
  }
2642
2649
  },
2650
+ provisionedBandwidthMibps: {
2651
+ serializedName: "x-ms-share-provisioned-bandwidth-mibps",
2652
+ xmlName: "x-ms-share-provisioned-bandwidth-mibps",
2653
+ type: {
2654
+ name: "Number"
2655
+ }
2656
+ },
2643
2657
  leaseDuration: {
2644
2658
  serializedName: "x-ms-lease-duration",
2645
2659
  xmlName: "x-ms-lease-duration",
@@ -6335,7 +6349,7 @@ const timeoutInSeconds = {
6335
6349
  const version = {
6336
6350
  parameterPath: "version",
6337
6351
  mapper: {
6338
- defaultValue: "2020-12-06",
6352
+ defaultValue: "2021-02-12",
6339
6353
  isConstant: true,
6340
6354
  serializedName: "x-ms-version",
6341
6355
  type: {
@@ -9883,7 +9897,7 @@ function convertTracingToRequestOptionsBase(options) {
9883
9897
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9884
9898
  */
9885
9899
  const packageName = "azure-storage-file-share";
9886
- const packageVersion = "12.9.0-beta.1";
9900
+ const packageVersion = "12.9.0-beta.2";
9887
9901
  class StorageClientContext extends coreHttp.ServiceClient {
9888
9902
  /**
9889
9903
  * Initializes a new instance of the StorageClientContext class.
@@ -9909,7 +9923,7 @@ class StorageClientContext extends coreHttp.ServiceClient {
9909
9923
  // Parameter assignments
9910
9924
  this.url = url;
9911
9925
  // Assigning values to Constant parameters
9912
- this.version = options.version || "2020-12-06";
9926
+ this.version = options.version || "2021-02-12";
9913
9927
  this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || "update";
9914
9928
  }
9915
9929
  }