ManagedNamespacesOperationsExtensions.ListByManagedClusterAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerService.Models.ManagedNamespace>> ListByManagedClusterAsync(this Microsoft.Azure.Management.ContainerService.IManagedNamespacesOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListByManagedClusterAsync : Microsoft.Azure.Management.ContainerService.IManagedNamespacesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerService.Models.ManagedNamespace>>
<Extension()>
Public Function ListByManagedClusterAsync (operations As IManagedNamespacesOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ManagedNamespace))

Parameters

operations
IManagedNamespacesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the managed cluster resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to