SearchServiceProperties Class
Properties of the search service.
Constructor
SearchServiceProperties()
Variables
| Name | Description |
|---|---|
|
replicaCount
|
The number of replicas in the dedicated search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. |
|
partitionCount
|
The number of partitions in the dedicated search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. |
|
endpoint
|
The endpoint of the Azure AI Search service. |
|
hostingMode
|
Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'Default' or 'HighDensity'. For all other SKUs, this value must be 'Default'. Known values are: "Default" and "HighDensity". |
|
computeType
|
Configure this property to support the search service using either the Default Compute or Azure Confidential Compute. Known values are: "Default" and "Confidential". |
|
publicNetworkAccess
|
This value can be set to 'Enabled' to avoid breaking changes on existing customer resources and templates. If set to 'Disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. Known values are: "Enabled", "Disabled", and "SecuredByPerimeter". |
|
status
|
The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Known values are: "running", "provisioning", "deleting", "degraded", "disabled", "error", and "stopped". |
|
statusDetails
|
The details of the search service status. |
|
provisioningState
|
The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. Known values are: "succeeded", "provisioning", and "failed". |
|
networkRuleSet
|
<xref:<xref:"NetworkRuleSet">>
Network specific rules that determine how the Azure AI Search service may be reached. |
|
dataExfiltrationProtections
|
A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. |
|
encryptionWithCmk
|
<xref:<xref:"EncryptionWithCmk">>
Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. |
|
disableLocalAuth
|
When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. |
|
authOptions
|
<xref:<xref:"DataPlaneAuthOptions">>
Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. |
|
semanticSearch
|
Specifies the availability and billing plan for semantic search on the Azure AI Search service. This configuration is only available for certain pricing tiers in certain regions. Known values are: "disabled", "free", and "standard". |
|
knowledgeRetrieval
|
Specifies the billing plan for agentic retrieval on the Azure AI Search service. This configuration is only available for certain pricing tiers in certain regions. Known values are: "free" and "standard". |
|
privateEndpointConnections
|
list[<xref:"PrivateEndpointConnection">]
The list of private endpoint connections to the Azure AI Search service. |
|
sharedPrivateLinkResources
|
list[<xref:"SharedPrivateLinkResource">]
The list of shared private link resources managed by the Azure AI Search service. |
|
eTag
|
A system generated property representing the service's etag that can be for optimistic concurrency control during updates. |
|
upgradeAvailable
|
Indicates if the search service has an upgrade available. Known values are: "notAvailable" and "available". |
|
serviceUpgradedAt
|
The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time. |
Attributes
authOptions
Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true.
authOptions: DataPlaneAuthOptions
computeType
Configure this property to support the search service using either the Default Compute or Azure Confidential Compute. Known values are: "Default" and "Confidential".
computeType: str | ComputeType
dataExfiltrationProtections
A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future.
dataExfiltrationProtections: list[typing.Union[str, ForwardRef('SearchDataExfiltrationProtection')]]
disableLocalAuth
When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined.
disableLocalAuth: bool | None
eTag
A system generated property representing the service's etag that can be for optimistic concurrency control during updates.
eTag: str
encryptionWithCmk
Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service.
encryptionWithCmk: EncryptionWithCmk
endpoint
The endpoint of the Azure AI Search service.
endpoint: str
hostingMode
Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'Default' or 'HighDensity'. For all other SKUs, this value must be 'Default'. Known values are: "Default" and "HighDensity".
hostingMode: str | HostingMode
knowledgeRetrieval
Specifies the billing plan for agentic retrieval on the Azure AI Search service. This configuration is only available for certain pricing tiers in certain regions. Known values are: "free" and "standard".
knowledgeRetrieval: str | KnowledgeRetrieval | None
networkRuleSet
Network specific rules that determine how the Azure AI Search service may be reached.
networkRuleSet: NetworkRuleSet
partitionCount
The number of partitions in the dedicated search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3.
partitionCount: int
privateEndpointConnections
The list of private endpoint connections to the Azure AI Search service.
privateEndpointConnections: list['PrivateEndpointConnection']
provisioningState
The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. Known values are: "succeeded", "provisioning", and "failed".
provisioningState: str | ProvisioningState
publicNetworkAccess
This value can be set to 'Enabled' to avoid breaking changes on existing customer resources and templates. If set to 'Disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. Known values are: "Enabled", "Disabled", and "SecuredByPerimeter".
publicNetworkAccess: str | PublicNetworkAccess
replicaCount
The number of replicas in the dedicated search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU.
replicaCount: int
semanticSearch
Specifies the availability and billing plan for semantic search on the Azure AI Search service. This configuration is only available for certain pricing tiers in certain regions. Known values are: "disabled", "free", and "standard".
semanticSearch: str | SearchSemanticSearch | None
serviceUpgradedAt
The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time.
serviceUpgradedAt: str
sharedPrivateLinkResources
The list of shared private link resources managed by the Azure AI Search service.
sharedPrivateLinkResources: list['SharedPrivateLinkResource']
status
The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. Known values are: "running", "provisioning", "deleting", "degraded", "disabled", "error", and "stopped".
status: str | SearchServiceStatus
statusDetails
The details of the search service status.
statusDetails: str
upgradeAvailable
"notAvailable" and "available".
upgradeAvailable: str | UpgradeAvailable