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 6898af943f2c..05b5d07dcdea 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 @@ -553,9 +553,9 @@ def receive_message(self, **kwargs: Any) -> Optional[QueueMessage]: decrypted before being returned. :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 c165c07bf431..1046f1e4a6a3 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 @@ -437,9 +437,9 @@ async def receive_message(self, **kwargs: Any) -> Optional[QueueMessage]: decrypted before being returned. :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.