MapsFunctions

Functions

Link copied to clipboard

Get a Maps Account. API Version: 2018-05-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. API Version: 2020-02-01-preview.

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. 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. API Version: 2018-05-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