Delen via


FluidRelayServerResource.GetKeysAsync(CancellationToken) Method

Definition

Get primary and secondary key for this server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.FluidRelay/fluidRelayServers/{fluidRelayServerName}/listKeys
  • Operation Id: FluidRelayServers_ListKeys
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FluidRelay.Models.FluidRelayServerKeys>> GetKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FluidRelay.Models.FluidRelayServerKeys>>
override this.GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.FluidRelay.Models.FluidRelayServerKeys>>
Public Overridable Function GetKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FluidRelayServerKeys))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to