UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

79 lines (78 loc) 2.19 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the specified Data Lake Analytics compute policy. * * Uses Azure REST API version 2019-11-01-preview. */ export declare function getComputePolicy(args: GetComputePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetComputePolicyResult>; export interface GetComputePolicyArgs { /** * The name of the Data Lake Analytics account. */ accountName: string; /** * The name of the compute policy to retrieve. */ computePolicyName: string; /** * The name of the Azure resource group. */ resourceGroupName: string; } /** * Data Lake Analytics compute policy information. */ export interface GetComputePolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The resource identifier. */ readonly id: string; /** * The maximum degree of parallelism per job this user can use to submit jobs. */ readonly maxDegreeOfParallelismPerJob: number; /** * The minimum priority per job this user can use to submit jobs. */ readonly minPriorityPerJob: number; /** * The resource name. */ readonly name: string; /** * The AAD object identifier for the entity to create a policy for. */ readonly objectId: string; /** * The type of AAD object the object identifier refers to. */ readonly objectType: string; /** * The resource type. */ readonly type: string; } /** * Gets the specified Data Lake Analytics compute policy. * * Uses Azure REST API version 2019-11-01-preview. */ export declare function getComputePolicyOutput(args: GetComputePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetComputePolicyResult>; export interface GetComputePolicyOutputArgs { /** * The name of the Data Lake Analytics account. */ accountName: pulumi.Input<string>; /** * The name of the compute policy to retrieve. */ computePolicyName: pulumi.Input<string>; /** * The name of the Azure resource group. */ resourceGroupName: pulumi.Input<string>; }