Partager via


HybridComputePrivateLinkScopeResource.Update Method

Definition

Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}
  • Operation Id: PrivateLinkScopes_UpdateTags
  • Default Api Version: 2024-07-31-preview
  • Resource: HybridComputePrivateLinkScopeResource
public virtual Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource> Update (Azure.ResourceManager.HybridCompute.Models.HybridComputePrivateLinkScopePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.HybridCompute.Models.HybridComputePrivateLinkScopePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>
override this.Update : Azure.ResourceManager.HybridCompute.Models.HybridComputePrivateLinkScopePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>
Public Overridable Function Update (patch As HybridComputePrivateLinkScopePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HybridComputePrivateLinkScopeResource)

Parameters

patch
HybridComputePrivateLinkScopePatch

Updated tag information to set into the PrivateLinkScope instance.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to