diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py b/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py index a87514230307..357562f34bd8 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py @@ -577,9 +577,9 @@ def receive_messages(self, **kwargs): :caption: List pages and corresponding messages from the queue. :keyword int visibility_timeout: - If not specified, the default value is 0. Specifies the + If not specified, the default value is 30. Specifies the new visibility timeout value, in seconds, relative to server time. - The value must be larger than or equal to 0, and cannot be + The value must be larger than or equal to 1, and cannot be larger than 7 days. The visibility timeout of a message cannot be set to a value later than the expiry time. visibility_timeout should be set to a value smaller than the time-to-live value. diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py b/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py index a6d3a2f50d42..e3a48766c13d 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py @@ -480,9 +480,9 @@ def receive_messages(self, **kwargs): `by_page()` can be used to provide a page iterator on the AsyncItemPaged if messages_per_page is set. `next()` can be used to get the next page. :keyword int visibility_timeout: - If not specified, the default value is 0. Specifies the + If not specified, the default value is 30. Specifies the new visibility timeout value, in seconds, relative to server time. - The value must be larger than or equal to 0, and cannot be + The value must be larger than or equal to 1, and cannot be larger than 7 days. The visibility timeout of a message cannot be set to a value later than the expiry time. visibility_timeout should be set to a value smaller than the time-to-live value.