1. Packages
  2. Azure Native v1
  3. API Docs
  4. search
  5. listQueryKeyBySearchService
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.search.listQueryKeyBySearchService

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Returns the list of query API keys for the given Azure Cognitive Search service. API Version: 2020-08-01.

    Using listQueryKeyBySearchService

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function listQueryKeyBySearchService(args: ListQueryKeyBySearchServiceArgs, opts?: InvokeOptions): Promise<ListQueryKeyBySearchServiceResult>
    function listQueryKeyBySearchServiceOutput(args: ListQueryKeyBySearchServiceOutputArgs, opts?: InvokeOptions): Output<ListQueryKeyBySearchServiceResult>
    def list_query_key_by_search_service(resource_group_name: Optional[str] = None,
                                         search_service_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> ListQueryKeyBySearchServiceResult
    def list_query_key_by_search_service_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                         search_service_name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[ListQueryKeyBySearchServiceResult]
    func ListQueryKeyBySearchService(ctx *Context, args *ListQueryKeyBySearchServiceArgs, opts ...InvokeOption) (*ListQueryKeyBySearchServiceResult, error)
    func ListQueryKeyBySearchServiceOutput(ctx *Context, args *ListQueryKeyBySearchServiceOutputArgs, opts ...InvokeOption) ListQueryKeyBySearchServiceResultOutput

    > Note: This function is named ListQueryKeyBySearchService in the Go SDK.

    public static class ListQueryKeyBySearchService 
    {
        public static Task<ListQueryKeyBySearchServiceResult> InvokeAsync(ListQueryKeyBySearchServiceArgs args, InvokeOptions? opts = null)
        public static Output<ListQueryKeyBySearchServiceResult> Invoke(ListQueryKeyBySearchServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListQueryKeyBySearchServiceResult> listQueryKeyBySearchService(ListQueryKeyBySearchServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:search:listQueryKeyBySearchService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    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.
    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.
    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.
    resource_group_name str
    The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
    search_service_name str
    The name of the Azure Cognitive Search service associated with the specified resource group.
    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.

    listQueryKeyBySearchService Result

    The following output properties are available:

    NextLink string
    Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.
    Value List<Pulumi.AzureNative.Search.Outputs.QueryKeyResponse>
    The query keys for the Azure Cognitive Search service.
    NextLink string
    Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.
    Value []QueryKeyResponse
    The query keys for the Azure Cognitive Search service.
    nextLink String
    Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.
    value List<QueryKeyResponse>
    The query keys for the Azure Cognitive Search service.
    nextLink string
    Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.
    value QueryKeyResponse[]
    The query keys for the Azure Cognitive Search service.
    next_link str
    Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.
    value Sequence[QueryKeyResponse]
    The query keys for the Azure Cognitive Search service.
    nextLink String
    Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.
    value List<Property Map>
    The query keys for the Azure Cognitive Search service.

    Supporting Types

    QueryKeyResponse

    Key string
    The value of the query API key.
    Name string
    The name of the query API key; may be empty.
    Key string
    The value of the query API key.
    Name string
    The name of the query API key; may be empty.
    key String
    The value of the query API key.
    name String
    The name of the query API key; may be empty.
    key string
    The value of the query API key.
    name string
    The name of the query API key; may be empty.
    key str
    The value of the query API key.
    name str
    The name of the query API key; may be empty.
    key String
    The value of the query API key.
    name String
    The name of the query API key; may be empty.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi