interface MicrosoftOneDriveTriggerNodeParameters {
authentication?:
| "microsoftEntraServicePrincipalApi"
| "microsoftOAuth2Api"
| "microsoftOneDriveOAuth2Api";
driveTarget?: { mode: "id"; value: string };
event?:
| "folderCreated"
| "folderUpdated"
| "fileUpdated"
| "fileCreated";
fileId?: { mode: "id"
| "url"; value: string };
folderId?: { mode: "id" | "url"; value: string };
options?: { folderChild?: boolean };
pollTimes: {
item: { mode: string & {} | "everyMinute" }[];
};
resourceTarget?: "user"
| "drive";
simple?: boolean;
userTarget?: { mode: "id"; value: string };
watch?:
| "anyFile"
| "selectedFolder"
| "selectedFile"
| "anyFolder"
| "oneSelectedFolder";
watchFolder?: boolean;
}
Properties§
readonly authentication?:
| "microsoftEntraServicePrincipalApi"
| "microsoftOAuth2Api"
| "microsoftOneDriveOAuth2Api"
readonly drive Target?: { ... }
The drive the Service Principal should act on. Resolved once per poll. Default: {"mode":"id","value":""}
readonly event?:
| "folderCreated"
| "folderUpdated"
| "fileUpdated"
| "fileCreated"
Default: "fileCreated"
readonly file Id?: { ... }
The file to operate on. The 'By URL' option only accepts URLs that start with 'https://onedrive.live.com'. Default: {"mode":"id","value":""}
readonly folder Id?: { ... }
The folder to operate on. The 'By URL' option only accepts URLs that start with 'https://onedrive.live.com'. Default: {"mode":"id","value":"","cachedResultName":""}
readonly options?: { ... }
Default: {}
readonly poll Times: { ... }
§readonly resource Target?: "user" | "drive"
Which drive the Service Principal should act on (app-only has no personal drive) Default: "user"
readonly simple?: boolean
Whether to return a simplified version of the response instead of the raw data Default: true
readonly user Target?: { ... }
The user whose OneDrive the Service Principal should act on. Resolved once per poll. Default: {"mode":"id","value":""}
readonly watch?:
| "anyFile"
| "selectedFolder"
| "selectedFile"
| "anyFolder"
| "oneSelectedFolder"
How to select which file to watch Default: "anyFile"
readonly watch Folder?: boolean
Whether to watch for the created file in a given folder, rather than the entire OneDrive
Default: "microsoftOneDriveOAuth2Api"