code: public StorageAccountCredentialInner beginCreateOrUpdate(String deviceName, String name, String resourceGroupName, StorageAccountCredentialInner storageAccountCredential) {
          return beginCreateOrUpdateWithServiceResponseAsync(deviceName, name, resourceGroupName, storageAccountCredential).toBlocking().single().body();
      }
docs: Creates or updates the storage account credential.
  
  @param deviceName The device name.
  @param name The storage account credential name.
  @param resourceGroupName The resource group name.
  @param storageAccountCredential The storage account credential.
  @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 StorageAccountCredentialInner object if successful.