1. Packages
  2. Azure Native v2
  3. API Docs
  4. datalakeanalytics
  5. getComputePolicy
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.datalakeanalytics.getComputePolicy

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the specified Data Lake Analytics compute policy. Azure REST API version: 2019-11-01-preview.

Using getComputePolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getComputePolicy(args: GetComputePolicyArgs, opts?: InvokeOptions): Promise<GetComputePolicyResult>
function getComputePolicyOutput(args: GetComputePolicyOutputArgs, opts?: InvokeOptions): Output<GetComputePolicyResult>
Copy
def get_compute_policy(account_name: Optional[str] = None,
                       compute_policy_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetComputePolicyResult
def get_compute_policy_output(account_name: Optional[pulumi.Input[str]] = None,
                       compute_policy_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetComputePolicyResult]
Copy
func LookupComputePolicy(ctx *Context, args *LookupComputePolicyArgs, opts ...InvokeOption) (*LookupComputePolicyResult, error)
func LookupComputePolicyOutput(ctx *Context, args *LookupComputePolicyOutputArgs, opts ...InvokeOption) LookupComputePolicyResultOutput
Copy

> Note: This function is named LookupComputePolicy in the Go SDK.

public static class GetComputePolicy 
{
    public static Task<GetComputePolicyResult> InvokeAsync(GetComputePolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetComputePolicyResult> Invoke(GetComputePolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetComputePolicyResult> getComputePolicy(GetComputePolicyArgs args, InvokeOptions options)
public static Output<GetComputePolicyResult> getComputePolicy(GetComputePolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:datalakeanalytics:getComputePolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Data Lake Analytics account.
ComputePolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the compute policy to retrieve.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Data Lake Analytics account.
ComputePolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the compute policy to retrieve.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Data Lake Analytics account.
computePolicyName
This property is required.
Changes to this property will trigger replacement.
String
The name of the compute policy to retrieve.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Data Lake Analytics account.
computePolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the compute policy to retrieve.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Azure resource group.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Data Lake Analytics account.
compute_policy_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the compute policy to retrieve.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Azure resource group.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Data Lake Analytics account.
computePolicyName
This property is required.
Changes to this property will trigger replacement.
String
The name of the compute policy to retrieve.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Azure resource group.

getComputePolicy Result

The following output properties are available:

Id string
The resource identifier.
MaxDegreeOfParallelismPerJob int
The maximum degree of parallelism per job this user can use to submit jobs.
MinPriorityPerJob int
The minimum priority per job this user can use to submit jobs.
Name string
The resource name.
ObjectId string
The AAD object identifier for the entity to create a policy for.
ObjectType string
The type of AAD object the object identifier refers to.
Type string
The resource type.
Id string
The resource identifier.
MaxDegreeOfParallelismPerJob int
The maximum degree of parallelism per job this user can use to submit jobs.
MinPriorityPerJob int
The minimum priority per job this user can use to submit jobs.
Name string
The resource name.
ObjectId string
The AAD object identifier for the entity to create a policy for.
ObjectType string
The type of AAD object the object identifier refers to.
Type string
The resource type.
id String
The resource identifier.
maxDegreeOfParallelismPerJob Integer
The maximum degree of parallelism per job this user can use to submit jobs.
minPriorityPerJob Integer
The minimum priority per job this user can use to submit jobs.
name String
The resource name.
objectId String
The AAD object identifier for the entity to create a policy for.
objectType String
The type of AAD object the object identifier refers to.
type String
The resource type.
id string
The resource identifier.
maxDegreeOfParallelismPerJob number
The maximum degree of parallelism per job this user can use to submit jobs.
minPriorityPerJob number
The minimum priority per job this user can use to submit jobs.
name string
The resource name.
objectId string
The AAD object identifier for the entity to create a policy for.
objectType string
The type of AAD object the object identifier refers to.
type string
The resource type.
id str
The resource identifier.
max_degree_of_parallelism_per_job int
The maximum degree of parallelism per job this user can use to submit jobs.
min_priority_per_job int
The minimum priority per job this user can use to submit jobs.
name str
The resource name.
object_id str
The AAD object identifier for the entity to create a policy for.
object_type str
The type of AAD object the object identifier refers to.
type str
The resource type.
id String
The resource identifier.
maxDegreeOfParallelismPerJob Number
The maximum degree of parallelism per job this user can use to submit jobs.
minPriorityPerJob Number
The minimum priority per job this user can use to submit jobs.
name String
The resource name.
objectId String
The AAD object identifier for the entity to create a policy for.
objectType String
The type of AAD object the object identifier refers to.
type String
The resource type.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi