Skip to content

Commit 20157f9

Browse files
seanmcc-msftanandanthony
authored andcommitted
Storage STG 85/86 (Azure#21167)
* Added 2021-12-02 service version for blobs (Azure#20280) * fixed ErrorCode typo * Files 2021-12-02 version (Azure#20439) * Files invalid XML (Azure#20480) * ADLS Gen 2 Append and Flush Lease Operations (Azure#20607) * Added Blob Cold Tier (Azure#20281)
1 parent 3d36bb8 commit 20157f9

File tree

5 files changed

+19539
-2
lines changed

5 files changed

+19539
-2
lines changed

specification/storage/data-plane/Azure.Storage.Files.DataLake/preview/2021-06-08/DataLakeStorage.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,6 +2015,15 @@
20152015
{
20162016
"$ref": "#/parameters/LeaseIdOptional"
20172017
},
2018+
{
2019+
"$ref": "#/parameters/LeaseAction"
2020+
},
2021+
{
2022+
"$ref": "#/parameters/LeaseDurationMethod"
2023+
},
2024+
{
2025+
"$ref": "#/parameters/ProposedLeaseIdOptional"
2026+
},
20182027
{
20192028
"$ref": "#/parameters/CacheControl"
20202029
},
@@ -2106,6 +2115,11 @@
21062115
"x-ms-client-name": "EncryptionKeySha256",
21072116
"type": "string",
21082117
"description": "The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key."
2118+
},
2119+
"x-ms-lease-renewed": {
2120+
"x-ms-client-name": "LeaseRenewed",
2121+
"type": "boolean",
2122+
"description": "If the lease was auto-renewed with this request"
21092123
}
21102124
}
21112125
},
@@ -2179,6 +2193,15 @@
21792193
{
21802194
"$ref": "#/parameters/LeaseIdOptional"
21812195
},
2196+
{
2197+
"$ref": "#/parameters/LeaseAction"
2198+
},
2199+
{
2200+
"$ref": "#/parameters/LeaseDurationMethod"
2201+
},
2202+
{
2203+
"$ref": "#/parameters/ProposedLeaseIdOptional"
2204+
},
21822205
{
21832206
"$ref": "#/parameters/Body"
21842207
},
@@ -2248,6 +2271,11 @@
22482271
"x-ms-client-name": "EncryptionKeySha256",
22492272
"type": "string",
22502273
"description": "The SHA-256 hash of the encryption key used to encrypt the blob. This header is only returned when the blob was encrypted with a customer-provided key."
2274+
},
2275+
"x-ms-lease-renewed": {
2276+
"x-ms-client-name": "LeaseRenewed",
2277+
"type": "boolean",
2278+
"description": "If the lease was auto-renewed with this request"
22512279
}
22522280
}
22532281
},
@@ -2704,6 +2732,25 @@
27042732
"type": "integer",
27052733
"x-ms-parameter-location": "method"
27062734
},
2735+
"LeaseAction": {
2736+
"name": "x-ms-lease-action",
2737+
"x-ms-client-name": "leaseAction",
2738+
"in": "header",
2739+
"x-ms-parameter-location": "method",
2740+
"description": "Optional. If \"acquire\" it will acquire the lease. If \"auto-renew\" it will renew the lease. If \"release\" it will release the lease only on flush. If \"acquire-release\" it will acquire & complete the operation & release the lease once operation is done.",
2741+
"required": false,
2742+
"type": "string",
2743+
"enum": [
2744+
"acquire",
2745+
"auto-renew",
2746+
"release",
2747+
"acquire-release"
2748+
],
2749+
"x-ms-enum": {
2750+
"name": "LeaseAction",
2751+
"modelAsString": false
2752+
}
2753+
},
27072754
"Prefix": {
27082755
"name": "prefix",
27092756
"in": "query",

0 commit comments

Comments
 (0)