共用方式為


LocalRulestackResource.UpdateAsync Method

Definition

Update a LocalRulestackResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}
  • Operation Id: LocalRulestacks_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackResource>> UpdateAsync (Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.LocalRulestackPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.LocalRulestackPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackResource>>
override this.UpdateAsync : Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.LocalRulestackPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackResource>>
Public Overridable Function UpdateAsync (patch As LocalRulestackPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LocalRulestackResource))

Parameters

patch
LocalRulestackPatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to