Delen via


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

Definition

Initializes a new instance of MapsAccountSasContent.

public MapsAccountSasContent (Azure.ResourceManager.Maps.Models.MapsSigningKey signingKey, string principalId, int maxRatePerSecond, string start, string expiry);
new Azure.ResourceManager.Maps.Models.MapsAccountSasContent : Azure.ResourceManager.Maps.Models.MapsSigningKey * string * int * string * string -> Azure.ResourceManager.Maps.Models.MapsAccountSasContent
Public Sub New (signingKey As MapsSigningKey, principalId As String, maxRatePerSecond As Integer, start As String, expiry As String)

Parameters

signingKey
MapsSigningKey

The Map account key to use for signing.

principalId
String

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.

maxRatePerSecond
Int32

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.

start
String

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

expiry
String

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

Exceptions

principalId, start or expiry is null.

Applies to