共用方式為


ConnectedClusterResource.Update Method

Definition

API to update certain properties of the connected cluster resource

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}
  • Operation Id: ConnectedCluster_Update
public virtual Azure.Response<Azure.ResourceManager.Kubernetes.ConnectedClusterResource> Update (Azure.ResourceManager.Kubernetes.Models.ConnectedClusterPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Kubernetes.Models.ConnectedClusterPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kubernetes.ConnectedClusterResource>
override this.Update : Azure.ResourceManager.Kubernetes.Models.ConnectedClusterPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Kubernetes.ConnectedClusterResource>
Public Overridable Function Update (patch As ConnectedClusterPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConnectedClusterResource)

Parameters

patch
ConnectedClusterPatch

Parameters supplied to update Connected Cluster.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to