WebPubSubResources

POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/regenerateKey

Changed on

Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.

Request

  • Base URL
    https://management.azure.com
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

subscriptionIdstring uuid required

The ID of the target subscription. The value must be an UUID.

resourceGroupNamestring required

The name of the resource group. The name is case insensitive.

resourceNamestring required

The name of the resource.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

keyType'Primary' | 'Secondary' | 'Salt'

The type of access key.

Response

Azure operation completed successfully.

primaryKeystring password

The primary access key.

secondaryKeystring password

The secondary access key.

primaryConnectionStringstring password

Connection string constructed via the primaryKey

secondaryConnectionStringstring password

Connection string constructed via the secondaryKey

Changes

  • 2021-04-01-preview1af7b550cd0bRevision changes
    • breaking

      added the new path request parameter resourceGroupName

    • breaking

      added the new path request parameter subscriptionId

    • breaking

      added the new required query request parameter api-version

    2 more changes in this revision