Device - Create File Upload Sas Uri
Diese Methode wird verwendet, um einen SAS-Speicher-URI abzurufen, um eine Datei hochzuladen. Weitere Informationen finden Sie unter 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-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
device
|
path | True |
string |
Geräte-ID. |
api-version
|
query | True |
string |
Version der Api. |
Anforderungstext
Name | Typ | Beschreibung |
---|---|---|
blobName |
string |
Der Name des Blobs. |
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
Das Datei-Upload-Antwortobjekt |
Definitionen
Name | Beschreibung |
---|---|
File |
|
File |
FileUploadRequest
Name | Typ | Beschreibung |
---|---|---|
blobName |
string |
Der Name des Blobs. |
FileUploadResponse
Name | Typ | Beschreibung |
---|---|---|
blobName |
string |
|
containerName |
string |
|
correlationId |
string |
|
hostName |
string |
|
sasToken |
string |