Operation: SetPermission
With the SetPermission operation, you grant permissions to a file or folder.
For more information on other operations of the Microsoft Azure Data Lake Gen 1 Storage Connector, see Microsoft Azure Data Lake Gen 1 Storage Connector.
Parameters
|
Main class of the adapter (do not change!) Possible values: de.softproject.integration.adapter.microsoft.azure.datalake.MicrosoftAzureDataLakeStoreConnector: Main Class (Standard) |
|
This parameter is required. OAuth 2.0 Token Endpoint (v1) Possible values: String with a valid endpoint, e.g.:
|
|
This parameter is required. Client ID of the Azure Active Directory application Possible values: Any string with the client ID, e.g.:
|
|
This parameter is required. Secret client key of the Azure Active Directory application Possible values: String containing the secret client key. |
|
This parameter is required. Fully qualified Data Lake Storage Account Name (FQDN) Possible values: String containing the FQDN, e.g.:
|
| File name Possible values: String with the file name, e.g. :
Note: The string can contain the full file path ( |
| Folder path. Can start and end with a slash. Possible values:
|
|
This parameter is required. Permissions to be set in Unix-Octal format. Note: For more information on Unix file permissions, see UNIX / Linux - File Permission / Access Modes (https://www.tutorialspoint.com/unix/unix-file-permission.htm). Example:
|
Status values
| The adapter operation was executed successfully |
| The operation failed due to a technical error. |
Input
This operation does not require specific input XML.
Output
If the SetPermission operation was executed successfully (Status 1), the adapter grants the desired permissions to the specified file or folder.
If the operation was unsuccessful, i.e. in the event of an error (status -1), the adapter returns an XML document with the error description, e.g.:
