How upload file to blob storage and reference it from cosmosdb document in attachment
问题 I'm new to CosmosDb and azure blob storage, as a requirement I need to reference a file uploaded to azure blob storage from a document in CosmosDb and use it in the attachment section to save the metadata. I know the json metadata stucture should be like this: { "id":"image13d65101-90c4-4c2a-a423-fbf221c73233", "contentType":"image/jpg", "media":"www.bing.com", "_rid":"rnYYAMVFUAUBAAAAAAAAAEC+LNM=", "_ts":1408056025, "_self":"dbs\/rnYYAA==\/colls\/rnYYAMVFUAU=\/docs\/rnYYAMVFUAUBAAAAAAAAAA==\