DataSource Constructors

Definition

Overloads

DataSource()

Initializes a new instance of the DataSource class.

DataSource(String, DataSourceType, DataSourceCredentials, DataContainer, String, DataChangeDetectionPolicy, DataDeletionDetectionPolicy, String)

Initializes a new instance of the DataSource class.

DataSource()

Initializes a new instance of the DataSource class.

public DataSource ();
Public Sub New ()

DataSource(String, DataSourceType, DataSourceCredentials, DataContainer, String, DataChangeDetectionPolicy, DataDeletionDetectionPolicy, String)

Initializes a new instance of the DataSource class.

public DataSource (string name, Microsoft.Azure.Search.Models.DataSourceType type, Microsoft.Azure.Search.Models.DataSourceCredentials credentials, Microsoft.Azure.Search.Models.DataContainer container, string description = null, Microsoft.Azure.Search.Models.DataChangeDetectionPolicy dataChangeDetectionPolicy = null, Microsoft.Azure.Search.Models.DataDeletionDetectionPolicy dataDeletionDetectionPolicy = null, string eTag = null);
new Microsoft.Azure.Search.Models.DataSource : string * Microsoft.Azure.Search.Models.DataSourceType * Microsoft.Azure.Search.Models.DataSourceCredentials * Microsoft.Azure.Search.Models.DataContainer * string * Microsoft.Azure.Search.Models.DataChangeDetectionPolicy * Microsoft.Azure.Search.Models.DataDeletionDetectionPolicy * string -> Microsoft.Azure.Search.Models.DataSource

Parameters

name
String

The name of the datasource.

type
DataSourceType

The type of the datasource. Possible values include: 'azuresql', 'cosmosdb', 'azureblob', 'azuretable'

credentials
DataSourceCredentials

Credentials for the datasource.

container
DataContainer

The data container for the datasource.

description
String

The description of the datasource.

dataChangeDetectionPolicy
DataChangeDetectionPolicy

The data change detection policy for the datasource.

dataDeletionDetectionPolicy
DataDeletionDetectionPolicy

The data deletion detection policy for the datasource.

eTag
String

The ETag of the DataSource.

Applies to