ArmMapsModelFactory.MapsAccountKeys Method

Definition

The set of keys which can be used to access the Maps REST APIs. Two keys are provided for key rotation without interruption.

public static Azure.ResourceManager.Maps.Models.MapsAccountKeys MapsAccountKeys(DateTimeOffset? primaryKeyLastUpdatedOn = default, string primaryKey = default, string secondaryKey = default, DateTimeOffset? secondaryKeyLastUpdatedOn = default);
static member MapsAccountKeys : Nullable<DateTimeOffset> * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Maps.Models.MapsAccountKeys
Public Shared Function MapsAccountKeys (Optional primaryKeyLastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional secondaryKeyLastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As MapsAccountKeys

Parameters

primaryKeyLastUpdatedOn
Nullable<DateTimeOffset>

The last updated date and time of the primary key.

primaryKey
String

The primary key for accessing the Maps REST APIs.

secondaryKey
String

The secondary key for accessing the Maps REST APIs.

secondaryKeyLastUpdatedOn
Nullable<DateTimeOffset>

The last updated date and time of the secondary key.

Returns

A new MapsAccountKeys instance for mocking.

Applies to