public Observable<ConnectionResetSharedKeyInner> resetSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, int keyLength) {
        return resetSharedKeyWithServiceResponseAsync(resourceGroupName, virtualNetworkGatewayConnectionName, keyLength).map(new Func1<ServiceResponse<ConnectionResetSharedKeyInner>, ConnectionResetSharedKeyInner>() {
            @Override
            public ConnectionResetSharedKeyInner call(ServiceResponse<ConnectionResetSharedKeyInner> response) {
                return response.body();
            }
        });
    }
public Observable < ConnectionResetSharedKeyInner > resetSharedKeyAsync ( String resourceGroupName , String virtualNetworkGatewayConnectionName , int keyLength ) { return resetSharedKeyWithServiceResponseAsync ( resourceGroupName , virtualNetworkGatewayConnectionName , keyLength ) . map ( new Func1 < ServiceResponse < ConnectionResetSharedKeyInner > , ConnectionResetSharedKeyInner > ( ) { @ Override public ConnectionResetSharedKeyInner call ( ServiceResponse < ConnectionResetSharedKeyInner > response ) { return response . body ( ) ; } } ) ; }
The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.

@param resourceGroupName The name of the resource group.
@param virtualNetworkGatewayConnectionName The virtual network gateway connection reset shared key Name.
@param keyLength The virtual network connection reset shared key length, should between 1 and 128.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable for the request