ArmSearchModelFactory.SearchServiceAdminKeyResult(String, String) 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.
Response containing the primary and secondary admin API keys for a given Azure AI Search service.
public static Azure.ResourceManager.Search.Models.SearchServiceAdminKeyResult SearchServiceAdminKeyResult(string primaryKey = default, string secondaryKey = default);
static member SearchServiceAdminKeyResult : string * string -> Azure.ResourceManager.Search.Models.SearchServiceAdminKeyResult
Public Shared Function SearchServiceAdminKeyResult (Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing) As SearchServiceAdminKeyResult
Parameters
- primaryKey
- String
The primary admin API key of the search service.
- secondaryKey
- String
The secondary admin API key of the search service.
Returns
A new SearchServiceAdminKeyResult instance for mocking.