Sdílet prostřednictvím


MapsAccountSasContent Class

Definition

Parameters used to create an account Shared Access Signature (SAS) token. The REST API access control is provided by Azure Maps Role Based Access (RBAC) identity and access.

public class MapsAccountSasContent
type MapsAccountSasContent = class
Public Class MapsAccountSasContent
Inheritance
MapsAccountSasContent

Constructors

MapsAccountSasContent(MapsSigningKey, String, Int32, String, String)

Initializes a new instance of MapsAccountSasContent.

Properties

Expiry

The date time offset of when the token validity expires. For example "2017-05-24T10:42:03.1567373Z".

MaxRatePerSecond

Required parameter which represents the desired maximum request per second to allowed for the given SAS token. This does not guarantee perfect accuracy in measurements but provides application safe guards of abuse with eventual enforcement.

PrincipalId

The principal Id also known as the object Id of a User Assigned Managed Identity currently assigned to the Map Account. To assign a Managed Identity of the account, use operation Create or Update an assign a User Assigned Identity resource Id.

Regions

Optional, allows control of which region locations are permitted access to Azure Maps REST APIs with the SAS token. Example: "eastus", "westus2". Omitting this parameter will allow all region locations to be accessible.

SigningKey

The Map account key to use for signing.

Start

The date time offset of when the token validity begins. For example "2017-05-24T10:42:03.1567373Z".

Applies to