Share via


ComputePolicy Constructors

Definition

Overloads

ComputePolicy()

Initializes a new instance of the ComputePolicy class.

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

Initializes a new instance of the ComputePolicy class.

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

Initializes a new instance of the ComputePolicy class.

ComputePolicy()

Initializes a new instance of the ComputePolicy class.

public ComputePolicy ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ComputePolicy class.

public ComputePolicy (string name = default, Guid? objectId = default, string objectType = default, int? maxDegreeOfParallelismPerJob = default, int? minPriorityPerJob = default);
new Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy : string * Nullable<Guid> * string * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy
Public Sub New (Optional name As String = Nothing, Optional objectId As Nullable(Of Guid) = Nothing, Optional objectType As String = Nothing, Optional maxDegreeOfParallelismPerJob As Nullable(Of Integer) = Nothing, Optional minPriorityPerJob As Nullable(Of Integer) = Nothing)

Parameters

name
String

The name of the compute policy

objectId
Nullable<Guid>

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

objectType
String

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

maxDegreeOfParallelismPerJob
Nullable<Int32>

The maximum degree of parallelism per job this user can use to submit jobs.

minPriorityPerJob
Nullable<Int32>

The minimum priority per job this user can use to submit jobs.

Applies to

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

Initializes a new instance of the ComputePolicy class.

public ComputePolicy (string id = default, string name = default, string type = default, Guid? objectId = default, string objectType = default, int? maxDegreeOfParallelismPerJob = default, int? minPriorityPerJob = default);
new Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy : string * string * string * Nullable<Guid> * string * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional objectId As Nullable(Of Guid) = Nothing, Optional objectType As String = Nothing, Optional maxDegreeOfParallelismPerJob As Nullable(Of Integer) = Nothing, Optional minPriorityPerJob As Nullable(Of Integer) = Nothing)

Parameters

id
String

The resource identifier.

name
String

The resource name.

type
String

The resource type.

objectId
Nullable<Guid>

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

objectType
String

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

maxDegreeOfParallelismPerJob
Nullable<Int32>

The maximum degree of parallelism per job this user can use to submit jobs.

minPriorityPerJob
Nullable<Int32>

The minimum priority per job this user can use to submit jobs.

Applies to