1. Packages
  2. Azure Native
  3. API Docs
  4. datalakeanalytics
  5. getComputePolicy
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.datalakeanalytics.getComputePolicy

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 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>
    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]
    func LookupComputePolicy(ctx *Context, args *LookupComputePolicyArgs, opts ...InvokeOption) (*LookupComputePolicyResult, error)
    func LookupComputePolicyOutput(ctx *Context, args *LookupComputePolicyOutputArgs, opts ...InvokeOption) LookupComputePolicyResultOutput

    > 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)
    }
    public static CompletableFuture<GetComputePolicyResult> getComputePolicy(GetComputePolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:datalakeanalytics:getComputePolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountName string
    The name of the Data Lake Analytics account.
    ComputePolicyName string
    The name of the compute policy to retrieve.
    ResourceGroupName string
    The name of the Azure resource group.
    AccountName string
    The name of the Data Lake Analytics account.
    ComputePolicyName string
    The name of the compute policy to retrieve.
    ResourceGroupName string
    The name of the Azure resource group.
    accountName String
    The name of the Data Lake Analytics account.
    computePolicyName String
    The name of the compute policy to retrieve.
    resourceGroupName String
    The name of the Azure resource group.
    accountName string
    The name of the Data Lake Analytics account.
    computePolicyName string
    The name of the compute policy to retrieve.
    resourceGroupName string
    The name of the Azure resource group.
    account_name str
    The name of the Data Lake Analytics account.
    compute_policy_name str
    The name of the compute policy to retrieve.
    resource_group_name str
    The name of the Azure resource group.
    accountName String
    The name of the Data Lake Analytics account.
    computePolicyName String
    The name of the compute policy to retrieve.
    resourceGroupName 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi