Skip to content

Commit 22cb79d

Browse files
committed
fix description of enqueue message's visibilityTimeout
1 parent bc0a336 commit 22cb79d

File tree

1 file changed

+12
-1
lines changed
  • specification/storage/data-plane/Microsoft.QueueStorage/preview/2018-03-28

1 file changed

+12
-1
lines changed

specification/storage/data-plane/Microsoft.QueueStorage/preview/2018-03-28/queue.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@
829829
"$ref": "#/parameters/RequiredQueueMessage"
830830
},
831831
{
832-
"$ref": "#/parameters/VisibilityTimeout"
832+
"$ref": "#/parameters/VisibilityTimeoutForEnqueue"
833833
},
834834
{
835835
"$ref": "#/parameters/MessageTTL"
@@ -1862,6 +1862,17 @@
18621862
"maximum": 604800,
18631863
"x-ms-parameter-location": "method",
18641864
"description": "Optional. Specifies the new visibility timeout value, in seconds, relative to server time. The default value is 30 seconds. A specified value must be larger than or equal to 1 second, and cannot be larger than 7 days, or larger than 2 hours on REST protocol versions prior to version 2011-08-18. The visibility timeout of a message can be set to a value later than the expiry time."
1865+
},
1866+
"VisibilityTimeoutForEnqueue": {
1867+
"name": "visibilitytimeout",
1868+
"x-ms-client-name": "visibilityTimeout",
1869+
"in": "query",
1870+
"required": false,
1871+
"type": "integer",
1872+
"minimum": 0,
1873+
"maximum": 604800,
1874+
"x-ms-parameter-location": "method",
1875+
"description": "Optional. If specified, the request must be made using an x-ms-version of 2011-08-18 or later. If not specified, the default value is 0. Specifies the new visibility timeout value, in seconds, relative to server time. The new value must be larger than or equal to 0, and cannot be larger than 7 days. The visibility timeout of a message cannot be set to a value later than the expiry time. visibilitytimeout should be set to a value smaller than the time-to-live value."
18651876
}
18661877
}
18671878
}

0 commit comments

Comments
 (0)