CreateOrUpdateComputePolicyParameters Class

The parameters used to create a new compute policy.

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

Inheritance
CreateOrUpdateComputePolicyParameters

Constructor

CreateOrUpdateComputePolicyParameters(*, object_id: str, object_type, max_degree_of_parallelism_per_job: Optional[int] = None, min_priority_per_job: Optional[int] = None, **kwargs)

Parameters

object_id
str
Required

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

object_type
str or AADObjectType
Required

Required. The type of AAD object the object identifier refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'

max_degree_of_parallelism_per_job
int
Required

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
Required

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.