Partager via


QueryKeysOperationsExtensions.CreateAsync Méthode

Définition

Génère une nouvelle clé de requête pour le service Search spécifié. Vous pouvez créer jusqu’à 50 clés de requête par service. https://aka.ms/search-manage

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.Models.QueryKeyInner> CreateAsync (this Microsoft.Azure.Management.Search.Fluent.IQueryKeysOperations operations, string resourceGroupName, string searchServiceName, string name, Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Search.Fluent.IQueryKeysOperations * string * string * string * Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.Models.QueryKeyInner>
<Extension()>
Public Function CreateAsync (operations As IQueryKeysOperations, resourceGroupName As String, searchServiceName As String, name As String, Optional searchManagementRequestOptions As SearchManagementRequestOptionsInner = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of QueryKeyInner)

Paramètres

operations
IQueryKeysOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources au sein de l’abonnement actuel. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

searchServiceName
String

Le nom du service Search Azure associé au groupe de ressources spécifié.

name
String

Nom de la nouvelle clé API de requête.

searchManagementRequestOptions
SearchManagementRequestOptionsInner

Paramètres supplémentaires pour l’opération

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à