We have a customer device data usage document (e.g. with name "ABC_XYZ") that when customer deprovision device, should be archived for analytical purpose. The solution is to create another document (e.g. with name "ABC_XYZ_09252017_1748") and delete current one (same document will hold more data in future when device is provisioned again).
To achieve this, I was hoping to find a method in SDK but could not find any. Only Create (CreateDocumentAsync) and Replace (ReplaceDocumentAsync).
I could create a new one with new name and then copy data from old one into new one and then delete the old one. Wondering is there one single API e.g. CopyDocumentAsync or any other better way to achieve this?