ArmSearchModelFactory.SearchServiceQueryKey(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.
Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index.
public static Azure.ResourceManager.Search.Models.SearchServiceQueryKey SearchServiceQueryKey(string name = default, string key = default);
static member SearchServiceQueryKey : string * string -> Azure.ResourceManager.Search.Models.SearchServiceQueryKey
Public Shared Function SearchServiceQueryKey (Optional name As String = Nothing, Optional key As String = Nothing) As SearchServiceQueryKey
Parameters
- name
- String
The name of the query API key. Query names are optional, but assigning a name can help you remember how it's used.
- key
- String
The value of the query API key.
Returns
A new SearchServiceQueryKey instance for mocking.