BillingTrustRuleResource.Update Method

Definition

Update a Rule. The PATCH body is discriminated by kind and must match the existing rule's kind. For eduQualification rules, only supplementalDocuments is patchable, and only when evaluationState == actionRequired. For businessVerification rules, the patchable fields are supplementalDocuments and externalId, and only when evaluationState is pending or actionRequired. All other field/state combinations are rejected with 400 InvalidParameterValue or 409 RuleNotActionable.

  • Request Path. : /{resourceUri}/providers/Microsoft.BillingTrust/assessments/default/rules/{ruleName}.
  • Operation Id. : Rules_Update.
  • Default Api Version. : 2026-03-17-preview.
  • Resource. : BillingTrustRuleResource.
public virtual Azure.Response<Azure.ResourceManager.Billing.Trust.BillingTrustRuleResource> Update(Azure.ResourceManager.Billing.Trust.Models.BillingTrustRulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Billing.Trust.Models.BillingTrustRulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.Trust.BillingTrustRuleResource>
override this.Update : Azure.ResourceManager.Billing.Trust.Models.BillingTrustRulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.Trust.BillingTrustRuleResource>
Public Overridable Function Update (patch As BillingTrustRulePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BillingTrustRuleResource)

Parameters

patch
BillingTrustRulePatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to