PrivateLinkResource.UpdateAsync 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.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.PrivateLinkResource>> UpdateAsync(Azure.ResourceManager.SecurityCenter.Models.PrivateLinkResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.SecurityCenter.Models.PrivateLinkResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.PrivateLinkResource>>
override this.UpdateAsync : Azure.ResourceManager.SecurityCenter.Models.PrivateLinkResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.PrivateLinkResource>>
Public Overridable Function UpdateAsync (patch As PrivateLinkResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateLinkResource))
Parameters
- patch
- PrivateLinkResourcePatch
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch is null.