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

    Fields
    Modifier and Type
    Field
    Description
    Definition of an Azure ADLS Gen 2 datasource whose credentials can either be a storage connection string or the ResourceId of the storage account.
    Definition of an Azure Blob datasource whose credentials can either be a storage connection string or the ResourceId of the storage account.
    Definition of an Azure SQL datasource whose credentials can either be a standard SQL connection string or the ResourceId of the SQL resource.
    Definition of an Azure Table datasource whose credentials can either be a table connection string or the ResourceId of the storage account.
    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.
    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.
    Definition of an Microsoft Fabric Onelake datasource whose credentials can either be the Fabric workspace GUID or a workspace FQDN.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a SearchIndexerDataSourceType from its string representation.
    Gets known SearchIndexerDataSourceType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • AZURE_SQL

      public static final SearchIndexerDataSourceType 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

      public static final SearchIndexerDataSourceType 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

      public static final SearchIndexerDataSourceType 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

      public static final SearchIndexerDataSourceType 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

      public static final SearchIndexerDataSourceType 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

      public static final SearchIndexerDataSourceType 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

      public static final SearchIndexerDataSourceType 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 public SearchIndexerDataSourceType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SearchIndexerDataSourceType value.
  • Method Details

    • fromString

      public static SearchIndexerDataSourceType fromString(String name)
      Creates or finds a SearchIndexerDataSourceType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SearchIndexerDataSourceType.
    • values

      public static Collection<SearchIndexerDataSourceType> values()
      Gets known SearchIndexerDataSourceType values.
      Returns:
      known SearchIndexerDataSourceType values.