diff --git a/sdk/maps/azure-maps-geolocation/README.md b/sdk/maps/azure-maps-geolocation/README.md index 1b68db5093cb..8f1034f950a3 100644 --- a/sdk/maps/azure-maps-geolocation/README.md +++ b/sdk/maps/azure-maps-geolocation/README.md @@ -1,9 +1,9 @@ # Azure Maps Geolocation Package client library for Python This package contains a Python SDK for Azure Maps Services for Geolocation. -Read more about Azure Maps Services [here](https://docs.microsoft.com/azure/azure-maps/) +Read more about Azure Maps Services [here](https://learn.microsoft.com/azure/azure-maps/) -[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-geolocation) | [API reference documentation](https://docs.microsoft.com/rest/api/maps/geolocation) | [Product documentation](https://docs.microsoft.com/azure/azure-maps/) +[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-geolocation) | [API reference documentation](https://learn.microsoft.com/rest/api/maps/geolocation) | [Product documentation](https://learn.microsoft.com/azure/azure-maps/) ## _Disclaimer_ @@ -14,10 +14,10 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For ### Prerequisites - Python 3.8 or later is required to use this package. -- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys). +- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys). - A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. -If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://docs.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://docs.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. +If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://learn.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://learn.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. ```bash az maps account create --resource-group --account-name --sku @@ -75,7 +75,7 @@ from azure.mgmt.maps import AzureMapsManagementClient Before run the sample, please set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET. For more info about how to get the value, please see: - https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal + https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal """ @@ -242,7 +242,7 @@ Further detail please refer to [Samples Introduction](https://github.com/Azure/a ### Additional documentation -For more extensive documentation on Azure Maps Geolocation, see the [Azure Maps Geolocation documentation](https://docs.microsoft.com/rest/api/maps/geolocation) on docs.microsoft.com. +For more extensive documentation on Azure Maps Geolocation, see the [Azure Maps Geolocation documentation](https://learn.microsoft.com/rest/api/maps/geolocation) on learn.microsoft.com. ## Contributing @@ -256,11 +256,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope [azure_subscription]: https://azure.microsoft.com/free/ [azure_identity]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure [azure-key-credential]: https://aka.ms/azsdk/python/core/azurekeycredential [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[register_microsoft_entra_id_app]: https://docs.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 -[maps_authentication_microsoft_entra_id]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication +[register_microsoft_entra_id_app]: https://learn.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 +[maps_authentication_microsoft_entra_id]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication [create_new_application_registration]: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/applicationsListBlade/quickStartType/AspNetWebAppQuickstartPage/sourceType/docs -[manage_microsoft_entra_id_auth_page]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication -[how_to_manage_authentication]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details +[manage_microsoft_entra_id_auth_page]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication +[how_to_manage_authentication]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details diff --git a/sdk/maps/azure-maps-geolocation/samples/README.md b/sdk/maps/azure-maps-geolocation/samples/README.md index bebbf5b1abd1..cb932954ffe2 100644 --- a/sdk/maps/azure-maps-geolocation/samples/README.md +++ b/sdk/maps/azure-maps-geolocation/samples/README.md @@ -11,7 +11,7 @@ products: These code samples show common scenario operations with the Azure Maps Geolocation client library. -Authenticate the client with a Azure Maps Geolocation [API Key Credential](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys): +Authenticate the client with a Azure Maps Geolocation [API Key Credential](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys): [samples authentication](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/maps/azure-maps-geolocation/samples/sample_authentication.py) ([async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/maps/azure-maps-geolocation/samples/async_samples/sample_authentication_async.py)) @@ -44,9 +44,9 @@ Then for common Azure Maps Geolocation operations: ## Next steps -Check out the [API reference documentation](https://docs.microsoft.com/rest/api/maps/geolocation) +Check out the [API reference documentation](https://learn.microsoft.com/rest/api/maps/geolocation) to learn more about what you can do with the Azure Maps Geolocation client library. [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure diff --git a/sdk/maps/azure-maps-geolocation/samples/async_samples/sample_authentication_async.py b/sdk/maps/azure-maps-geolocation/samples/async_samples/sample_authentication_async.py index 84f80f62cb69..5af9755df560 100644 --- a/sdk/maps/azure-maps-geolocation/samples/async_samples/sample_authentication_async.py +++ b/sdk/maps/azure-maps-geolocation/samples/async_samples/sample_authentication_async.py @@ -11,7 +11,7 @@ DESCRIPTION: This sample demonstrates how to authenticate with the Azure Maps Geolocation service with an Subscription key. See more details about authentication here: - https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys + https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys USAGE: python sample_authentication_async.py Set the environment variables with your own values before running the sample: diff --git a/sdk/maps/azure-maps-geolocation/samples/sample_authentication.py b/sdk/maps/azure-maps-geolocation/samples/sample_authentication.py index ec5888960591..e5a03d5c2812 100644 --- a/sdk/maps/azure-maps-geolocation/samples/sample_authentication.py +++ b/sdk/maps/azure-maps-geolocation/samples/sample_authentication.py @@ -11,7 +11,7 @@ DESCRIPTION: This sample demonstrates how to authenticate with the Azure Maps Geolocation service with an Subscription key. See more details about authentication here: - https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys + https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys USAGE: python sample_authentication.py Set the environment variables with your own values before running the sample: diff --git a/sdk/maps/azure-maps-render/README.md b/sdk/maps/azure-maps-render/README.md index f79aa47758eb..097f6dd0c8bf 100644 --- a/sdk/maps/azure-maps-render/README.md +++ b/sdk/maps/azure-maps-render/README.md @@ -1,9 +1,9 @@ # Azure Maps Render Package client library for Python This package contains a Python SDK for Azure Maps Services for Render. -Read more about Azure Maps Services [here](https://docs.microsoft.com/azure/azure-maps/) +Read more about Azure Maps Services [here](https://learn.microsoft.com/azure/azure-maps/) -[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-render) | [API reference documentation](https://docs.microsoft.com/rest/api/maps/render) | [Product documentation](https://docs.microsoft.com/azure/azure-maps/) +[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-render) | [API reference documentation](https://learn.microsoft.com/rest/api/maps/render) | [Product documentation](https://learn.microsoft.com/azure/azure-maps/) ## _Disclaimer_ @@ -14,10 +14,10 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For ### Prerequisites - Python 3.8 or later is required to use this package. -- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys). +- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys). - A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. -If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://docs.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://docs.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. +If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://learn.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://learn.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. ```bash az maps account create --resource-group --account-name --sku @@ -75,7 +75,7 @@ from azure.mgmt.maps import AzureMapsManagementClient Before run the sample, please set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET. For more info about how to get the value, please see: - https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal + https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal """ @@ -324,7 +324,7 @@ Further detail please refer to [Samples Introduction](https://github.com/Azure/a ### Additional documentation -For more extensive documentation on Azure Maps Render, see the [Azure Maps Render documentation](https://docs.microsoft.com/rest/api/maps/render) on docs.microsoft.com. +For more extensive documentation on Azure Maps Render, see the [Azure Maps Render documentation](https://learn.microsoft.com/rest/api/maps/render) on learn.microsoft.com. ## Contributing @@ -338,11 +338,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope [azure_subscription]: https://azure.microsoft.com/free/ [azure_identity]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure [azure-key-credential]: https://aka.ms/azsdk/python/core/azurekeycredential [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[register_microsoft_entra_id_app]: https://docs.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 -[maps_authentication_microsoft_entra_id]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication +[register_microsoft_entra_id_app]: https://learn.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 +[maps_authentication_microsoft_entra_id]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication [create_new_application_registration]: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/applicationsListBlade/quickStartType/AspNetWebAppQuickstartPage/sourceType/docs -[manage_microsoft_entra_id_auth_page]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication -[how_to_manage_authentication]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details +[manage_microsoft_entra_id_auth_page]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication +[how_to_manage_authentication]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details diff --git a/sdk/maps/azure-maps-render/azure/maps/render/aio/operations/_operations.py b/sdk/maps/azure-maps-render/azure/maps/render/aio/operations/_operations.py index 83fbf01ce633..7d4c58589774 100644 --- a/sdk/maps/azure-maps-render/azure/maps/render/aio/operations/_operations.py +++ b/sdk/maps/azure-maps-render/azure/maps/render/aio/operations/_operations.py @@ -88,7 +88,7 @@ async def get_map_tile( uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The **tilesetId** for tilesets created using `Azure Maps Creator `_ are generated through the `Tileset Create API - `_. The ready-to-use tilesets + `_. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", @@ -103,21 +103,21 @@ async def get_map_tile( :keyword z: Zoom level for the desired tile. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype z: int :keyword x: X coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype x: int :keyword y: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype y: int :keyword time_stamp: The desired date and time of the requested tile. This parameter must be @@ -143,7 +143,7 @@ async def get_map_tile( available for a specific field, default language is used. Please refer to `Supported Languages - `_ for details. Default value + `_ for details. Default value is None. :paramtype language: str :keyword localized_map_view: The View parameter (also called the "user region" parameter) @@ -228,7 +228,7 @@ async def get_map_tileset(self, *, tileset_id: str, **kwargs: Any) -> JSON: uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The **tilesetId** for tilesets created using `Azure Maps Creator `_ are generated through the `Tileset Create API - `_. The ready-to-use tilesets + `_. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", @@ -330,7 +330,7 @@ async def get_map_attribution(self, *, tileset_id: str, zoom: int, bounds: List[ uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The **tilesetId** for tilesets created using `Azure Maps Creator `_ are generated through the `Tileset Create API - `_. The ready-to-use tilesets + `_. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", @@ -424,21 +424,21 @@ async def get_map_state_tile( :keyword z: Zoom level for the desired tile. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype z: int :keyword x: X coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype x: int :keyword y: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype y: int :keyword stateset_id: The stateset id. Required. @@ -721,7 +721,7 @@ async def get_map_static_image( :keyword tileset_id: Map style to be returned. Possible values are microsoft.base.road, microsoft.base.darkgrey, and microsoft.imagery. Default value is set to be microsoft.base.road. For more information, see `Render TilesetId - `_. + `_. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", "microsoft.base.labels.darkgrey", "microsoft.base.hybrid.road", @@ -736,14 +736,14 @@ async def get_map_static_image( result. Possible values are microsoft.traffic.relative.main and none. Default value is none, indicating no traffic flow returned. If traffic related tilesetId is provided, will return map image with corresponding traffic layer. For more information, see `Render TilesetId - `_. + `_. Known values are: "microsoft.traffic.relative.main" and "none". Default value is None. :paramtype traffic_layer: str :keyword zoom: Desired zoom level of the map. Support zoom value range from 0-20 (inclusive) for tilesetId being microsoft.base.road or microsoft.base.darkgrey. Support zoom value range from 0-19 (inclusive) for tilesetId being microsoft.imagery. For more information, see `Zoom Levels and Tile Grid - `__. Default + `__. Default value is None. :paramtype zoom: int :keyword center: Coordinates of the center point in double. Format: 'lon,lat'. Longitude range: @@ -774,7 +774,7 @@ async def get_map_static_image( available for a specific field, default language is used. Please refer to `Supported Languages - `_ for details. Default value + `_ for details. Default value is None. :paramtype language: str :keyword localized_map_view: The View parameter (also called the "user region" parameter) @@ -1257,21 +1257,21 @@ async def get_copyright_for_tile( :keyword z: Zoom level for the desired tile. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype z: int :keyword x: X coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype x: int :keyword y: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype y: int :keyword include_text: Yes/no value to exclude textual data from response. Only images and diff --git a/sdk/maps/azure-maps-render/azure/maps/render/operations/_operations.py b/sdk/maps/azure-maps-render/azure/maps/render/operations/_operations.py index 72c90a8405f8..765decc5d0c8 100644 --- a/sdk/maps/azure-maps-render/azure/maps/render/operations/_operations.py +++ b/sdk/maps/azure-maps-render/azure/maps/render/operations/_operations.py @@ -402,7 +402,7 @@ def get_map_tile( uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The **tilesetId** for tilesets created using `Azure Maps Creator `_ are generated through the `Tileset Create API - `_. The ready-to-use tilesets + `_. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", @@ -417,21 +417,21 @@ def get_map_tile( :keyword z: Zoom level for the desired tile. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype z: int :keyword x: X coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype x: int :keyword y: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype y: int :keyword time_stamp: The desired date and time of the requested tile. This parameter must be @@ -457,7 +457,7 @@ def get_map_tile( available for a specific field, default language is used. Please refer to `Supported Languages - `_ for details. Default value + `_ for details. Default value is None. :paramtype language: str :keyword localized_map_view: The View parameter (also called the "user region" parameter) @@ -542,7 +542,7 @@ def get_map_tileset(self, *, tileset_id: str, **kwargs: Any) -> JSON: uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The **tilesetId** for tilesets created using `Azure Maps Creator `_ are generated through the `Tileset Create API - `_. The ready-to-use tilesets + `_. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", @@ -644,7 +644,7 @@ def get_map_attribution(self, *, tileset_id: str, zoom: int, bounds: List[float] uniform grid of square tiles at preset zoom levels. Every tileset has a **tilesetId** to use when making requests. The **tilesetId** for tilesets created using `Azure Maps Creator `_ are generated through the `Tileset Create API - `_. The ready-to-use tilesets + `_. The ready-to-use tilesets supplied by Azure Maps are listed below. For example, microsoft.base. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", @@ -736,21 +736,21 @@ def get_map_state_tile(self, *, z: int, x: int, y: int, stateset_id: str, **kwar :keyword z: Zoom level for the desired tile. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype z: int :keyword x: X coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype x: int :keyword y: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype y: int :keyword stateset_id: The stateset id. Required. @@ -1034,7 +1034,7 @@ def get_map_static_image( :keyword tileset_id: Map style to be returned. Possible values are microsoft.base.road, microsoft.base.darkgrey, and microsoft.imagery. Default value is set to be microsoft.base.road. For more information, see `Render TilesetId - `_. + `_. Known values are: "microsoft.base", "microsoft.base.labels", "microsoft.base.hybrid", "microsoft.terra.main", "microsoft.base.road", "microsoft.base.darkgrey", "microsoft.base.labels.road", "microsoft.base.labels.darkgrey", "microsoft.base.hybrid.road", @@ -1049,14 +1049,14 @@ def get_map_static_image( result. Possible values are microsoft.traffic.relative.main and none. Default value is none, indicating no traffic flow returned. If traffic related tilesetId is provided, will return map image with corresponding traffic layer. For more information, see `Render TilesetId - `_. + `_. Known values are: "microsoft.traffic.relative.main" and "none". Default value is None. :paramtype traffic_layer: str :keyword zoom: Desired zoom level of the map. Support zoom value range from 0-20 (inclusive) for tilesetId being microsoft.base.road or microsoft.base.darkgrey. Support zoom value range from 0-19 (inclusive) for tilesetId being microsoft.imagery. For more information, see `Zoom Levels and Tile Grid - `__. Default + `__. Default value is None. :paramtype zoom: int :keyword center: Coordinates of the center point in double. Format: 'lon,lat'. Longitude range: @@ -1087,7 +1087,7 @@ def get_map_static_image( available for a specific field, default language is used. Please refer to `Supported Languages - `_ for details. Default value + `_ for details. Default value is None. :paramtype language: str :keyword localized_map_view: The View parameter (also called the "user region" parameter) @@ -1572,21 +1572,21 @@ def get_copyright_for_tile( :keyword z: Zoom level for the desired tile. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype z: int :keyword x: X coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype x: int :keyword y: Y coordinate of the tile on zoom grid. Value must be in the range [0, 2:code:``zoom`` -1]. Please see `Zoom Levels and Tile Grid - `__ for + `__ for details. Required. :paramtype y: int :keyword include_text: Yes/no value to exclude textual data from response. Only images and diff --git a/sdk/maps/azure-maps-render/samples/README.md b/sdk/maps/azure-maps-render/samples/README.md index 69520a16abeb..8917ef5b8b3d 100644 --- a/sdk/maps/azure-maps-render/samples/README.md +++ b/sdk/maps/azure-maps-render/samples/README.md @@ -11,7 +11,7 @@ products: These code samples show common scenario operations with the Azure Maps Render client library. -Authenticate the client with a Azure Maps Render [API Key Credential](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys): +Authenticate the client with a Azure Maps Render [API Key Credential](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys): [samples authentication](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/maps/azure-maps-render/samples/sample_authentication.py) ([async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/maps/azure-maps-render/samples/async_samples/sample_authentication_async.py)) @@ -58,9 +58,9 @@ Then for common Azure Maps Render operations: ## Next steps -Check out the [API reference documentation](https://docs.microsoft.com/rest/api/maps/render) +Check out the [API reference documentation](https://learn.microsoft.com/rest/api/maps/render) to learn more about what you can do with the Azure Maps Render client library. [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure diff --git a/sdk/maps/azure-maps-render/samples/async_samples/sample_authentication_async.py b/sdk/maps/azure-maps-render/samples/async_samples/sample_authentication_async.py index a4a7f0979fe4..22a77cd0d0f5 100644 --- a/sdk/maps/azure-maps-render/samples/async_samples/sample_authentication_async.py +++ b/sdk/maps/azure-maps-render/samples/async_samples/sample_authentication_async.py @@ -11,7 +11,7 @@ DESCRIPTION: This sample demonstrates how to authenticate with the Azure Maps Render service with an Subscription key. See more details about authentication here: - https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys + https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys USAGE: python sample_authentication_async.py Set the environment variables with your own values before running the sample: diff --git a/sdk/maps/azure-maps-render/samples/sample_authentication.py b/sdk/maps/azure-maps-render/samples/sample_authentication.py index add4c0f287ba..4b06d91789bd 100644 --- a/sdk/maps/azure-maps-render/samples/sample_authentication.py +++ b/sdk/maps/azure-maps-render/samples/sample_authentication.py @@ -11,7 +11,7 @@ DESCRIPTION: This sample demonstrates how to authenticate with the Azure Maps Render service with an Subscription key. See more details about authentication here: - https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys + https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys USAGE: python sample_authentication.py Set the environment variables with your own values before running the sample: diff --git a/sdk/maps/azure-maps-route/README.md b/sdk/maps/azure-maps-route/README.md index e82520893799..cadd42e1cd17 100644 --- a/sdk/maps/azure-maps-route/README.md +++ b/sdk/maps/azure-maps-route/README.md @@ -1,9 +1,9 @@ # Azure Maps Route Package client library for Python This package contains a Python SDK for Azure Maps Services for Route. -Read more about Azure Maps Services [here](https://docs.microsoft.com/azure/azure-maps/) +Read more about Azure Maps Services [here](https://learn.microsoft.com/azure/azure-maps/) -[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-route) | [API reference documentation](https://docs.microsoft.com/rest/api/maps/route) | [Product documentation](https://docs.microsoft.com/azure/azure-maps/) +[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-route) | [API reference documentation](https://learn.microsoft.com/rest/api/maps/route) | [Product documentation](https://learn.microsoft.com/azure/azure-maps/) ## _Disclaimer_ @@ -14,10 +14,10 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For ### Prerequisites - Python 3.8 or later is required to use this package. -- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys). +- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys). - A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. -If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://docs.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://docs.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. +If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://learn.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://learn.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. ```bash az maps account create --resource-group --account-name --sku @@ -75,7 +75,7 @@ from azure.mgmt.maps import AzureMapsManagementClient Before run the sample, please set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET. For more info about how to get the value, please see: - https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal + https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal """ @@ -278,7 +278,7 @@ Further detail please refer to [Samples Introduction](https://github.com/Azure/a ### Additional documentation -For more extensive documentation on Azure Maps Route, see the [Azure Maps Route documentation](https://docs.microsoft.com/rest/api/maps/route) on docs.microsoft.com. +For more extensive documentation on Azure Maps Route, see the [Azure Maps Route documentation](https://learn.microsoft.com/rest/api/maps/route) on learn.microsoft.com. ## Contributing @@ -292,11 +292,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope [azure_subscription]: https://azure.microsoft.com/free/ [azure_identity]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure [azure-key-credential]: https://aka.ms/azsdk/python/core/azurekeycredential [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[register_microsoft_entra_id_app]: https://docs.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 -[maps_authentication_microsoft_entra_id]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication +[register_microsoft_entra_id_app]: https://learn.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 +[maps_authentication_microsoft_entra_id]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication [create_new_application_registration]: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/applicationsListBlade/quickStartType/AspNetWebAppQuickstartPage/sourceType/docs -[manage_microsoft_entra_id_auth_page]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication -[how_to_manage_authentication]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details +[manage_microsoft_entra_id_auth_page]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication +[how_to_manage_authentication]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details diff --git a/sdk/maps/azure-maps-route/azure/maps/route/aio/operations/_operations.py b/sdk/maps/azure-maps-route/azure/maps/route/aio/operations/_operations.py index c38d4fde43b8..a04946db36cc 100644 --- a/sdk/maps/azure-maps-route/azure/maps/route/aio/operations/_operations.py +++ b/sdk/maps/azure-maps-route/azure/maps/route/aio/operations/_operations.py @@ -2019,7 +2019,7 @@ async def get_route_directions( Routing service provides a set of parameters for a detailed description of vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param format: Desired format of the response. Value can be either *json* or *xml*. Known @@ -2088,7 +2088,7 @@ async def get_route_directions( if that is not available, they are returned in an available language that is close to it. Allowed values are (a subset of) the IETF language tags. The currently supported languages are listed in the `Supported languages section - `_. + `_. Default value: en-GB. Default value is None. :paramtype language: str @@ -2525,7 +2525,7 @@ async def get_route_directions_with_additional_parameters( # pylint: disable=na Routing service provides a set of parameters for a detailed description of a vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param route_direction_parameters: Used for reconstructing a route and for calculating zero or @@ -2976,7 +2976,7 @@ async def get_route_directions_with_additional_parameters( # pylint: disable=na Routing service provides a set of parameters for a detailed description of a vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param route_direction_parameters: Used for reconstructing a route and for calculating zero or @@ -3427,7 +3427,7 @@ async def get_route_directions_with_additional_parameters( # pylint: disable=na Routing service provides a set of parameters for a detailed description of a vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param route_direction_parameters: Used for reconstructing a route and for calculating zero or @@ -3955,7 +3955,7 @@ async def get_route_range( the result of the origin point. The returned polygon can be used for further processing such as `Search Inside Geometry - `_ to search for + `_ to search for POIs within the provided Isochrone. :param format: Desired format of the response. Value can be either *json* or *xml*. Known @@ -4396,7 +4396,7 @@ async def begin_request_route_directions_batch( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -4469,7 +4469,7 @@ async def begin_request_route_directions_batch( A *route directions* query in a batch is just a partial URL *without* the protocol, base URL, path, api-version and subscription-key. It can accept any of the supported *route directions* `URI parameters - `_. The + `_. The string values in the *route directions* query must be properly escaped (e.g. " character should be escaped with ) and it should also be properly URL-encoded. @@ -4517,7 +4517,7 @@ async def begin_request_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -4626,7 +4626,7 @@ async def begin_request_route_directions_batch( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -4699,7 +4699,7 @@ async def begin_request_route_directions_batch( A *route directions* query in a batch is just a partial URL *without* the protocol, base URL, path, api-version and subscription-key. It can accept any of the supported *route directions* `URI parameters - `_. The + `_. The string values in the *route directions* query must be properly escaped (e.g. " character should be escaped with ) and it should also be properly URL-encoded. @@ -4747,7 +4747,7 @@ async def begin_request_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -4854,7 +4854,7 @@ async def begin_request_route_directions_batch( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -4927,7 +4927,7 @@ async def begin_request_route_directions_batch( A *route directions* query in a batch is just a partial URL *without* the protocol, base URL, path, api-version and subscription-key. It can accept any of the supported *route directions* `URI parameters - `_. The + `_. The string values in the *route directions* query must be properly escaped (e.g. " character should be escaped with ) and it should also be properly URL-encoded. @@ -4975,7 +4975,7 @@ async def begin_request_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -5209,7 +5209,7 @@ async def begin_get_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -5349,7 +5349,7 @@ async def request_route_directions_batch_sync( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -5383,7 +5383,7 @@ async def request_route_directions_batch_sync( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -5492,7 +5492,7 @@ async def request_route_directions_batch_sync( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -5526,7 +5526,7 @@ async def request_route_directions_batch_sync( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -5633,7 +5633,7 @@ async def request_route_directions_batch_sync( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -5667,7 +5667,7 @@ async def request_route_directions_batch_sync( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in diff --git a/sdk/maps/azure-maps-route/azure/maps/route/models/_enums.py b/sdk/maps/azure-maps-route/azure/maps/route/models/_enums.py index b593003b0131..27ce58d7764d 100644 --- a/sdk/maps/azure-maps-route/azure/maps/route/models/_enums.py +++ b/sdk/maps/azure-maps-route/azure/maps/route/models/_enums.py @@ -35,7 +35,7 @@ class ComputeTravelTime(str, Enum, metaclass=CaseInsensitiveEnumMeta): class DelayMagnitude(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The magnitude of delay caused by the incident. These values correspond to the values of the response field ty of the `Get Traffic Incident Detail API - `_. + `_. """ UNKNOWN = "0" diff --git a/sdk/maps/azure-maps-route/azure/maps/route/models/_models.py b/sdk/maps/azure-maps-route/azure/maps/route/models/_models.py index 00d9baf67265..634780470c6c 100644 --- a/sdk/maps/azure-maps-route/azure/maps/route/models/_models.py +++ b/sdk/maps/azure-maps-route/azure/maps/route/models/_models.py @@ -1078,7 +1078,7 @@ class RouteDirectionParameters(_serialization.Model): * The reference route may contain traffic incidents of type _ROAD\\ *CLOSURE*\\ , which are ignored for the calculation of the reference route's travel time and traffic delay. Please refer to `Supporting Points - `_ # pylint: disable=line-too-long + `_ # pylint: disable=line-too-long for details. :vartype supporting_points: ~azure.maps.route.models.GeoJsonGeometryCollection :ivar avoid_vignette: This is a list of 3-character, ISO 3166-1, alpha-3 country codes of @@ -1133,7 +1133,7 @@ def __init__( * The reference route may contain traffic incidents of type _ROAD\\ *CLOSURE*\\ , which are ignored for the calculation of the reference route's travel time and traffic delay. Please refer to `Supporting Points - `_ # pylint: disable=line-too-long + `_ # pylint: disable=line-too-long for details. :paramtype supporting_points: ~azure.maps.route.models.GeoJsonGeometryCollection :keyword avoid_vignette: This is a list of 3-character, ISO 3166-1, alpha-3 country codes of @@ -2011,7 +2011,7 @@ class RouteSection(_serialization.Model): :vartype delay_in_seconds: int :ivar delay_magnitude: The magnitude of delay caused by the incident. These values correspond to the values of the response field ty of the `Get Traffic Incident Detail API - `_. Known values + `_. Known values are: "0", "1", "2", "3", and "4". :vartype delay_magnitude: str or ~azure.maps.route.models.DelayMagnitude :ivar tec: Details of the traffic event, using definitions in the `TPEG2-TEC diff --git a/sdk/maps/azure-maps-route/azure/maps/route/operations/_operations.py b/sdk/maps/azure-maps-route/azure/maps/route/operations/_operations.py index d23d85be99bb..4b732c4cee27 100644 --- a/sdk/maps/azure-maps-route/azure/maps/route/operations/_operations.py +++ b/sdk/maps/azure-maps-route/azure/maps/route/operations/_operations.py @@ -2817,7 +2817,7 @@ def get_route_directions( Routing service provides a set of parameters for a detailed description of vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param format: Desired format of the response. Value can be either *json* or *xml*. Known @@ -2886,7 +2886,7 @@ def get_route_directions( if that is not available, they are returned in an available language that is close to it. Allowed values are (a subset of) the IETF language tags. The currently supported languages are listed in the `Supported languages section - `_. + `_. Default value: en-GB. Default value is None. :paramtype language: str @@ -3323,7 +3323,7 @@ def get_route_directions_with_additional_parameters( # pylint: disable=name-too Routing service provides a set of parameters for a detailed description of a vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param route_direction_parameters: Used for reconstructing a route and for calculating zero or @@ -3771,7 +3771,7 @@ def get_route_directions_with_additional_parameters( # pylint: disable=name-too Routing service provides a set of parameters for a detailed description of a vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param route_direction_parameters: Used for reconstructing a route and for calculating zero or @@ -4218,7 +4218,7 @@ def get_route_directions_with_additional_parameters( # pylint: disable=name-too Routing service provides a set of parameters for a detailed description of a vehicle-specific Consumption Model. Please check `Consumption Model - `_ for detailed explanation of + `_ for detailed explanation of the concepts and parameters involved. :param route_direction_parameters: Used for reconstructing a route and for calculating zero or @@ -4743,7 +4743,7 @@ def get_route_range( the result of the origin point. The returned polygon can be used for further processing such as `Search Inside Geometry - `_ to search for + `_ to search for POIs within the provided Isochrone. :param format: Desired format of the response. Value can be either *json* or *xml*. Known @@ -5185,7 +5185,7 @@ def begin_request_route_directions_batch( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -5258,7 +5258,7 @@ def begin_request_route_directions_batch( A *route directions* query in a batch is just a partial URL *without* the protocol, base URL, path, api-version and subscription-key. It can accept any of the supported *route directions* `URI parameters - `_. The + `_. The string values in the *route directions* query must be properly escaped (e.g. " character should be escaped with ) and it should also be properly URL-encoded. @@ -5306,7 +5306,7 @@ def begin_request_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -5415,7 +5415,7 @@ def begin_request_route_directions_batch( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -5488,7 +5488,7 @@ def begin_request_route_directions_batch( A *route directions* query in a batch is just a partial URL *without* the protocol, base URL, path, api-version and subscription-key. It can accept any of the supported *route directions* `URI parameters - `_. The + `_. The string values in the *route directions* query must be properly escaped (e.g. " character should be escaped with ) and it should also be properly URL-encoded. @@ -5536,7 +5536,7 @@ def begin_request_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -5643,7 +5643,7 @@ def begin_request_route_directions_batch( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -5716,7 +5716,7 @@ def begin_request_route_directions_batch( A *route directions* query in a batch is just a partial URL *without* the protocol, base URL, path, api-version and subscription-key. It can accept any of the supported *route directions* `URI parameters - `_. The + `_. The string values in the *route directions* query must be properly escaped (e.g. " character should be escaped with ) and it should also be properly URL-encoded. @@ -5764,7 +5764,7 @@ def begin_request_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -5997,7 +5997,7 @@ def begin_get_route_directions_batch( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -6136,7 +6136,7 @@ def request_route_directions_batch_sync( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -6170,7 +6170,7 @@ def request_route_directions_batch_sync( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -6279,7 +6279,7 @@ def request_route_directions_batch_sync( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -6313,7 +6313,7 @@ def request_route_directions_batch_sync( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in @@ -6420,7 +6420,7 @@ def request_route_directions_batch_sync( **Applies to**\\ : see pricing `tiers `_. The Route Directions Batch API sends batches of queries to `Route Directions API - `_ using just a single API + `_ using just a single API call. You can call Route Directions Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to **700** queries and sync API up to **100** queries. @@ -6454,7 +6454,7 @@ def request_route_directions_batch_sync( * `\\ ``RouteDirections`` - `_ - If the + `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in diff --git a/sdk/maps/azure-maps-route/samples/README.md b/sdk/maps/azure-maps-route/samples/README.md index 15d7e7772c12..8f6441df46da 100644 --- a/sdk/maps/azure-maps-route/samples/README.md +++ b/sdk/maps/azure-maps-route/samples/README.md @@ -11,7 +11,7 @@ products: These code samples show common scenario operations with the Azure Maps Route client library. -Authenticate the client with a Azure Maps Route [API Key Credential](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys): +Authenticate the client with a Azure Maps Route [API Key Credential](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys): [samples authentication](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/maps/azure-maps-route/samples/sample_authentication.py) ([async version](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/maps/azure-maps-route/samples/async_samples/sample_authentication_async.py)) @@ -53,9 +53,9 @@ Then for common Azure Maps Route operations: ## Next steps -Check out the [API reference documentation](https://docs.microsoft.com/rest/api/maps/route) +Check out the [API reference documentation](https://learn.microsoft.com/rest/api/maps/route) to learn more about what you can do with the Azure Maps Route client library. [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure diff --git a/sdk/maps/azure-maps-route/samples/async_samples/sample_authentication_async.py b/sdk/maps/azure-maps-route/samples/async_samples/sample_authentication_async.py index ea728b2c1d15..5cdb2fb47b9a 100644 --- a/sdk/maps/azure-maps-route/samples/async_samples/sample_authentication_async.py +++ b/sdk/maps/azure-maps-route/samples/async_samples/sample_authentication_async.py @@ -11,7 +11,7 @@ DESCRIPTION: This sample demonstrates how to authenticate with the Azure Maps Route service with an Subscription key. See more details about authentication here: - https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys + https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys USAGE: python sample_authentication_async.py Set the environment variables with your own values before running the sample: diff --git a/sdk/maps/azure-maps-route/samples/sample_authentication.py b/sdk/maps/azure-maps-route/samples/sample_authentication.py index dc17b43da3ba..f2ab1d7e9c00 100644 --- a/sdk/maps/azure-maps-route/samples/sample_authentication.py +++ b/sdk/maps/azure-maps-route/samples/sample_authentication.py @@ -11,7 +11,7 @@ DESCRIPTION: This sample demonstrates how to authenticate with the Azure Maps Route service with an Subscription key. See more details about authentication here: - https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys + https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys USAGE: python sample_authentication.py Set the environment variables with your own values before running the sample: diff --git a/sdk/maps/azure-maps-search/README.md b/sdk/maps/azure-maps-search/README.md index a6c196b9db9d..6442fa8ec4ed 100644 --- a/sdk/maps/azure-maps-search/README.md +++ b/sdk/maps/azure-maps-search/README.md @@ -1,9 +1,9 @@ # Azure Maps Search Package client library for Python This package contains a Python SDK for Azure Maps Services for Search. -Read more about Azure Maps Services [here](https://docs.microsoft.com/azure/azure-maps/) +Read more about Azure Maps Services [here](https://learn.microsoft.com/azure/azure-maps/) -[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-search) | [API reference documentation](https://docs.microsoft.com/rest/api/maps/search) | [Product documentation](https://docs.microsoft.com/azure/azure-maps/) +[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-search) | [API reference documentation](https://learn.microsoft.com/rest/api/maps/search) | [Product documentation](https://learn.microsoft.com/azure/azure-maps/) ## _Disclaimer_ @@ -14,10 +14,10 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For ### Prerequisites - Python 3.8 or later is required to use this package. -- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys). +- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys). - A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. -If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://docs.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://docs.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. +If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://learn.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://learn.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. ```bash az maps account create --resource-group --account-name --sku @@ -75,7 +75,7 @@ from azure.mgmt.maps import AzureMapsManagementClient Before run the sample, please set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET. For more info about how to get the value, please see: - https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal + https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal """ @@ -439,7 +439,7 @@ Further detail please refer to [Samples Introduction](https://github.com/Azure/a ### Additional documentation -For more extensive documentation on Azure Maps Search, see the [Azure Maps Search documentation](https://docs.microsoft.com/rest/api/maps/search) on docs.microsoft.com. +For more extensive documentation on Azure Maps Search, see the [Azure Maps Search documentation](https://learn.microsoft.com/rest/api/maps/search) on learn.microsoft.com. ## Contributing @@ -453,11 +453,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope [azure_subscription]: https://azure.microsoft.com/free/ [azure_identity]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure [azure-key-credential]: https://aka.ms/azsdk/python/core/azurekeycredential [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[register_microsoft_entra_id_app]: https://docs.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 -[maps_authentication_microsoft_entra_id]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication +[register_microsoft_entra_id_app]: https://learn.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 +[maps_authentication_microsoft_entra_id]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication [create_new_application_registration]: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/applicationsListBlade/quickStartType/AspNetWebAppQuickstartPage/sourceType/docs -[manage_microsoft_entra_id_auth_page]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication -[how_to_manage_authentication]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details +[manage_microsoft_entra_id_auth_page]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication +[how_to_manage_authentication]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details diff --git a/sdk/maps/azure-maps-search/azure/maps/search/aio/operations/_operations.py b/sdk/maps/azure-maps-search/azure/maps/search/aio/operations/_operations.py index 0c9342562fde..f9e810619ae7 100644 --- a/sdk/maps/azure-maps-search/azure/maps/search/aio/operations/_operations.py +++ b/sdk/maps/azure-maps-search/azure/maps/search/aio/operations/_operations.py @@ -251,7 +251,7 @@ async def get_geocoding_batch(self, body: JSON, *, content_type: str = "applicat results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -308,7 +308,7 @@ async def get_geocoding_batch( results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -363,7 +363,7 @@ async def get_geocoding_batch(self, body: Union[JSON, IO[bytes]], **kwargs: Any) results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -667,7 +667,7 @@ async def get_reverse_geocoding_batch( results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -726,7 +726,7 @@ async def get_reverse_geocoding_batch( results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -783,7 +783,7 @@ async def get_reverse_geocoding_batch(self, body: Union[JSON, IO[bytes]], **kwar results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. diff --git a/sdk/maps/azure-maps-search/azure/maps/search/operations/_operations.py b/sdk/maps/azure-maps-search/azure/maps/search/operations/_operations.py index 336d1825430b..b952e8592ab2 100644 --- a/sdk/maps/azure-maps-search/azure/maps/search/operations/_operations.py +++ b/sdk/maps/azure-maps-search/azure/maps/search/operations/_operations.py @@ -443,7 +443,7 @@ def get_geocoding_batch(self, body: JSON, *, content_type: str = "application/js results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -498,7 +498,7 @@ def get_geocoding_batch(self, body: IO[bytes], *, content_type: str = "applicati results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -553,7 +553,7 @@ def get_geocoding_batch(self, body: Union[JSON, IO[bytes]], **kwargs: Any) -> JS results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -855,7 +855,7 @@ def get_reverse_geocoding_batch(self, body: JSON, *, content_type: str = "applic results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -914,7 +914,7 @@ def get_reverse_geocoding_batch( results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. @@ -971,7 +971,7 @@ def get_reverse_geocoding_batch(self, body: Union[JSON, IO[bytes]], **kwargs: An results in the exact same order the original queries were sent in the batch request. Each item is of one of the following types: - * `GeocodingResponse `_ - If the query completed successfully. + * `GeocodingResponse `_ - If the query completed successfully. * ``Error`` - If the query failed. The response will contain a ``code`` and a ``message`` in this case. diff --git a/sdk/maps/azure-maps-search/samples/README.md b/sdk/maps/azure-maps-search/samples/README.md index e61d68668964..a1fd889607ee 100644 --- a/sdk/maps/azure-maps-search/samples/README.md +++ b/sdk/maps/azure-maps-search/samples/README.md @@ -11,7 +11,7 @@ products: These code samples show common scenario operations with the Azure Maps Search client library. -Authenticate the client with a Azure Maps Search [API Key Credential](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys): +Authenticate the client with a Azure Maps Search [API Key Credential](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys): Then for common Azure Maps Search operations: @@ -51,9 +51,9 @@ Then for common Azure Maps Search operations: ## Next steps -Check out the [API reference documentation](https://docs.microsoft.com/rest/api/maps/search) +Check out the [API reference documentation](https://learn.microsoft.com/rest/api/maps/search) to learn more about what you can do with the Azure Maps Search client library. [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure diff --git a/sdk/maps/azure-maps-timezone/README.md b/sdk/maps/azure-maps-timezone/README.md index 60839afe48e7..e99234b730fe 100644 --- a/sdk/maps/azure-maps-timezone/README.md +++ b/sdk/maps/azure-maps-timezone/README.md @@ -1,9 +1,9 @@ # Azure Maps Timezone Package client library for Python This package contains a Python SDK for Azure Maps Services for Timezone. -Read more about Azure Maps Services [here](https://docs.microsoft.com/azure/azure-maps/) +Read more about Azure Maps Services [here](https://learn.microsoft.com/azure/azure-maps/) -[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-timezone) | [API reference documentation](https://docs.microsoft.com/rest/api/maps/timezone) | [Product documentation](https://docs.microsoft.com/azure/azure-maps/) +[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-timezone) | [API reference documentation](https://learn.microsoft.com/rest/api/maps/timezone) | [Product documentation](https://learn.microsoft.com/azure/azure-maps/) ## _Disclaimer_ @@ -14,10 +14,10 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For ### Prerequisites - Python 3.8 or later is required to use this package. -- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys). +- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys). - A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. -If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://docs.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://docs.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. +If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://learn.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://learn.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. ```bash az maps account create --resource-group --account-name --sku @@ -78,7 +78,7 @@ from azure.mgmt.maps import AzureMapsManagementClient Before run the sample, please set the values of the client ID, tenant ID and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET. For more info about how to get the value, please see: - https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal + https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal """ @@ -407,7 +407,7 @@ Further detail please refer to [Samples Introduction](https://github.com/Azure/a ### Additional documentation -For more extensive documentation on Azure Maps Timezone, see the [Azure Maps Timezone documentation](https://docs.microsoft.com/rest/api/maps/timezone) on docs.microsoft.com. +For more extensive documentation on Azure Maps Timezone, see the [Azure Maps Timezone documentation](https://learn.microsoft.com/rest/api/maps/timezone) on learn.microsoft.com. ## Contributing @@ -421,11 +421,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope [azure_subscription]: https://azure.microsoft.com/free/ [azure_identity]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure [azure-key-credential]: https://aka.ms/azsdk/python/core/azurekeycredential [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[register_ms_entra_id_app]: https://docs.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 -[maps_authentication_ms_entra_id]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication +[register_ms_entra_id_app]: https://learn.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 +[maps_authentication_ms_entra_id]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication [create_new_application_registration]: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/applicationsListBlade/quickStartType/AspNetWebAppQuickstartPage/sourceType/docs -[manage_ms_entra_id_auth_page]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication -[how_to_manage_authentication]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details +[manage_ms_entra_id_auth_page]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication +[how_to_manage_authentication]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details diff --git a/sdk/maps/azure-maps-timezone/azure/maps/timezone/_patch.py b/sdk/maps/azure-maps-timezone/azure/maps/timezone/_patch.py index f74acf5de16c..81c15f488e1f 100644 --- a/sdk/maps/azure-maps-timezone/azure/maps/timezone/_patch.py +++ b/sdk/maps/azure-maps-timezone/azure/maps/timezone/_patch.py @@ -96,7 +96,7 @@ def get_timezone( :paramtype coordinates: list[float] :keyword accept_language: Specifies the language code in which the timezone names should be returned. If no language code is provided, the response will be in "EN". Please refer to - `Supported Languages `_ for + `Supported Languages `_ for details. Default value is None. :paramtype accept_language: str :keyword options: Options available for types of information diff --git a/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/_patch.py b/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/_patch.py index 1dcd8e004918..408ff679a13d 100644 --- a/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/_patch.py +++ b/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/_patch.py @@ -96,7 +96,7 @@ async def get_timezone( :paramtype coordinates: list[float] :keyword accept_language: Specifies the language code in which the timezone names should be returned. If no language code is provided, the response will be in "EN". Please refer to - `Supported Languages `_ for + `Supported Languages `_ for details. Default value is None. :paramtype accept_language: str :keyword options: Options available for types of information diff --git a/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/operations/_operations.py b/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/operations/_operations.py index ccaa6f1d3e28..68d3ab5b01ce 100644 --- a/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/operations/_operations.py +++ b/sdk/maps/azure-maps-timezone/azure/maps/timezone/aio/operations/_operations.py @@ -83,7 +83,7 @@ async def get_timezone_by_id( :paramtype timezone_id: str :keyword accept_language: Specifies the language code in which the timezone names should be returned. If no language code is provided, the response will be in "EN". Please refer to - `Supported Languages `_ for + `Supported Languages `_ for details. Default value is None. :paramtype accept_language: str :keyword options: Alternatively, use alias "o". Options available for types of information @@ -238,7 +238,7 @@ async def get_timezone_by_coordinates( :paramtype coordinates: list[float] :keyword accept_language: Specifies the language code in which the timezone names should be returned. If no language code is provided, the response will be in "EN". Please refer to - `Supported Languages `_ for + `Supported Languages `_ for details. Default value is None. :paramtype accept_language: str :keyword options: Alternatively, use alias "o". Options available for types of information diff --git a/sdk/maps/azure-maps-timezone/azure/maps/timezone/operations/_operations.py b/sdk/maps/azure-maps-timezone/azure/maps/timezone/operations/_operations.py index 569b71cddcd0..90b37affa2e8 100644 --- a/sdk/maps/azure-maps-timezone/azure/maps/timezone/operations/_operations.py +++ b/sdk/maps/azure-maps-timezone/azure/maps/timezone/operations/_operations.py @@ -296,7 +296,7 @@ def get_timezone_by_id( :paramtype timezone_id: str :keyword accept_language: Specifies the language code in which the timezone names should be returned. If no language code is provided, the response will be in "EN". Please refer to - `Supported Languages `_ for + `Supported Languages `_ for details. Default value is None. :paramtype accept_language: str :keyword options: Alternatively, use alias "o". Options available for types of information @@ -451,7 +451,7 @@ def get_timezone_by_coordinates( :paramtype coordinates: list[float] :keyword accept_language: Specifies the language code in which the timezone names should be returned. If no language code is provided, the response will be in "EN". Please refer to - `Supported Languages `_ for + `Supported Languages `_ for details. Default value is None. :paramtype accept_language: str :keyword options: Alternatively, use alias "o". Options available for types of information diff --git a/sdk/maps/azure-maps-timezone/samples/README.md b/sdk/maps/azure-maps-timezone/samples/README.md index 670695d27161..85d5f4b6ce95 100644 --- a/sdk/maps/azure-maps-timezone/samples/README.md +++ b/sdk/maps/azure-maps-timezone/samples/README.md @@ -11,7 +11,7 @@ products: These code samples show common scenario operations with the Azure Maps Timezone client library. -Authenticate the client with Azure Maps Timezone [API Key Credential](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys): +Authenticate the client with Azure Maps Timezone [API Key Credential](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys): Then for common Azure Maps Timezone operations: @@ -53,9 +53,9 @@ Then for common Azure Maps Timezone operations: ## Next steps -Check out the [API reference documentation](https://docs.microsoft.com/rest/api/maps/timezone) +Check out the [API reference documentation](https://learn.microsoft.com/rest/api/maps/timezone) to learn more about what you can do with the Azure Maps Timezone client library. [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure diff --git a/sdk/maps/azure-maps-weather/README.md b/sdk/maps/azure-maps-weather/README.md index 628e15dea3aa..48cf24f83a49 100644 --- a/sdk/maps/azure-maps-weather/README.md +++ b/sdk/maps/azure-maps-weather/README.md @@ -1,9 +1,9 @@ # Azure Maps Weather Package client library for Python This package contains a Python SDK for Azure Maps Services for Weather. -Read more about Azure Maps Services [here](https://docs.microsoft.com/azure/azure-maps/) +Read more about Azure Maps Services [here](https://learn.microsoft.com/azure/azure-maps/) -[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-weather) | [API reference documentation](https://docs.microsoft.com/rest/api/maps/weather) | [Product documentation](https://docs.microsoft.com/azure/azure-maps/) +[Source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/maps/azure-maps-weather) | [API reference documentation](https://learn.microsoft.com/rest/api/maps/weather) | [Product documentation](https://learn.microsoft.com/azure/azure-maps/) ## _Disclaimer_ @@ -14,10 +14,10 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For ### Prerequisites - Python 3.8 or later is required to use this package. -- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys). +- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys). - A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. -If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://docs.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://docs.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. +If you use Azure CLI, replace `` and `` of your choice, and select a proper [pricing tier](https://learn.microsoft.com/azure/azure-maps/choose-pricing-tier) based on your needs via the `` parameter. Please refer to [this page](https://learn.microsoft.com/cli/azure/maps/account?view=azure-cli-latest#az_maps_account_create) for more details. ```bash az maps account create --resource-group --account-name --sku @@ -746,7 +746,7 @@ Further detail please refer to [Samples Introduction](https://github.com/Azure/a ### Additional documentation -For more extensive documentation on Azure Maps Weather, see the [Azure Maps Weather documentation](https://docs.microsoft.com/rest/api/maps/weather) on docs.microsoft.com. +For more extensive documentation on Azure Maps Weather, see the [Azure Maps Weather documentation](https://learn.microsoft.com/rest/api/maps/weather) on learn.microsoft.com. ## Contributing @@ -760,11 +760,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope [azure_subscription]: https://azure.microsoft.com/free/ [azure_identity]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/azure-identity [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure [azure-key-credential]: https://aka.ms/azsdk/python/core/azurekeycredential [default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[register_ms_entra_id_app]: https://docs.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 -[maps_authentication_ms_entra_id]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication +[register_ms_entra_id_app]: https://learn.microsoft.com/powershell/module/Az.Resources/New-AzADApplication?view=azps-8.0.0 +[maps_authentication_ms_entra_id]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication [create_new_application_registration]: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/applicationsListBlade/quickStartType/AspNetWebAppQuickstartPage/sourceType/docs -[manage_ms_entra_id_auth_page]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication -[how_to_manage_authentication]: https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details +[manage_ms_entra_id_auth_page]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication +[how_to_manage_authentication]: https://learn.microsoft.com/azure/azure-maps/how-to-manage-authentication#view-authentication-details diff --git a/sdk/maps/azure-maps-weather/azure/maps/weather/aio/operations/_operations.py b/sdk/maps/azure-maps-weather/azure/maps/weather/aio/operations/_operations.py index 6056451517a6..a46924f529ca 100644 --- a/sdk/maps/azure-maps-weather/azure/maps/weather/aio/operations/_operations.py +++ b/sdk/maps/azure-maps-weather/azure/maps/weather/aio/operations/_operations.py @@ -124,7 +124,7 @@ async def get_hourly_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -318,7 +318,7 @@ async def get_minute_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -465,7 +465,7 @@ async def get_quarter_day_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -676,7 +676,7 @@ async def get_current_conditions( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -961,7 +961,7 @@ async def get_daily_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -1245,7 +1245,7 @@ async def get_weather_along_route( every five minutes. The service supplements Azure Maps `Route Service - `__ that allows you to first request a route + `__ that allows you to first request a route between an origin and a destination and use that as an input for Weather Along Route endpoint. In addition, the service supports scenarios to generate weather notifications for waypoints @@ -1255,7 +1255,7 @@ async def get_weather_along_route( notification before the driver reaches that waypoint. The trigger for when to display the notification for a waypoint could be based, for example, - on a `geofence `__\\ , or + on a `geofence `__\\ , or selectable distance to the waypoint. The API covers all regions of the planet except latitudes above Greenland and Antarctica. @@ -1292,7 +1292,7 @@ async def get_weather_along_route( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -1467,7 +1467,7 @@ async def get_severe_weather_alerts( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword details: Return full details for the severe weather alerts. Available values are @@ -1603,7 +1603,7 @@ async def get_daily_indices( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword duration: Specifies for how many days the daily indices are returned. By default, the @@ -2225,7 +2225,7 @@ async def get_current_air_quality( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword include_pollutant_details: Boolean value that returns detailed information about each @@ -2347,7 +2347,7 @@ async def get_air_quality_daily_forecasts( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword duration: Specifies for how many days from now we would like to know about the air @@ -2459,7 +2459,7 @@ async def get_air_quality_hourly_forecasts( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword duration: Specifies for how many hours from now we would like to know about the air diff --git a/sdk/maps/azure-maps-weather/azure/maps/weather/operations/_operations.py b/sdk/maps/azure-maps-weather/azure/maps/weather/operations/_operations.py index 7c9413863048..151909186843 100644 --- a/sdk/maps/azure-maps-weather/azure/maps/weather/operations/_operations.py +++ b/sdk/maps/azure-maps-weather/azure/maps/weather/operations/_operations.py @@ -839,7 +839,7 @@ def get_hourly_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -1033,7 +1033,7 @@ def get_minute_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -1180,7 +1180,7 @@ def get_quarter_day_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -1391,7 +1391,7 @@ def get_current_conditions( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -1676,7 +1676,7 @@ def get_daily_forecast( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -1960,7 +1960,7 @@ def get_weather_along_route( every five minutes. The service supplements Azure Maps `Route Service - `__ that allows you to first request a route + `__ that allows you to first request a route between an origin and a destination and use that as an input for Weather Along Route endpoint. In addition, the service supports scenarios to generate weather notifications for waypoints @@ -1970,7 +1970,7 @@ def get_weather_along_route( notification before the driver reaches that waypoint. The trigger for when to display the notification for a waypoint could be based, for example, - on a `geofence `__\\ , or + on a `geofence `__\\ , or selectable distance to the waypoint. The API covers all regions of the planet except latitudes above Greenland and Antarctica. @@ -2007,7 +2007,7 @@ def get_weather_along_route( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :return: JSON object @@ -2182,7 +2182,7 @@ def get_severe_weather_alerts( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword details: Return full details for the severe weather alerts. Available values are @@ -2318,7 +2318,7 @@ def get_daily_indices( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword duration: Specifies for how many days the daily indices are returned. By default, the @@ -2940,7 +2940,7 @@ def get_current_air_quality( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword include_pollutant_details: Boolean value that returns detailed information about each @@ -3062,7 +3062,7 @@ def get_air_quality_daily_forecasts( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword duration: Specifies for how many days from now we would like to know about the air @@ -3174,7 +3174,7 @@ def get_air_quality_hourly_forecasts( available for a specific field, default language is used. Please refer to `Supported Languages - `__ for details. Default value + `__ for details. Default value is None. :paramtype language: str :keyword duration: Specifies for how many hours from now we would like to know about the air diff --git a/sdk/maps/azure-maps-weather/samples/README.md b/sdk/maps/azure-maps-weather/samples/README.md index 0afb095a56e9..95dabc64f2c0 100644 --- a/sdk/maps/azure-maps-weather/samples/README.md +++ b/sdk/maps/azure-maps-weather/samples/README.md @@ -11,7 +11,7 @@ products: These code samples show common scenario operations with the Azure Maps Weather client library. -Authenticate the client with Azure Maps Weather [API Key Credential](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys): +Authenticate the client with Azure Maps Weather [API Key Credential](https://learn.microsoft.com/azure/azure-maps/how-to-manage-account-keys): Then for common Azure Maps Weather operations: @@ -76,9 +76,9 @@ Then for common Azure Maps Weather operations: ## Next steps -Check out the [API reference documentation](https://docs.microsoft.com/rest/api/maps/weather) +Check out the [API reference documentation](https://learn.microsoft.com/rest/api/maps/weather) to learn more about what you can do with the Azure Maps Weather client library. [azure_portal]: https://portal.azure.com -[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_cli]: https://learn.microsoft.com/cli/azure