CatalogOperationsExtensions.GrantAclToDatabaseAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Grants an access control list (ACL) entry to the database from the Data Lake Analytics catalog.
public static System.Threading.Tasks.Task GrantAclToDatabaseAsync (this Microsoft.Azure.Management.DataLake.Analytics.ICatalogOperations operations, string accountName, string databaseName, Microsoft.Azure.Management.DataLake.Analytics.Models.AclCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member GrantAclToDatabaseAsync : Microsoft.Azure.Management.DataLake.Analytics.ICatalogOperations * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.AclCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function GrantAclToDatabaseAsync (operations As ICatalogOperations, accountName As String, databaseName As String, parameters As AclCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ICatalogOperations
The operations group for this extension method.
- accountName
- String
The Azure Data Lake Analytics account upon which to execute catalog operations.
- databaseName
- String
The name of the database.
- parameters
- AclCreateOrUpdateParameters
Parameters supplied to create or update an access control list (ACL) entry for a database.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET