Class SearchIndexerDataSourceType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SearchIndexerDataSourceType>
com.azure.search.documents.indexes.models.SearchIndexerDataSourceType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SearchIndexerDataSourceType
extends com.azure.core.util.ExpandableStringEnum<SearchIndexerDataSourceType>
Defines the type of a datasource.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SearchIndexerDataSourceTypeDefinition of an Azure ADLS Gen 2 datasource whose credentials can either be a storage connection string or the ResourceId of the storage account.static final SearchIndexerDataSourceTypeDefinition of an Azure Blob datasource whose credentials can either be a storage connection string or the ResourceId of the storage account.static final SearchIndexerDataSourceTypeDefinition of an Azure SQL datasource whose credentials can either be a standard SQL connection string or the ResourceId of the SQL resource.static final SearchIndexerDataSourceTypeDefinition of an Azure Table datasource whose credentials can either be a table connection string or the ResourceId of the storage account.static final SearchIndexerDataSourceTypeDefinition of an CosmosDB datasource whose credentials can either be a formatted connection string containing details for AccountEndpoint, AccountKey, and Database for a key based connection or details for ResourceID and ApiKind for keyless connection.static final SearchIndexerDataSourceTypeDefinition of an Azure SQL datasource whose credentials can either be a standard ADO.NET formatted SQL connection string or the ResourceId of the SQL resource.static final SearchIndexerDataSourceTypeDefinition of an Microsoft Fabric Onelake datasource whose credentials can either be the Fabric workspace GUID or a workspace FQDN. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIndexerDataSourceTypefromString(String name) Creates or finds a SearchIndexerDataSourceType from its string representation.values()Gets known SearchIndexerDataSourceType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AZURE_SQL
Definition of an Azure SQL datasource whose credentials can either be a standard SQL connection string or the ResourceId of the SQL resource. The container property refers to the table or view to be indexed. Query parameter is not supported for this datasource. -
COSMOS_DB
Definition of an CosmosDB datasource whose credentials can either be a formatted connection string containing details for AccountEndpoint, AccountKey, and Database for a key based connection or details for ResourceID and ApiKind for keyless connection. The container property refers to cosmosdb collection to be indexed and the optional query property refers to a SQL query on the collection. -
AZURE_BLOB
Definition of an Azure Blob datasource whose credentials can either be a storage connection string or the ResourceId of the storage account. The container property refers to the blob container to be indexed and the optional query property refers to a specific sub-folder in the container. -
AZURE_TABLE
Definition of an Azure Table datasource whose credentials can either be a table connection string or the ResourceId of the storage account. The container property refers to the blob container to be indexed and the optional query property can be used to filter rows. -
MY_SQL
Definition of an Azure SQL datasource whose credentials can either be a standard ADO.NET formatted SQL connection string or the ResourceId of the SQL resource. The container property refers to the table or view to be indexed. Query parameter is not supported for this datasource. -
ADLS_GEN2
Definition of an Azure ADLS Gen 2 datasource whose credentials can either be a storage connection string or the ResourceId of the storage account. The container property refers to the blob container to be indexed and the optional query property refers to a specific sub-folder in the container. -
ONE_LAKE
Definition of an Microsoft Fabric Onelake datasource whose credentials can either be the Fabric workspace GUID or a workspace FQDN. The container property refers to the lakehouse GUID and the optional query property refers to folders or shortcuts in the lakehouse.
-
-
Constructor Details
-
SearchIndexerDataSourceType
Deprecated.Use thefromString(String)factory method.Creates a new instance of SearchIndexerDataSourceType value.
-
-
Method Details
-
fromString
Creates or finds a SearchIndexerDataSourceType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SearchIndexerDataSourceType.
-
values
Gets known SearchIndexerDataSourceType values.- Returns:
- known SearchIndexerDataSourceType values.
-
fromString(String)factory method.