v3

latestSwagger 2.0raw.githubusercontent.com2022-03-21342269.5 KB
Namespaces

Regenerates the primary or secondary connection strings to the namespace.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys

Path parameters

resourceGroupNamestring required

Name of the Resource group within the Azure subscription.

namespaceNamestring required

The namespace name

authorizationRuleNamestring required

The authorization rule name.

subscriptionIdstring required

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

Query parameters

api-versionstring required

Client API version.

Request body

keyType'PrimaryKey' | 'SecondaryKey' required

The access key to regenerate.

keystring

Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type.

Response

Successful.

primaryConnectionStringstring

Primary connection string of the created namespace authorization rule.

secondaryConnectionStringstring

Secondary connection string of the created namespace authorization rule.

primaryKeystring

A base64-encoded 256-bit primary key for signing and validating the SAS token.

secondaryKeystring

A base64-encoded 256-bit secondary key for signing and validating the SAS token.

keyNamestring

A string that describes the authorization rule.