Databricks SDK for JavaScript
    Preparing search index...

    Write-only setting. Specifies the user, service principal, or group that the job runs as. If not specified, the job runs as the user who created the job.

    One of user_name, service_principal_name, or group_name should be specified. If not, an error is thrown.

    interface JobRunAs {
        identity?:
            | { $case: "userName"; userName: string }
            | { $case: "servicePrincipalName"; servicePrincipalName: string }
            | { $case: "groupName"; groupName: string };
    }
    Index

    Properties

    Properties

    identity?:
        | { $case: "userName"; userName: string }
        | { $case: "servicePrincipalName"; servicePrincipalName: string }
        | { $case: "groupName"; groupName: string }

    Type Declaration

    • { $case: "userName"; userName: string }
      • $case: "userName"
      • userName: string

        The email of an active workspace user. Non-admin users can only set this field to their own email.

    • { $case: "servicePrincipalName"; servicePrincipalName: string }
      • $case: "servicePrincipalName"
      • servicePrincipalName: string

        Application ID of an active service principal. Setting this field requires the servicePrincipal/user role.

    • { $case: "groupName"; groupName: string }
      • $case: "groupName"
      • groupName: string

        Group name of an account group assigned to the workspace. When set, all tasks run as the group and the group's permissions are used for data access. Setting this field requires being a member of the group, or having the Assume permission on the group.