DataLakeAnalyticsComputePolicyResource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the specified compute policy.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/computePolicies/{computePolicyName}
- Operation Id: ComputePolicies_Update
public virtual Azure.Response<Azure.ResourceManager.DataLakeAnalytics.DataLakeAnalyticsComputePolicyResource> Update (Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsComputePolicyPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsComputePolicyPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataLakeAnalytics.DataLakeAnalyticsComputePolicyResource>
override this.Update : Azure.ResourceManager.DataLakeAnalytics.Models.DataLakeAnalyticsComputePolicyPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataLakeAnalytics.DataLakeAnalyticsComputePolicyResource>
Public Overridable Function Update (patch As DataLakeAnalyticsComputePolicyPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataLakeAnalyticsComputePolicyResource)
Parameters
Parameters supplied to update the compute policy.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.