Skip to content

Commit

Permalink
Update Maps TimeZone configs and readme (#47466)
Browse files Browse the repository at this point in the history
* Update configs and readme

* Update timezone changelog
  • Loading branch information
dubiety authored Dec 9, 2024
1 parent 0b7d9a1 commit c777b39
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sdk/maps/Azure.Maps.TimeZones/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.0.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2024-12-10)

### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/maps/Azure.Maps.TimeZones/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ MapsTimeZoneClient client = new MapsTimeZoneClient(credential, clientId);

Shared access signature (SAS) tokens are authentication tokens created using the JSON Web token (JWT) format and are cryptographically signed to prove authentication for an application to the Azure Maps REST API.

Before integrating SAS token authentication, we need to install `Azure.ResourceManager` and `Azure.ResourceManager.Maps` (version `1.1.0-beta.2` or higher):
Before integrating SAS token authentication, we need to install `Azure.ResourceManager` and `Azure.ResourceManager.Maps` (version `1.1.0` or higher):

```powershell
dotnet add package Azure.ResourceManager
Expand Down
10 changes: 5 additions & 5 deletions sdk/maps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Below are the packages contained in Azure Maps:
- [Azure.Maps.Routing][route] allows you to get the routing information for multiple origins and destinations.
- [Azure.Maps.Search][search] supports many searching functionalities for entities, point of interests (POI) or streets, and also supports reverse geocode a coordinate to a place or an entity.
- [Azure.Maps.Geolocation][geolocation] allows you to get the ISO country code for the provided IP address.
- [Azure.Maps.TimeZone][timezone]
- [Azure.Maps.TimeZones][timezone] allows you to get time zone information for the world.
- [Azure.Maps.Weather][weather] allows you to get real-time, forecasted, and historical weather data.
### Install the package

Expand All @@ -22,7 +22,7 @@ dotnet add package Azure.Maps.Rendering --prerelease
dotnet add package Azure.Maps.Routing --prerelease
dotnet add package Azure.Maps.Search --prerelease
dotnet add package Azure.Maps.Geolocation --prerelease
dotnet add package Azure.Maps.TimeZone --prerelease
dotnet add package Azure.Maps.TimeZones --prerelease
```

Azure.Maps.Common will be automatically installed when you install other packages.
Expand All @@ -39,7 +39,7 @@ az maps account create --kind "Gen2" --account-name "myMapAccountName" --resourc

### Authenticate the client

There are 2 ways to authenticate the client: Shared key authentication and Azure AD. Please refer to each package's README for details.
There are 3 ways to authenticate the client: Shared key authentication, Microsoft Entra and Shared Access Signature (SAS) Authentication. Please refer to each package's README for details.

## Key concepts

Expand Down Expand Up @@ -75,7 +75,7 @@ using Azure.Maps.Routing;
using Azure.Maps.Search;
```

In the main function, instantiate `MapsSearchClient`, `MapsRoutingClient` and `MapsRenderingClient` either via AAD or subscription key authentication. Below is an example of instantiation via AAD:
In the main function, instantiate `MapsSearchClient`, `MapsRoutingClient` and `MapsRenderingClient` either via subscription key, Microsoft Entra, or SAS token authentication. Below is an example of instantiation via Microsoft Entra:

```C#
// Create a MapsSearchClient and MapsRoutingClient that will authenticate through Active Directory
Expand Down Expand Up @@ -221,7 +221,7 @@ additional questions or comments.
[route]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/maps/Azure.Maps.Routing
[geolocation]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/maps/Azure.Maps.Geolocation
[search]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/maps/Azure.Maps.Search
[timezone]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/maps/Azure.Maps.TimeZone
[timezone]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/maps/Azure.Maps.TimeZones
[weather]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/maps/Azure.Maps.Weather
[cla]: https://cla.microsoft.com
[coc]: https://opensource.microsoft.com/codeofconduct/
Expand Down
2 changes: 2 additions & 0 deletions sdk/maps/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ extends:
safeName: AzureMapsSearch
- name: Azure.Maps.Geolocation
safeName: AzureMapsGeolocation
- name: Azure.Maps.TimeZones
safeName: AzureMapsTimeZones

0 comments on commit c777b39

Please sign in to comment.