Share via


ContainerServiceFleetResource.GetCredentialsAsync(CancellationToken) Method

Definition

Lists the user credentials of a Fleet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/listCredentials
  • Operation Id: Fleets_ListCredentials
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetCredentialResults>> GetCredentialsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetCredentialResults>>
override this.GetCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.Models.ContainerServiceFleetCredentialResults>>
Public Overridable Function GetCredentialsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerServiceFleetCredentialResults))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to