你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QueryKeysOperationsExtensions.Delete 方法

定义

删除指定的查询键。 与管理密钥不同,查询密钥不会重新生成。 重新生成查询密钥的过程是删除并重新创建它。 https://aka.ms/search-manage

public static void Delete (this Microsoft.Azure.Management.Search.IQueryKeysOperations operations, string resourceGroupName, string searchServiceName, string key, Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default);
static member Delete : Microsoft.Azure.Management.Search.IQueryKeysOperations * string * string * string * Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions -> unit
<Extension()>
Public Sub Delete (operations As IQueryKeysOperations, resourceGroupName As String, searchServiceName As String, key As String, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing)

参数

operations
IQueryKeysOperations

此扩展方法的操作组。

resourceGroupName
String

当前订阅中的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

searchServiceName
String

与指定资源组关联的Azure 认知搜索服务的名称。

key
String

要删除的查询键。 查询键按值标识,而不是按名称标识。

searchManagementRequestOptions
SearchManagementRequestOptions

操作的其他参数

适用于