Partilhar via


ManagedClusterNamespaceResource.UpdateAsync Method

Definition

Updates tags on a managed namespace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/managedNamespaces/{managedNamespaceName}
  • Operation Id: ManagedNamespaces_Update
  • Default Api Version: 2025-10-01
  • Resource: ManagedClusterNamespaceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource>> UpdateAsync(Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject containerServiceTagsObject, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource>>
override this.UpdateAsync : Azure.ResourceManager.ContainerService.Models.ContainerServiceTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource>>
Public Overridable Function UpdateAsync (containerServiceTagsObject As ContainerServiceTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedClusterNamespaceResource))

Parameters

containerServiceTagsObject
ContainerServiceTagsObject

Parameters supplied to the patch namespace operation, we only support patch tags for now.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

containerServiceTagsObject is null.

Applies to