SearchIndexerDataSourceConnection Class

Definition

Represents a datasource definition, which can be used to configure an indexer.

public class SearchIndexerDataSourceConnection
type SearchIndexerDataSourceConnection = class
Public Class SearchIndexerDataSourceConnection
Inheritance
SearchIndexerDataSourceConnection

Constructors

SearchIndexerDataSourceConnection(String, SearchIndexerDataSourceType, String, SearchIndexerDataContainer)

Creates a new instance of the SearchIndexerDataSourceConnection class.

Properties

ConnectionString

Gets or sets a connection string to the Container.

Container

The data container for the datasource.

DataChangeDetectionPolicy

The data change detection policy for the datasource.

DataDeletionDetectionPolicy

The data deletion detection policy for the datasource.

Description

The description of the datasource.

EncryptionKey

A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your datasource definition when you want full assurance that no one, not even Microsoft, can decrypt your data source definition in Azure Cognitive Search. Once you have encrypted your data source definition, it will always remain encrypted. Azure Cognitive Search will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your datasource definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.

ETag

The ETag of the SearchIndexerDataSourceConnection.

Identity

An explicit managed identity to use for this datasource. If not specified and the connection string is a managed identity, the system-assigned managed identity is used. If not specified, the value remains unchanged. If "none" is specified, the value of this property is cleared.

Name

The name of the datasource.

Type

The type of the datasource.

Applies to