Compute Policies - List By Account
Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies?api-version=2016-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The name of the Data Lake Analytics account. |
resource
|
path | True |
string |
The name of the Azure resource group. |
subscription
|
path | True |
string |
Get subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Client Api Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully listed the compute policies. |
|
Other Status Codes |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Lists the compute policies within the adla account
Sample Request
Sample Response
{
"value": [
{
"name": "test_policy",
"properties": {
"objectId": "776b9091-8916-4638-87f7-9c989a38da98",
"objectType": "User",
"maxDegreeOfParallelismPerJob": 10,
"minPriorityPerJob": 30
}
},
{
"name": "test_policy1",
"properties": {
"objectId": "776b9091-8916-4638-87f7-9c989a38da99",
"objectType": "Group",
"maxDegreeOfParallelismPerJob": 5,
"minPriorityPerJob": 15
}
},
{
"name": "test_policy2",
"properties": {
"objectId": "776b9091-8916-4638-87f7-9c989a38da97",
"objectType": "ServicePrincipal",
"maxDegreeOfParallelismPerJob": 20,
"minPriorityPerJob": 60
}
}
],
"nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=<token>"
}
Definitions
Name | Description |
---|---|
AADObject |
The type of AAD object the object identifier refers to. |
Compute |
Data Lake Analytics compute policy information. |
Compute |
The list of compute policies in the account. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
AADObjectType
The type of AAD object the object identifier refers to.
Name | Type | Description |
---|---|---|
Group |
string |
|
ServicePrincipal |
string |
|
User |
string |
ComputePolicy
Data Lake Analytics compute policy information.
Name | Type | Description |
---|---|---|
id |
string |
The resource identifier. |
name |
string |
The resource name. |
properties.maxDegreeOfParallelismPerJob |
integer |
The maximum degree of parallelism per job this user can use to submit jobs. |
properties.minPriorityPerJob |
integer |
The minimum priority per job this user can use to submit jobs. |
properties.objectId |
string |
The AAD object identifier for the entity to create a policy for. |
properties.objectType |
The type of AAD object the object identifier refers to. |
|
type |
string |
The resource type. |
ComputePolicyListResult
The list of compute policies in the account.
Name | Type | Description |
---|---|---|
nextLink |
string |
The link (url) to the next page of results. |
value |
The results of the list operation. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |