Skip to content

Commit

Permalink
fix description of enqueue message's visibilityTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ljian3377 committed Oct 30, 2020
1 parent bc0a336 commit 22cb79d
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@
"$ref": "#/parameters/RequiredQueueMessage"
},
{
"$ref": "#/parameters/VisibilityTimeout"
"$ref": "#/parameters/VisibilityTimeoutForEnqueue"
},
{
"$ref": "#/parameters/MessageTTL"
Expand Down Expand Up @@ -1862,6 +1862,17 @@
"maximum": 604800,
"x-ms-parameter-location": "method",
"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."
},
"VisibilityTimeoutForEnqueue": {
"name": "visibilitytimeout",
"x-ms-client-name": "visibilityTimeout",
"in": "query",
"required": false,
"type": "integer",
"minimum": 0,
"maximum": 604800,
"x-ms-parameter-location": "method",
"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."
}
}
}

0 comments on commit 22cb79d

Please sign in to comment.