ภาษา

NeuroShieldResource.UpdateAsync Method

Definition

Updates the tags or properties of a NeuroShield resource.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkSecurity/neuroShields/{neuroShieldName}.
  • Operation Id. : NeuroShields_Update.
  • Default Api Version. : 2026-10-01-preview.
  • Resource. : NeuroShieldResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldResource>> UpdateAsync(Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldPatch patch, Azure.ETag? ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldResource>>
override this.UpdateAsync : Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldPatch * Nullable<Azure.ETag> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkSecurity.NeuroShieldResource>>
Public Overridable Function UpdateAsync (patch As NeuroShieldPatch, Optional ifMatch As Nullable(Of ETag) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NeuroShieldResource))

Parameters

patch
NeuroShieldPatch

The patch request body.

ifMatch
Nullable<ETag>

The entity tag that makes the request conditional.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to