Condividi tramite


ComputePoliciesOperationsExtensions.CreateOrUpdate Method

Definition

Overloads

CreateOrUpdate(IComputePoliciesOperations, String, String, String, ComputePolicyCreateOrUpdateParameters)

Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies

CreateOrUpdate(IComputePoliciesOperations, String, String, String, CreateOrUpdateComputePolicyParameters)

Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies

CreateOrUpdate(IComputePoliciesOperations, String, String, String, ComputePolicyCreateOrUpdateParameters)

Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies

public static Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy CreateOrUpdate (this Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations operations, string resourceGroupName, string accountName, string computePolicyName, Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicyCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations * string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicyCreateOrUpdateParameters -> Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy
<Extension()>
Public Function CreateOrUpdate (operations As IComputePoliciesOperations, resourceGroupName As String, accountName As String, computePolicyName As String, parameters As ComputePolicyCreateOrUpdateParameters) As ComputePolicy

Parameters

operations
IComputePoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group that contains the Data Lake Analytics account.

accountName
String

The name of the Data Lake Analytics account to add or replace the compute policy.

computePolicyName
String

The name of the compute policy to create or update.

parameters
ComputePolicyCreateOrUpdateParameters

Parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.

Returns

Applies to

CreateOrUpdate(IComputePoliciesOperations, String, String, String, CreateOrUpdateComputePolicyParameters)

Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies

public static Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy CreateOrUpdate (this Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations operations, string resourceGroupName, string accountName, string computePolicyName, Microsoft.Azure.Management.DataLake.Analytics.Models.CreateOrUpdateComputePolicyParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations * string * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.CreateOrUpdateComputePolicyParameters -> Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy
<Extension()>
Public Function CreateOrUpdate (operations As IComputePoliciesOperations, resourceGroupName As String, accountName As String, computePolicyName As String, parameters As CreateOrUpdateComputePolicyParameters) As ComputePolicy

Parameters

operations
IComputePoliciesOperations

The operations group for this extension method.

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 create or update.

parameters
CreateOrUpdateComputePolicyParameters

Parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.

Returns

Applies to