@azure/arm-search package
Classes
| SearchManagementClient |
Interfaces
| AccessRule |
Access rule in a network security perimeter configuration profile |
| AccessRuleProperties |
Properties of Access Rule |
| AccessRulePropertiesSubscriptionsItem |
Network security perimeter configuration |
| AdminKeyResult |
Response containing the primary and secondary admin API keys for a given Azure AI Search service. |
| AdminKeysGetOptionalParams |
Optional parameters. |
| AdminKeysOperations |
Interface representing a AdminKeys operations. |
| AdminKeysRegenerateOptionalParams |
Optional parameters. |
| AzureActiveDirectoryApplicationCredentials |
Describes the Azure Active Directory application credentials required to access an Azure Key Vault. |
| CheckNameAvailabilityInput |
Input of check name availability API. |
| CheckNameAvailabilityOutput |
Output of check name availability API. |
| CloudError |
Contains information about an API error. |
| CloudErrorBody |
Describes a particular API error with an error code and a message. |
| DataIdentity |
Abstract base type for data identities. |
| DataNoneIdentity |
Clears the identity property. |
| DataPlaneAadOrApiKeyAuthOption |
Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. |
| DataPlaneAuthOptions |
Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. |
| DataUserAssignedIdentity |
Specifies the user assigned identity to use. |
| EncryptionWithCmk |
Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. |
| FeatureOffering |
Describes the availability of a specific feature in a region. |
| Identity |
Details about the search service identity. A null value indicates that the search service has no identity assigned. |
| IpRule |
The IP restriction rule of the Azure AI Search service. |
| NetworkRuleSet |
Network specific rules that determine how the Azure AI Search service may be reached. |
| NetworkSecurityPerimeter |
Information about a network security perimeter (NSP) |
| NetworkSecurityPerimeterConfiguration |
Network security perimeter (NSP) configuration resource |
| NetworkSecurityPerimeterConfigurationProperties |
Network security configuration properties. |
| NetworkSecurityPerimeterConfigurationsGetOptionalParams |
Optional parameters. |
| NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams |
Optional parameters. |
| NetworkSecurityPerimeterConfigurationsOperations |
Interface representing a NetworkSecurityPerimeterConfigurations operations. |
| NetworkSecurityPerimeterConfigurationsReconcileOptionalParams |
Optional parameters. |
| NetworkSecurityProfile |
Network security perimeter configuration profile |
| OfferingsByRegion |
Describes the Azure AI Search features and SKUs available in a specific Azure region. |
| OfferingsListOptionalParams |
Optional parameters. |
| OfferingsListResult |
Response containing the list of offerings available in Azure AI Search, organized by region. |
| OfferingsOperations |
Interface representing a Offerings operations. |
| Operation |
Details of a REST API operation, returned from the Resource Provider Operations API |
| OperationDisplay |
Localized display information for an operation. |
| OperationsListOptionalParams |
Optional parameters. |
| OperationsOperations |
Interface representing a Operations operations. |
| PageSettings |
Options for the byPage method |
| PagedAsyncIterableIterator |
An interface that allows async iterable iteration both to completion and by page. |
| PrivateEndpointConnection |
Describes an existing private endpoint connection to the Azure AI Search service. |
| PrivateEndpointConnectionProperties |
Describes the properties of an existing private endpoint connection to the search service. |
| PrivateEndpointConnectionPropertiesPrivateEndpoint |
The private endpoint resource from Microsoft.Network provider. |
| PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState |
Describes the current state of an existing Azure Private Link service connection to the private endpoint. |
| PrivateEndpointConnectionsDeleteOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsGetOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsListByServiceOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsOperations |
Interface representing a PrivateEndpointConnections operations. |
| PrivateEndpointConnectionsUpdateOptionalParams |
Optional parameters. |
| PrivateLinkResource |
Describes a supported private link resource for the Azure AI Search service. |
| PrivateLinkResourceProperties |
Describes the properties of a supported private link resource for the Azure AI Search service. For a given API version, this represents the 'supported' groupIds when creating a shared private link resource. |
| PrivateLinkResourcesListSupportedOptionalParams |
Optional parameters. |
| PrivateLinkResourcesOperations |
Interface representing a PrivateLinkResources operations. |
| ProvisioningIssue |
Describes a provisioning issue for a network security perimeter configuration |
| ProvisioningIssueProperties |
Details of a provisioning issue for a network security perimeter (NSP) configuration. Resource providers should generate separate provisioning issue elements for each separate issue detected, and include a meaningful and distinctive description, as well as any appropriate suggestedResourceIds and suggestedAccessRules |
| ProxyResource |
The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location |
| QueryKey |
Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index. |
| QueryKeysCreateOptionalParams |
Optional parameters. |
| QueryKeysDeleteOptionalParams |
Optional parameters. |
| QueryKeysListBySearchServiceOptionalParams |
Optional parameters. |
| QueryKeysOperations |
Interface representing a QueryKeys operations. |
| QuotaUsageResult |
Describes the quota usage for a particular SKU. |
| QuotaUsageResultName |
The SKU name information, including its identifier and localized display name. |
| Resource |
Common fields that are returned in the response for all Azure Resource Manager resources |
| ResourceAssociation |
Information about resource association |
| RestorePollerOptions | |
| SearchManagementClientOptionalParams |
Optional parameters for the client. |
| SearchManagementRequestOptions |
model interface SearchManagementRequestOptions |
| SearchResourceEncryptionKey |
A customer-managed encryption key in Azure Key Vault. Keys that you create and manage can be used to encrypt or decrypt data-at-rest, such as indexes and synonym maps. |
| SearchService |
Describes an Azure AI Search service and its current state. |
| SearchServiceProperties |
Properties of the search service. |
| SearchServiceUpdate |
The parameters used to update an Azure AI Search service. |
| ServicesCheckNameAvailabilityOptionalParams |
Optional parameters. |
| ServicesCreateOrUpdateOptionalParams |
Optional parameters. |
| ServicesDeleteOptionalParams |
Optional parameters. |
| ServicesGetOptionalParams |
Optional parameters. |
| ServicesListByResourceGroupOptionalParams |
Optional parameters. |
| ServicesListBySubscriptionOptionalParams |
Optional parameters. |
| ServicesOperations |
Interface representing a Services operations. |
| ServicesUpdateOptionalParams |
Optional parameters. |
| ServicesUpgradeOptionalParams |
Optional parameters. |
| ShareablePrivateLinkResourceProperties |
Describes the properties of a resource type that has been onboarded to private link service, supported by Azure AI Search. |
| ShareablePrivateLinkResourceType |
Describes an resource type that has been onboarded to private link service, supported by Azure AI Search. |
| SharedPrivateLinkResource |
Describes a shared private link resource managed by the Azure AI Search service. |
| SharedPrivateLinkResourceProperties |
Describes the properties of an existing shared private link resource managed by the Azure AI Search service. |
| SharedPrivateLinkResourcesCreateOrUpdateOptionalParams |
Optional parameters. |
| SharedPrivateLinkResourcesDeleteOptionalParams |
Optional parameters. |
| SharedPrivateLinkResourcesGetOptionalParams |
Optional parameters. |
| SharedPrivateLinkResourcesListByServiceOptionalParams |
Optional parameters. |
| SharedPrivateLinkResourcesOperations |
Interface representing a SharedPrivateLinkResources operations. |
| SimplePollerLike |
A simple poller that can be used to poll a long running operation. |
| Sku |
Defines the SKU of a search service, which determines billing rate and capacity limits. |
| SkuLimits |
Describes the limits associated with a SKU offering. |
| SkuOffering |
Describes a SKU offering with its limits in a specific region. |
| SystemData |
Metadata pertaining to creation and last modification of the resource. |
| TrackedResource |
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' |
| UsageBySubscriptionSkuOptionalParams |
Optional parameters. |
| UsagesListBySubscriptionOptionalParams |
Optional parameters. |
| UsagesOperations |
Interface representing a Usages operations. |
| UserAssignedIdentity |
User assigned identity properties |
Type Aliases
| AadAuthFailureMode |
Describes what response the data plane API of a search service would send for requests that failed authentication. |
| AccessRuleDirection |
Direction of Access Rule Known values supported by the serviceInbound: Applies to inbound network traffic to the secured resources. |
| ActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Known values supported by the serviceInternal: Actions are for internal-only APIs. |
| AdminKeyKind |
Type of AdminKeyKind |
| AzureSupportedClouds |
The supported values for cloud setting as a string literal type |
| ComputeType |
Configure this property to support the search service using either the Default Compute or Azure Confidential Compute. Known values supported by the serviceDefault: Create the service with the Default Compute. |
| ContinuablePage |
An interface that describes a page of results. |
| CreatedByType |
The kind of entity that created the resource. Known values supported by the serviceUser: The entity was created by a user. |
| DataIdentityUnion |
Alias for DataIdentityUnion |
| 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'. |
| IdentityType |
The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. Known values supported by the serviceNone: Indicates that any identity associated with the search service needs to be removed. |
| IssueType |
Type of issue Known values supported by the serviceUnknown: Unknown issue type |
| 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 supported by the servicefree: Enables knowledge retrieval on a search service and indicates that it is to be used within the limits of the free plan. The free plan would cap the volume of knowledge retrieval requests and is offered at no extra charge. |
| NetworkSecurityPerimeterConfigurationProvisioningState |
Provisioning state of a network security perimeter configuration that is being created or updated. Known values supported by the serviceSucceeded |
| Origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" Known values supported by the serviceuser: Indicates the operation is initiated by a user. |
| PrivateLinkServiceConnectionProvisioningState |
The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. Known values supported by the serviceUpdating: The private link service connection is in the process of being created along with other resources for it to be fully functional. |
| PrivateLinkServiceConnectionStatus |
Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. |
| 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. |
| 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 supported by the serviceEnabled: The search service is accessible from traffic originating from the public internet. |
| ResourceAssociationAccessMode |
Access mode of the resource association Known values supported by the serviceEnforced: Enforced access mode - traffic to the resource that failed access checks is blocked |
| SearchBypass |
Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. Known values supported by the serviceNone: Indicates that no origin can bypass the rules defined in the 'ipRules' section. This is the default. |
| SearchDataExfiltrationProtection |
A specific data exfiltration scenario that is disabled for the service. Known values supported by the serviceBlockAll: Indicates that all data exfiltration scenarios are disabled. |
| SearchEncryptionComplianceStatus |
Returns the status of search service compliance with respect to non-CMK-encrypted objects. If a service has more than one unencrypted object, and enforcement is enabled, the service is marked as noncompliant. |
| SearchEncryptionWithCmk |
Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. |
| SearchSemanticSearch |
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 supported by the servicedisabled: Indicates that semantic reranker is disabled for the search service. |
| SearchServiceStatus |
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. |
| Severity |
Severity of the issue. Known values supported by the serviceWarning |
| SharedPrivateLinkResourceProvisioningState |
The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. Known values supported by the serviceUpdating: The shared private link resource is in the process of being created along with other resources for it to be fully functional. |
| SharedPrivateLinkResourceStatus |
Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. Known values supported by the servicePending: The shared private link resource has been created and is pending approval. |
| SkuName |
The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions. 'serverless': Serverless tier with auto-scaling capabilities. Known values supported by the servicefree: Free tier, with no SLA guarantees and a subset of the features offered on billable tiers. |
| UnavailableNameReason |
The reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable. Known values supported by the serviceInvalid: The search service name doesn't match naming requirements. |
| UpgradeAvailable |
Indicates if the dedicated search service has an upgrade available. Known values supported by the servicenotAvailable: An upgrade is currently not available for the dedicated service. |
Enums
| AzureClouds |
An enum to describe Azure Cloud environments. |
| KnownAccessRuleDirection |
Direction of Access Rule |
| KnownActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. |
| KnownComputeType |
Configure this property to support the search service using either the Default Compute or Azure Confidential Compute. |
| KnownCreatedByType |
The kind of entity that created the resource. |
| KnownIdentityType |
The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. |
| KnownIssueType |
Type of issue |
| KnownKnowledgeRetrieval |
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. |
| KnownNetworkSecurityPerimeterConfigurationProvisioningState |
Provisioning state of a network security perimeter configuration that is being created or updated. |
| KnownOrigin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" |
| KnownPrivateLinkServiceConnectionProvisioningState |
The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. |
| KnownPublicNetworkAccess |
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. |
| KnownResourceAssociationAccessMode |
Access mode of the resource association |
| KnownSearchBypass |
Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. |
| KnownSearchDataExfiltrationProtection |
A specific data exfiltration scenario that is disabled for the service. |
| KnownSearchSemanticSearch |
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. |
| KnownSeverity |
Severity of the issue. |
| KnownSharedPrivateLinkResourceProvisioningState |
The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. |
| KnownSharedPrivateLinkResourceStatus |
Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. |
| KnownSkuName |
The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions. 'serverless': Serverless tier with auto-scaling capabilities. |
| KnownUnavailableNameReason |
The reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable. |
| KnownUpgradeAvailable |
Indicates if the dedicated search service has an upgrade available. |
| KnownVersions |
The available API versions. |
Functions
| restore |
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope. |
Function Details
restorePoller<TResponse, TResult>(SearchManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.
function restorePoller<TResponse, TResult>(client: SearchManagementClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
Parameters
- client
- SearchManagementClient
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>