@@ -73,12 +73,12 @@ class QueueClient(StorageAccountHostsMixin, StorageEncryptionMixin):
73
73
:keyword str secondary_hostname:
74
74
The hostname of the secondary endpoint.
75
75
:keyword message_encode_policy: The encoding policy to use on outgoing messages.
76
- Default is not to encode messages. Other options include :class:` TextBase64EncodePolicy` ,
77
- :class:` BinaryBase64EncodePolicy` or `None`.
76
+ Default is not to encode messages. Other options include ~azure.storage.queue. TextBase64EncodePolicy,
77
+ ~azure.storage.queue. BinaryBase64EncodePolicy or `None`.
78
78
:paramtype message_encode_policy: BinaryBase64EncodePolicy or TextBase64EncodePolicy or None
79
79
:keyword message_decode_policy: The decoding policy to use on incoming messages.
80
- Default value is not to decode messages. Other options include :class:` TextBase64DecodePolicy` ,
81
- :class:` BinaryBase64DecodePolicy` or `None`.
80
+ Default value is not to decode messages. Other options include ~azure.storage.queue. TextBase64DecodePolicy,
81
+ ~azure.storage.queue. BinaryBase64DecodePolicy or `None`.
82
82
:paramtype message_decode_policy: BinaryBase64DecodePolicy or TextBase64DecodePolicy or None
83
83
:keyword str audience: The audience to use when requesting tokens for Azure Active Directory
84
84
authentication. Only has an effect when credential is of type TokenCredential. The value could be
@@ -167,12 +167,12 @@ def from_queue_url(
167
167
:keyword str secondary_hostname:
168
168
The hostname of the secondary endpoint.
169
169
:keyword message_encode_policy: The encoding policy to use on outgoing messages.
170
- Default is not to encode messages. Other options include :class:` TextBase64EncodePolicy` ,
171
- :class:` BinaryBase64EncodePolicy` or `None`.
170
+ Default is not to encode messages. Other options include ~azure.storage.queue. TextBase64EncodePolicy,
171
+ ~azure.storage.queue. BinaryBase64EncodePolicy or `None`.
172
172
:paramtype message_encode_policy: BinaryBase64EncodePolicy or TextBase64EncodePolicy or None
173
173
:keyword message_decode_policy: The decoding policy to use on incoming messages.
174
- Default value is not to decode messages. Other options include :class:` TextBase64DecodePolicy` ,
175
- :class:` BinaryBase64DecodePolicy` or `None`.
174
+ Default value is not to decode messages. Other options include ~azure.storage.queue. TextBase64DecodePolicy,
175
+ ~azure.storage.queue. BinaryBase64DecodePolicy or `None`.
176
176
:paramtype message_decode_policy: BinaryBase64DecodePolicy or TextBase64DecodePolicy or None
177
177
:keyword str audience: The audience to use when requesting tokens for Azure Active Directory
178
178
authentication. Only has an effect when credential is of type TokenCredential. The value could be
@@ -232,12 +232,12 @@ def from_connection_string(
232
232
:keyword str secondary_hostname:
233
233
The hostname of the secondary endpoint.
234
234
:keyword message_encode_policy: The encoding policy to use on outgoing messages.
235
- Default is not to encode messages. Other options include :class:` TextBase64EncodePolicy` ,
236
- :class:` BinaryBase64EncodePolicy` or `None`.
235
+ Default is not to encode messages. Other options include ~azure.storage.queue. TextBase64EncodePolicy,
236
+ ~azure.storage.queue. BinaryBase64EncodePolicy or `None`.
237
237
:paramtype message_encode_policy: BinaryBase64EncodePolicy or TextBase64EncodePolicy or None
238
238
:keyword message_decode_policy: The decoding policy to use on incoming messages.
239
- Default value is not to decode messages. Other options include :class:` TextBase64DecodePolicy` ,
240
- :class:` BinaryBase64DecodePolicy` or `None`.
239
+ Default value is not to decode messages. Other options include ~azure.storage.queue. TextBase64DecodePolicy,
240
+ ~azure.storage.queue. BinaryBase64DecodePolicy or `None`.
241
241
:paramtype message_decode_policy: BinaryBase64DecodePolicy or TextBase64DecodePolicy or None
242
242
:keyword str audience: The audience to use when requesting tokens for Azure Active Directory
243
243
authentication. Only has an effect when credential is of type TokenCredential. The value could be
@@ -325,7 +325,7 @@ def delete_queue(self, *, timeout: Optional[int] = None, **kwargs: Any) -> None:
325
325
326
326
Note that deleting a queue is likely to take at least 40 seconds to complete.
327
327
If an operation is attempted against the queue while it was being deleted,
328
- an :class:` HttpResponseError` will be thrown.
328
+ an ~azure.core.exceptions. HttpResponseError will be thrown.
329
329
330
330
:keyword int timeout:
331
331
Sets the server-side timeout for the operation in seconds. For more details see
@@ -467,7 +467,7 @@ def set_queue_access_policy(
467
467
When you establish a stored access policy on a queue, it may take up to
468
468
30 seconds to take effect. During this interval, a shared access signature
469
469
that is associated with the stored access policy will throw an
470
- :class:` HttpResponseError` until the access policy becomes active.
470
+ ~azure.core.exceptions. HttpResponseError until the access policy becomes active.
471
471
472
472
:param signed_identifiers:
473
473
SignedIdentifier access policies to associate with the queue.
@@ -550,7 +550,7 @@ def send_message(
550
550
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-queue
551
551
#other-client--per-operation-configuration>`__.
552
552
:return:
553
- A :class:` ~azure.storage.queue.QueueMessage` object.
553
+ A ~azure.storage.queue.QueueMessage object.
554
554
This object is also populated with the content, although it is not
555
555
returned from the service.
556
556
:rtype: ~azure.storage.queue.QueueMessage
@@ -831,7 +831,7 @@ def update_message(
831
831
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-queue
832
832
#other-client--per-operation-configuration>`__.
833
833
:return:
834
- A :class:` ~azure.storage.queue.QueueMessage` object. For convenience,
834
+ A ~azure.storage.queue.QueueMessage object. For convenience,
835
835
this object is also populated with the content, although it is not returned by the service.
836
836
:rtype: ~azure.storage.queue.QueueMessage
837
837
@@ -948,10 +948,10 @@ def peek_messages(
948
948
see `here <https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-queue
949
949
#other-client--per-operation-configuration>`__.
950
950
:return:
951
- A list of :class:` ~azure.storage.queue.QueueMessage` objects. Note that
951
+ A list of ~azure.storage.queue.QueueMessage objects. Note that
952
952
next_visible_on and pop_receipt will not be populated as peek does
953
953
not pop the message and can only retrieve already visible messages.
954
- :rtype: list [~azure.storage.queue.QueueMessage]
954
+ :rtype: List [~azure.storage.queue.QueueMessage]
955
955
956
956
.. admonition:: Example:
957
957
0 commit comments