共用方式為


DatabaseFleetResource.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.DatabaseFleetManager.Models.FleetCredentialResults>> GetCredentialsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DatabaseFleetManager.Models.FleetCredentialResults>>
override this.GetCredentialsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DatabaseFleetManager.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