From 9261336d64ec5f8631a81e310b179883505286c7 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Mon, 8 Mar 2021 15:48:34 -0600 Subject: [PATCH 01/23] Added new request headers --- .../preview/2020-06-12/blob.json | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index a65e7acfdeda..a374af4f35c0 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -11977,6 +11977,34 @@ }, "description": "Specify a SQL where clause on blob tags to operate only on blobs with a matching value." }, + "ImmutabilityPolicyExpiry": { + "name": "x-ms-immutability-policy-until-date", + "x-ms-client-name": "immutabilityPolicyExpiry", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "x-ms-parameter-location": "method", + "description": "Specifies the date time when the blobs immutability policy is set to expire." + }, + "ImmutabilityPolicyMode": { + "name": "x-ms-immutability-policy-mode", + "x-ms-client-name": "immutabilityPolicyMode", + "in": "header", + "required": false, + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "x-ms-parameter-location": "method", + "description": "Specifies the immutability policy mode to set on the blob." + }, "KeyInfo": { "name": "KeyInfo", "in": "body", @@ -12070,6 +12098,15 @@ "x-ms-parameter-location": "method", "description": "Specifies the current lease ID on the resource." }, + "LegalHold": { + "name": "x-ms-legal-hold", + "x-ms-client-name": "legalHold", + "in": "header", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method", + "description": "Specified if a legal hold should be set on the blob." + }, "Owner": { "name": "x-ms-owner", "x-ms-client-name": "owner", From 05626fcd15c78a39a3114407451f6997ed52d1f0 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Mon, 8 Mar 2021 18:30:31 -0600 Subject: [PATCH 02/23] Added BlobSetImmutabilityPolicy --- .../preview/2020-06-12/blob.json | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index a374af4f35c0..bbb12341c659 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -5478,6 +5478,93 @@ } ] }, + "/{containerName}/{blob}?comp=immutabilityPolicies": { + "put": { + "tags": [ + "blob" + ], + "operationId": "Blob_SetImmutabilityPolicy", + "description": "The Set Immutability Policy operation sets the immutability policy on the blob", + "parameters": [ + { + "$ref": "#/parameters/Timeout" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestId" + }, + { + "$ref": "#/parameters/IfUnmodifiedSince" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + } + ], + "responses": { + "200": { + "description": "The immutability policy was successfully set.", + "headers": { + "x-ms-client-request-id": { + "x-ms-client-name": "ClientRequestId", + "type": "string", + "description": "If a client request id header is sent in the request, this header will be present in the response with the same value." + }, + "x-ms-request-id": { + "x-ms-client-name": "RequestId", + "type": "string", + "description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request." + }, + "x-ms-version": { + "x-ms-client-name": "Version", + "type": "string", + "description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above." + }, + "Date": { + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the response was initiated" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiry", + "type": "string", + "format": "date-time-rfc1123", + "description": "Indicates the time the immutability policy will expire." + }, + "x-ms-immutability-policy-mode ": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + } + } + } + } + }, + "parameters": [ + { + "name": "comp", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "immutabilityPolicies" + ] + } + ] + }, "/{containerName}/{blob}?comp=metadata": { "put": { "tags": [ From 1666f69a231dd99b0848d714f4e58b31c7f98834 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Thu, 18 Mar 2021 15:27:40 -0500 Subject: [PATCH 03/23] update --- .../preview/2020-06-12/blob.json | 255 +++++++++++++++++- 1 file changed, 251 insertions(+), 4 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index bbb12341c659..99f889e62e8e 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -3371,6 +3371,31 @@ "type": "string", "format": "date-time-rfc1123", "description": "UTC date/time value generated by the service that indicates the time at which the blob was last read or written to" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + }, + "x-ms-immutability-policy-mode": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if a legal hold is present on the blob." } }, "schema": { @@ -3626,6 +3651,31 @@ "type": "string", "format": "date-time-rfc1123", "description": "UTC date/time value generated by the service that indicates the time at which the blob was last read or written to" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + }, + "x-ms-immutability-policy-mode": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if a legal hold is present on the blob." } }, "schema": { @@ -3978,6 +4028,31 @@ "type": "string", "format": "date-time-rfc1123", "description": "UTC date/time value generated by the service that indicates the time at which the blob was last read or written to" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + }, + "x-ms-immutability-policy-mode": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if a legal hold is present on the blob." } } }, @@ -5535,7 +5610,7 @@ "format": "date-time-rfc1123", "description": "Indicates the time the immutability policy will expire." }, - "x-ms-immutability-policy-mode ": { + "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", "enum": [ @@ -5550,6 +5625,75 @@ "description": "Indicates immutability poliy mode." } } + }, + "default": { + "description": "Failure", + "headers": { + "x-ms-error-code": { + "x-ms-client-name": "ErrorCode", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/StorageError" + } + } + } + }, + "delete": { + "tags": [ + "blob" + ], + "operationId": "Blob_DeleteImmutabilityPolicy", + "description": "The Delete Immutability Policy operation deletes the immutability policy on the blob", + "parameters": [ + { + "$ref": "#/parameters/Timeout" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestId" + } + ], + "responses": { + "200": { + "description": "The delete immutability policy request was accepted and the immutability policy will be deleted.", + "headers": { + "x-ms-client-request-id": { + "x-ms-client-name": "ClientRequestId", + "type": "string", + "description": "If a client request id header is sent in the request, this header will be present in the response with the same value." + }, + "x-ms-request-id": { + "x-ms-client-name": "RequestId", + "type": "string", + "description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request." + }, + "x-ms-version": { + "x-ms-client-name": "Version", + "type": "string", + "description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above." + }, + "Date": { + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the response was initiated" + } + } + }, + "default": { + "description": "Failure", + "headers": { + "x-ms-error-code": { + "x-ms-client-name": "ErrorCode", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/StorageError" + } } } }, @@ -5565,6 +5709,84 @@ } ] }, + "/{containerName}/{blob}?comp=legalhold": { + "put": { + "tags": [ + "blob" + ], + "operationId": "Blob_SetLegalHold", + "description": "The Set Legal Hold operation sets a legal hold on the blob.", + "parameters": [ + { + "$ref": "#/parameters/Timeout" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestId" + }, + { + "$ref": "#/parameters/LegalHoldRequired" + } + ], + "responses": { + "200": { + "description": "The legal hold was successfully set on the blob.", + "headers": { + "x-ms-client-request-id": { + "x-ms-client-name": "ClientRequestId", + "type": "string", + "description": "If a client request id header is sent in the request, this header will be present in the response with the same value." + }, + "x-ms-request-id": { + "x-ms-client-name": "RequestId", + "type": "string", + "description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request." + }, + "x-ms-version": { + "x-ms-client-name": "Version", + "type": "string", + "description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above." + }, + "Date": { + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the response was initiated" + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if the blob has a legal hold." + } + } + }, + "default": { + "description": "Failure", + "headers": { + "x-ms-error-code": { + "x-ms-client-name": "ErrorCode", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/StorageError" + } + } + } + }, + "parameters": [ + { + "name": "comp", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "legalhold" + ] + } + ] + }, "/{containerName}/{blob}?comp=metadata": { "put": { "tags": [ @@ -10184,6 +10406,18 @@ "x-ms-client-name": "LastAccessedOn", "type": "string", "format": "date-time-rfc1123" + }, + "ImmutabilityPolicyUntilDate": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123" + }, + "ImmutabilityPolicyMode": { + "$ref": "#/definitions/BlobImmutabilityPolicyMode" + }, + "LegalHold": { + "x-ms-client-name": "LegalHold", + "type": "boolean" } } }, @@ -11305,6 +11539,18 @@ "$ref": "#/definitions/GeoReplication" } } + }, + "BlobImmutabilityPolicyMode": { + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + } } }, "parameters": { @@ -12116,7 +12362,8 @@ "snapshots", "uncommittedblobs", "versions", - "tags" + "tags", + "immutabilitypolicy" ], "x-ms-enum": { "name": "ListBlobsIncludeItem", @@ -12185,11 +12432,11 @@ "x-ms-parameter-location": "method", "description": "Specifies the current lease ID on the resource." }, - "LegalHold": { + "LegalHoldRequired": { "name": "x-ms-legal-hold", "x-ms-client-name": "legalHold", "in": "header", - "required": false, + "required": true, "type": "boolean", "x-ms-parameter-location": "method", "description": "Specified if a legal hold should be set on the blob." From dea57659e0ffd534ebd27a48a09fbb4bdb146ce5 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Thu, 18 Mar 2021 16:00:29 -0500 Subject: [PATCH 04/23] update --- .../preview/2020-06-12/blob.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index 99f889e62e8e..f4b379d2adc0 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -900,6 +900,11 @@ "x-ms-client-name": "DenyEncryptionScopeOverride", "description": "Indicates whether the container's default encryption scope can be overriden.", "type": "boolean" + }, + "x-ms-version-level-worm-enabled": { + "x-ms-client-name": "IsVersionLevelWormEnabled", + "description": "Indicates whether version level worm is enabled on a container.", + "type": "boolean" } } }, @@ -10748,6 +10753,11 @@ }, "RemainingRetentionDays": { "type": "integer" + }, + "VersionLevelWormEnabled": { + "x-ms-client-name": "IsVersionLevelWormEnabled", + "type": "boolean", + "description": "Indicates if version level worm is enabled on this container." } } }, @@ -12363,7 +12373,8 @@ "uncommittedblobs", "versions", "tags", - "immutabilitypolicy" + "immutabilitypolicy", + "legalhold" ], "x-ms-enum": { "name": "ListBlobsIncludeItem", From 25df70a5095b97ecbe309be405d44525b80ec00e Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Fri, 19 Mar 2021 13:16:55 -0500 Subject: [PATCH 05/23] Update --- .../preview/2020-06-12/blob.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index f4b379d2adc0..3a32cb8adf47 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -4801,6 +4801,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -12443,6 +12452,15 @@ "x-ms-parameter-location": "method", "description": "Specifies the current lease ID on the resource." }, + "LegalHoldOptional": { + "name": "x-ms-legal-hold", + "x-ms-client-name": "legalHold", + "in": "header", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method", + "description": "Specified if a legal hold should be set on the blob." + }, "LegalHoldRequired": { "name": "x-ms-legal-hold", "x-ms-client-name": "legalHold", From 724b04c22c72591c85f012d61f82836907cfa77b Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Fri, 19 Mar 2021 13:46:23 -0500 Subject: [PATCH 06/23] update --- .../Microsoft.BlobStorage/preview/2020-06-12/blob.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index 3a32cb8adf47..185f03052fe1 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -4629,6 +4629,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { From 60723d043087bd3265bf6e206235369a7a813a79 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Fri, 19 Mar 2021 14:33:23 -0500 Subject: [PATCH 07/23] update --- .../preview/2020-06-12/blob.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index 185f03052fe1..040145e6f87a 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -5000,6 +5000,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -7620,6 +7629,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { From 48d2edfab85101735be07c16bc403039d34a77f0 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Fri, 19 Mar 2021 15:19:32 -0500 Subject: [PATCH 08/23] update --- .../preview/2020-06-12/blob.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index 040145e6f87a..386d8c1a008f 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -6743,6 +6743,15 @@ }, { "$ref": "#/parameters/SealBlob" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -6883,6 +6892,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { From bd7131ddd83f1bdda752663bad938927051a4e36 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Fri, 19 Mar 2021 15:38:19 -0500 Subject: [PATCH 09/23] update --- .../preview/2020-08-04/blob.json | 447 +++++++++++++++++- 1 file changed, 446 insertions(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index 4158e0d961b2..a28b525b28ac 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -900,6 +900,11 @@ "x-ms-client-name": "DenyEncryptionScopeOverride", "description": "Indicates whether the container's default encryption scope can be overriden.", "type": "boolean" + }, + "x-ms-version-level-worm-enabled": { + "x-ms-client-name": "IsVersionLevelWormEnabled", + "description": "Indicates whether version level worm is enabled on a container.", + "type": "boolean" } } }, @@ -3371,6 +3376,31 @@ "type": "string", "format": "date-time-rfc1123", "description": "UTC date/time value generated by the service that indicates the time at which the blob was last read or written to" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + }, + "x-ms-immutability-policy-mode": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if a legal hold is present on the blob." } }, "schema": { @@ -3626,6 +3656,31 @@ "type": "string", "format": "date-time-rfc1123", "description": "UTC date/time value generated by the service that indicates the time at which the blob was last read or written to" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + }, + "x-ms-immutability-policy-mode": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if a legal hold is present on the blob." } }, "schema": { @@ -3978,6 +4033,31 @@ "type": "string", "format": "date-time-rfc1123", "description": "UTC date/time value generated by the service that indicates the time at which the blob was last read or written to" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + }, + "x-ms-immutability-policy-mode": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if a legal hold is present on the blob." } } }, @@ -4549,6 +4629,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -4721,6 +4810,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -4902,6 +5000,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -5478,6 +5585,240 @@ } ] }, + "/{containerName}/{blob}?comp=immutabilityPolicies": { + "put": { + "tags": [ + "blob" + ], + "operationId": "Blob_SetImmutabilityPolicy", + "description": "The Set Immutability Policy operation sets the immutability policy on the blob", + "parameters": [ + { + "$ref": "#/parameters/Timeout" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestId" + }, + { + "$ref": "#/parameters/IfUnmodifiedSince" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + } + ], + "responses": { + "200": { + "description": "The immutability policy was successfully set.", + "headers": { + "x-ms-client-request-id": { + "x-ms-client-name": "ClientRequestId", + "type": "string", + "description": "If a client request id header is sent in the request, this header will be present in the response with the same value." + }, + "x-ms-request-id": { + "x-ms-client-name": "RequestId", + "type": "string", + "description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request." + }, + "x-ms-version": { + "x-ms-client-name": "Version", + "type": "string", + "description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above." + }, + "Date": { + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the response was initiated" + }, + "x-ms-immutability-policy-until-date": { + "x-ms-client-name": "ImmutabilityPolicyExpiry", + "type": "string", + "format": "date-time-rfc1123", + "description": "Indicates the time the immutability policy will expire." + }, + "x-ms-immutability-policy-mode": { + "x-ms-client-name": "ImmutabilityPolicyMode", + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "description": "Indicates immutability poliy mode." + } + } + }, + "default": { + "description": "Failure", + "headers": { + "x-ms-error-code": { + "x-ms-client-name": "ErrorCode", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/StorageError" + } + } + } + }, + "delete": { + "tags": [ + "blob" + ], + "operationId": "Blob_DeleteImmutabilityPolicy", + "description": "The Delete Immutability Policy operation deletes the immutability policy on the blob", + "parameters": [ + { + "$ref": "#/parameters/Timeout" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestId" + } + ], + "responses": { + "200": { + "description": "The delete immutability policy request was accepted and the immutability policy will be deleted.", + "headers": { + "x-ms-client-request-id": { + "x-ms-client-name": "ClientRequestId", + "type": "string", + "description": "If a client request id header is sent in the request, this header will be present in the response with the same value." + }, + "x-ms-request-id": { + "x-ms-client-name": "RequestId", + "type": "string", + "description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request." + }, + "x-ms-version": { + "x-ms-client-name": "Version", + "type": "string", + "description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above." + }, + "Date": { + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the response was initiated" + } + } + }, + "default": { + "description": "Failure", + "headers": { + "x-ms-error-code": { + "x-ms-client-name": "ErrorCode", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/StorageError" + } + } + } + }, + "parameters": [ + { + "name": "comp", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "immutabilityPolicies" + ] + } + ] + }, + "/{containerName}/{blob}?comp=legalhold": { + "put": { + "tags": [ + "blob" + ], + "operationId": "Blob_SetLegalHold", + "description": "The Set Legal Hold operation sets a legal hold on the blob.", + "parameters": [ + { + "$ref": "#/parameters/Timeout" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestId" + }, + { + "$ref": "#/parameters/LegalHoldRequired" + } + ], + "responses": { + "200": { + "description": "The legal hold was successfully set on the blob.", + "headers": { + "x-ms-client-request-id": { + "x-ms-client-name": "ClientRequestId", + "type": "string", + "description": "If a client request id header is sent in the request, this header will be present in the response with the same value." + }, + "x-ms-request-id": { + "x-ms-client-name": "RequestId", + "type": "string", + "description": "This header uniquely identifies the request that was made and can be used for troubleshooting the request." + }, + "x-ms-version": { + "x-ms-client-name": "Version", + "type": "string", + "description": "Indicates the version of the Blob service used to execute the request. This header is returned for requests made against version 2009-09-19 and above." + }, + "Date": { + "type": "string", + "format": "date-time-rfc1123", + "description": "UTC date/time value generated by the service that indicates the time at which the response was initiated" + }, + "x-ms-legal-hold": { + "x-ms-client-name": "LegalHold", + "type": "boolean", + "description": "Indicates if the blob has a legal hold." + } + } + }, + "default": { + "description": "Failure", + "headers": { + "x-ms-error-code": { + "x-ms-client-name": "ErrorCode", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/StorageError" + } + } + } + }, + "parameters": [ + { + "name": "comp", + "in": "query", + "required": true, + "type": "string", + "enum": [ + "legalhold" + ] + } + ] + }, "/{containerName}/{blob}?comp=metadata": { "put": { "tags": [ @@ -6402,6 +6743,15 @@ }, { "$ref": "#/parameters/SealBlob" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -6542,6 +6892,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -7288,6 +7647,15 @@ }, { "$ref": "#/parameters/BlobTagsHeader" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyExpiry" + }, + { + "$ref": "#/parameters/ImmutabilityPolicyMode" + }, + { + "$ref": "#/parameters/LegalHoldOptional" } ], "responses": { @@ -10097,6 +10465,18 @@ "x-ms-client-name": "LastAccessedOn", "type": "string", "format": "date-time-rfc1123" + }, + "ImmutabilityPolicyUntilDate": { + "x-ms-client-name": "ImmutabilityPolicyExpiresOn", + "type": "string", + "format": "date-time-rfc1123" + }, + "ImmutabilityPolicyMode": { + "$ref": "#/definitions/BlobImmutabilityPolicyMode" + }, + "LegalHold": { + "x-ms-client-name": "LegalHold", + "type": "boolean" } } }, @@ -10428,6 +10808,11 @@ }, "RemainingRetentionDays": { "type": "integer" + }, + "VersionLevelWormEnabled": { + "x-ms-client-name": "IsVersionLevelWormEnabled", + "type": "boolean", + "description": "Indicates if version level worm is enabled on this container." } } }, @@ -11219,6 +11604,18 @@ "$ref": "#/definitions/GeoReplication" } } + }, + "BlobImmutabilityPolicyMode": { + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + } } }, "parameters": { @@ -11978,6 +12375,34 @@ }, "description": "Specify a SQL where clause on blob tags to operate only on blobs with a matching value." }, + "ImmutabilityPolicyExpiry": { + "name": "x-ms-immutability-policy-until-date", + "x-ms-client-name": "immutabilityPolicyExpiry", + "in": "header", + "required": false, + "type": "string", + "format": "date-time-rfc1123", + "x-ms-parameter-location": "method", + "description": "Specifies the date time when the blobs immutability policy is set to expire." + }, + "ImmutabilityPolicyMode": { + "name": "x-ms-immutability-policy-mode", + "x-ms-client-name": "immutabilityPolicyMode", + "in": "header", + "required": false, + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Mutable" + ], + "x-ms-enum": { + "name": "BlobImmutabilityPolicyMode", + "modelAsString": false + }, + "x-ms-parameter-location": "method", + "description": "Specifies the immutability policy mode to set on the blob." + }, "KeyInfo": { "name": "KeyInfo", "in": "body", @@ -12002,7 +12427,9 @@ "snapshots", "uncommittedblobs", "versions", - "tags" + "tags", + "immutabilitypolicy", + "legalhold" ], "x-ms-enum": { "name": "ListBlobsIncludeItem", @@ -12071,6 +12498,24 @@ "x-ms-parameter-location": "method", "description": "Specifies the current lease ID on the resource." }, + "LegalHoldOptional": { + "name": "x-ms-legal-hold", + "x-ms-client-name": "legalHold", + "in": "header", + "required": false, + "type": "boolean", + "x-ms-parameter-location": "method", + "description": "Specified if a legal hold should be set on the blob." + }, + "LegalHoldRequired": { + "name": "x-ms-legal-hold", + "x-ms-client-name": "legalHold", + "in": "header", + "required": true, + "type": "boolean", + "x-ms-parameter-location": "method", + "description": "Specified if a legal hold should be set on the blob." + }, "Owner": { "name": "x-ms-owner", "x-ms-client-name": "owner", From 459a2a62780f5834c7ecdf6c5674484fe970f185 Mon Sep 17 00:00:00 2001 From: Sean McCullough <=> Date: Wed, 24 Mar 2021 12:34:35 -0500 Subject: [PATCH 10/23] update --- .../preview/2020-06-12/blob.json | 47 ++----------------- .../preview/2020-08-04/blob.json | 47 ++----------------- 2 files changed, 6 insertions(+), 88 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index de0a09e1dd37..334960e21843 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -3386,15 +3386,6 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - }, "description": "Indicates immutability poliy mode." }, "x-ms-legal-hold": { @@ -3666,15 +3657,6 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - }, "description": "Indicates immutability poliy mode." }, "x-ms-legal-hold": { @@ -4043,15 +4025,6 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - }, "description": "Indicates immutability poliy mode." }, "x-ms-legal-hold": { @@ -5647,8 +5620,7 @@ "type": "string", "enum": [ "Unlocked", - "Locked", - "Mutable" + "Locked" ], "x-ms-enum": { "name": "BlobImmutabilityPolicyMode", @@ -10472,7 +10444,7 @@ "format": "date-time-rfc1123" }, "ImmutabilityPolicyMode": { - "$ref": "#/definitions/BlobImmutabilityPolicyMode" + "type": "string" }, "LegalHold": { "x-ms-client-name": "LegalHold", @@ -11604,18 +11576,6 @@ "$ref": "#/definitions/GeoReplication" } } - }, - "BlobImmutabilityPolicyMode": { - "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - } } }, "parameters": { @@ -12393,8 +12353,7 @@ "type": "string", "enum": [ "Unlocked", - "Locked", - "Mutable" + "Locked" ], "x-ms-enum": { "name": "BlobImmutabilityPolicyMode", diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index a28b525b28ac..34e439c432a4 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -3386,15 +3386,6 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - }, "description": "Indicates immutability poliy mode." }, "x-ms-legal-hold": { @@ -3666,15 +3657,6 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - }, "description": "Indicates immutability poliy mode." }, "x-ms-legal-hold": { @@ -4043,15 +4025,6 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - }, "description": "Indicates immutability poliy mode." }, "x-ms-legal-hold": { @@ -5647,8 +5620,7 @@ "type": "string", "enum": [ "Unlocked", - "Locked", - "Mutable" + "Locked" ], "x-ms-enum": { "name": "BlobImmutabilityPolicyMode", @@ -10472,7 +10444,7 @@ "format": "date-time-rfc1123" }, "ImmutabilityPolicyMode": { - "$ref": "#/definitions/BlobImmutabilityPolicyMode" + "type": "string" }, "LegalHold": { "x-ms-client-name": "LegalHold", @@ -11604,18 +11576,6 @@ "$ref": "#/definitions/GeoReplication" } } - }, - "BlobImmutabilityPolicyMode": { - "type": "string", - "enum": [ - "Unlocked", - "Locked", - "Mutable" - ], - "x-ms-enum": { - "name": "BlobImmutabilityPolicyMode", - "modelAsString": false - } } }, "parameters": { @@ -12393,8 +12353,7 @@ "type": "string", "enum": [ "Unlocked", - "Locked", - "Mutable" + "Locked" ], "x-ms-enum": { "name": "BlobImmutabilityPolicyMode", From 7c619efd53ef1f1d25dec125f878758079cafb9e Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:54:34 -0500 Subject: [PATCH 11/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-06-12/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index 334960e21843..75cf8191f5a8 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -3386,7 +3386,7 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "description": "Indicates immutability poliy mode." + "description": "Indicates immutability policy mode." }, "x-ms-legal-hold": { "x-ms-client-name": "LegalHold", From 2410f6dbf425840d0827cf710c3e09d60dc74343 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:54:41 -0500 Subject: [PATCH 12/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-06-12/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index 75cf8191f5a8..adb9f712a34b 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -3381,7 +3381,7 @@ "x-ms-client-name": "ImmutabilityPolicyExpiresOn", "type": "string", "format": "date-time-rfc1123", - "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire." }, "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", From 7d4c60c9e95fa8925b3c35c3aab1e746695fe262 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:54:48 -0500 Subject: [PATCH 13/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-06-12/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index adb9f712a34b..688aa9f78c22 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -3652,7 +3652,7 @@ "x-ms-client-name": "ImmutabilityPolicyExpiresOn", "type": "string", "format": "date-time-rfc1123", - "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire." }, "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", From cc1d835afbcea002122af8007c9ea6d896384536 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:54:55 -0500 Subject: [PATCH 14/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-06-12/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index 688aa9f78c22..f4f111fabb56 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -4020,7 +4020,7 @@ "x-ms-client-name": "ImmutabilityPolicyExpiresOn", "type": "string", "format": "date-time-rfc1123", - "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire." }, "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", From 07848deeb9ef78073b1d970371edd0b2839116fc Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:01 -0500 Subject: [PATCH 15/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-08-04/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index 34e439c432a4..981db0dd60a4 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -3652,7 +3652,7 @@ "x-ms-client-name": "ImmutabilityPolicyExpiresOn", "type": "string", "format": "date-time-rfc1123", - "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire." }, "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", From e30499a09c49d98835cda5a0ee0900902bd57768 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:06 -0500 Subject: [PATCH 16/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-08-04/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index 981db0dd60a4..e2b130d259d5 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -3381,7 +3381,7 @@ "x-ms-client-name": "ImmutabilityPolicyExpiresOn", "type": "string", "format": "date-time-rfc1123", - "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire." }, "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", From 4a1b40ef6c8923a40c99225b23828cdc072b9448 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:10 -0500 Subject: [PATCH 17/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-08-04/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index e2b130d259d5..0602539609c1 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -4020,7 +4020,7 @@ "x-ms-client-name": "ImmutabilityPolicyExpiresOn", "type": "string", "format": "date-time-rfc1123", - "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy with expire." + "description": "UTC date/time value generated by the service that indicates the time at which the blob immutability policy will expire." }, "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", From 160613fb2c50d843a9a3ef902990e6758e9d38de Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:16 -0500 Subject: [PATCH 18/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-08-04/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index 0602539609c1..afc0e5ebad34 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -4025,7 +4025,7 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "description": "Indicates immutability poliy mode." + "description": "Indicates immutability policy mode." }, "x-ms-legal-hold": { "x-ms-client-name": "LegalHold", From 008c53ddc4c2539ad4c94ea85cf0de4d153a1b56 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:20 -0500 Subject: [PATCH 19/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-08-04/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index afc0e5ebad34..66b55cb9d080 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -5626,7 +5626,7 @@ "name": "BlobImmutabilityPolicyMode", "modelAsString": false }, - "description": "Indicates immutability poliy mode." + "description": "Indicates immutability policy mode." } } }, From 1dbf9ec49ccd729d018e9d03f0e7aa4bf0c8e720 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:36 -0500 Subject: [PATCH 20/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-06-12/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index f4f111fabb56..c177d751ef4f 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -4025,7 +4025,7 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "description": "Indicates immutability poliy mode." + "description": "Indicates immutability policy mode." }, "x-ms-legal-hold": { "x-ms-client-name": "LegalHold", From f829a0721023db70708df4d645516af8073224d6 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:42 -0500 Subject: [PATCH 21/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-06-12/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json index c177d751ef4f..9f9f82f6e445 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-06-12/blob.json @@ -5626,7 +5626,7 @@ "name": "BlobImmutabilityPolicyMode", "modelAsString": false }, - "description": "Indicates immutability poliy mode." + "description": "Indicates immutability policy mode." } } }, From 9d0b727352f753e82eea2fc271630c0abd6b1ef5 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:49 -0500 Subject: [PATCH 22/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-08-04/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index 66b55cb9d080..9366281bca62 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -3386,7 +3386,7 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "description": "Indicates immutability poliy mode." + "description": "Indicates immutability policy mode." }, "x-ms-legal-hold": { "x-ms-client-name": "LegalHold", From bae54be2c44e851dab176e00ea0a9fbb405fc2ad Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:55:56 -0500 Subject: [PATCH 23/23] Update specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json Co-authored-by: tasherif-msft <69483382+tasherif-msft@users.noreply.github.com> --- .../Microsoft.BlobStorage/preview/2020-08-04/blob.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json index 9366281bca62..c244472066ed 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-08-04/blob.json @@ -3657,7 +3657,7 @@ "x-ms-immutability-policy-mode": { "x-ms-client-name": "ImmutabilityPolicyMode", "type": "string", - "description": "Indicates immutability poliy mode." + "description": "Indicates immutability policy mode." }, "x-ms-legal-hold": { "x-ms-client-name": "LegalHold",