Skip to content

Commit

Permalink
Added Append Blob Seal (#9016)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcc-msft authored Apr 12, 2020
1 parent 57d3ee7 commit 99a5171
Showing 1 changed file with 115 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3161,6 +3161,11 @@
"type": "integer",
"format": "int64",
"description": "The number of tags associated with the blob"
},
"x-ms-blob-sealed": {
"x-ms-client-name": "BlobSealed",
"type": "boolean",
"description": "If this blob has been sealed"
}
},
"schema": {
Expand Down Expand Up @@ -3384,6 +3389,11 @@
"type": "integer",
"format": "int64",
"description": "The number of tags associated with the blob"
},
"x-ms-blob-sealed": {
"x-ms-client-name": "BlobSealed",
"type": "boolean",
"description": "If this blob has been sealed"
}
},
"schema": {
Expand Down Expand Up @@ -3700,6 +3710,11 @@
"type": "integer",
"format": "int64",
"description": "The number of tags associated with the blob"
},
"x-ms-blob-sealed": {
"x-ms-client-name": "BlobSealed",
"type": "boolean",
"description": "If this blob has been sealed"
}
}
},
Expand Down Expand Up @@ -8269,6 +8284,106 @@
}
]
},
"/{containerName}/{blob}?comp=seal": {
"put": {
"tags": [
"appendblob"
],
"operationId": "AppendBlob_Seal",
"description": "The Seal operation seals the Append Blob to make it read-only. Seal is supported only on version 2019-12-12 version or later.",
"parameters": [
{
"$ref": "#/parameters/Timeout"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ClientRequestId"
},
{
"$ref": "#/parameters/LeaseIdOptional"
},
{
"$ref": "#/parameters/IfModifiedSince"
},
{
"$ref": "#/parameters/IfUnmodifiedSince"
},
{
"$ref": "#/parameters/IfMatch"
},
{
"$ref": "#/parameters/IfNoneMatch"
}
],
"responses": {
"200": {
"description": "The blob was sealed.",
"headers": {
"ETag": {
"type": "string",
"format": "etag",
"description": "The ETag contains a value that you can use to perform operations conditionally. If the request version is 2011-08-18 or newer, the ETag value will be in quotes."
},
"Last-Modified": {
"type": "string",
"format": "date-time-rfc1123",
"description": "Returns the date and time the container was last modified. Any operation that modifies the blob, including an update of the blob's metadata or properties, changes the last-modified time of the blob."
},
"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-blob-sealed": {
"x-ms-client-name": "BlobSealed",
"type": "boolean",
"description": "If this blob has been sealed"
}
}
},
"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": [
"seal"
]
}
]
},
"/{containerName}/{blob}?comp=query": {
"post": {
"tags": [
Expand Down

0 comments on commit 99a5171

Please sign in to comment.