diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json index 16d408c4d96a..080ca6edbddd 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json @@ -2959,6 +2959,17 @@ "x-ms-client-name": "Metadata", "x-ms-header-collection-prefix": "x-ms-meta-" }, + "x-ms-or-policy-id": { + "x-ms-client-name": "ObjectReplicationPolicyId", + "type": "string", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the destination blob of the replication." + }, + "x-ms-or": { + "type": "string", + "x-ms-client-name": "ObjectReplicationRuleStatus", + "x-ms-header-collection-prefix": "x-ms-or-", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the source blob of the replication. When retrieving this header, it will return the header with the policy id and rule id (e.g. x-ms-or-policyid_ruleid), and the value will be the status of the replication (e.g. complete, failed)." + }, "Content-Length": { "type": "integer", "format": "int64", @@ -3186,6 +3197,17 @@ "x-ms-client-name": "Metadata", "x-ms-header-collection-prefix": "x-ms-meta-" }, + "x-ms-or-policy-id": { + "x-ms-client-name": "ObjectReplicationPolicyId", + "type": "string", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the destination blob of the replication." + }, + "x-ms-or": { + "type": "string", + "x-ms-client-name": "ObjectReplicationRuleStatus", + "x-ms-header-collection-prefix": "x-ms-or-", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the source blob of the replication. When retrieving this header, it will return the header with the policy id and rule id (e.g. x-ms-or-policyid_ruleid), and the value will be the status of the replication (e.g. complete, failed)." + }, "Content-Length": { "type": "integer", "format": "int64", @@ -3482,6 +3504,17 @@ "x-ms-client-name": "Metadata", "x-ms-header-collection-prefix": "x-ms-meta-" }, + "x-ms-or-policy-id": { + "x-ms-client-name": "ObjectReplicationPolicyId", + "type": "string", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the destination blob of the replication." + }, + "x-ms-or": { + "type": "string", + "x-ms-client-name": "ObjectReplicationRuleStatus", + "x-ms-header-collection-prefix": "x-ms-or-", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the source blob of the replication. When retrieving this header, it will return the header with the policy id and rule id (e.g. x-ms-or-policyid_ruleid), and the value will be the status of the replication (e.g. complete, failed)." + }, "x-ms-blob-type": { "x-ms-client-name": "BlobType", "description": "The blob's type.", @@ -9380,6 +9413,12 @@ }, "BlobTags": { "$ref": "#/definitions/BlobTags" + }, + "ObjectReplicationPolicyId": { + "type": "string" + }, + "ObjectReplicationRuleStatus": { + "$ref": "#/definitions/BlobObjectReplicationRuleStatus" } } }, @@ -10284,6 +10323,15 @@ "type": "string" } }, + "BlobObjectReplicationRuleStatus": { + "type": "object", + "xml": { + "name": "BlobObjectReplicationRuleStatus" + }, + "additionalProperties": { + "type": "string" + } + }, "Metrics": { "description": "a summary of request statistics grouped by API in hour or minute aggregates for blobs", "required": [ @@ -11456,6 +11504,25 @@ "x-ms-parameter-location": "method", "description": "Required. The value of this header must be multipart/mixed with a batch boundary. Example header value: multipart/mixed; boundary=batch_" }, + "ObjectReplicationPolicyId": { + "name": "x-ms-or-policy-id", + "x-ms-client-name": "objectReplicationPolicyId", + "in": "header", + "required": false, + "type": "string", + "x-ms-parameter-location": "method", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the destination blob of the replication." + }, + "ObjectReplicationRuleStatus": { + "name": "x-ms-or", + "x-ms-client-name": "ObjectReplicationRuleStatus", + "in": "header", + "required": false, + "type": "string", + "x-ms-parameter-location": "method", + "description": "Optional. Only valid when Object Replication is enabled for the storage container and on the source blob of the replication. When retrieving this header, it will return the header with the policy id and rule id (e.g. x-ms-or-policyid_ruleid), and the value will be the status of the replication (e.g. complete, failed).", + "x-ms-header-collection-prefix": "x-ms-or-" + }, "PathRenameMode": { "name": "mode", "x-ms-client-name": "pathRenameMode",