ICatalogOperations.CreateSecretAsync Method (String, String, String, DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters, CancellationToken)
Creates the specified secret for use with external data sources in the specified database
Namespace: Microsoft.Azure.Management.DataLake.AnalyticsCatalog
Assembly: Microsoft.Azure.Management.DataLake.AnalyticsCatalog (in Microsoft.Azure.Management.DataLake.AnalyticsCatalog.dll)
Syntax
Task<CatalogSecretCreateResponse> CreateSecretAsync(
string resourceGroupName,
string accountName,
string databaseName,
DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters parameters,
CancellationToken cancellationToken
)
Task<CatalogSecretCreateResponse^>^ CreateSecretAsync(
String^ resourceGroupName,
String^ accountName,
String^ databaseName,
DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreateSecretAsync :
resourceGroupName:string *
accountName:string *
databaseName:string *
parameters:DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters *
cancellationToken:CancellationToken -> Task<CatalogSecretCreateResponse>
Function CreateSecretAsync (
resourceGroupName As String,
accountName As String,
databaseName As String,
parameters As DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters,
cancellationToken As CancellationToken
) As Task(Of CatalogSecretCreateResponse)
Parameters
resourceGroupName
Type: System.StringThe name of the resourceGroup the Data Lake Analytics account is in
accountName
Type: System.StringThe name of the account to use
databaseName
Type: System.StringThe name of the database to create the secret in.
parameters
Type: Microsoft.Azure.Management.DataLake.AnalyticsCatalog.Models.DataLakeAnalyticsCatalogSecretCreateOrUpdateParametersThe parameters required to create the secret (name and password)
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<CatalogSecretCreateResponse>
The create secret operation response.
See Also
ICatalogOperations Interface
Microsoft.Azure.Management.DataLake.AnalyticsCatalog Namespace
Return to top