Skip to content

Commit ebd70dc

Browse files
authored
Fix urls (Azure#39248)
1 parent f753a45 commit ebd70dc

File tree

15 files changed

+50
-50
lines changed

15 files changed

+50
-50
lines changed

sdk/communication/CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ If you ran the tests in LIVE mode, you may have noticed that the files inside th
4343

4444
The most probable thing is that the managed identity tests will fail at first. This is because we haven't set up any managed identity credentials for the DefaultAzureCredential object inside the tests to reference to. There are multiple ways of creating a managed identity credential.
4545

46-
One of the easiest ways is to install the [Azure CLI](https://docs.microsoft.com/cli/azure/install-azure-cli) and run the `az login` command. If you are listed as a contributor of the resource you are testing against, this should be enough for the DefaultAzureCredential object to get the corresponding Azure Active Directory credentials you need.
46+
One of the easiest ways is to install the [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli) and run the `az login` command. If you are listed as a contributor of the resource you are testing against, this should be enough for the DefaultAzureCredential object to get the corresponding Azure Active Directory credentials you need.
4747

4848
Another way to authenticate is to set up 3 environment variables called `AZURE_CLIENT_ID`, `AZURE_TENANT_ID` and `AZURE_CLIENT_SECRET` and set their values to the ones from a registered Azure Active Directory application that is linked to the resource you are testing against.
4949

50-
If you are testing against a personal resource, you can check the [Managed Identity Quickstart Guide for ACS](https://docs.microsoft.com/azure/communication-services/quickstarts/managed-identity-from-cli) for an easy ramp-up process.
50+
If you are testing against a personal resource, you can check the [Managed Identity Quickstart Guide for ACS](https://learn.microsoft.com/azure/communication-services/quickstarts/managed-identity-from-cli) for an easy ramp-up process.
5151

52-
For a more in-depth look on how to authenticate using managed identity, refer to the [Azure Identity client library for Python](https://docs.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python) documentation. This document also has more ways for you to authenticate using the DefaultAzureCredential object besides the ones we discussed in this contributing file.
52+
For a more in-depth look on how to authenticate using managed identity, refer to the [Azure Identity client library for Python](https://learn.microsoft.com/python/api/overview/azure/identity-readme?view=azure-python) documentation. This document also has more ways for you to authenticate using the DefaultAzureCredential object besides the ones we discussed in this contributing file.
5353

5454
### Running the New-TestResources and Remove-TestResources Scripts
5555

sdk/communication/azure-communication-callautomation/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ additional questions or comments.
108108

109109
<!-- LINKS -->
110110
[overview]: https://learn.microsoft.com/azure/communication-services/concepts/voice-video-calling/call-automation
111-
[product_docs]: https://docs.microsoft.com/azure/communication-services/overview
112-
[azure_cli]: https://docs.microsoft.com/cli/azure
111+
[product_docs]: https://learn.microsoft.com/azure/communication-services/overview
112+
[azure_cli]: https://learn.microsoft.com/cli/azure
113113
[azure_sub]: https://azure.microsoft.com/free/
114114
[azure_portal]: https://portal.azure.com
115-
[azure_powershell]: https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice
115+
[azure_powershell]: https://learn.microsoft.com/powershell/module/az.communication/new-azcommunicationservice
116116
[build_doc]: https://aka.ms/AzureSDKBundling
117117
[incomingcall]: https://learn.microsoft.com/azure/communication-services/concepts/voice-video-calling/incoming-call-notification
118118
[build1]: https://learn.microsoft.com/azure/communication-services/quickstarts/voice-video-calling/callflows-for-customer-interactions?pivots=programming-language-csha

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_generated/models/_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6238,14 +6238,14 @@ class TextSource(_serialization.Model):
62386238
:vartype text: str
62396239
:ivar source_locale: Source language locale to be played
62406240
Refer to available locales here: :code:`<seealso
6241-
href="https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
6241+
href="https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
62426242
/>`.
62436243
:vartype source_locale: str
62446244
:ivar voice_kind: Voice kind type. Known values are: "male" and "female".
62456245
:vartype voice_kind: str or ~azure.communication.callautomation.models.VoiceKind
62466246
:ivar voice_name: Voice name to be played
62476247
Refer to available Text-to-speech voices here: :code:`<seealso
6248-
href="https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
6248+
href="https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
62496249
/>`.
62506250
:vartype voice_name: str
62516251
:ivar custom_voice_endpoint_id: Endpoint where the custom voice was deployed.
@@ -6279,14 +6279,14 @@ def __init__(
62796279
:paramtype text: str
62806280
:keyword source_locale: Source language locale to be played
62816281
Refer to available locales here: :code:`<seealso
6282-
href="https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
6282+
href="https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
62836283
/>`.
62846284
:paramtype source_locale: str
62856285
:keyword voice_kind: Voice kind type. Known values are: "male" and "female".
62866286
:paramtype voice_kind: str or ~azure.communication.callautomation.models.VoiceKind
62876287
:keyword voice_name: Voice name to be played
62886288
Refer to available Text-to-speech voices here: :code:`<seealso
6289-
href="https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
6289+
href="https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"
62906290
/>`.
62916291
:paramtype voice_name: str
62926292
:keyword custom_voice_endpoint_id: Endpoint where the custom voice was deployed.

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ class TextSource:
259259
:keyword text: Text for the cognitive service to be played. Required.
260260
:paramtype text: str
261261
:keyword source_locale: Source language locale to be played. Refer to available locales here:
262-
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts
262+
https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts
263263
:paramtype source_locale: str
264264
:keyword voice_kind: Voice kind type. Known values are: "male" and "female".
265265
:paramtype voice_kind: str or ~azure.communication.callautomation.VoiceKind
266266
:keyword voice_name: Voice name to be played. Refer to available Text-to-speech voices here:
267-
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts
267+
https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts
268268
:paramtype voice_name: str
269269
:keyword play_source_cache_id: Cached source id of the play media, if it exists.
270270
:paramtype play_source_cache_id: str
@@ -276,12 +276,12 @@ class TextSource:
276276
"""Text for the cognitive service to be played."""
277277
source_locale: Optional[str]
278278
"""Source language locale to be played. Refer to available locales here:
279-
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"""
279+
https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"""
280280
voice_kind: Optional[Union[str, "VoiceKind"]]
281281
"""Voice kind type. Known values are: "male" and "female"."""
282282
voice_name: Optional[str]
283283
"""Voice name to be played. Refer to available Text-to-speech voices here:
284-
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"""
284+
https://learn.microsoft.com/azure/cognitive-services/speech-service/language-support?tabs=stt-tts"""
285285
play_source_cache_id: Optional[str]
286286
"""Cached source id of the play media, if it exists."""
287287
custom_voice_endpoint_id: Optional[str]

sdk/communication/azure-communication-chat/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Azure Communication Chat Package client library for Python
22

33
This package contains a Python SDK for Azure Communication Services for Chat.
4-
Read more about Azure Communication Services [here](https://docs.microsoft.com/azure/communication-services/overview)
4+
Read more about Azure Communication Services [here](https://learn.microsoft.com/azure/communication-services/overview)
55

66
[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/communication/azure-communication-chat)
77
| [Package (Pypi)](https://pypi.org/project/azure-communication-chat/)
88
| [Package (Conda)](https://anaconda.org/microsoft/azure-communication/)
99
| [API reference documentation](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-communication-chat/1.0.0b5/index.html)
10-
| [Product documentation](https://docs.microsoft.com/azure/communication-services/)
10+
| [Product documentation](https://learn.microsoft.com/azure/communication-services/)
1111

1212
## _Disclaimer_
1313

@@ -18,7 +18,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1818
## Prerequisites
1919

2020
- Python 3.7 or later is required to use this package.
21-
- A deployed Communication Services resource. You can use the [Azure Portal](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp) or the [Azure PowerShell](https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice) to set it up.
21+
- A deployed Communication Services resource. You can use the [Azure Portal](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp) or the [Azure PowerShell](https://learn.microsoft.com/powershell/module/az.communication/new-azcommunicationservice) to set it up.
2222

2323
## Install the package
2424

sdk/communication/azure-communication-email/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
232232
[coc]: https://opensource.microsoft.com/codeofconduct/
233233
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
234234
[coc_contact]: mailto:[email protected]
235-
[communication_resource_docs]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
235+
[communication_resource_docs]: https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
236236
[email_resource_docs]: https://aka.ms/acsemail/createemailresource
237-
[communication_resource_create_portal]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
238-
[communication_resource_create_power_shell]: https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice
239-
[communication_resource_create_net]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-net
237+
[communication_resource_create_portal]: https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
238+
[communication_resource_create_power_shell]: https://learn.microsoft.com/powershell/module/az.communication/new-azcommunicationservice
239+
[communication_resource_create_net]: https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-net
240240
[package]: https://www.nuget.org/packages/Azure.Communication.Common/
241241
[product_docs]: https://aka.ms/acsemail/overview
242242
[nextsteps]: https://aka.ms/acsemail/overview

sdk/communication/azure-communication-identity/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@
110110
<!-- LINKS -->
111111

112112
[read_me]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/communication/azure-communication-identity/README.md
113-
[documentation]: https://docs.microsoft.com/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-python
113+
[documentation]: https://learn.microsoft.com/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-python

sdk/communication/azure-communication-identity/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Azure Communication Identity client package is intended to be used to setup the
66
| [Package (Pypi)](https://pypi.org/project/azure-communication-identity/)
77
| [Package (Conda)](https://anaconda.org/microsoft/azure-communication/)
88
| [API reference documentation](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/communication/azure-communication-identity)
9-
| [Product documentation](https://docs.microsoft.com/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-python)
9+
| [Product documentation](https://learn.microsoft.com/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-python)
1010

1111
## _Disclaimer_
1212

@@ -16,7 +16,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1616
## Prerequisites
1717
- Python 3.8 or later is required to use this package.
1818
- You must have an [Azure subscription](https://azure.microsoft.com/free/)
19-
- A deployed Communication Services resource. You can use the [Azure Portal](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp) or the [Azure PowerShell](https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice) to set it up.
19+
- A deployed Communication Services resource. You can use the [Azure Portal](https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp) or the [Azure PowerShell](https://learn.microsoft.com/powershell/module/az.communication/new-azcommunicationservice) to set it up.
2020
## Install the package
2121
Install the Azure Communication Identity client library for Python with [pip](https://pypi.org/project/pip/):
2222

sdk/communication/azure-communication-jobrouter/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -337,20 +337,20 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
337337
[coc]: https://opensource.microsoft.com/codeofconduct/
338338
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
339339
[coc_contact]: mailto:[email protected]
340-
[communication_resource_docs]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
341-
[communication_resource_create_portal]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
342-
[communication_resource_create_power_shell]: https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice
343-
[communication_resource_create_net]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-net
344-
[nextsteps]:https://docs.microsoft.com/azure/communication-services/concepts/router/concepts
340+
[communication_resource_docs]: https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
341+
[communication_resource_create_portal]: https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp
342+
[communication_resource_create_power_shell]: https://learn.microsoft.com/powershell/module/az.communication/new-azcommunicationservice
343+
[communication_resource_create_net]: https://learn.microsoft.com/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-net
344+
[nextsteps]:https://learn.microsoft.com/azure/communication-services/concepts/router/concepts
345345

346346
[source]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/communication/azure-communication-jobrouter
347-
[product_docs]: https://docs.microsoft.com/azure/communication-services/overview
348-
[classification_concepts]: https://docs.microsoft.com/azure/communication-services/concepts/router/classification-concepts
349-
[subscribe_events]: https://docs.microsoft.com/azure/communication-services/how-tos/router-sdk/subscribe-events
350-
[offer_issued_event_schema]: https://docs.microsoft.com/azure/communication-services/how-tos/router-sdk/subscribe-events#microsoftcommunicationrouterworkerofferissued
347+
[product_docs]: https://learn.microsoft.com/azure/communication-services/overview
348+
[classification_concepts]: https://learn.microsoft.com/azure/communication-services/concepts/router/classification-concepts
349+
[subscribe_events]: https://learn.microsoft.com/azure/communication-services/how-tos/router-sdk/subscribe-events
350+
[offer_issued_event_schema]: https://learn.microsoft.com/azure/communication-services/how-tos/router-sdk/subscribe-events#microsoftcommunicationrouterworkerofferissued
351351
[deserialize_event_grid_event_data]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventgrid/azure-eventgrid#consume-from-servicebus
352-
[event_grid_event_handlers]: https://docs.microsoft.com/azure/event-grid/event-handlers
353-
[webhook_event_grid_event_delivery]: https://docs.microsoft.com/azure/event-grid/webhook-event-delivery
352+
[event_grid_event_handlers]: https://learn.microsoft.com/azure/event-grid/event-handlers
353+
[webhook_event_grid_event_delivery]: https://learn.microsoft.com/azure/event-grid/webhook-event-delivery
354354
[pypi]: https://pypi.org
355355
[pip]: https://pypi.org/project/pip/
356356

sdk/communication/azure-communication-messages/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ additional questions or comments.
9191

9292
<!-- LINKS -->
9393
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
94-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
94+
[authenticate_with_token]: https://learn.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
9595
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
9696
[azure_identity_pip]: https://pypi.org/project/azure-identity/
9797
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
9898
[pip]: https://pypi.org/project/pip/
9999
[azure_sub]: https://azure.microsoft.com
100100

101101
[source]: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/communication/azure-communication-messages
102-
[product_docs]: https://docs.microsoft.com/azure/communication-services/overview
102+
[product_docs]: https://learn.microsoft.com/azure/communication-services/overview
103103
[pypi]: https://pypi.org
104104
[nextsteps]: https://learn.microsoft.com/azure/communication-services/concepts/advanced-messaging/whatsapp/whatsapp-overview

0 commit comments

Comments
 (0)