code: public NetworkProfileInner createOrUpdate(String resourceGroupName, String networkProfileName, NetworkProfileInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, networkProfileName, parameters).toBlocking().last().body();
      }
docs: Creates or updates a network profile.
  
  @param resourceGroupName The name of the resource group.
  @param networkProfileName The name of the network profile.
  @param parameters Parameters supplied to the create or update network profile operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the NetworkProfileInner object if successful.