code: public ServiceFuture<VirtualNetworkPeeringInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, String virtualNetworkPeeringName, VirtualNetworkPeeringInner virtualNetworkPeeringParameters, final ServiceCallback<VirtualNetworkPeeringInner> serviceCallback) {
          return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, virtualNetworkName, virtualNetworkPeeringName, virtualNetworkPeeringParameters), serviceCallback);
      }
docs: Creates or updates a peering in the specified virtual network.
  
  @param resourceGroupName The name of the resource group.
  @param virtualNetworkName The name of the virtual network.
  @param virtualNetworkPeeringName The name of the peering.
  @param virtualNetworkPeeringParameters Parameters supplied to the create or update virtual network peering operation.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object