Databricks SDK for JavaScript
    Preparing search index...

    Write-only setting, available only in Create/Update calls. Specifies the user or service principal that the pipeline runs as. If not specified, the pipeline runs as the user who created the pipeline.

    Only user_name or service_principal_name can be specified. If both are specified, an error is thrown.

    interface PipelinesJobRunAs {
        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. 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, the pipeline runs 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.