Condividi tramite


ManagedClusterNamespaceCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of managed namespaces in the specified managed cluster.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/managedNamespaces.
  • Operation Id. : ManagedNamespaces_ListByManagedCluster.
  • Default Api Version. : 2026-01-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerService.ManagedClusterNamespaceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedClusterNamespaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ManagedClusterNamespaceResource that may take multiple service requests to iterate over.

Applies to