Create a new policy.
create_cluster_policy.Rd
Creates a new policy with prescribed settings.
Usage
create_cluster_policy(
client,
name,
definition = NULL,
description = NULL,
libraries = NULL,
max_clusters_per_user = NULL,
policy_family_definition_overrides = NULL,
policy_family_id = NULL
)
clusterPoliciesCreate(
client,
name,
definition = NULL,
description = NULL,
libraries = NULL,
max_clusters_per_user = NULL,
policy_family_definition_overrides = NULL,
policy_family_id = NULL
)
Arguments
- client
Required. Instance of DatabricksClient()
- name
Required. Cluster Policy name requested by the user.
- definition
Policy definition document expressed in Databricks Cluster Policy Definition Language.
- description
Additional human-readable description of the cluster policy.
- libraries
A list of libraries to be installed on the next cluster restart that uses this policy.
- max_clusters_per_user
Max number of clusters per user that can be active using this policy.
- policy_family_definition_overrides
Policy definition JSON document expressed in Databricks Policy Definition Language.
- policy_family_id
ID of the policy family.