public final class AzureDataLakeStorageGen2DataFeedSource extends DataFeedSource
Modifier and Type | Method and Description |
---|---|
static AzureDataLakeStorageGen2DataFeedSource |
fromBasicCredential(String accountName,
String accountKey,
String fileSystemName,
String directoryTemplate,
String fileTemplate)
Create a AzureDataLakeStorageGen2DataFeedSource with the given
accountKey for authentication. |
static AzureDataLakeStorageGen2DataFeedSource |
fromServicePrincipalCredential(String accountName,
String fileSystemName,
String directoryTemplate,
String fileTemplate,
String credentialId)
Create a AzureDataLakeStorageGen2DataFeedSource with the
credentialId
identifying a credential entity of type DataSourceServicePrincipal ,
the entity contains Service Principal to access the Data Lake storage. |
static AzureDataLakeStorageGen2DataFeedSource |
fromServicePrincipalInKeyVaultCredential(String accountName,
String fileSystemName,
String directoryTemplate,
String fileTemplate,
String credentialId)
Create a AzureDataLakeStorageGen2DataFeedSource with the
credentialId identifying
a credential entity of type DataSourceServicePrincipalInKeyVault , the entity
contains details of the KeyVault holding the Service Principal to access the Data Lake storage. |
static AzureDataLakeStorageGen2DataFeedSource |
fromSharedKeyCredential(String accountName,
String fileSystemName,
String directoryTemplate,
String fileTemplate,
String credentialId)
Create a AzureDataLakeStorageGen2DataFeedSource with the
credentialId identifying
a credential entity of type DataSourceSqlServerConnectionString that contains
the shared access key. |
String |
getAccountName()
Get the the account name for the AzureDataLakeStorageGen2DataFeedSource.
|
DataSourceAuthenticationType |
getAuthenticationType()
Gets the authentication type to access the data source.
|
String |
getCredentialId()
Gets the id of the
credential resource to authenticate the data source. |
String |
getDirectoryTemplate()
Get the directory template.
|
String |
getFileSystemName()
Get the file system name or the container name.
|
String |
getFileTemplate()
Get the file template.
|
public static AzureDataLakeStorageGen2DataFeedSource fromBasicCredential(String accountName, String accountKey, String fileSystemName, String directoryTemplate, String fileTemplate)
accountKey
for authentication.accountName
- the name of the storage account.accountKey
- the key of the storage account.fileSystemName
- the file system name.directoryTemplate
- the directory template of the storage account.fileTemplate
- the file template.public static AzureDataLakeStorageGen2DataFeedSource fromSharedKeyCredential(String accountName, String fileSystemName, String directoryTemplate, String fileTemplate, String credentialId)
credentialId
identifying
a credential entity of type DataSourceSqlServerConnectionString
that contains
the shared access key.accountName
- the name of the storage account.fileSystemName
- the file system name.directoryTemplate
- the directory template of the storage account.fileTemplate
- the file template.credentialId
- The unique id of a credential entity of type
DataSourceDataLakeGen2SharedKey
.public static AzureDataLakeStorageGen2DataFeedSource fromServicePrincipalCredential(String accountName, String fileSystemName, String directoryTemplate, String fileTemplate, String credentialId)
credentialId
identifying a credential entity of type DataSourceServicePrincipal
,
the entity contains Service Principal to access the Data Lake storage.accountName
- the name of the storage account.fileSystemName
- the file system name.directoryTemplate
- the directory template of the storage account.fileTemplate
- the file template.credentialId
- The unique id of a credential entity of type
DataSourceServicePrincipal
.public static AzureDataLakeStorageGen2DataFeedSource fromServicePrincipalInKeyVaultCredential(String accountName, String fileSystemName, String directoryTemplate, String fileTemplate, String credentialId)
credentialId
identifying
a credential entity of type DataSourceServicePrincipalInKeyVault
, the entity
contains details of the KeyVault holding the Service Principal to access the Data Lake storage.accountName
- the name of the storage account.fileSystemName
- the file system name.directoryTemplate
- the directory template of the storage account.fileTemplate
- the file template.credentialId
- The unique id of a credential entity of type
DataSourceServicePrincipalInKeyVault
public String getAccountName()
public String getFileSystemName()
public String getDirectoryTemplate()
public String getFileTemplate()
public String getCredentialId()
credential resource
to authenticate the data source.public DataSourceAuthenticationType getAuthenticationType()
Copyright © 2021 Microsoft Corporation. All rights reserved.