Freigeben über


JobProperties.CreateForExportJob Methode

Definition

Erstellt eine instance von JobProperties mit Parametern, die bereit sind, einen Exportauftrag zu starten.

public static Microsoft.Azure.Devices.JobProperties CreateForExportJob (string outputBlobContainerUri, bool excludeKeysInExport, string outputBlobName = default, Microsoft.Azure.Devices.StorageAuthenticationType? storageAuthenticationType = default, Microsoft.Azure.Devices.ManagedIdentity identity = default);
static member CreateForExportJob : string * bool * string * Nullable<Microsoft.Azure.Devices.StorageAuthenticationType> * Microsoft.Azure.Devices.ManagedIdentity -> Microsoft.Azure.Devices.JobProperties
Public Shared Function CreateForExportJob (outputBlobContainerUri As String, excludeKeysInExport As Boolean, Optional outputBlobName As String = Nothing, Optional storageAuthenticationType As Nullable(Of StorageAuthenticationType) = Nothing, Optional identity As ManagedIdentity = Nothing) As JobProperties

Parameter

outputBlobContainerUri
String

URI für einen Blobcontainer. Dies wird verwendet, um die status des Auftrags und die Ergebnisse auszugeben. Das Einschließen eines SAS-Tokens hängt vom -Parameter ab StorageAuthenticationType .

excludeKeysInExport
Boolean

Gibt an, ob Autorisierungsschlüssel in der Exportausgabe enthalten sind.

outputBlobName
String

Der Name des Blobs, das im bereitgestellten Ausgabeblobcontainer erstellt wird.

storageAuthenticationType
Nullable<StorageAuthenticationType>

Gibt den Authentifizierungstyp an, der zum Herstellen einer Verbindung mit dem Speicherkonto verwendet wird.

identity
ManagedIdentity

Benutzerseitig zugewiesene verwaltete Identität, die für den Zugriff auf das Speicherkonto für Import- und Exportaufträge verwendet wird.

Gibt zurück

Eine instance von JobProperties

Gilt für: