Share via


CreateOrUpdateComputePolicyParameters Class

Definition

The parameters used to create a new compute policy.

[Microsoft.Rest.Serialization.JsonTransformation]
public class CreateOrUpdateComputePolicyParameters
[<Microsoft.Rest.Serialization.JsonTransformation>]
type CreateOrUpdateComputePolicyParameters = class
Public Class CreateOrUpdateComputePolicyParameters
Inheritance
CreateOrUpdateComputePolicyParameters
Attributes

Constructors

CreateOrUpdateComputePolicyParameters()

Initializes a new instance of the CreateOrUpdateComputePolicyParameters class.

CreateOrUpdateComputePolicyParameters(Guid, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the CreateOrUpdateComputePolicyParameters class.

Properties

MaxDegreeOfParallelismPerJob

Gets or sets 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.

MinPriorityPerJob

Gets or sets 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.

ObjectId

Gets or sets the AAD object identifier for the entity to create a policy for.

ObjectType

Gets or sets the type of AAD object the object identifier refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'

Methods

Validate()

Validate the object.

Applies to