Share via


WebPubSubResource.GetKeys(CancellationToken) Method

Definition

Get the access keys of the resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/listKeys
  • Operation Id: WebPubSub_ListKeys
  • Default Api Version: 2021-10-01
  • Resource: WebPubSubResource
public virtual Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubKeys> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubKeys>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WebPubSub.Models.WebPubSubKeys>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of WebPubSubKeys)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to