Dela via


ArmAppConfigurationModelFactory.AppConfigurationStoreApiKey Method

Definition

Initializes a new instance of AppConfigurationStoreApiKey.

public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey AppConfigurationStoreApiKey (string id = default, string name = default, string value = default, string connectionString = default, DateTimeOffset? lastModifiedOn = default, bool? isReadOnly = default);
static member AppConfigurationStoreApiKey : string * string * string * string * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey
Public Shared Function AppConfigurationStoreApiKey (Optional id As String = Nothing, Optional name As String = Nothing, Optional value As String = Nothing, Optional connectionString As String = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing) As AppConfigurationStoreApiKey

Parameters

id
String

The key ID.

name
String

A name for the key describing its usage.

value
String

The value of the key that is used for authentication purposes.

connectionString
String

A connection string that can be used by supporting clients for authentication.

lastModifiedOn
Nullable<DateTimeOffset>

The last time any of the key's properties were modified.

isReadOnly
Nullable<Boolean>

Whether this key can only be used for read operations.

Returns

A new AppConfigurationStoreApiKey instance for mocking.

Applies to