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 852cc26858ae..cd19c17a1b9a 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 @@ -590,9 +590,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 88df4968863d..fffd153325b3 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 @@ -483,9 +483,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.