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 };
    }
    Index

    Properties

    Properties

    identity?:
        | { $case: "userName"; userName: string }
        | { $case: "servicePrincipalName"; servicePrincipalName: 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.