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
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:
- Account
Name string - The name of the Data Lake Analytics account.
- Compute
Policy stringName - The name of the compute policy to retrieve.
- Resource
Group stringName - The name of the Azure resource group.
- Account
Name string - The name of the Data Lake Analytics account.
- Compute
Policy stringName - The name of the compute policy to retrieve.
- Resource
Group stringName - The name of the Azure resource group.
- account
Name String - The name of the Data Lake Analytics account.
- compute
Policy StringName - The name of the compute policy to retrieve.
- resource
Group StringName - The name of the Azure resource group.
- account
Name string - The name of the Data Lake Analytics account.
- compute
Policy stringName - The name of the compute policy to retrieve.
- resource
Group stringName - The name of the Azure resource group.
- account_
name str - The name of the Data Lake Analytics account.
- compute_
policy_ strname - The name of the compute policy to retrieve.
- resource_
group_ strname - The name of the Azure resource group.
- account
Name String - The name of the Data Lake Analytics account.
- compute
Policy StringName - The name of the compute policy to retrieve.
- resource
Group StringName - The name of the Azure resource group.
getComputePolicy Result
The following output properties are available:
- Id string
- The resource identifier.
- Max
Degree intOf Parallelism Per Job - The maximum degree of parallelism per job this user can use to submit jobs.
- Min
Priority intPer Job - The minimum priority per job this user can use to submit jobs.
- Name string
- The resource name.
- Object
Id string - The AAD object identifier for the entity to create a policy for.
- Object
Type string - The type of AAD object the object identifier refers to.
- Type string
- The resource type.
- Id string
- The resource identifier.
- Max
Degree intOf Parallelism Per Job - The maximum degree of parallelism per job this user can use to submit jobs.
- Min
Priority intPer Job - The minimum priority per job this user can use to submit jobs.
- Name string
- The resource name.
- Object
Id string - The AAD object identifier for the entity to create a policy for.
- Object
Type string - The type of AAD object the object identifier refers to.
- Type string
- The resource type.
- id String
- The resource identifier.
- max
Degree IntegerOf Parallelism Per Job - The maximum degree of parallelism per job this user can use to submit jobs.
- min
Priority IntegerPer Job - The minimum priority per job this user can use to submit jobs.
- name String
- The resource name.
- object
Id String - The AAD object identifier for the entity to create a policy for.
- object
Type String - The type of AAD object the object identifier refers to.
- type String
- The resource type.
- id string
- The resource identifier.
- max
Degree numberOf Parallelism Per Job - The maximum degree of parallelism per job this user can use to submit jobs.
- min
Priority numberPer Job - The minimum priority per job this user can use to submit jobs.
- name string
- The resource name.
- object
Id string - The AAD object identifier for the entity to create a policy for.
- object
Type string - The type of AAD object the object identifier refers to.
- type string
- The resource type.
- id str
- The resource identifier.
- max_
degree_ intof_ parallelism_ per_ job - The maximum degree of parallelism per job this user can use to submit jobs.
- min_
priority_ intper_ job - 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.
- max
Degree NumberOf Parallelism Per Job - The maximum degree of parallelism per job this user can use to submit jobs.
- min
Priority NumberPer Job - The minimum priority per job this user can use to submit jobs.
- name String
- The resource name.
- object
Id String - The AAD object identifier for the entity to create a policy for.
- object
Type 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
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