Freigeben über


ArmMapsModelFactory.MapsAccountKeys Method

Definition

Initializes a new instance of MapsAccountKeys.

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