Microsoft.Search (stable:2015-08-19)

2025/12/05 • 14 new, 14 deleted methods

Operations_List (new)
Description :  Lists all of the available REST API operations of the Microsoft.Search provider.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Search/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
operation: string ,
resource: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}
AdminKeys_Get (new)
Description :  Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryKey: string ,
secondaryKey: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
AdminKeys_Regenerate (new)
Description :  Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}
{
resourceGroupName: string ,
searchServiceName: string ,
keyKind: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryKey: string ,
secondaryKey: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_Create (new)
Description :  Generates a new query key for the specified Search service. You can create up to 50 query keys per service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}
{
resourceGroupName: string ,
searchServiceName: string ,
name: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
name: string ,
key: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_ListBySearchServiceGet (new)
Description :  Returns the list of query API keys for the given Azure Cognitive Search service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
key: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_ListBySearchService (new)
Description :  Returns the list of query API keys for the given Azure Cognitive Search service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
key: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_Delete (new)
Description :  Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}
{
resourceGroupName: string ,
searchServiceName: string ,
key: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_CreateOrUpdate (new)
Description :  Creates or updates a Search service in the given resource group. If the Search service already exists, all properties will be updated with the given values.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
service:
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_Update (new)
Description :  Updates an existing Search service in the given resource group.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
service:
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_Get (new)
Description :  Gets the Search service with the given name in the given resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_Delete (new)
Description :  Deletes a Search service in the given resource group, along with its associated resources.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_ListByResourceGroup (new)
Description :  Gets a list of all Search services in the given resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices
{
resourceGroupName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_ListBySubscription (new)
Description :  Gets a list of all Search services in the given subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices
{
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckNameAvailability (new)
Description :  Checks whether or not the given Search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net).
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability
{
checkNameAvailabilityInput:
{
name: string ,
type: enum ,
}
,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (removed)
Description :  Lists all of the available REST API operations of the Microsoft.Search provider.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Search/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
operation: string ,
resource: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}
AdminKeys_Get (removed)
Description :  Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryKey: string ,
secondaryKey: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
AdminKeys_Regenerate (removed)
Description :  Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}
{
resourceGroupName: string ,
searchServiceName: string ,
keyKind: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primaryKey: string ,
secondaryKey: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_Create (removed)
Description :  Generates a new query key for the specified Search service. You can create up to 50 query keys per service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}
{
resourceGroupName: string ,
searchServiceName: string ,
name: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
name: string ,
key: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_ListBySearchServiceGet (removed)
Description :  Returns the list of query API keys for the given Azure Cognitive Search service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
key: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_ListBySearchService (removed)
Description :  Returns the list of query API keys for the given Azure Cognitive Search service.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
key: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
QueryKeys_Delete (removed)
Description :  Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}
{
resourceGroupName: string ,
searchServiceName: string ,
key: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_CreateOrUpdate (removed)
Description :  Creates or updates a Search service in the given resource group. If the Search service already exists, all properties will be updated with the given values.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
service:
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_Update (removed)
Description :  Updates an existing Search service in the given resource group.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
service:
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_Get (removed)
Description :  Gets the Search service with the given name in the given resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_Delete (removed)
Description :  Deletes a Search service in the given resource group, along with its associated resources.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}
{
resourceGroupName: string ,
searchServiceName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_ListByResourceGroup (removed)
Description :  Gets a list of all Search services in the given resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices
{
resourceGroupName: string ,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_ListBySubscription (removed)
Description :  Gets a list of all Search services in the given subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices
{
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
replicaCount: integer ,
partitionCount: integer ,
hostingMode: enum ,
status: enum ,
statusDetails: string ,
provisioningState: enum ,
}
,
sku:
{
name: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckNameAvailability (removed)
Description :  Checks whether or not the given Search service name is available for use. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net).
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability
{
checkNameAvailabilityInput:
{
name: string ,
type: enum ,
}
,
x-ms-client-request-id: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}