Share via


AdminKeysOperationsExtensions.Get Method

Definition

Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. https://aka.ms/search-manage

public static Microsoft.Azure.Management.Search.Models.AdminKeyResult Get (this Microsoft.Azure.Management.Search.IAdminKeysOperations operations, string resourceGroupName, string searchServiceName, Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default);
static member Get : Microsoft.Azure.Management.Search.IAdminKeysOperations * string * string * Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions -> Microsoft.Azure.Management.Search.Models.AdminKeyResult
<Extension()>
Public Function Get (operations As IAdminKeysOperations, resourceGroupName As String, searchServiceName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing) As AdminKeyResult

Parameters

operations
IAdminKeysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.

searchServiceName
String

The name of the Azure Cognitive Search service associated with the specified resource group.

searchManagementRequestOptions
SearchManagementRequestOptions

Additional parameters for the operation

Returns

Applies to