Databricks SDK for JavaScript
    Preparing search index...
    interface CreatePolicyRequest {
        definition?: string;
        description?: string;
        libraries?: Library[];
        maxClustersPerUser?: bigint;
        name?: string;
        policyFamilyDefinitionOverrides?: string;
        policyFamilyId?: string;
    }
    Index

    Properties

    definition?: string

    Policy definition document expressed in Databricks Cluster Policy Definition Language.

    description?: string

    Additional human-readable description of the cluster policy.

    libraries?: Library[]

    A list of libraries to be installed on the next cluster restart that uses this policy. The maximum number of libraries is 500.

    maxClustersPerUser?: bigint

    Max number of clusters per user that can be active using this policy. If not present, there is no max limit.

    name?: string

    Cluster Policy name requested by the user. This has to be unique. Length must be between 1 and 100 characters.

    policyFamilyDefinitionOverrides?: string

    Policy definition JSON document expressed in Databricks Policy Definition Language. The JSON document must be passed as a string and cannot be embedded in the requests.

    You can use this to customize the policy definition inherited from the policy family. Policy rules specified here are merged into the inherited policy definition.

    policyFamilyId?: string

    ID of the policy family. The cluster policy's policy definition inherits the policy family's policy definition.

    Cannot be used with definition. Use policy_family_definition_overrides instead to customize the policy definition.