PrivateLinkResource.Update Method

Definition

Update specific properties of a private link resource. Use this operation to update mutable properties like tags without affecting the entire resource configuration.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/privateLinks/{privateLinkName}.
  • Operation Id. : PrivateLinkResources_Update.
  • Default Api Version. : 2026-01-01.
  • Resource. : PrivateLinkResource.
public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.PrivateLinkResource> Update(Azure.ResourceManager.SecurityCenter.Models.PrivateLinkResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.SecurityCenter.Models.PrivateLinkResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.PrivateLinkResource>
override this.Update : Azure.ResourceManager.SecurityCenter.Models.PrivateLinkResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.PrivateLinkResource>
Public Overridable Function Update (patch As PrivateLinkResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PrivateLinkResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to