ManagedClusterMeshMembershipCollection.CreateOrUpdate Method

Definition

Creates or updates the mesh membership of a managed cluster.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/meshMemberships/{meshMembershipName}.
  • Operation Id. : MeshMemberships_CreateOrUpdate.
  • Default Api Version. : 2026-01-02-preview.
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ContainerService.ManagedClusterMeshMembershipResource> CreateOrUpdate(Azure.WaitUntil waitUntil, string meshMembershipName, Azure.ResourceManager.ContainerService.ManagedClusterMeshMembershipData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ContainerService.ManagedClusterMeshMembershipData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ContainerService.ManagedClusterMeshMembershipResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.ContainerService.ManagedClusterMeshMembershipData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ContainerService.ManagedClusterMeshMembershipResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, meshMembershipName As String, data As ManagedClusterMeshMembershipData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ManagedClusterMeshMembershipResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

meshMembershipName
String

The name of the mesh membership.

data
ManagedClusterMeshMembershipData

The mesh membership to create or update.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

meshMembershipName or data is null.

meshMembershipName is an empty string, and was expected to be non-empty.

Applies to