SearchIndexClientOptions interface   
Client options used to configure Cognitive Search API requests.
- Extends
Properties
| api | The API version to use when communicating with the service. | 
| audience | The Audience to use for authentication with Azure Active Directory (AAD). The audience is not considered when using a shared key. KnownSearchAudience can be used interchangeably with audience | 
| service | The service version to use when communicating with the service. | 
Inherited Properties
| additional | Additional policies to include in the HTTP pipeline. | 
| agent | Options for configuring Agent instance for outgoing requests | 
| allow | Set to true if the request is sent over HTTP instead of HTTPS | 
| http | The HttpClient that will be used to send HTTP requests. | 
| keep | Options to disable keep alive. | 
| proxy | Options to configure a proxy for outgoing requests. | 
| redirect | Options for how redirect responses are handled. | 
| retry | Options that control how to retry failed requests. | 
| telemetry | Options for setting common telemetry and tracing info to outgoing requests. | 
| tls | Options for configuring TLS authentication | 
| user | Options for adding user agent details to outgoing requests. | 
Property Details
		apiVersion
	 
	Warning
This API is now deprecated.
use {@Link serviceVersion} instead
The API version to use when communicating with the service.
apiVersion?: stringProperty Value
string
audience
The Audience to use for authentication with Azure Active Directory (AAD). The audience is not considered when using a shared key. KnownSearchAudience can be used interchangeably with audience
audience?: stringProperty Value
string
		serviceVersion
	 
	The service version to use when communicating with the service.
serviceVersion?: stringProperty Value
string
Inherited Property Details
		additionalPolicies
	 
	Additional policies to include in the HTTP pipeline.
additionalPolicies?: AdditionalPolicyConfig[]Property Value
Inherited From ExtendedCommonClientOptions.additionalPolicies
agent
Options for configuring Agent instance for outgoing requests
agent?: AgentProperty Value
Inherited From ExtendedCommonClientOptions.agent
		allowInsecureConnection
	  
	Set to true if the request is sent over HTTP instead of HTTPS
allowInsecureConnection?: booleanProperty Value
boolean
Inherited From ExtendedCommonClientOptions.allowInsecureConnection
		httpClient
	 
	The HttpClient that will be used to send HTTP requests.
httpClient?: HttpClientProperty Value
Inherited From ExtendedCommonClientOptions.httpClient
		keepAliveOptions
	  
	Options to disable keep alive.
keepAliveOptions?: KeepAliveOptionsProperty Value
Inherited From ExtendedCommonClientOptions.keepAliveOptions
		proxyOptions
	 
	Options to configure a proxy for outgoing requests.
proxyOptions?: ProxySettingsProperty Value
Inherited From ExtendedCommonClientOptions.proxyOptions
		redirectOptions
	 
	Options for how redirect responses are handled.
redirectOptions?: RedirectPolicyOptions & RedirectOptionsProperty Value
Inherited From ExtendedCommonClientOptions.redirectOptions
		retryOptions
	 
	Options that control how to retry failed requests.
retryOptions?: PipelineRetryOptionsProperty Value
Inherited From ExtendedCommonClientOptions.retryOptions
		telemetryOptions
	 
	Options for setting common telemetry and tracing info to outgoing requests.
telemetryOptions?: TelemetryOptionsProperty Value
Inherited From ExtendedCommonClientOptions.telemetryOptions
		tlsOptions
	 
	Options for configuring TLS authentication
tlsOptions?: TlsSettingsProperty Value
Inherited From ExtendedCommonClientOptions.tlsOptions
		userAgentOptions
	  
	Options for adding user agent details to outgoing requests.
userAgentOptions?: UserAgentPolicyOptionsProperty Value
Inherited From ExtendedCommonClientOptions.userAgentOptions