code: public Observable<ShareInner> createOrUpdateAsync(String deviceName, String name, String resourceGroupName, ShareInner share) {
          return createOrUpdateWithServiceResponseAsync(deviceName, name, resourceGroupName, share).map(new Func1<ServiceResponse<ShareInner>, ShareInner>() {
              @Override
              public ShareInner call(ServiceResponse<ShareInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates a new share or updates an existing share on the device.
  
  @param deviceName The device name.
  @param name The share name.
  @param resourceGroupName The resource group name.
  @param share The share properties.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request