Skip to content

Commit 921a55e

Browse files
authored
Fix urls (Azure#39120)
1 parent 5c6c44a commit 921a55e

File tree

8 files changed

+34
-34
lines changed

8 files changed

+34
-34
lines changed

sdk/servicebus/azure-servicebus/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ Version 7.0.0b1 is a preview of our efforts to create a client library that is u
785785

786786
* Introduces new AMQP-based API.
787787
* Original HTTP-based API still available under new namespace: azure.servicebus.control_client
788-
* For full API changes, please see updated [reference documentation](https://docs.microsoft.com/python/api/azure-servicebus/azure.servicebus?view=azure-python).
788+
* For full API changes, please see updated [reference documentation](https://learn.microsoft.com/python/api/azure-servicebus/azure.servicebus?view=azure-python).
789789

790790
Within the new namespace, the original HTTP-based API from version 0.21.1 remains unchanged (i.e. no additional features or bugfixes)
791791
so for those intending to only use HTTP operations - there is no additional benefit in updating at this time.

sdk/servicebus/azure-servicebus/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ Please find further examples in the [samples](https://github.com/Azure/azure-sdk
506506

507507
### Additional documentation
508508

509-
For more extensive documentation on the Service Bus service, see the [Service Bus documentation][service_bus_docs] on docs.microsoft.com.
509+
For more extensive documentation on the Service Bus service, see the [Service Bus documentation][service_bus_docs] on learn.microsoft.com.
510510

511511
### Management capabilities and documentation
512512

@@ -594,30 +594,30 @@ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.
594594
contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
595595

596596
<!-- LINKS -->
597-
[azure_cli]: https://docs.microsoft.com/cli/azure
598-
[api_docs]: https://docs.microsoft.com/python/api/overview/azure/servicebus-readme
599-
[product_docs]: https://docs.microsoft.com/azure/service-bus-messaging/
597+
[azure_cli]: https://learn.microsoft.com/cli/azure
598+
[api_docs]: https://learn.microsoft.com/python/api/overview/azure/servicebus-readme
599+
[product_docs]: https://learn.microsoft.com/azure/service-bus-messaging/
600600
[azure_portal]: https://portal.azure.com
601601
[azure_sub]: https://azure.microsoft.com/free/
602-
[cloud_shell]: https://docs.microsoft.com/azure/cloud-shell/overview
602+
[cloud_shell]: https://learn.microsoft.com/azure/cloud-shell/overview
603603
[cloud_shell_bash]: https://shell.azure.com/bash
604604
[pip]: https://pypi.org/project/pip/
605605
[pypi]: https://pypi.org/project/azure-servicebus/
606606
[python]: https://www.python.org/downloads/
607607
[venv]: https://docs.python.org/3/library/venv.html
608608
[virtualenv]: https://virtualenv.pypa.io
609-
[service_bus_namespace]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-create-namespace-portal
610-
[service_bus_overview]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview
611-
[queue_status_codes]: https://docs.microsoft.com/rest/api/servicebus/create-queue#response-codes
612-
[service_bus_docs]: https://docs.microsoft.com/azure/service-bus/
613-
[service_bus_mgmt_docs]: https://docs.microsoft.com/python/api/azure-mgmt-servicebus/?view=azure-python
614-
[queue_concept]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview#queues
615-
[topic_concept]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview#topics
616-
[subscription_concept]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-queues-topics-subscriptions#topics-and-subscriptions
617-
[azure_namespace_creation]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-create-namespace-portal
609+
[service_bus_namespace]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-create-namespace-portal
610+
[service_bus_overview]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview
611+
[queue_status_codes]: https://learn.microsoft.com/rest/api/servicebus/create-queue#response-codes
612+
[service_bus_docs]: https://learn.microsoft.com/azure/service-bus/
613+
[service_bus_mgmt_docs]: https://learn.microsoft.com/python/api/azure-mgmt-servicebus/?view=azure-python
614+
[queue_concept]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview#queues
615+
[topic_concept]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview#topics
616+
[subscription_concept]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-queues-topics-subscriptions#topics-and-subscriptions
617+
[azure_namespace_creation]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-create-namespace-portal
618618
[servicebus_management_repository]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/servicebus/azure-mgmt-servicebus
619-
[get_servicebus_conn_str]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-create-namespace-portal#get-the-connection-string
620-
[servicebus_aad_authentication]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-authentication-and-authorization
619+
[get_servicebus_conn_str]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-create-namespace-portal#get-the-connection-string
620+
[servicebus_aad_authentication]: https://learn.microsoft.com/azure/service-bus-messaging/service-bus-authentication-and-authorization
621621
[token_credential_interface]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core/azure/core/credentials.py
622622
[pypi_azure_identity]: https://pypi.org/project/azure-identity/
623623
[message_reference]: https://azuresdkdocs.blob.core.windows.net/$web/python/azure-servicebus/latest/azure.servicebus.html#azure.servicebus.ServiceBusMessage

sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def session_id(self) -> Optional[str]:
263263
Messages with the same session identifier are subject to summary locking and enable exact in-order
264264
processing and demultiplexing. For non-sessionful entities, this value is ignored.
265265
266-
See Message Sessions in `https://docs.microsoft.com/azure/service-bus-messaging/message-sessions`.
266+
See Message Sessions in `https://learn.microsoft.com/azure/service-bus-messaging/message-sessions`.
267267
268268
:rtype: str or None
269269
"""
@@ -305,7 +305,7 @@ def partition_key(self) -> Optional[str]:
305305
The partition is chosen by a hash function over this value and cannot be chosen directly.
306306
307307
See Partitioned queues and topics in
308-
`https://docs.microsoft.com/azure/service-bus-messaging/service-bus-partitioning`.
308+
`https://learn.microsoft.com/azure/service-bus-messaging/service-bus-partitioning`.
309309
310310
:rtype: str or None
311311
"""
@@ -338,7 +338,7 @@ def time_to_live(self) -> Optional[datetime.timedelta]:
338338
A message-level time-to-live value cannot be longer than the entity's time-to-live setting and it is silently
339339
adjusted if it does.
340340
341-
See Expiration in `https://docs.microsoft.com/azure/service-bus-messaging/message-expiration`
341+
See Expiration in `https://learn.microsoft.com/azure/service-bus-messaging/message-expiration`
342342
343343
:rtype: ~datetime.timedelta
344344
"""
@@ -454,7 +454,7 @@ def correlation_id(self) -> Optional[str]:
454454
reflecting the MessageId of a message that is being replied to.
455455
456456
See Message Routing and Correlation in
457-
`https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messages-payloads?#message-routing-and-correlation`.
457+
`https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messages-payloads?#message-routing-and-correlation`.
458458
459459
:rtype: str or None
460460
"""
@@ -500,7 +500,7 @@ def message_id(self) -> Optional[str]:
500500
The message identifier is an application-defined value that uniquely identifies the message and its payload.
501501
The identifier is a free-form string and can reflect a GUID or an identifier derived from the
502502
application context. If enabled, the duplicate detection (see
503-
`https://docs.microsoft.com/azure/service-bus-messaging/duplicate-detection`)
503+
`https://learn.microsoft.com/azure/service-bus-messaging/duplicate-detection`)
504504
feature identifies and removes second and further submissions of messages with the same message id.
505505
506506
:rtype: str or None
@@ -530,7 +530,7 @@ def reply_to(self) -> Optional[str]:
530530
or topic it expects the reply to be sent to.
531531
532532
See Message Routing and Correlation in
533-
`https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messages-payloads?#message-routing-and-correlation`.
533+
`https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messages-payloads?#message-routing-and-correlation`.
534534
535535
:rtype: str or None
536536
"""
@@ -556,7 +556,7 @@ def reply_to_session_id(self) -> Optional[str]:
556556
when sent to the reply entity.
557557
558558
See Message Routing and Correlation in
559-
`https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messages-payloads?#message-routing-and-correlation`.
559+
`https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messages-payloads?#message-routing-and-correlation`.
560560
561561
:rtype: str or None
562562
"""
@@ -586,7 +586,7 @@ def to(self) -> Optional[str]:
586586
Applications can use this value in rule-driven auto-forward chaining scenarios to indicate the intended
587587
logical destination of the message.
588588
589-
See https://docs.microsoft.com/azure/service-bus-messaging/service-bus-auto-forwarding for more details.
589+
See https://learn.microsoft.com/azure/service-bus-messaging/service-bus-auto-forwarding for more details.
590590
591591
:rtype: str or None
592592
"""

sdk/servicebus/azure-servicebus/azure/servicebus/aio/management/_management_client_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def update_queue(self, queue: Union[QueueProperties, Mapping[str, Any]], *
430430
431431
Before calling this method, you should use `get_queue`, `create_queue` or `list_queues` to get a
432432
`QueueProperties` instance, then update the properties. Only a portion of properties can
433-
be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue.
433+
be updated. Refer to https://learn.microsoft.com/rest/api/servicebus/update-queue.
434434
You could also pass keyword arguments for updating properties in the form of
435435
`<property_name>=<property_value>` which will override whatever was specified in
436436
the `QueueProperties` instance. Refer to ~azure.servicebus.management.QueueProperties for names of properties.
@@ -650,7 +650,7 @@ async def update_topic(self, topic: Union[TopicProperties, Mapping[str, Any]], *
650650
651651
Before calling this method, you should use `get_topic`, `create_topic` or `list_topics` to get a
652652
`TopicProperties` instance, then update the properties. Only a portion of properties can be updated.
653-
Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-topic.
653+
Refer to https://learn.microsoft.com/rest/api/servicebus/update-topic.
654654
You could also pass keyword arguments for updating properties in the form of
655655
`<property_name>=<property_value>` which will override whatever was specified in
656656
the `TopicProperties` instance. Refer to ~azure.servicebus.management.TopicProperties for names of properties.

sdk/servicebus/azure-servicebus/azure/servicebus/management/_management_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def update_queue(self, queue: Union[QueueProperties, Mapping[str, Any]], **kwarg
426426
427427
Before calling this method, you should use `get_queue`, `create_queue` or `list_queues` to get a
428428
`QueueProperties` instance, then update the properties. Only a portion of properties can
429-
be updated. Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-queue.
429+
be updated. Refer to https://learn.microsoft.com/rest/api/servicebus/update-queue.
430430
You could also pass keyword arguments for updating properties in the form of
431431
`<property_name>=<property_value>` which will override whatever was specified in
432432
the `QueueProperties` instance. Refer to ~azure.servicebus.management.QueueProperties for names of properties.
@@ -645,7 +645,7 @@ def update_topic(self, topic: Union[TopicProperties, Mapping[str, Any]], **kwarg
645645
646646
Before calling this method, you should use `get_topic`, `create_topic` or `list_topics` to get a
647647
`TopicProperties` instance, then update the properties. Only a portion of properties can be updated.
648-
Refer to https://docs.microsoft.com/en-us/rest/api/servicebus/update-topic.
648+
Refer to https://learn.microsoft.com/rest/api/servicebus/update-topic.
649649
You could also pass keyword arguments for updating properties in the form of
650650
`<property_name>=<property_value>` which will override whatever was specified in
651651
the `TopicProperties` instance. Refer to ~azure.servicebus.management.TopicProperties for names of properties.

sdk/servicebus/azure-servicebus/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,5 @@ pip install azure-identity
123123

124124
## Next steps
125125

126-
Check out the [API reference documentation](https://docs.microsoft.com/python/api/overview/azure/servicebus-readme) to learn more about
126+
Check out the [API reference documentation](https://learn.microsoft.com/python/api/overview/azure/servicebus-readme) to learn more about
127127
what you can do with the Azure Service Bus client library.

sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_queues.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,10 +416,10 @@ def test_mgmt_queue_premium_create_with_queue_description(self, servicebus_fully
416416
assert queue.duplicate_detection_history_time_window == datetime.timedelta(minutes=12)
417417
assert queue.enable_batched_operations == True
418418
# enable_express is not supported for the premium sku, see doc
419-
# https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#express-entities
419+
# https://learn.microsoft.com/azure/service-bus-messaging/service-bus-premium-messaging#express-entities
420420
# assert queue.enable_express == True
421421
# partitioning is not available for the the premium sku, see doc
422-
# https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-partitioning
422+
# https://learn.microsoft.com/azure/service-bus-messaging/service-bus-partitioning
423423
# assert queue.enable_partitioning == True
424424
assert queue.lock_duration == datetime.timedelta(seconds=13)
425425
assert queue.max_delivery_count == 14

sdk/servicebus/azure-servicebus/tests/mgmt_tests/test_mgmt_topics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ def test_mgmt_topic_premium_create_with_topic_description(self, servicebus_fully
133133
assert topic.duplicate_detection_history_time_window == datetime.timedelta(minutes=12)
134134
assert topic.enable_batched_operations
135135
# enable_express is not supported for the premium sku, see doc
136-
# https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#express-entities
136+
# https://learn.microsoft.com/azure/service-bus-messaging/service-bus-premium-messaging#express-entities
137137
# assert topic.enable_express
138138
# partitioning is not available for the the premium sku, see doc
139-
# https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-partitioning
139+
# https://learn.microsoft.com/azure/service-bus-messaging/service-bus-partitioning
140140
# assert topic.enable_partitioning
141141
assert topic.max_size_in_megabytes % 3072 == 0
142142
assert topic.max_message_size_in_kilobytes == 12345

0 commit comments

Comments
 (0)