v11

latestSwagger 2.0raw.githubusercontent.com2019-11-08122841.3 KB
SignalR

Regenerate SignalR service access key. PrimaryKey and SecondaryKey cannot be regenerated at the same time.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/SignalR/{resourceName}/regenerateKey

Path parameters

subscriptionIdstring required

Gets subscription Id which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupNamestring required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

resourceNamestring required

The name of the SignalR resource.

Query parameters

api-versionstring required

Client Api Version.

Request body

keyType'Primary' | 'Secondary'

The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive).

Response

Created and an async operation is executing in background to make the new key to take effect. The response contains new keys and a Location header to query the async operation result.

primaryKeystring

The primary access key.

secondaryKeystring

The secondary access key.

primaryConnectionStringstring

SignalR connection string constructed via the primaryKey

secondaryConnectionStringstring

SignalR connection string constructed via the secondaryKey