Compartilhar via


CreateComputePolicyWithAccountParameters Class

The parameters used to create a new compute policy while creating a new Data Lake Analytics account.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datalake.analytics.account._serialization.Model
CreateComputePolicyWithAccountParameters

Constructor

CreateComputePolicyWithAccountParameters(*, name: str, object_id: str, object_type: str | _models.AADObjectType, max_degree_of_parallelism_per_job: int | None = None, min_priority_per_job: int | None = None, **kwargs)

Keyword-Only Parameters

Name Description
name
str

The unique name of the compute policy to create. Required.

object_id
str

The AAD object identifier for the entity to create a policy for. Required.

object_type

The type of AAD object the object identifier refers to. Required. Known values are: "User", "Group", and "ServicePrincipal".

max_degree_of_parallelism_per_job
int

The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.

min_priority_per_job
int

The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.

Variables

Name Description
name
str

The unique name of the compute policy to create. Required.

object_id
str

The AAD object identifier for the entity to create a policy for. Required.

object_type

The type of AAD object the object identifier refers to. Required. Known values are: "User", "Group", and "ServicePrincipal".

max_degree_of_parallelism_per_job
int

The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.

min_priority_per_job
int

The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.