interface MicrosoftOneDriveNodeParameters {
additionalFields?: { name?: string };
authentication?:
| "microsoftEntraServicePrincipalApi"
| "microsoftOAuth2Api"
| "microsoftOneDriveOAuth2Api";
binaryData?: boolean;
binaryPropertyName?: string;
destinationFolderId?: string;
driveTarget?: { mode: "id"; value: string };
fileContent?: string;
fileId?: string;
fileName?: string;
folderId?: string;
itemId?: string;
name?: string;
newName?: string;
operation?:
| "create"
| "get"
| "delete"
| "search"
| "upload"
| "move"
| "copy"
| "download"
| "share"
| "rename"
| "getChildren";
options?: { parentFolderId?: string };
parentId?: string;
parentReference?: {
driveId?: string;
driveType?: string;
id?: string;
listId?: string;
name?: string;
path?: string;
shareId?: string;
siteId?: string;
};
query?: string;
resource?: "file"
| "folder";
resourceTarget?: "user" | "drive";
scope?: "organization" | "anonymous";
type?: "edit" | "view" | "embed";
userTarget?: { mode: "id"; value: string };
}
Properties§
readonly additional Fields?: { ... }
readonly authentication?:
| "microsoftEntraServicePrincipalApi"
| "microsoftOAuth2Api"
| "microsoftOneDriveOAuth2Api"
Default: "microsoftOneDriveOAuth2Api"
readonly binary Data?: boolean
Whether the data to upload should be taken from binary field
readonly binary Property Name?: string
Default: "data"
readonly destination Folder Id?: string
ID of the destination folder to move the item into. Use root for the drive's top-level folder.
readonly drive Target?: { ... }
The drive the Service Principal should act on. Evaluated per input item, so an expression can target a different drive for each item. Default: {"mode":"id","value":""}
readonly file Content?: string
The text content of the file
readonly file Id?: string
§readonly file Name?: string
The name the file should be saved as
readonly folder Id?: string
The ID of the folder. Use root for the top-level folder.
readonly item Id?: string
ID of the file
readonly name?: string
The name or path of the folder
readonly new Name?: string
New name for file
readonly operation?:
| "create"
| "get"
| "delete"
| "search"
| "upload"
| "move"
| "copy"
| "download"
| "share"
| "rename"
| "getChildren"
Default: "upload"
readonly options?: { ... }
Default: {}
readonly parent Id?: string
ID of the parent folder that will contain the file. Use root for the drive's top-level folder.
readonly parent Reference?: { ... }
Reference to the parent item the copy will be created in Details Default: {}
readonly query?: string
The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.
readonly resource?: "file" | "folder"
Default: "file"
readonly resource Target?: "user" | "drive"
Which drive the Service Principal should act on (app-only has no personal drive) Default: "user"
readonly scope?: "organization" | "anonymous"
The type of sharing link to create
readonly type?: "edit" | "view" | "embed"
The type of sharing link to create
readonly user Target?: { ... }
The user whose OneDrive the Service Principal should act on. Evaluated per input item, so an expression can target a different user for each item. Default: {"mode":"id","value":""}
Default: {}