code: public Observable<ServiceResponse<ConnectionResetSharedKeyInner>> resetSharedKeyWithServiceResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, int keyLength) {
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (virtualNetworkGatewayConnectionName == null) {
              throw new IllegalArgumentException("Parameter virtualNetworkGatewayConnectionName is required and cannot be null.");
          }
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          final String apiVersion = "2018-07-01";
          ConnectionResetSharedKeyInner parameters = new ConnectionResetSharedKeyInner();
          parameters.withKeyLength(keyLength);
          Observable<Response<ResponseBody>> observable = service.resetSharedKey(resourceGroupName, virtualNetworkGatewayConnectionName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), parameters, this.client.userAgent());
          return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<ConnectionResetSharedKeyInner>() { }.getType());
      }
docs: 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