ArmMapsModelFactory.MapsAccountSasContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MapsAccountSasContent.
public static Azure.ResourceManager.Maps.Models.MapsAccountSasContent MapsAccountSasContent(Azure.ResourceManager.Maps.Models.MapsSigningKey signingKey = default, string principalId = default, System.Collections.Generic.IEnumerable<string> regions = default, int maxRatePerSecond = 0, string start = default, string expiry = default);
static member MapsAccountSasContent : Azure.ResourceManager.Maps.Models.MapsSigningKey * string * seq<string> * int * string * string -> Azure.ResourceManager.Maps.Models.MapsAccountSasContent
Public Shared Function MapsAccountSasContent (Optional signingKey As MapsSigningKey = Nothing, Optional principalId As String = Nothing, Optional regions As IEnumerable(Of String) = Nothing, Optional maxRatePerSecond As Integer = 0, Optional start As String = Nothing, Optional expiry As String = Nothing) As MapsAccountSasContent
Parameters
- signingKey
- MapsSigningKey
The Map account key to use for signing. Picking primaryKey or secondaryKey will use the Map account Shared Keys, and using managedIdentity will use the auto-renewed private key to sign the SAS.
- 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.
- regions
- IEnumerable<String>
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.
- 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". Maximum duration allowed is 24 hours between start and expiry.
- expiry
- String
The date time offset of when the token validity expires. For example "2017-05-24T10:42:03.1567373Z". Maximum duration allowed is 24 hours between start and expiry.
Returns
A new MapsAccountSasContent instance for mocking.