public ResourceListKeysInner regenerateKeys(String resourceGroupName, String namespaceName, String authorizationRuleName) {
        return regenerateKeysWithServiceResponseAsync(resourceGroupName, namespaceName, authorizationRuleName).toBlocking().single().body();
    }
public ResourceListKeysInner regenerateKeys ( String resourceGroupName , String namespaceName , String authorizationRuleName ) { return regenerateKeysWithServiceResponseAsync ( resourceGroupName , namespaceName , authorizationRuleName ) . toBlocking ( ) . single ( ) . body ( ) ; }
Regenerates the Primary/Secondary Keys to the Namespace Authorization Rule.

@param resourceGroupName The name of the resource group.
@param namespaceName The namespace name.
@param authorizationRuleName The connection string of the namespace for the specified authorizationRule.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the ResourceListKeysInner object if successful.