@azure/storage-blob 12.12.1-alpha.20221206.2 → 12.12.1-alpha.20230110.1

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/dist/index.js CHANGED
@@ -1317,7 +1317,8 @@ const BlobPropertiesInternal = {
1317
1317
  "P80",
1318
1318
  "Hot",
1319
1319
  "Cool",
1320
- "Archive"
1320
+ "Archive",
1321
+ "Cold"
1321
1322
  ]
1322
1323
  }
1323
1324
  },
@@ -8498,7 +8499,7 @@ const timeoutInSeconds = {
8498
8499
  const version = {
8499
8500
  parameterPath: "version",
8500
8501
  mapper: {
8501
- defaultValue: "2021-10-04",
8502
+ defaultValue: "2021-12-02",
8502
8503
  isConstant: true,
8503
8504
  serializedName: "x-ms-version",
8504
8505
  type: {
@@ -9363,7 +9364,8 @@ const tier = {
9363
9364
  "P80",
9364
9365
  "Hot",
9365
9366
  "Cool",
9366
- "Archive"
9367
+ "Archive",
9368
+ "Cold"
9367
9369
  ]
9368
9370
  }
9369
9371
  }
@@ -9590,7 +9592,8 @@ const tier1 = {
9590
9592
  "P80",
9591
9593
  "Hot",
9592
9594
  "Cool",
9593
- "Archive"
9595
+ "Archive",
9596
+ "Cold"
9594
9597
  ]
9595
9598
  }
9596
9599
  }
@@ -13099,6 +13102,7 @@ const uploadOperationSpec = {
13099
13102
  blobTagsString,
13100
13103
  legalHold1,
13101
13104
  transactionalContentMD5,
13105
+ transactionalContentCrc64,
13102
13106
  contentType1,
13103
13107
  accept2,
13104
13108
  blobType2
@@ -15210,7 +15214,7 @@ class StorageClientContext extends coreHttp__namespace.ServiceClient {
15210
15214
  // Parameter assignments
15211
15215
  this.url = url;
15212
15216
  // Assigning values to Constant parameters
15213
- this.version = options.version || "2021-10-04";
15217
+ this.version = options.version || "2021-12-02";
15214
15218
  }
15215
15219
  }
15216
15220
 
@@ -18292,6 +18296,10 @@ exports.BlockBlobTier = void 0;
18292
18296
  * Optimized for storing data that is infrequently accessed and stored for at least 30 days.
18293
18297
  */
18294
18298
  BlockBlobTier["Cool"] = "Cool";
18299
+ /**
18300
+ * Optimized for storing data that is rarely accessed.
18301
+ */
18302
+ BlockBlobTier["Cold"] = "Cold";
18295
18303
  /**
18296
18304
  * Optimized for storing data that is rarely accessed and stored for at least 180 days
18297
18305
  * with flexible latency requirements (on the order of hours).
@@ -19893,7 +19901,7 @@ class BlobClient extends StorageClient {
19893
19901
  sourceIfModifiedSince: options.sourceConditions.ifModifiedSince,
19894
19902
  sourceIfNoneMatch: options.sourceConditions.ifNoneMatch,
19895
19903
  sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince,
19896
- }, sourceContentMD5: options.sourceContentMD5, copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), blobTagsString: toBlobTagsString(options.tags), immutabilityPolicyExpiry: (_b = options.immutabilityPolicy) === null || _b === void 0 ? void 0 : _b.expiriesOn, immutabilityPolicyMode: (_c = options.immutabilityPolicy) === null || _c === void 0 ? void 0 : _c.policyMode, legalHold: options.legalHold, encryptionScope: options.encryptionScope, copySourceTags: options.copySourceTags }, convertTracingToRequestOptionsBase(updatedOptions)));
19904
+ }, sourceContentMD5: options.sourceContentMD5, copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization), tier: toAccessTier(options.tier), blobTagsString: toBlobTagsString(options.tags), immutabilityPolicyExpiry: (_b = options.immutabilityPolicy) === null || _b === void 0 ? void 0 : _b.expiriesOn, immutabilityPolicyMode: (_c = options.immutabilityPolicy) === null || _c === void 0 ? void 0 : _c.policyMode, legalHold: options.legalHold, encryptionScope: options.encryptionScope, copySourceTags: options.copySourceTags }, convertTracingToRequestOptionsBase(updatedOptions)));
19897
19905
  }
19898
19906
  catch (e) {
19899
19907
  span.setStatus({