Share via


ArmCognitiveServicesModelFactory.ServiceAccountApiKeys(String, String) Method

Definition

Initializes a new instance of ServiceAccountApiKeys.

public static Azure.ResourceManager.CognitiveServices.Models.ServiceAccountApiKeys ServiceAccountApiKeys (string key1 = default, string key2 = default);
static member ServiceAccountApiKeys : string * string -> Azure.ResourceManager.CognitiveServices.Models.ServiceAccountApiKeys
Public Shared Function ServiceAccountApiKeys (Optional key1 As String = Nothing, Optional key2 As String = Nothing) As ServiceAccountApiKeys

Parameters

key1
String

Gets the value of key 1.

key2
String

Gets the value of key 2.

Returns

A new ServiceAccountApiKeys instance for mocking.

Applies to