Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The accounts/computePolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataLakeAnalytics/accounts/computePolicies resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.DataLakeAnalytics/accounts/computePolicies@2019-11-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
maxDegreeOfParallelismPerJob: int
minPriorityPerJob: int
objectId: 'string'
objectType: 'string'
}
}
Property Values
CreateOrUpdateComputePolicyPropertiesOrComputePolicyProperties
Name | Description | Value |
---|---|---|
maxDegreeOfParallelismPerJob | 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. | int Constraints: Min value = 1 |
minPriorityPerJob | 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. | int Constraints: Min value = 1 |
objectId | The AAD object identifier for the entity to create a policy for. | string Constraints: Min length = 36 Max length = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ (required) |
objectType | The type of AAD object the object identifier refers to. | 'Group' 'ServicePrincipal' 'User' (required) |
Microsoft.DataLakeAnalytics/accounts/computePolicies
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: accounts |
properties | The compute policy properties to use when creating a new compute policy. | CreateOrUpdateComputePolicyPropertiesOrComputePolicyProperties (required) |
ARM template resource definition
The accounts/computePolicies resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataLakeAnalytics/accounts/computePolicies resource, add the following JSON to your template.
{
"type": "Microsoft.DataLakeAnalytics/accounts/computePolicies",
"apiVersion": "2019-11-01-preview",
"name": "string",
"properties": {
"maxDegreeOfParallelismPerJob": "int",
"minPriorityPerJob": "int",
"objectId": "string",
"objectType": "string"
}
}
Property Values
CreateOrUpdateComputePolicyPropertiesOrComputePolicyProperties
Name | Description | Value |
---|---|---|
maxDegreeOfParallelismPerJob | 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. | int Constraints: Min value = 1 |
minPriorityPerJob | 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. | int Constraints: Min value = 1 |
objectId | The AAD object identifier for the entity to create a policy for. | string Constraints: Min length = 36 Max length = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ (required) |
objectType | The type of AAD object the object identifier refers to. | 'Group' 'ServicePrincipal' 'User' (required) |
Microsoft.DataLakeAnalytics/accounts/computePolicies
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2019-11-01-preview' |
name | The resource name | string (required) |
properties | The compute policy properties to use when creating a new compute policy. | CreateOrUpdateComputePolicyPropertiesOrComputePolicyProperties (required) |
type | The resource type | 'Microsoft.DataLakeAnalytics/accounts/computePolicies' |
Usage Examples
Terraform (AzAPI provider) resource definition
The accounts/computePolicies resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.DataLakeAnalytics/accounts/computePolicies resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DataLakeAnalytics/accounts/computePolicies@2019-11-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
maxDegreeOfParallelismPerJob = int
minPriorityPerJob = int
objectId = "string"
objectType = "string"
}
}
}
Property Values
CreateOrUpdateComputePolicyPropertiesOrComputePolicyProperties
Name | Description | Value |
---|---|---|
maxDegreeOfParallelismPerJob | 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. | int Constraints: Min value = 1 |
minPriorityPerJob | 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. | int Constraints: Min value = 1 |
objectId | The AAD object identifier for the entity to create a policy for. | string Constraints: Min length = 36 Max length = 36 Pattern = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ (required) |
objectType | The type of AAD object the object identifier refers to. | 'Group' 'ServicePrincipal' 'User' (required) |
Microsoft.DataLakeAnalytics/accounts/computePolicies
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: accounts |
properties | The compute policy properties to use when creating a new compute policy. | CreateOrUpdateComputePolicyPropertiesOrComputePolicyProperties (required) |
type | The resource type | "Microsoft.DataLakeAnalytics/accounts/computePolicies@2019-11-01-preview" |