Device - Create File Upload Sas Uri
Bu yöntem, bir dosyayı karşıya yüklemek üzere bir depolama SAS URI'sini almak için kullanılır. Daha fazla bilgi edinmek için bkz. https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
POST https://fully-qualified-iothubname.azure-devices.net/devices/{deviceId}/files?api-version=2020-03-13
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
device
|
path | True |
string |
Cihaz Kimliği. |
api-version
|
query | True |
string |
Api sürümü. |
İstek Gövdesi
Name | Tür | Description |
---|---|---|
blobName |
string |
Blobun adı. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Karşıya yükleme yanıt nesnesi dosyası |
Tanımlar
Name | Description |
---|---|
File |
|
File |
FileUploadRequest
Name | Tür | Description |
---|---|---|
blobName |
string |
Blobun adı. |
FileUploadResponse
Name | Tür | Description |
---|---|---|
blobName |
string |
|
containerName |
string |
|
correlationId |
string |
|
hostName |
string |
|
sasToken |
string |