Databricks SDK for JavaScript
    Preparing search index...

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

    Either user_name or service_principal_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. Setting this field requires being a member of the group.