Share via


IotHubResourceOperationsExtensions.ExportDevicesAsync Methode

Definition

Exportiert alle Geräteidentitäten in der IoT Hub-Identitätsregistrierung in einen Azure Storage-Blobcontainer. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse> ExportDevicesAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.IotHub.Models.ExportDevicesRequest exportDevicesParameters, System.Threading.CancellationToken cancellationToken = default);
static member ExportDevicesAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * Microsoft.Azure.Management.IotHub.Models.ExportDevicesRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.JobResponse>
<Extension()>
Public Function ExportDevicesAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, exportDevicesParameters As ExportDevicesRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobResponse)

Parameter

operations
IIotHubResourceOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die den IoT Hub enthält.

resourceName
String

Der Name des IoT-Hubs.

exportDevicesParameters
ExportDevicesRequest

Die Parameter, die den Vorgang zum Exportieren von Geräten angeben.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Exportiert alle Geräteidentitäten in der IoT Hub-Identitätsregistrierung in einen Azure Storage-Blobcontainer. Weitere Informationen finden Sie unter: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

Gilt für: