ManagedNamespacesOperationsExtensions.ListCredentialAsync Method

Definition

Lists the credentials of a namespace.

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

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.

managedNamespaceName
String

The name of the managed namespace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to