Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/search/azure-mgmt-search/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "e1017d9ab49f41296177b4f4c9ac741fb7de044d",
"commit": "a231973a4fd49f699621dd74cb1b47d9d6fdcd13",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.7",
"use": [
"@autorest/python@6.7.1",
"@autorest/modelerfour@4.26.2"
],
"autorest_command": "autorest specification/search/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"autorest_command": "autorest specification/search/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
"readme": "specification/search/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class SearchManagementClientConfiguration(Configuration): # pylint: disable=too
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The unique identifier for a Microsoft Azure subscription. You can
obtain this value from the Azure Resource Manager API or the portal. Required.
obtain this value from the Azure Resource Manager API, command line tools, or the portal.
Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-11-01". Note that overriding this
default value may result in unsupported behavior.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
class SearchManagementClient(
SearchManagementClientOperationsMixin
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
"""Client that can be used to manage Azure Cognitive Search services and API keys.
"""Client that can be used to manage search services and API keys.

:ivar operations: Operations operations
:vartype operations: azure.mgmt.search.operations.Operations
Expand All @@ -58,7 +58,8 @@ class SearchManagementClient(
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The unique identifier for a Microsoft Azure subscription. You can
obtain this value from the Azure Resource Manager API or the portal. Required.
obtain this value from the Azure Resource Manager API, command line tools, or the portal.
Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
Expand Down
2 changes: 1 addition & 1 deletion sdk/search/azure-mgmt-search/azure/mgmt/search/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "9.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class SearchManagementClientConfiguration(Configuration): # pylint: disable=too
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The unique identifier for a Microsoft Azure subscription. You can
obtain this value from the Azure Resource Manager API or the portal. Required.
obtain this value from the Azure Resource Manager API, command line tools, or the portal.
Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-11-01". Note that overriding this
default value may result in unsupported behavior.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
class SearchManagementClient(
SearchManagementClientOperationsMixin
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
"""Client that can be used to manage Azure Cognitive Search services and API keys.
"""Client that can be used to manage search services and API keys.

:ivar operations: Operations operations
:vartype operations: azure.mgmt.search.aio.operations.Operations
Expand All @@ -59,7 +59,8 @@ class SearchManagementClient(
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The unique identifier for a Microsoft Azure subscription. You can
obtain this value from the Azure Resource Manager API or the portal. Required.
obtain this value from the Azure Resource Manager API, command line tools, or the portal.
Required.
:type subscription_id: str
:param base_url: Service URL. Default value is "https://management.azure.com".
:type base_url: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ async def get(
search_management_request_options: Optional[_models.SearchManagementRequestOptions] = None,
**kwargs: Any
) -> _models.AdminKeyResult:
"""Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.
"""Gets the primary and secondary admin API keys for the specified search service.

.. seealso::
- https://aka.ms/search-manage

:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param search_management_request_options: Parameter group. Default value is None.
:type search_management_request_options:
Expand Down Expand Up @@ -149,8 +149,8 @@ async def regenerate(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param key_kind: Specifies which key to regenerate. Valid values include 'primary' and
'secondary'. Known values are: "primary" and "secondary". Required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ async def update(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param private_endpoint_connection_name: The name of the private endpoint connection to the
Azure Cognitive Search service with the specified resource group. Required.
search service with the specified resource group. Required.
:type private_endpoint_connection_name: str
:param private_endpoint_connection: The definition of the private endpoint connection to
update. Required.
Expand Down Expand Up @@ -121,11 +121,11 @@ async def update(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param private_endpoint_connection_name: The name of the private endpoint connection to the
Azure Cognitive Search service with the specified resource group. Required.
search service with the specified resource group. Required.
:type private_endpoint_connection_name: str
:param private_endpoint_connection: The definition of the private endpoint connection to
update. Required.
Expand Down Expand Up @@ -160,11 +160,11 @@ async def update(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param private_endpoint_connection_name: The name of the private endpoint connection to the
Azure Cognitive Search service with the specified resource group. Required.
search service with the specified resource group. Required.
:type private_endpoint_connection_name: str
:param private_endpoint_connection: The definition of the private endpoint connection to
update. Is either a PrivateEndpointConnection type or a IO type. Required.
Expand Down Expand Up @@ -263,11 +263,11 @@ async def get(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param private_endpoint_connection_name: The name of the private endpoint connection to the
Azure Cognitive Search service with the specified resource group. Required.
search service with the specified resource group. Required.
:type private_endpoint_connection_name: str
:param search_management_request_options: Parameter group. Default value is None.
:type search_management_request_options:
Expand Down Expand Up @@ -348,11 +348,11 @@ async def delete(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param private_endpoint_connection_name: The name of the private endpoint connection to the
Azure Cognitive Search service with the specified resource group. Required.
search service with the specified resource group. Required.
:type private_endpoint_connection_name: str
:param search_management_request_options: Parameter group. Default value is None.
:type search_management_request_options:
Expand Down Expand Up @@ -434,8 +434,8 @@ def list_by_service(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param search_management_request_options: Parameter group. Default value is None.
:type search_management_request_options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def list_supported(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param search_management_request_options: Parameter group. Default value is None.
:type search_management_request_options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ async def create(
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param name: The name of the new query API key. Required.
:type name: str
Expand Down Expand Up @@ -151,16 +151,16 @@ def list_by_search_service(
search_management_request_options: Optional[_models.SearchManagementRequestOptions] = None,
**kwargs: Any
) -> AsyncIterable["_models.QueryKey"]:
"""Returns the list of query API keys for the given Azure Cognitive Search service.
"""Returns the list of query API keys for the given search service.

.. seealso::
- https://aka.ms/search-manage

:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param search_management_request_options: Parameter group. Default value is None.
:type search_management_request_options:
Expand Down Expand Up @@ -267,8 +267,8 @@ async def delete( # pylint: disable=inconsistent-return-statements
:param resource_group_name: The name of the resource group within the current subscription. You
can obtain this value from the Azure Resource Manager API or the portal. Required.
:type resource_group_name: str
:param search_service_name: The name of the Azure Cognitive Search service associated with the
specified resource group. Required.
:param search_service_name: The name of the search service associated with the specified
resource group. Required.
:type search_service_name: str
:param key: The query key to be deleted. Query keys are identified by value, not by name.
Required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@ async def usage_by_subscription_sku(
search_management_request_options: Optional[_models.SearchManagementRequestOptions] = None,
**kwargs: Any
) -> _models.QuotaUsageResult:
"""Gets the quota usage for a search sku in the given subscription.
"""Gets the quota usage for a search SKU in the given subscription.

.. seealso::
- https://aka.ms/search-manage

:param location: The unique location name for a Microsoft Azure geographic region. Required.
:type location: str
:param sku_name: The unique search service sku name supported by Azure Cognitive Search.
Required.
:param sku_name: The unique SKU name that identifies a billable tier. Required.
:type sku_name: str
:param search_management_request_options: Parameter group. Default value is None.
:type search_management_request_options:
Expand Down
Loading