Skip to content

Commit

Permalink
Object Replication update to swagger (update from James OR branch) (#…
Browse files Browse the repository at this point in the history
…9024)

* Object Replication update to swagger (update from James OR branch)

* Adding object replication to code 206

* Adding in x-ms-or-policy-id header
  • Loading branch information
amnguye authored Apr 16, 2020
1 parent af7b39d commit 308e9f2
Showing 1 changed file with 67 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -9386,6 +9419,12 @@
},
"BlobTags": {
"$ref": "#/definitions/BlobTags"
},
"ObjectReplicationPolicyId": {
"type": "string"
},
"ObjectReplicationRuleStatus": {
"$ref": "#/definitions/BlobObjectReplicationRuleStatus"
}
}
},
Expand Down Expand Up @@ -10290,6 +10329,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": [
Expand Down Expand Up @@ -11462,6 +11510,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_<GUID>"
},
"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",
Expand Down

0 comments on commit 308e9f2

Please sign in to comment.