public Observable<TopicSharedAccessKeysInner> regenerateKeyAsync(String resourceGroupName, String topicName, String keyName) {
        return regenerateKeyWithServiceResponseAsync(resourceGroupName, topicName, keyName).map(new Func1<ServiceResponse<TopicSharedAccessKeysInner>, TopicSharedAccessKeysInner>() {
            @Override
            public TopicSharedAccessKeysInner call(ServiceResponse<TopicSharedAccessKeysInner> response) {
                return response.body();
            }
        });
    }
public Observable < TopicSharedAccessKeysInner > regenerateKeyAsync ( String resourceGroupName , String topicName , String keyName ) { return regenerateKeyWithServiceResponseAsync ( resourceGroupName , topicName , keyName ) . map ( new Func1 < ServiceResponse < TopicSharedAccessKeysInner > , TopicSharedAccessKeysInner > ( ) { @ Override public TopicSharedAccessKeysInner call ( ServiceResponse < TopicSharedAccessKeysInner > response ) { return response . body ( ) ; } } ) ; }
Regenerate key for a topic.
Regenerate a shared access key for a topic.

@param resourceGroupName The name of the resource group within the user's subscription.
@param topicName Name of the topic
@param keyName Key name to regenerate key1 or key2
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the TopicSharedAccessKeysInner object