Databricks SDK for JavaScript
    Preparing search index...

    A compute policy resource. A workspace-scoped policy that allows one or more compute products, each with product-specific constraints.

    interface ComputePolicy {
        allowedComputeProducts?: AllowedComputeProducts;
        canManage?: boolean;
        canUse?: boolean;
        computePolicyId?: string;
        createTime?: Instant;
        displayName?: string;
        isDefault?: boolean;
        tags?: Record<string, string>;
    }
    Index

    Properties

    allowedComputeProducts?: AllowedComputeProducts

    The compute products allowed by this policy and their constraints. At least one product must be set.

    canManage?: boolean

    Whether the calling user has manage permission on this compute policy. Manage includes use, so can_use is also true whenever this is true.

    canUse?: boolean

    Whether the calling user has use permission on this compute policy.

    computePolicyId?: string

    The unique identifier of the compute policy (UUID). Server-assigned on create.

    createTime?: Instant

    The creation timestamp.

    displayName?: string

    The display name of the compute policy.

    isDefault?: boolean

    Whether this is the workspace default policy for its single allowed compute product. Default policies are system-provisioned and cannot be deleted or renamed.

    tags?: Record<string, string>

    User-defined key/value tags on the compute policy, provided at creation and validated. unified-tagging is the system of record for tag assignments.