共用方式為


SignalRResource.GetKeysAsync(CancellationToken) Method

Definition

Get the access keys of the resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/listKeys
  • Operation Id: SignalR_ListKeys
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SignalR.Models.SignalRKeys>> GetKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SignalR.Models.SignalRKeys>>
override this.GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SignalR.Models.SignalRKeys>>
Public Overridable Function GetKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SignalRKeys))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to