Freigeben über


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
  • Default Api Version: 2024-05-02-preview
  • Resource: ContainerServiceFleetResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.Models.FleetCredentialResults>> GetCredentialsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.Models.FleetCredentialResults>>
override this.GetCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.Models.FleetCredentialResults>>
Public Overridable Function GetCredentialsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FleetCredentialResults))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to