MapsFunctions

Functions

Link copied to clipboard

Get a Maps Account. Azure REST API version: 2021-02-01. Other available API versions: 2018-05-01, 2021-12-01-preview, 2023-06-01.

suspend fun getAccount(argument: suspend GetAccountPlainArgsBuilder.() -> Unit): GetAccountResult
suspend fun getAccount(accountName: String, resourceGroupName: String): GetAccountResult
Link copied to clipboard

Get a Maps Creator resource. Azure REST API version: 2021-02-01. Other available API versions: 2020-02-01-preview, 2021-12-01-preview, 2023-06-01.

suspend fun getCreator(argument: suspend GetCreatorPlainArgsBuilder.() -> Unit): GetCreatorResult
suspend fun getCreator(accountName: String, creatorName: String, resourceGroupName: String): GetCreatorResult
Link copied to clipboard

Deprecated Get a Private Atlas resource. Azure REST API version: 2020-02-01-preview.

suspend fun getPrivateAtlase(accountName: String, privateAtlasName: String, resourceGroupName: String): GetPrivateAtlaseResult
Link copied to clipboard

Get the keys to use with the Maps APIs. A key is used to authenticate and authorize access to the Maps REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration. Azure REST API version: 2021-02-01. Other available API versions: 2018-05-01, 2021-12-01-preview, 2023-06-01.

suspend fun listAccountKeys(accountName: String, resourceGroupName: String): ListAccountKeysResult
Link copied to clipboard

Create and list an account shared access signature token. Use this SAS token for authentication to Azure Maps REST APIs through various Azure Maps SDKs. As prerequisite to create a SAS Token. Prerequisites:

suspend fun listAccountSas(accountName: String, expiry: String, maxRatePerSecond: Int, principalId: String, regions: List<String>? = null, resourceGroupName: String, signingKey: Either<String, SigningKey>, start: String): ListAccountSasResult